@mocanvas/editor · constant

commentSchemaRecords

declare const commentSchemaRecords: {
    readonly comment_thread: {
        readonly type: "comment_thread";
        readonly recordType: _mocanvas_store.RecordType<TLCommentThread, "anchor" | "authorId">;
    };
    readonly comment: {
        readonly type: "comment";
        readonly recordType: _mocanvas_store.RecordType<TLComment, "index" | "richText" | "authorId" | "threadId">;
    };
    readonly comment_reaction: {
        readonly type: "comment_reaction";
        readonly recordType: _mocanvas_store.RecordType<TLCommentReaction, "userId" | "commentId" | "emoji">;
    };
}

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.