A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
core: fix imports
Abdullah Attaa8896b847f22
diff --git a/packages/core/src/api/sync/auto-sync.ts b/packages/core/src/api/sync/auto-sync.tsindex e87783fd8..afbb4f85a 100644--- a/packages/core/src/api/sync/auto-sync.ts+++ b/packages/core/src/api/sync/auto-sync.ts@@ -19,8 +19,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.import Database from "..";import { EVENTS } from "../../common";+import { DatabaseUpdatedEvent } from "../../database";import { logger } from "../../logger";-import { DatabaseUpdatedEvent } from "../../types";export class AutoSync {timeout = 0;diff --git a/packages/core/src/collections/content.ts b/packages/core/src/collections/content.tsindex 9e579a7fa..aef445505 100644--- a/packages/core/src/collections/content.ts+++ b/packages/core/src/collections/content.ts@@ -26,9 +26,7 @@ import {Attachment,ContentItem,ContentType,- DeleteEvent,UnencryptedContentItem,- UpdateEvent,isDeleted} from "../types";import Database from "../api";@@ -38,6 +36,7 @@ import { NoteContent } from "./session-content";import { InternalLink } from "../utils/internal-link";import { tinyToTiptap } from "../migrations";import { EVENTS } from "../common";+import { DeleteEvent, UpdateEvent } from "../database";export const EMPTY_CONTENT = (noteId: string): UnencryptedContentItem => ({noteId,diff --git a/packages/core/src/collections/relations.ts b/packages/core/src/collections/relations.tsindex 9d4452157..80b504147 100644--- a/packages/core/src/collections/relations.ts+++ b/packages/core/src/collections/relations.ts@@ -24,12 +24,11 @@ import {ItemMap,ItemReference,ItemReferences,- ValueOf,- UnlinkEvent+ ValueOf} from "../types";import Database from "../api";import { FilteredSelector, SQLCollection } from "../database/sql-collection";-import { DatabaseSchema, isFalse } from "../database";+import { DatabaseSchema, UnlinkEvent, isFalse } from "../database";import { SelectQueryBuilder } from "kysely";import { EVENTS } from "../common";