Sanity Library Reference Docs
    Preparing search index...

    Interface BlueprintPanelViewConfigBeta

    Configuration for a panel view.

    Discriminated by surface. The definer transforms surface: 'panel' to the emitted view type: 'panel'.

    interface BlueprintPanelViewConfig {
        dock?: BlueprintApplicationDock;
        name: string;
        src: string;
        surface: "panel";
        title: string;
        type: "view";
    }
    Index

    Properties

    Dock placement for the panel view.

    Type declaration

    Dock placement for a window view.

    This feature is subject to breaking changes.

    • Optionalgroup?: "system" | "applications"

      The dock group the window or panel view is placed into.

      applications — the API places the view in the applications dock group when omitted.

    • Optionalorder?: number

      Sort position within the group, ascending.

      Omitted — ordering falls back to the dashboard application's built-in settings.
      

    Omitted — the dashboard applies its default placement (the applications group with built-in ordering).

    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: "panel"

    The surface the view targets.

    title: string

    Human-readable title for the view.

    type: "view"

    Set by the view definers.