1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

support for encrypted json export (#216)

* support for encrypted json export

* adjust filename prefix for encrypted formats

* flip if logic

* remove format param from encrypted export

* encryptedFormat getter
This commit is contained in:
Kyle Spearrin
2020-12-03 15:20:38 -05:00
committed by GitHub
parent abb54f0073
commit 93a3053f54
15 changed files with 263 additions and 61 deletions

View File

@@ -1,5 +1,5 @@
export abstract class ExportService {
getExport: (format?: 'csv' | 'json') => Promise<string>;
getOrganizationExport: (organizationId: string, format?: 'csv' | 'json') => Promise<string>;
getExport: (format?: 'csv' | 'json' | 'encrypted_json') => Promise<string>;
getOrganizationExport: (organizationId: string, format?: 'csv' | 'json' | 'encrypted_json') => Promise<string>;
getFileName: (prefix?: string, extension?: string) => string;
}