Sanity Library Reference Docs
    Preparing search index...

    Interface BlueprintAssetSourceViewConfigBeta

    Configuration for an asset source view.

    Discriminated by surface. The definer transforms surface: 'asset-source' to the emitted view type: 'asset_source'.

    interface BlueprintAssetSourceViewConfig {
        name: string;
        src: string;
        surface: "asset-source";
        title: string;
        type: "view";
    }
    Index

    Properties

    name: string

    Unique within the application. Must match ^[a-zA-Z0-9_-]+$.

    src: string

    The location of the view source code, relative to the application root.

    surface: "asset-source"

    The surface the view targets.

    title: string

    Human-readable title for the view.

    type: "view"

    Set by the view definers.