Sanity Library Reference Docs
    Preparing search index...

    Interface BlueprintResource<Lifecycle>

    The base type for all resources.

    interface BlueprintResource<
        Lifecycle extends
            BlueprintResourceLifecycle = BlueprintResourceLifecycle,
    > {
        name: string;
        type: string;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    name: string

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

    type: string

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