Interface: AuditScopeInput<TCtx>
Interface: AuditScopeInput<TCtx>
Section titled “Interface: AuditScopeInput<TCtx>”Defined in: server/src/sync-handler.ts:287
Input available to AuditLogOptions.scopeFor. Kept separate from
AuthResult so the callback sees the mutation identity as well —
scoping by mutationName is legitimate for niche compliance
regimes even if the common case scopes by clientGroupID.
wireArgs is the raw payload as it arrived on the wire — scope has
to be decided before the mutator runs (the transaction it opens
needs to know its scope), so validation-normalised args are not
yet available at this point. Callers that need normalised values
should scope by mutation identity fields (mutationName,
clientGroupID) or defer that decision to captureArgs, which
fires after normalisation.
Type Parameters
Section titled “Type Parameters”TCtx
Properties
Section titled “Properties”
readonlyctx:TCtx
Defined in: server/src/sync-handler.ts:288
clientGroupID
Section titled “clientGroupID”
readonlyclientGroupID:string
Defined in: server/src/sync-handler.ts:289
clientID
Section titled “clientID”
readonlyclientID:string
Defined in: server/src/sync-handler.ts:290
mutationName
Section titled “mutationName”
readonlymutationName:string
Defined in: server/src/sync-handler.ts:291
mutationID
Section titled “mutationID”
readonlymutationID:number
Defined in: server/src/sync-handler.ts:292
wireArgs
Section titled “wireArgs”
readonlywireArgs:unknown
Defined in: server/src/sync-handler.ts:293