Sanity Library Reference Docs
    Preparing search index...

    Type Alias BlueprintFunctionEventDatasetConfig

    BlueprintFunctionEventDatasetConfig:
        | BlueprintFunctionResourceEventResourceDataset
        | ResourceRef<"sanity.project.dataset">

    The dataset that a function listens to, as passed to a definer: a dataset resource from defineDataset or referenceDataset, or the event resource itself.

    The definer turns a dataset resource into {type: 'dataset', id: '$.resources.<name>.resourceId'}.