From 209184327be38889b6604da962f45ffffc3e7ad5 Mon Sep 17 00:00:00 2001 From: MingLiang Wang Date: Tue, 10 Jan 2023 17:06:54 +0800 Subject: [PATCH] feat: fix path --- packages/data-center/src/message/message.ts | 2 +- packages/data-center/src/provider/affine/affine.ts | 2 +- packages/data-center/src/provider/base.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/data-center/src/message/message.ts b/packages/data-center/src/message/message.ts index 7a59f15bf4..34d6870211 100644 --- a/packages/data-center/src/message/message.ts +++ b/packages/data-center/src/message/message.ts @@ -1,5 +1,5 @@ import { Observable } from 'lib0/observable'; -import { Message } from 'src/types'; +import { Message } from '../types'; import { MessageCode } from './code'; export class MessageCenter extends Observable { diff --git a/packages/data-center/src/provider/affine/affine.ts b/packages/data-center/src/provider/affine/affine.ts index eaaba3903f..e314527bd7 100644 --- a/packages/data-center/src/provider/affine/affine.ts +++ b/packages/data-center/src/provider/affine/affine.ts @@ -11,7 +11,7 @@ import { WebsocketProvider } from './sync.js'; import { getApis } from './apis/index.js'; import type { Apis, WorkspaceDetail, Callback } from './apis'; import { setDefaultAvatar } from '../utils.js'; -import { MessageCode } from 'src/message'; +import { MessageCode } from '../../message'; export interface AffineProviderConstructorParams extends ProviderConstructorParams { diff --git a/packages/data-center/src/provider/base.ts b/packages/data-center/src/provider/base.ts index be075fefe6..f9851098df 100644 --- a/packages/data-center/src/provider/base.ts +++ b/packages/data-center/src/provider/base.ts @@ -1,5 +1,5 @@ import { Workspace as BlocksuiteWorkspace, uuidv4 } from '@blocksuite/store'; -import { MessageCenter } from 'src/message'; +import { MessageCenter } from '../message'; import { Logger, User, WorkspaceInfo, WorkspaceMeta } from '../types'; import type { WorkspaceMetaCollectionScope } from '../workspace-meta-collection';