fix: extract keyed splits
This commit is contained in:
@@ -4,11 +4,9 @@ import {
|
||||
EncryptedPayloadInterface,
|
||||
PayloadInterface,
|
||||
} from '@standardnotes/models'
|
||||
import { AbstractKeySplit } from './AbstractKeySplit'
|
||||
import { EncryptionTypeSplit } from './EncryptionTypeSplit'
|
||||
|
||||
export type KeyedEncryptionSplit = AbstractKeySplit<DecryptedPayloadInterface>
|
||||
export type KeyedDecryptionSplit = AbstractKeySplit<EncryptedPayloadInterface>
|
||||
import { KeyedDecryptionSplit } from './KeyedDecryptionSplit'
|
||||
import { KeyedEncryptionSplit } from './KeyedEncryptionSplit'
|
||||
|
||||
export function CreateEncryptionSplitWithKeyLookup(
|
||||
payloadSplit: EncryptionTypeSplit<DecryptedPayloadInterface>,
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
import { EncryptedPayloadInterface } from '@standardnotes/models'
|
||||
|
||||
import { AbstractKeySplit } from './AbstractKeySplit'
|
||||
|
||||
export type KeyedDecryptionSplit = AbstractKeySplit<EncryptedPayloadInterface>
|
||||
@@ -0,0 +1,5 @@
|
||||
import { DecryptedPayloadInterface } from '@standardnotes/models'
|
||||
|
||||
import { AbstractKeySplit } from './AbstractKeySplit'
|
||||
|
||||
export type KeyedEncryptionSplit = AbstractKeySplit<DecryptedPayloadInterface>
|
||||
@@ -30,6 +30,8 @@ export * from './Split/AbstractKeySplit'
|
||||
export * from './Split/EncryptionSplit'
|
||||
export * from './Split/EncryptionTypeSplit'
|
||||
export * from './Split/Functions'
|
||||
export * from './Split/KeyedDecryptionSplit'
|
||||
export * from './Split/KeyedEncryptionSplit'
|
||||
export * from './Types/EncryptedParameters'
|
||||
export * from './Types/ItemAuthenticatedData'
|
||||
export * from './Types/LegacyAttachedData'
|
||||
|
||||
Reference in New Issue
Block a user