/**
 * One editable time slot.
 *
 * It carries its **own copy** of the opportunity's window
 * (`opportunity_start_date` and friends) so an edit validates against the range
 * the slot was created under, not against a window the organiser has since
 * changed.
 */
export interface CreateTimeSlot {
  id: number;
  date: string;
  start_time: string;
  end_time: string | null;
  needed: number;
  opportunity: number;
  opportunity_start_date?: string;
  opportunity_end_date?: string;
  opportunity_start_time?: string;
  opportunity_end_time?: string;
}
