LogoRobo.js
Packages@robojs/sync

SyncUpdateContext<T, ClientData>

Interface: SyncUpdateContext<T, ClientData>

Context passed to validation and transform handlers.

Type Parameters

Type ParameterDefault type
Tunknown
ClientDataunknown

Properties

PropertyTypeDescription
cleanKeystringThe normalized key string
clientHandlerClient<ClientData>The client making the update
keystring[]The full key array
newStateTThe new state being set
oldStateundefined | TThe previous state (may be undefined for first update)
paramsRecord<string, string>Dynamic route parameters extracted from key (e.g., { roomId: '123' })

On this page