API Reference@univerjs@univerjs/sheets-thread-commentinterfacesIthreadcommentdatasourceservice@univerjs/sheets-thread-comment v0.4.2 • Docs Interface: IThreadCommentDataSourceService Properties PropertyTypeDescriptionDefined inaddComment(comment: IThreadComment) => Promise<IThreadComment>handler for add-comment, throw error means fail and stop the process.packages/thread-comment/src/services/tc-datasource.service.ts:61 (opens in a new tab)dataSourceNullable<IThreadCommentDataSource>-packages/thread-comment/src/services/tc-datasource.service.ts:51 (opens in a new tab)deleteComment(unitId: string, subUnitId: string, threadId: string, commentId: string) => Promise<boolean>handler for delete-comment, throw error means fail and stop the process.packages/thread-comment/src/services/tc-datasource.service.ts:73 (opens in a new tab)getThreadComment(unitId: string, subUnitId: string, threadId: string) => Promise<Nullable<IBaseComment>>-packages/thread-comment/src/services/tc-datasource.service.ts:75 (opens in a new tab)listThreadComments(unitId: string, subUnitId: string, threadId: string[]) => Promise<false | IBaseComment[]>-packages/thread-comment/src/services/tc-datasource.service.ts:76 (opens in a new tab)resolveComment(comment: IThreadComment) => Promise<boolean>handler for resolve-comment, throw error means fail and stop the process.packages/thread-comment/src/services/tc-datasource.service.ts:69 (opens in a new tab)saveToSnapshot(unitComments: Record<string, IThreadComment[]>, unitId: string) => Record<string, ThreadCommentJSON[]>-packages/thread-comment/src/services/tc-datasource.service.ts:74 (opens in a new tab)syncUpdateMutationToCollabooleanshould sync update mutations to collaboration-serverpackages/thread-comment/src/services/tc-datasource.service.ts:56 (opens in a new tab)updateComment(comment: IThreadComment) => Promise<boolean>handler for update-comment, throw error means fail and stop the process.packages/thread-comment/src/services/tc-datasource.service.ts:65 (opens in a new tab)IresolvecommentcommandparamsIthreadcommentmentiondataservice