export interface FetchedStandingsRecord {
  teamName: string;         // matched against participants.name
  externalTeamId: string;
  wins: number;
  losses: number;
  otLosses?: number;
  ties?: number;
  winPct: number;
  gamesPlayed: number;
  gamesBack?: number;
  conference?: string;
  division?: string;
  conferenceRank?: number;
  divisionRank?: number;
  leagueRank: number;
  streak?: string;
  lastTen?: string;
  homeRecord?: string;
  awayRecord?: string;
}

export interface StandingsSyncAdapter {
  fetchStandings(): Promise<FetchedStandingsRecord[]>;
}

export interface UnmatchedTeam {
  teamName: string;
  externalTeamId: string;
}

export interface SyncResult {
  synced: number;
  unmatched: UnmatchedTeam[];
}
