Skip to content

js-bao-wss-client


js-bao-wss-client / UpdateOperationParams

Interface: UpdateOperationParams ​

Parameters for updateOperation. definition is the plain OperationDefinition union — a partial update can change type and definition independently, so no per-type correlation is claimed.

Properties ​

access? ​

optional access?: string

Change who can execute this operation.


definition? ​

optional definition?: OperationDefinition

Replace the operation's query/mutation logic.


modelName? ​

optional modelName?: string

Change the model this operation acts on.


params? ​

optional params?: Record<string, any> | null

Replace the runtime parameter schema, or null to remove it.

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30