BetaadvancedAdvanced version control provides features such as inline content diffs in Studio to make resolving conflicts across document versions easier.
Betaenabled: booleanControl whether advanced version control functionality is enabled.
Advanced version control provides features such as inline content diffs in Studio to make resolving conflicts across document versions easier.
OptionalappsWhether the user is authenticated.
URL base path to use, for instance /myWorkspace
Note that this will be prepended with any studio base path, eg /studio/myWorkspace,
and is a client-side routing feature. If you're looking to serve your studio from a subpath,
you're probably looking for the basePath property in sanity.cli.ts/sanity.cli.js.
The current user of the source.
The name of the dataset.
BetadocumentDocument-related functionality.
Betaactions: (props: PartialContext<DocumentActionsContext>) => DocumentActionComponent[]Returns an array of actions for the document.
Betabadges: (props: PartialContext<DocumentBadgesContext>) => DocumentBadgeComponent[]Returns an array of badges for the document.
Whether the workspace provides the draft model for interacting with documents.
When switched off, documents may only be edited:
Betainspectors: (props: PartialContext<DocumentInspectorContext>) => DocumentInspector[]BetaresolveNewDocumentOptions: (context: NewDocumentCreationContext) => InitialValueTemplateItem[]Resolves the new document options.
BetaresolveProductionUrl: (context: PartialContext<ResolveProductionUrlContext>) => Promise<string>Resolves the production URL for the document.
Alphaunstable_languageFilter: (BetaformForm-related functionality.
Optional Betacomponents?: FormComponentsComponents for the form.
Betafile: { assetSources: AssetSource[]; directUploads: boolean }File-related functionality.
The asset sources.
Whether direct uploads are enabled.
Betaimage: { assetSources: AssetSource[]; directUploads: boolean }Image-related functionality.
The asset sources.
Whether direct uploads are enabled.
Optional Betaunstable?: {these have not been migrated over and are not merged by the form builder
Returns a client instance.
Options to pass to the client. See SourceClientOptions
React component to use as icon for this workspace
Optional BetamediaConfig for the Sanity Media Library asset source integration.
The name of the source.
Optional BetaonConfiguration for error handling.
The ID of the project.
Optional BetareleasesOptionalactions?: (props: PartialContext<ReleaseActionsContext>) => ReleaseActionComponent[]Returns an array of actions for the release.
Optionalenabled?: booleanOptionallimit?: numberLimit the number of releases that can be created by this workspace.
OptionalscheduledThe schema of the source.
AlphasearchOptional BetastudioOptional Betacomponents?: StudioComponentsComponents for the studio.
OptionalsubtitleSubtitle to show under the name of the workspace
Optional BetatasksThe templates of the source.
The title of the source.
The tools of the source.
Betaunstable_
Definition for Workspace