Skip to content

Type Alias: GenieChatEventFields\<T\>

GenieChatEventFields<T> = Omit<Extract<GenieChatEvent, { type: T; }>, "type">

Field set for a given GenieChatEventType - the variant with the type discriminator stripped. Used by detectors in event.ts so each detector returns just the payload fields and the orchestrator stamps type at yield time.

T extends GenieChatEventType