ServiceParams
Defined in: types.ts:39
Indexable
Section titled “Indexable”[
key:string]:unknown
Properties
Section titled “Properties”connection?
Section titled “connection?”
optionalconnection?:Record<string,unknown>
Defined in: types.ts:45
Per-socket connection state. Set by the socket.io transport and persists across calls from the same socket.
external?
Section titled “external?”
optionalexternal?:boolean
Defined in: types.ts:49
True on service:event emissions that did NOT pass through the hook pipeline — e.g. Supabase change-feed re-emissions of direct DB mutations.
headers?
Section titled “headers?”
optionalheaders?:Record<string,string>
Defined in: types.ts:43
provider?
Section titled “provider?”
optionalprovider?:string
Defined in: types.ts:42
query?
Section titled “query?”
optionalquery?:Record<string,unknown>
Defined in: types.ts:40
rooms?
Section titled “rooms?”
optionalrooms?:string|string[]
Defined in: types.ts:47
Rooms to broadcast mutation events to. If set by a before hook, the socket.io transport will broadcast only to these rooms instead of all clients.
optionaluser?:Record<string,unknown>
Defined in: types.ts:41