BetaOptional BetaactionsOptional BetaaskConfiguration for the "Ask to edit" button that appears when a user lacks edit permissions on a document.
Whether the "Ask to edit" button is enabled. Defaults to true.
Can be a boolean or a function that receives a context object and returns a boolean.
When set to false, the "Ask to edit" button will be hidden but the
document will still be read-only for users without edit permissions.
Optional BetabadgesOptional BetadraftsOptionalenabled?: booleanWhether the workspace provides the draft model for interacting with documents.
When switched off, documents may only be edited:
Optional BetainspectorsOptional BetanewOptional BetaproductionOptionalsingletonsThe singleton configuration, surfaced at the document.singletons
configuration path.
Registering a singleton over a schema type removes that type's plain
"create new" initial value template and hides the type from the
Structure Tool's default document type lists, so editors can no longer
create ordinary documents of that type. If the schema type is also used
for ordinary documents (for example, fixed "Spring" and "Summer"
campaigns alongside regular campaigns), set
allowNonSingletonDocuments: true on the singleton definition to keep
ordinary documents creatable. See
SingletonDefinition.allowNonSingletonDocuments.
If a singleton's id, documentId, and schemaType properties are
identical, it can simply be provided as a single string. Studio will
expand it to a full SingletonDefinition at runtime.
Alternatively, a resolver function may be provided.
Optional Betaunstable_Optional Betaunstable_
Hidden