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.
Whether the user is authenticated.
The current user of the source.
The name of the dataset.
Returns a client instance.
Options to pass to the client. See SourceClientOptions
Get structure builder
a structure builder. See StructureBuilder
Optional BetamediaConfig for the Sanity Media Library asset source integration.
The name of the source.
Optional BetaonConfiguration for error handling.
The stacked array of perspective ids ordered chronologically to represent the state of documents at the given point in time. It can be used as the perspective param in the client to get the correct view of the documents. ["published"] | ["drafts"] | ["releaseId2", "releaseId1", "drafts"] See PerspectiveStack
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.
Resolve document method
an object holding the documentId and schemaType for the document node being resolved.
a document node builder, or null/undefined if no document node should be returned. See DocumentBuilder
The schema of the source.
AlphasearchOptional BetatasksThe templates of the source.
The title of the source.
The tools of the source.
The type of the source.
Interface for the structure builder context.