Started a flight view
This commit is contained in:
Vendored
+73
@@ -23,6 +23,79 @@ export type SharedProps = import('@inertiajs/core').PageProps & {
|
||||
logo_api_url: string
|
||||
}
|
||||
|
||||
export interface Airport {
|
||||
id: number
|
||||
name: string
|
||||
latitude_deg: number
|
||||
longitude_deg: number
|
||||
elevation_ft: number | null
|
||||
region_id: number
|
||||
municipality: string | null
|
||||
icao_code: string | null
|
||||
iata_code: string | null
|
||||
local_code: string | null
|
||||
type: string
|
||||
created_at: string | null
|
||||
updated_at: string | null
|
||||
timezone: string
|
||||
}
|
||||
|
||||
export interface Airline {
|
||||
id: number
|
||||
IATA_code: string | null
|
||||
ICAO_code: string | null
|
||||
name: string | null
|
||||
internal_name: string | null
|
||||
active: boolean
|
||||
logo: string | null
|
||||
country_id: number
|
||||
}
|
||||
|
||||
export interface Aircraft {
|
||||
id: number
|
||||
designator: string
|
||||
manufacturer_code: string
|
||||
model_full_name: string
|
||||
aircraft_description: string
|
||||
engine_type: string
|
||||
engine_count: number
|
||||
wtc: string
|
||||
created_at: string | null
|
||||
updated_at: string | null
|
||||
}
|
||||
|
||||
export interface SeatType {
|
||||
id: number
|
||||
name: string
|
||||
}
|
||||
|
||||
export interface FlightReason {
|
||||
id: number
|
||||
name: string
|
||||
}
|
||||
|
||||
export interface FlightClass {
|
||||
id: number
|
||||
name: string
|
||||
}
|
||||
|
||||
export interface Flight {
|
||||
id: number
|
||||
flight_number: string | null
|
||||
departure_date: string
|
||||
arrival_date: string
|
||||
aircraft_registration: string | null
|
||||
seat_number: string | null
|
||||
note: string | null
|
||||
departure_airport: Airport
|
||||
arrival_airport: Airport
|
||||
airline: Airline | null
|
||||
aircraft: Aircraft | null
|
||||
seat_type: SeatType | null
|
||||
flight_reason: FlightReason | null
|
||||
flight_class: FlightClass | null
|
||||
}
|
||||
|
||||
declare module '@inertiajs/vue3' {
|
||||
interface PageProps extends SharedProps {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user