mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
* Add item decryption to encryptService * Create multithreadEncryptService subclass to handle web workers * Create encryption web worker * Refactor cipherService to use new interface * Update dependencies
12 lines
496 B
TypeScript
12 lines
496 B
TypeScript
import { InitializerKey } from "../services/cryptography/initializer-key";
|
|
|
|
/**
|
|
* This interface enables deserialization of arbitrary objects by recording their class name as an enum, which
|
|
* will survive serialization. The enum can then be matched to a constructor or factory method for deserialization.
|
|
* See get-class-initializer.ts for the initializer map.
|
|
*/
|
|
export interface InitializerMetadata {
|
|
initializerKey: InitializerKey;
|
|
toJSON?: () => { initializerKey: InitializerKey };
|
|
}
|