From a55d92038b3ee48d67ef632213eec2aca1c00754 Mon Sep 17 00:00:00 2001 From: Mo Date: Tue, 5 Jul 2022 07:43:54 -0500 Subject: [PATCH] chore: fix types --- .../src/Domain/Service/Encryption/EncryptionProvider.ts | 3 ++- .../src/Domain/Service/Encryption/EncryptionService.ts | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/encryption/src/Domain/Service/Encryption/EncryptionProvider.ts b/packages/encryption/src/Domain/Service/Encryption/EncryptionProvider.ts index 836038a45..32f0c81d6 100644 --- a/packages/encryption/src/Domain/Service/Encryption/EncryptionProvider.ts +++ b/packages/encryption/src/Domain/Service/Encryption/EncryptionProvider.ts @@ -8,7 +8,8 @@ import { import { ClientDisplayableError } from '@standardnotes/responses' import { BackupFile } from '../../Backups/BackupFile' import { SNRootKeyParams } from '../../Keys/RootKey/RootKeyParams' -import { KeyedDecryptionSplit, KeyedEncryptionSplit } from '../../Split/EncryptionSplit' +import { KeyedDecryptionSplit } from '../../Split/KeyedDecryptionSplit' +import { KeyedEncryptionSplit } from '../../Split/KeyedEncryptionSplit' export interface EncryptionProvider { encryptSplitSingle(split: KeyedEncryptionSplit): Promise diff --git a/packages/encryption/src/Domain/Service/Encryption/EncryptionService.ts b/packages/encryption/src/Domain/Service/Encryption/EncryptionService.ts index cdc9b443c..365efa506 100644 --- a/packages/encryption/src/Domain/Service/Encryption/EncryptionService.ts +++ b/packages/encryption/src/Domain/Service/Encryption/EncryptionService.ts @@ -15,8 +15,6 @@ import { CreateEncryptionSplitWithKeyLookup, FindPayloadInDecryptionSplit, FindPayloadInEncryptionSplit, - KeyedDecryptionSplit, - KeyedEncryptionSplit, } from '../../Split/EncryptionSplit' import * as Models from '@standardnotes/models' import * as RootKeyEncryption from '../RootKey/RootKeyEncryption' @@ -44,6 +42,8 @@ import { SplitPayloadsByEncryptionType } from '../../Split/Functions' import { ClientDisplayableError } from '@standardnotes/responses' import { isNotUndefined } from '@standardnotes/utils' import { DiagnosticInfo } from '@standardnotes/services' +import { KeyedEncryptionSplit } from '../../Split/KeyedEncryptionSplit' +import { KeyedDecryptionSplit } from '../../Split/KeyedDecryptionSplit' export enum EncryptionServiceEvent { RootKeyStatusChanged = 'RootKeyStatusChanged',