import { ITimesSet } from '@typings/times';

export const enum FlightTransitionStatus {
    FINISHED = 'Finished',
    EXPECTED = 'Expected',
    IN_PROGRESS = 'InProgress',
    SPECIFIED = 'Specified',
    SCHEDULED = 'Scheduled',
}

export type IFlightTransitions = {
    registration: IFlightTransition;
    boarding: IFlightTransition;
    deboarding: IFlightTransition;
};

export type IFlightTransition = {
    end: ITimesSet;
    isActual: boolean;
    start: ITimesSet;
    status: FlightTransitionStatus;
};
