Sanity Library Reference Docs
    Preparing search index...

    Interface CommentTaskCreatePayloadBeta

    interface CommentTaskCreatePayload {
        context: {
            notification: {
                currentThreadLength?: number;
                documentTitle: string;
                subscribers?: string[];
                url?: string;
                workspaceName: string;
                workspaceTitle: string;
            };
        };
        id?: string;
        message: PortableTextBlock[];
        parentCommentId: string;
        payload?: { fieldPath: string };
        reactions: CommentReactionItem[];
        status: CommentStatus;
        threadId: string;
        type: "task";
    }

    Hierarchy (View Summary)

    Index

    Properties

    context: {
        notification: {
            currentThreadLength?: number;
            documentTitle: string;
            subscribers?: string[];
            url?: string;
            workspaceName: string;
            workspaceTitle: string;
        };
    }
    id?: string
    parentCommentId: string
    payload?: { fieldPath: string }
    reactions: CommentReactionItem[]
    threadId: string
    type: "task"