mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
* support for encrypted json export * adjust filename prefix for encrypted formats * flip if logic * remove format param from encrypted export * encryptedFormat getter
6 lines
302 B
TypeScript
6 lines
302 B
TypeScript
export abstract class ExportService {
|
|
getExport: (format?: 'csv' | 'json' | 'encrypted_json') => Promise<string>;
|
|
getOrganizationExport: (organizationId: string, format?: 'csv' | 'json' | 'encrypted_json') => Promise<string>;
|
|
getFileName: (prefix?: string, extension?: string) => string;
|
|
}
|