Sanity Library Reference Docs
    Preparing search index...

    Interface CommentFieldCreatePayloadBeta

    interface CommentFieldCreatePayload {
        contentSnapshot?: unknown;
        fieldPath: string;
        id?: string;
        message: PortableTextBlock[];
        parentCommentId: string;
        payload?: { fieldPath: string };
        reactions: CommentReactionItem[];
        selection?: CommentTextSelection;
        status: CommentStatus;
        threadId: string;
        type: "field";
    }

    Hierarchy (View Summary)

    Index

    Properties

    contentSnapshot?: unknown
    fieldPath: string

    The stringified path to the field where the comment was created.

    id?: string
    parentCommentId: string
    payload?: { fieldPath: string }
    reactions: CommentReactionItem[]
    threadId: string
    type: "field"