import { IOnlineBoardRequest } from '@online-board/services/request/request-parser.service';
import { IRouteData } from '@typings/common/route';
import { IParsedFlightId } from '@typings/flight/flight-id';
import { IOnlineBoardRoutePageUrlParams } from './services/url';

export type IOnlineBoardUrlParams = {
    flightNumber?: IParsedFlightId;
    route?: IOnlineBoardRoutePageUrlParams;
    details?: IParsedFlightId;
};

export type IOnlineBoardRequestData = {
    raw: string;
    parsed: IOnlineBoardRequest;
};

export type IOnlineBoardRouteData = IRouteData & {
    urlParams?: IOnlineBoardUrlParams;
    requestData?: IOnlineBoardRequestData;
};
