From 33f4592a8bbc03261cf6bf0227ae28a1517cc0d1 Mon Sep 17 00:00:00 2001 From: zhangw Date: Mon, 23 Sep 2024 20:55:03 +0800 Subject: [PATCH] fix(sheets-thread-comment): comment export (#3543) --- packages/sheets-thread-comment/src/index.ts | 25 +++++++++------------ 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/packages/sheets-thread-comment/src/index.ts b/packages/sheets-thread-comment/src/index.ts index 62fc706ef03..9d758afb999 100644 --- a/packages/sheets-thread-comment/src/index.ts +++ b/packages/sheets-thread-comment/src/index.ts @@ -14,33 +14,30 @@ * limitations under the License. */ -export type { Dependency } from '@univerjs/core'; -export { Inject, Injector } from '@univerjs/core'; -export { ICommandService, Plugin, UniverInstanceType } from '@univerjs/core'; -export { UniverThreadCommentUIPlugin } from '@univerjs/thread-comment-ui'; -export { SheetsThreadCommentPopupService } from './services/sheets-thread-comment-popup.service'; +export { ShowAddSheetCommentModalOperation } from './commands/operations/comment.operation'; export { UniverSheetsThreadCommentPlugin } from './plugin'; +export { SheetsThreadCommentPopupService } from './services/sheets-thread-comment-popup.service'; export { SHEETS_THREAD_COMMENT } from './types/const'; -export { IThreadCommentMentionDataService } from '@univerjs/thread-comment-ui'; -export { IThreadCommentDataSourceService } from '@univerjs/thread-comment'; export { SheetsThreadCommentModel } from '@univerjs/sheets-thread-comment-base'; - -// #region - all commands - -export { ShowAddSheetCommentModalOperation } from './commands/operations/comment.operation'; +export { IThreadCommentDataSourceService } from '@univerjs/thread-comment'; export { AddCommentCommand, DeleteCommentCommand, - UpdateCommentCommand, - ResolveCommentCommand, DeleteCommentTreeCommand, + ResolveCommentCommand, + UpdateCommentCommand, } from '@univerjs/thread-comment'; + +// #region - all commands + export type { IAddCommentCommandParams, IDeleteCommentCommandParams, + IDeleteCommentTreeCommandParams, IResolveCommentCommandParams, IUpdateCommentCommandParams, - IDeleteCommentTreeCommandParams, } from '@univerjs/thread-comment'; +export { UniverThreadCommentUIPlugin } from '@univerjs/thread-comment-ui'; +export { IThreadCommentMentionDataService } from '@univerjs/thread-comment-ui'; // #endregion