Versioned comment mutation submitted to a host adapter.
- Package
@sheetwrite/core
- Source
packages/core/src/collaboration.ts#L398
Members 5
Declaration
View full TypeScript declaration
export interface CommentMutationRequest {
clientMutationId: string;
mutation: CommentMutationtype CommentMutation =
| {
kind: "create";
threadId: string;
messageId: string;
anchor: CommentAnchor;
body: string;
}
| {
kind: "reply";
threadId: string;
messageId: string;
body: string;
}
| { kind: "resolve"; threadId: string; resolved: boolean };type CommentMutation =
| {
kind: "create";
threadId: string;
messageId: string;
anchor: CommentAnchor;
body: string;
}
| {
kind: "reply";
threadId: string;
messageId: string;
body: string;
}
| { kind: "resolve"; threadId: string; resolved: boolean };type CommentMutation =
| {
kind: "create";
threadId: string;
messageId: string;
anchor: CommentAnchor;
body: string;
}
| {
kind: "reply";
threadId: string;
messageId: string;
body: string;
}
| {
kind: "resolve";
threadId: string;
resolved: boolean;
};Serializable operation that creates or updates comment state.API reference →;