type
TypedMutationOptions
Public authoring and runtime contracts live in core. These aliases keep the root package as the ergonomic application-facing entry point.
Options
| Property | Type | Description |
|---|---|---|
ID | string | The ID value. |
Actor | *store.Document | Authenticated document used by access rules, paired with ActorCollection. |
ActorCollection | schema.CollectionSlug | The ActorCollection value. |
System | bool | Trusted server-side bypass of access rules; never infer this from an absent actor. |
ExpectedRevision | int | Fence an existing working revision so a concurrent save or lifecycle operation returns a conflict instead of overwriting it. |
Populate | []query.Population | The Populate value. |
OutputFields | []query.Path | The OutputFields value. |
Draft | *bool | True stages working content; false requests a complete published create. SaveDraft and CreateDraft force true regardless of this option. |
Locale | schema.LocaleCode | The Locale value. |
FallbackLocales | []schema.LocaleCode | The FallbackLocales value. |
DisableFallback | bool | The DisableFallback value. |
How it works
Other fields support caller-owned create IDs, returned population and output fields, and exact locale selection. The generated methods forward these options to the same LocalAPI operation engine. Draft writes defer editorial completeness only; supplied structure, access, references, and custom validators still run.