// The names a staged restore uses in the data folder. Kept apart from applyRestore.ts, which does something when it is imported. export const PENDING_FILE = "restore-pending.sqlite"; export const PENDING_NOTE = "restore-pending.json"; export const RESULT_NOTE = "restore-result.json"; export interface RestoreResult { restoredAt: string; /** The backup that is now the database. */ from: string; /** Where the database that was in use went. */ keptAs: string | null; by: string | null; }