interface Base { _id: string; createdAt: string; updatedAt: string; } export interface User extends Base { username: string; } export interface EventContext { participants: string[]; conferenceId: string; attendanceId: string; } export interface Event extends Base { name: string; schedule: string; status?: 'running' | 'complete' | 'failed' | 'notStarted'; failReason?: string; context: EventContext; nextRunAt: string; lastRunAt: string; }