Sanity Library Reference Docs
    Preparing search index...
    WorkflowResource:
        | { id: string; type: "dataset" }
        | { id: string; type: "canvas" }
        | { id: string; type: "media-library" }
        | { id: string; type: "dashboard" }

    The resource a Sanity client is configured against — mirrors @sanity/client's ClientConfigResource discriminator. For dataset, id is <projectId>.<dataset>. For the others, id is the resource id.