Skip to main content

Type Alias: SerializedDatabaseBackupSaveResult

SerializedDatabaseBackupSaveResult = Simplify<ExclusifyUnion<{ canceled: true; } | { canceled: false; fileName: string; filePath: string; metadata: SerializedDatabaseBackupMetadata; }>>

Defined in: shared/types/ipc.ts:118

Result returned when saving a SQLite backup via the main process.

Remarksโ€‹

This channel exists to avoid transferring large backup buffers over IPC.