Interface: IDataImportExportService
Defined in: electron/services/factories/DatabaseServiceFactory.ts:87
Abstract interface for import/export service operations.
Remarks
Used for type safety and dependency injection for import/export-related operations.
Properties
exportAllData
exportAllData: () => Promise<string>;
Defined in: electron/services/factories/DatabaseServiceFactory.ts:88
Returns
Promise<string>
importDataFromJson
importDataFromJson: (data: string) =>
Promise<{
settings: Record<string, string>;
sites: ImportSite[];
}>;
Defined in: electron/services/factories/DatabaseServiceFactory.ts:89
Parameters
data
string
Returns
Promise<{
settings: Record<string, string>;
sites: ImportSite[];
}>
persistImportedData
persistImportedData: (sites: ImportSite[], settings: Record<string, string>) =>
Promise<void>;
Defined in: electron/services/factories/DatabaseServiceFactory.ts:92
Parameters
sites
settings
Record<string, string>
Returns
Promise<void>