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?
optionalparams?:Record<string,any>
Schema describing the runtime parameters this operation accepts.
type
type:
T
The operation kind — discriminates the definition shape.