diff --git a/client/src/services/Dashboard/AirlineDashboard.ts b/client/src/services/Dashboard/AirlineDashboard.ts index d697d38c8e6845cb9b4f9fed1a60e1298e65dc3e..d326f1178c61439b6a595556f58c1669d46717ef 100644 --- a/client/src/services/Dashboard/AirlineDashboard.ts +++ b/client/src/services/Dashboard/AirlineDashboard.ts @@ -1,30 +1,6 @@ import Api from "../../helpers/Api"; import UserStorage from "../../helpers/UserStorage"; - -export interface ISeat { - id: number; - classType: number; - seatNumber: string; - isAvailable: boolean; -} - -export interface ISeats { - $id: string; - $values: ISeat[]; -} - -export interface IFlight { - id: number; - origin: string; - destination: string; - arrivalTime: string; - departureTime: string; - economyCapacity: number; - businessCapacity: number; - economyPrice: number; - businessPrice: number; - seats: ISeats; -} +import { IFlight } from "./CustomerDashboard"; export interface IAirlineDashboardData { type: "airline";