Provide types to be shared across applications
{ id : Basics.Int
, name : String
, notes_markdown : String
, misnomers : List String
}
Data that is common to all kinds of aircraft related entities
Enumerated types of aircraft
aircraftTypeString : AircraftType -> String
Convert an aircraft type to a string
{ aircraftType : AircraftType
, aircraftData : GenericAircraftData
}
Generic aircraft data plus an aircraft type
{ aircraftType : AircraftType
, list : List GenericAircraftData
}
List of generic aircraft data of the same aircraft type
isEmpty : TypedAircraftList -> Basics.Bool
Check of a typed aircraft list is empty
toTypedList : TypedAircraftList -> List TypedAircraftData
Convert a list of a single type of entity to a generic list that holds items typed individually
{ base : TypedAircraftData
, lists : Vector3 TypedAircraftList
}
All the typed entities related to some particular typed aircraft data, grouped by type and including the base. There will never be other items of the same type.
{ lists : Vector4 TypedAircraftList }
All the typed entities related to a particular search, grouped by type