Sanity Library Reference Docs
    Preparing search index...

    Type Alias StudioWorkspaceBeta

    A workspace definition extracted from a studio's configuration during the build.

    This feature is subject to breaking changes.

    type StudioWorkspace = {
        basePath: string | undefined;
        dataset: string;
        icon: string | undefined;
        name: string;
        projectId: string;
        schemaDescriptorId: string;
        subtitle: string | undefined;
        title: string | undefined;
    }
    Index

    Properties

    basePath: string | undefined

    The workspace base path

    dataset: string

    The dataset of the workspace

    icon: string | undefined

    The workspace icon

    name: string

    The workspace name

    projectId: string

    The project ID of the workspace

    schemaDescriptorId: string

    The ID of the deployed schema descriptor for the workspace

    subtitle: string | undefined

    The workspace subtitle

    title: string | undefined

    The workspace title