Skip to content

js-bao-wss-client


js-bao-wss-client / DatabaseOperationInfoOf

Interface: DatabaseOperationInfoOf<T> ​

One member of the DatabaseOperationInfo discriminated union.

Type Parameters ​

T ​

T extends OperationType

Properties ​

access ​

access: string


createdAt ​

createdAt: string


createdBy ​

createdBy: string


databaseId ​

databaseId: string


definition ​

definition: OperationDefinitionByType[T]

The stored operation logic, typed to the type above.


modelName ​

modelName: string


modifiedAt ​

modifiedAt: string


name ​

name: string


params ​

params: Record<string, any> | null


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