Sanity Library Reference Docs
    Preparing search index...

    Interface BlueprintInstallationConfigResourceBaseBeta

    Fields shared by every singleton installation config resource.

    This feature is subject to breaking changes.

    The backend selects a provider from the resource type (sanity.installation.config), so every installation config shares that one type and is discriminated by appType.

    interface BlueprintInstallationConfigResourceBase {
        appType: string;
        name: string;
        root: string;
        type: "sanity.installation.config";
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    appType: string

    The installation this config targets. Discriminates the config shape.

    name: string

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

    root: string

    The config build directory, relative to the blueprint file. Contains the config's package.json; every field src is resolved relative to it.

    type: "sanity.installation.config"

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