interface
MutationOptions
Localized mutation options with optimistic concurrency.
Properties
| Property | Type | Description |
|---|---|---|
revision | number | The revision value. |
locale | Locale | Mutations target one locale; "all" is read-only. |
fallbackLocale | [Locale] extends [never] ? never : false | | Explicit fallback chain, or false to require an exact locale value. |
signal | AbortSignal | The signal value. |
headers | HeadersInit | | The headers value. |
keepalive | boolean | The keepalive value. |
How it works
revision is sent as the If-Match precondition; stale revisions reject with conflict. Publication-state changes use the dedicated publish and unpublish operations so their hooks always run.
Full signature
interface MutationOptions<Locale extends string = string> { ... }