Sanity Library Reference Docs
    Preparing search index...

    Interface CommentContextBeta

    interface CommentContext {
        intent?: { name: string; params: IntentParameters; title: string };
        notification?: {
            currentThreadLength?: number;
            documentTitle: string;
            subscribers?: string[];
            url?: string;
            workspaceName: string;
            workspaceTitle: string;
        };
        payload?: Record<string, unknown>;
        tool: string;
    }
    Index

    Properties

    intent?: { name: string; params: IntentParameters; title: string }
    notification?: {
        currentThreadLength?: number;
        documentTitle: string;
        subscribers?: string[];
        url?: string;
        workspaceName: string;
        workspaceTitle: string;
    }
    payload?: Record<string, unknown>
    tool: string