Skip to content

data/aircraftTypes

Variables

OPENAP_AIRCRAFT_TYPES

const OPENAP_AIRCRAFT_TYPES: readonly string[];

Defined in: data/aircraftTypes.ts:9

Aircraft types supported by the openap Python library.

Mirrors openap.prop.available_aircraft() (uppercased). Used by the console autocomplete and the manual "Create Aircraft" modal so the user can quickly pick a supported type. Users can still enter custom types not in this list; the UI only warns, it does not block.

Functions

isOpenapAircraftType()

function isOpenapAircraftType(type): boolean;

Defined in: data/aircraftTypes.ts:23

Returns true when the given aircraft type string is present in the openap list (case-insensitive).

Parameters

type

string

Returns

boolean