Skip to content

Commit 4067487

Browse files
author
Weedshaker
committed
interface
1 parent 6e2840b commit 4067487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/Crypto.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { WebWorker } from '../WebWorker.js'
55
/** @typedef {{ privateKeyEpoch: string, publicKeyEpoch: string }} DERIVED_KEY */
66
/** @typedef {{ epoch:string, derived?: DERIVED_KEY }} KEY_EPOCH */
77
/** @typedef {JsonWebKey | string} JSONWEBKEY_STRING */
8-
/** @typedef {{ cryptoKey: CryptoKey, jsonWebKey?: JSONWEBKEY_STRING | string, epoch: string, derived?: DERIVED_KEY }} KEY */
8+
/** @typedef {{ cryptoKey: CryptoKey, jsonWebKey?: JSONWEBKEY_STRING | string, epoch: string, derived?: DERIVED_KEY, disabled?: boolean }} KEY */
99
/** @typedef {{ publicKey: KEY, privateKey: KEY }} KEY_PAIR */
1010
/** @typedef {{ text: string, iv: Uint8Array<ArrayBuffer>, name: string, key: KEY_EPOCH }} ENCRYPTED */ // text: JSON.stringify({text: string, epoch: string})
1111
/** @typedef {{ text: string, epoch: string, encrypted: { epoch: string, key: KEY_EPOCH }, key: KEY_EPOCH }} DECRYPTED */

0 commit comments

Comments
 (0)