interface

MutationOptions

Localized mutation options with optimistic concurrency.

Properties

PropertyTypeDescription
revisionnumberThe revision value.
localeLocaleMutations target one locale; "all" is read-only.
fallbackLocale[Locale] extends [never] ? never : false | Locale | readonly Locale[]Explicit fallback chain, or false to require an exact locale value.
signalAbortSignalThe signal value.
headersHeadersInit | undefinedThe headers value.
keepalivebooleanThe 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> { ... }

Source packages/sdk/src/index.ts:62