web: fix type errors and broken imports

This commit is contained in:
Abdullah Atta
2024-03-07 11:06:13 +05:00
parent 3efb79308a
commit 06113db2ff
22 changed files with 47 additions and 35 deletions

View File

@@ -28,7 +28,7 @@ import { NNCrypto } from "./nncrypto";
import type { Cipher, SerializedKey } from "@notesnook/crypto/dist/src/types";
import { isFeatureSupported } from "../utils/feature-check";
import { IKeyStore } from "./key-store";
import { User } from "@notesnook/core/dist/api/user-manager";
import { User } from "@notesnook/core";
type EncryptedKey = { iv: Uint8Array; cipher: BufferSource };
export type DatabasePersistence = "memory" | "db";