From ab176d5be353f1b874c68af6aeceb5e4a0183829 Mon Sep 17 00:00:00 2001 From: Arshia <arshiapour@hotmail.co.uk> Date: Sat, 20 Apr 2024 14:46:20 +0330 Subject: [PATCH] double implementation on airline dash removed. --- .../services/Dashboard/AirlineDashboard.ts | 26 +------------------ 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/client/src/services/Dashboard/AirlineDashboard.ts b/client/src/services/Dashboard/AirlineDashboard.ts index d697d38..d326f11 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"; -- GitLab