Versioned discussion anchored to a document location.
Members 8
Declaration
View full TypeScript declaration
export interface CommentThread {
Referenced by
Workspace packages depending on @sheetwrite/core
@sheetwrite/benchdependency
@sheetwrite/docs-startdependency
@sheetwrite/reactdependency
@sheetwrite/sveltedependency
@sheetwrite/vuedependency
@sheetwrite/xlsxdependency
Public exports naming CommentThread
type CommentAnchor =
| {
kind: "cell";
address: { sheet: string; row: number; col: number };
}
| { kind: "range"; range: Range };type CommentAnchor =
| {
kind: "cell";
address: { sheet: string; row: number; col: number };
}
| { kind: "range"; range: Range };type CommentAnchor =
| {
kind: "cell";
address: {
sheet: string;
row: number;
col: number;
};
}
| {
kind: "range";
range: Range;
};Document location to which a comment thread is attached.API reference →interface CommentMessage {
id: string;
author: CommentAuthorRef;
body: string;
createdAt: string;
editedAt?: string;
}interface CommentMessage {
id: string;
author: CommentAuthorRef;
body: string;
createdAt: string;
editedAt?: string;
}interface CommentMessage {
id: string;
author: CommentAuthorRef;
body: string;
createdAt: string;
editedAt?: string;
}One immutable author message in a comment thread.API reference →interface CommentAuthorRef {
id: string;
displayName?: string;
avatarUrl?: string;
}interface CommentAuthorRef {
id: string;
displayName?: string;
avatarUrl?: string;
}interface CommentAuthorRef {
id: string;
displayName?: string;
avatarUrl?: string;
}Stable host-provided identity displayed on a comment message.API reference →