Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

fix(sheets-thread-comment): comment export (#3543)

zhangw33f4592a8bbc
diff --git a/packages/sheets-thread-comment/src/index.ts b/packages/sheets-thread-comment/src/index.ts
index 62fc706ef0..9d758afb99 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