Skip to main content

Type Alias: SerializedDatabaseBackupSaveResult

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

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

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

Remarksโ€‹

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