Applied, duplicate, or conflict acknowledgement for a comment mutation.
- Package
@sheetwrite/core
- Source
packages/core/src/collaboration.ts#L407
Variants 3
clientMutationId: string;
thread: CommentThreadinterface CommentThread {
id: string;
documentId: string;
anchor: CommentAnchor;
version: number;
messages: readonly CommentMessage[];
resolved: boolean;
resolvedBy?: CommentAuthorRef;
resolvedAt?: string;
}interface CommentThread {
id: string;
documentId: string;
anchor: CommentAnchor;
version: number;
messages: readonly CommentMessage[];
resolved: boolean;
resolvedBy?: CommentAuthorRef;
resolvedAt?: string;
}interface CommentThread {
id: string;
documentId: string;
anchor: CommentAnchor;
version: number;
messages: readonly CommentMessage[];
resolved: boolean;
resolvedBy?: CommentAuthorRef;
resolvedAt?: string;
}Versioned discussion anchored to a document location.API reference →;
clientMutationId: string;
{ status: "conflict"; currentVersion: number }
Declaration
View full TypeScript declaration
export type CommentMutationResponse =
clientMutationId: string;
thread: CommentThreadinterface CommentThread {
id: string;
documentId: string;
anchor: CommentAnchor;
version: number;
messages: readonly CommentMessage[];
resolved: boolean;
resolvedBy?: CommentAuthorRef;
resolvedAt?: string;
}interface CommentThread {
id: string;
documentId: string;
anchor: CommentAnchor;
version: number;
messages: readonly CommentMessage[];
resolved: boolean;
resolvedBy?: CommentAuthorRef;
resolvedAt?: string;
}interface CommentThread {
id: string;
documentId: string;
anchor: CommentAnchor;
version: number;
messages: readonly CommentMessage[];
resolved: boolean;
resolvedBy?: CommentAuthorRef;
resolvedAt?: string;
}Versioned discussion anchored to a document location.API reference →; clientMutationId: string;