/**
 * Domain types for the Eagle Action site.
 *
 * These types define the entities used across pages: states, chapters, events,
 * and promotional links.
 */

export interface StateInfo {
  name: string;
  abbr: string;
  slug: string;
}

export interface Chapter {
  id: string;
  name: string;
  stateAbbr: string;
  cityOrRegion: string;
  contactName?: string;
  contactEmail?: string;
  status: "active" | "forming" | "needs-lead";
}

export interface Happening {
  id: string;
  stateAbbr: string;
  headline: string;
  summary: string;
  date: string;
}

export interface PromoLink {
  title: string;
  destination: string;
  type: "education_legal" | "substack" | "donate" | "join";
}

export interface EagleEvent {
  id: string;
  title: string;
  stateAbbr: string;
  startDate: string;
  endDate?: string;
  venue: string;
  city: string;
  description: string;
  cohosts: string[];
  rsvpLink?: string;
}
