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
req?
Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
The real Express request when called over HTTP; hooks receive a {user} stub otherwise.
scopeResolver?
user
Returns
Promise<SyncMutationOutcome>