import { IFlight, ISimpleFlight } from './flight/flight';

export type IBoardResponse = {
    data: {
        partners: string[];
        routes: ISimpleFlight[];
        daysOfFlight: string[];
    };
};

export type IDaysResponse = {
    days: string;
}

export type IScheduleResponse = IFlight[];
export type IScheduleDetailsResponse = IBoardResponse;

export type IDestinationsResponse = {
    data: {
        routes: IDestinationResponse[];
    }
}

export type IDestinationResponse = {
    isDirect : boolean;
    route: string[];
}