Sanity Library Reference Docs
    Preparing search index...

    Interface BlueprintApplicationConfigBeta

    Configuration for an Application resource.

    interface BlueprintApplicationConfig {
        autoUpdates?: { enabled: boolean };
        icon?: string;
        mfManifest?: Record<string, unknown>;
        name: string;
        root: string;
        slug?: string;
        title: string;
        views?: BlueprintApplicationViewConfig[];
        visibility?: "default" | "unlisted" | "disabled";
        webWorkers?: BlueprintWebWorker[];
    }
    Index

    Properties

    autoUpdates?: { enabled: boolean }

    Auto update settings for the application. Off when omitted.

    Type declaration

    • enabled: boolean

      Whether auto updates are enabled for the application

    icon?: string

    Path to the icon image, relative to root. Uploaded on every deploy; omitting it removes the icon. PNG, JPEG, BMP, GIF, TIFF, SVG, WebP, HEIF or AVIF, up to 5 MB.

    mfManifest?: Record<string, unknown>

    Module federation manifest

    name: string

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

    root: string

    The application root directory, relative to the blueprint file. Contains the application's package.json; icon and every view and web worker src are resolved relative to it.

    slug?: string

    The slug to be used in the application hostname. Must match ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$.

    Defaults to the resource name.

    title: string

    User-facing title for the application.

    The window, panel, asset source, and tile views the application exposes.

    Authored as surface-discriminated view configs and transformed to the emitted view type the backend expects.

    visibility?: "default" | "unlisted" | "disabled"

    Dashboard visibility.

    webWorkers?: BlueprintWebWorker[]

    The background web workers the application runs.