mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +00:00
add export related code changes (#16789)
• export related changes from PR 16399
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
// FIXME: update to use a const object instead of a typescript enum
|
/** A type of encrypted export. */
|
||||||
// eslint-disable-next-line @bitwarden/platform/no-enums
|
export const EncryptedExportType = Object.freeze({
|
||||||
export enum EncryptedExportType {
|
/** Export is encrypted using the Bitwarden account key. */
|
||||||
AccountEncrypted = 0,
|
AccountEncrypted: 0,
|
||||||
FileEncrypted = 1,
|
/** Export is encrypted using a separate file password/key. */
|
||||||
}
|
FileEncrypted: 1,
|
||||||
|
} as const);
|
||||||
|
|
||||||
|
/** A type of encrypted export. */
|
||||||
|
export type EncryptedExportType = (typeof EncryptedExportType)[keyof typeof EncryptedExportType];
|
||||||
|
|||||||
Reference in New Issue
Block a user