Skip to content

js-bao-wss-client


js-bao-wss-client / CreateOperationParamsOf

Interface: CreateOperationParamsOf<T> ​

One member of the CreateOperationParams discriminated union.

Type Parameters ​

T ​

T extends OperationType

Properties ​

access ​

access: string

Who can execute this operation (e.g. "public", "owner", "authenticated").


definition ​

definition: OperationDefinitionByType[T]

The operation logic, typed to the type above.


modelName ​

modelName: string

The model (table) this operation acts on.


name ​

name: string

Unique name used to reference this operation.


params? ​

optional params?: Record<string, any>

Schema describing the runtime parameters this operation accepts.


type ​

type: T

The operation kind — discriminates the definition shape.

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