← back to Dw Boardroom V2
frontend/src/types.ts
63 lines
export interface Meeting {
id: string;
meeting_type: string;
phase: string;
status: string;
started_at: string | null;
ended_at: string | null;
summary: string | null;
attendees: string;
action_items: string;
created_at: string;
}
export interface MeetingMessage {
id: number;
meeting_id: string;
agent_id: string;
agent_name: string;
message: string;
message_type: string;
phase: string | null;
created_at: string;
}
export interface AgendaItem {
id: number;
meeting_id: string;
topic: string;
recommendation: string | null;
decision_type: string;
owner: string | null;
position: number;
status: string;
created_at: string;
}
export interface Agent {
id: string;
name: string;
pm2: string;
port?: number;
color: string;
role: string;
dept: string;
hasApi: boolean;
subMgr?: string;
}
export interface Executive {
id: string;
name: string;
port: number;
color: string;
role: string;
avatar: string;
}
export interface WSEvent {
type: string;
payload: any;
timestamp: string;
}