Sanity Library Reference Docs
    Preparing search index...

    Interface BlueprintDatasetResource

    Represents a Dataset resource.

    interface BlueprintDatasetResource {
        aclMode: AclMode;
        datasetName: string;
        description?: string;
        name: string;
        project?: string;
        type: "sanity.project.dataset";
    }

    Hierarchy (View Summary)

    Index

    Properties

    aclMode: AclMode

    The ACL mode to set for the dataset. Defaults to public.

    datasetName: string

    The name of the dataset. Must be unique within a project.

    description?: string

    The dataset description

    name: string

    The name of the resource. Unique within the blueprint. e.g. 'sync-webhook'

    project?: string

    The project ID of the project that contains your Dataset.

    The project attribute must be defined if your blueprint is scoped to an organization.

    type: "sanity.project.dataset"

    The type of the resource. e.g. 'sanity.project.webhook'