Skip to content

@vowel.to/client v0.3.3-beta


@vowel.to/client / index / VowelEventContext

Type Alias: VowelEventContext

ts
type VowelEventContext = Record<string, string | number | boolean | null | undefined>;

Defined in: lib/vowel/types/types.ts:1013

Event notification context - structured data about an event

Example

ts
const context: VowelEventContext = {
  type: 'order',
  orderId: '12345',
  status: 'completed',
  total: 99.99,
  timestamp: new Date().toISOString()
};