@univerjs/thread-comment v0.5.0-beta.1 • Docs
Interface: IThreadCommentDataSourceService
Properties
Property | Type | Description | Defined in |
---|---|---|---|
addComment | (comment : IThreadComment ) => Promise <IThreadComment > | handler for add-comment, throw error means fail and stop the process. | submodules/univer/packages/thread-comment/src/services/tc-datasource.service.ts:61 |
dataSource | Nullable <IThreadCommentDataSource > | - | submodules/univer/packages/thread-comment/src/services/tc-datasource.service.ts:51 |
deleteComment | (unitId : string , subUnitId : string , threadId : string , commentId : string ) => Promise <boolean > | handler for delete-comment, throw error means fail and stop the process. | submodules/univer/packages/thread-comment/src/services/tc-datasource.service.ts:73 |
getThreadComment | (unitId : string , subUnitId : string , threadId : string ) => Promise <Nullable <IBaseComment >> | - | submodules/univer/packages/thread-comment/src/services/tc-datasource.service.ts:75 |
listThreadComments | (unitId : string , subUnitId : string , threadId : string []) => Promise <false | IBaseComment []> | - | submodules/univer/packages/thread-comment/src/services/tc-datasource.service.ts:76 |
resolveComment | (comment : IThreadComment ) => Promise <boolean > | handler for resolve-comment, throw error means fail and stop the process. | submodules/univer/packages/thread-comment/src/services/tc-datasource.service.ts:69 |
saveToSnapshot | (unitComments : Record <string , IThreadComment []>, unitId : string ) => Record <string , ThreadCommentJSON []> | - | submodules/univer/packages/thread-comment/src/services/tc-datasource.service.ts:74 |
syncUpdateMutationToColla | boolean | should sync update mutations to collaboration-server | submodules/univer/packages/thread-comment/src/services/tc-datasource.service.ts:56 |
updateComment | (comment : IThreadComment ) => Promise <boolean > | handler for update-comment, throw error means fail and stop the process. | submodules/univer/packages/thread-comment/src/services/tc-datasource.service.ts:65 |