Sanity Library Reference Docs
    Preparing search index...

    Interface UpdateCommentOptionsBeta

    interface UpdateCommentOptions {
        commentId: string;
        dataset?: string;
        message: CommentMessage;
        perspective?: ReleasePerspective | ClientPerspective$1;
        projectId?: string;
        resource?: DocumentResource;
    }

    Hierarchy (View Summary)

    Index

    Properties

    commentId: string
    dataset?: string
    perspective?: ReleasePerspective | ClientPerspective$1
    projectId?: string
    resource?: DocumentResource

    Explicit resource to use. On an individual operation this overrides any default; on a SanityConfig it becomes the instance's default resource. Unlike projectId/dataset, this can also be a media library or canvas resource.