export interface AirlineConfig {
  name: string;
  registrationUrl?: string;
  hasNativeStatus: boolean;
  statusUrl?: string;
}

export const AIRLINES: Record<string, AirlineConfig> = {
  SU: {
    name: "Aeroflot",
    registrationUrl: "https://www.aeroflot.ru/sb/ckin/app/ru-ru",
    hasNativeStatus: true,
  },
  FV: {
    name: "Rossiya",
    registrationUrl:
      "https://www.rossiya-airlines.com/flight-with-us/before_flight/the_ways_of_check-in/",
    hasNativeStatus: true,
  },
  HZ: {
    name: "Aurora",
    registrationUrl: "https://www.flyaurora.ru",
    hasNativeStatus: false,
    statusUrl: "https://www.flyaurora.ru",
  },
  DP: {
    name: "Pobeda",
    registrationUrl: "https://www.pobeda.aero",
    hasNativeStatus: false,
    statusUrl: "https://www.pobeda.aero",
  },
  AF: {
    name: "AirFrance",
    hasNativeStatus: false,
  },
};

export const AIRLINES_WITH_STATUS = new Set(["SU", "HZ", "FV", "DP"]);
