Skip to main content

TypeAlias.EventType

type EventType = ObjectEnum<typeof EventType>;

The type of audit/quota event.

Stored as a single native enum in PostgreSQL (event_type) and narrowed per-subject at the TypeScript level on Event subclasses. The narrow types below restrict, at compile time, which values are valid for each subject without introducing extra columns.