mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-13 21:19:12 +08: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 };
|
|
}
|