Skip to main content
Version: 57.2.0

applySyncMutation

applySyncMutation(__namedParameters): Promise<SyncMutationOutcome>

Apply a client mutation through the transport-agnostic executors (permissions, pre/post hooks, validation) with an atomic idempotency claim. Always finalizes the claimed ledger row before returning so duplicate deliveries can read the outcome back.

Parameters

__namedParameters

mutation

SyncMutateRequest

req?

Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

The real Express request when called over HTTP; hooks receive a {user} stub otherwise.

scopeResolver?

SyncMutationScopeResolver

user

User

Returns

Promise<SyncMutationOutcome>