Added Crew and General Aviation Filters

This commit is contained in:
2026-04-20 22:30:34 +10:00
parent e007824fa9
commit a57775e141
26 changed files with 559 additions and 98 deletions
+9
View File
@@ -10,6 +10,7 @@ declare module '@vue/runtime-core' {
export type ProfileView = 'map' | 'board' | 'passes';
export type ChartType = "line" | "area" | "bar" | "pie" | "donut" | "radialBar" | "scatter" | "bubble" | "heatmap" | "candlestick" | "boxPlot" | "radar" | "polarArea" | "rangeBar" | "rangeArea" | "treemap" | undefined
export type BadgeVariant = 'first' | 'business' | 'premium' | 'economy' | 'private' | 'unspecified' | 'generic' | 'general_aviation' | 'crew'
export interface User {
id: number
@@ -118,6 +119,13 @@ export interface FlightReason {
export interface FlightClass {
id: number
name: string
internal_name: BadgeVariant
}
export interface CrewType {
id: number
name: string
internal_name: string
}
export interface Flight {
@@ -138,6 +146,7 @@ export interface Flight {
airline: Airline | null
aircraft: Aircraft | null
seat_type: SeatType | null
crew_type: CrewType | null
flight_reason: FlightReason | null
flight_class: FlightClass | null
duration_display: string