mirror of
https://github.com/colanode/colanode.git
synced 2025-12-29 00:25:03 +01:00
Fix some imports
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import { generateId, IdType } from '@colanode/core';
|
||||
import { generateId, IdType, LocalUserNodeChangeData } from '@colanode/core';
|
||||
import { databaseService } from '@/main/data/database-service';
|
||||
import { MutationHandler } from '@/main/types';
|
||||
import {
|
||||
MarkNodeAsSeenMutationInput,
|
||||
MarkNodeAsSeenMutationOutput,
|
||||
} from '@/shared/mutations/mark-node-as-seen';
|
||||
import { LocalUserNodeChangeData } from '@/shared/types/sync';
|
||||
|
||||
export class MarkNodeAsSeenMutationHandler
|
||||
implements MutationHandler<MarkNodeAsSeenMutationInput>
|
||||
|
||||
@@ -3,13 +3,11 @@ import {
|
||||
NodeAttributes,
|
||||
NodeMutationContext,
|
||||
registry,
|
||||
} from '@colanode/core';
|
||||
import { YDoc } from '@colanode/crdt';
|
||||
import {
|
||||
LocalCreateNodeChangeData,
|
||||
LocalDeleteNodeChangeData,
|
||||
LocalUpdateNodeChangeData,
|
||||
} from '@/shared/types/sync';
|
||||
} from '@colanode/core';
|
||||
import { YDoc } from '@colanode/crdt';
|
||||
import { generateId, IdType } from '@colanode/core';
|
||||
import { databaseService } from '@/main/data/database-service';
|
||||
import { fetchNodeAncestors, mapNode } from '@/main/utils';
|
||||
|
||||
Reference in New Issue
Block a user