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 Database from "..";
|
||||||
import { EVENTS } from "../../common";
|
import { EVENTS } from "../../common";
|
||||||
|
import { DatabaseUpdatedEvent } from "../../database";
|
||||||
import { logger } from "../../logger";
|
import { logger } from "../../logger";
|
||||||
import { DatabaseUpdatedEvent } from "../../types";
|
|
||||||
|
|
||||||
export class AutoSync {
|
export class AutoSync {
|
||||||
timeout = 0;
|
timeout = 0;
|
||||||
|
|||||||
@@ -26,9 +26,7 @@ import {
|
|||||||
Attachment,
|
Attachment,
|
||||||
ContentItem,
|
ContentItem,
|
||||||
ContentType,
|
ContentType,
|
||||||
DeleteEvent,
|
|
||||||
UnencryptedContentItem,
|
UnencryptedContentItem,
|
||||||
UpdateEvent,
|
|
||||||
isDeleted
|
isDeleted
|
||||||
} from "../types";
|
} from "../types";
|
||||||
import Database from "../api";
|
import Database from "../api";
|
||||||
@@ -38,6 +36,7 @@ import { NoteContent } from "./session-content";
|
|||||||
import { InternalLink } from "../utils/internal-link";
|
import { InternalLink } from "../utils/internal-link";
|
||||||
import { tinyToTiptap } from "../migrations";
|
import { tinyToTiptap } from "../migrations";
|
||||||
import { EVENTS } from "../common";
|
import { EVENTS } from "../common";
|
||||||
|
import { DeleteEvent, UpdateEvent } from "../database";
|
||||||
|
|
||||||
export const EMPTY_CONTENT = (noteId: string): UnencryptedContentItem => ({
|
export const EMPTY_CONTENT = (noteId: string): UnencryptedContentItem => ({
|
||||||
noteId,
|
noteId,
|
||||||
|
|||||||
@@ -24,12 +24,11 @@ import {
|
|||||||
ItemMap,
|
ItemMap,
|
||||||
ItemReference,
|
ItemReference,
|
||||||
ItemReferences,
|
ItemReferences,
|
||||||
ValueOf,
|
ValueOf
|
||||||
UnlinkEvent
|
|
||||||
} from "../types";
|
} from "../types";
|
||||||
import Database from "../api";
|
import Database from "../api";
|
||||||
import { FilteredSelector, SQLCollection } from "../database/sql-collection";
|
import { FilteredSelector, SQLCollection } from "../database/sql-collection";
|
||||||
import { DatabaseSchema, isFalse } from "../database";
|
import { DatabaseSchema, UnlinkEvent, isFalse } from "../database";
|
||||||
import { SelectQueryBuilder } from "kysely";
|
import { SelectQueryBuilder } from "kysely";
|
||||||
import { EVENTS } from "../common";
|
import { EVENTS } from "../common";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user