Skip to main content

Interface: SerializedDatabaseBackupResult

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

Serialized database backup result returned to the renderer process.

Remarksโ€‹

Mirrors the DatabaseBackupResult structure from the Electron main process but replaces the Node.js Buffer with an ArrayBuffer that is transferable across the IPC boundary.

Propertiesโ€‹

bufferโ€‹

buffer: ArrayBuffer

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

Array buffer containing the SQLite database backup payload.


fileNameโ€‹

fileName: string

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

Generated filename for the backup artifact.


metadataโ€‹

metadata: { createdAt: number; originalPath: string; sizeBytes: number; }

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

Metadata describing the backup operation.

createdAtโ€‹

createdAt: number

Backup creation timestamp in milliseconds since the Unix epoch.

originalPathโ€‹

originalPath: string

Original database file path on disk.

sizeBytesโ€‹

sizeBytes: number

Size of the backup in bytes.