Sanity Library Reference Docs
    Preparing search index...

    Type Alias DashboardApplicationBeta

    DashboardApplication: (
        DashboardTopicApplication & { isLocal: boolean }
        | DashboardInstallation
    ) & {
        views: WithoutApplication<View>[];
        webWorkers: WithoutApplication<WebWorker>[];
    }

    A dashboard entry — an application or an installation — in one consistent shape, with its loadable views and web workers. type distinguishes the kinds and isLocal marks dev-server applications.

    Type declaration

    • DashboardTopicApplication & { isLocal: boolean }
      • ReadonlyisLocal: boolean

        Served by a CLI dev server rather than a deployment.

    • DashboardInstallation
    • Readonlyviews: WithoutApplication<View>[]
    • ReadonlywebWorkers: WithoutApplication<WebWorker>[]