namespace Carpool { export interface Group { id: string; member_ids: string[]; } export interface User { id: string; first_name: string; last_name: string; } export interface Comment { id: string; body: string; author_id: string; } export type Status = "pending" | "cancelled" | "completed" | "interrupted"; export interface Post { id: string; title: string; description: string; participant_ids: string[]; driver_id: string; create_time: string; update_time: string; comments: Comment[]; group_id: string; status: Status; capacity: number; } }