fix(ida): retain private input after ambiguous open (#1845)
fix(ida): retain private input after unverified open
This commit is contained in:
@@ -218,6 +218,14 @@ export const openDatabaseSchema = z
|
||||
.passthrough(),
|
||||
})
|
||||
.passthrough();
|
||||
/** Only an explicit completed rejection preserves legacy no-worker cleanup. */
|
||||
export const rejectedOpenDatabaseSchema = z
|
||||
.object({
|
||||
error: z.string().min(1),
|
||||
success: z.never().optional(),
|
||||
})
|
||||
.passthrough();
|
||||
|
||||
export const databaseListSchema = z
|
||||
.object({
|
||||
sessions: z.array(
|
||||
|
||||
Reference in New Issue
Block a user