mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
core: fix imports
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user