Module

Faker.Airline

Package
purescript-faker-ffi
Repository
philippedev101/purescript-faker-ffi

#airport Source

airport :: Gen Airport

Generate a random airport with name and IATA code.

#Airport Source

type Airport = { iataCode :: String, name :: String }

#airline Source

airline :: Gen Airline

Generate a random airline with name and IATA code.

#Airline Source

type Airline = { iataCode :: String, name :: String }

#airplane Source

airplane :: Gen Airplane

Generate a random airplane with name and IATA type code.

#Airplane Source

type Airplane = { iataTypeCode :: String, name :: String }

#recordLocator Source

recordLocator :: Gen String

Generate a random record locator with defaults.

#recordLocatorOpts Source

recordLocatorOpts :: RecordLocatorOpts -> Gen String

Generate a random record locator with options.

#RecordLocatorOpts Source

type RecordLocatorOpts = { allowNumerics :: Boolean, allowVisuallySimilarCharacters :: Boolean }

#seat Source

seat :: Gen String

Generate a random seat number with defaults.

#seatOpts Source

seatOpts :: SeatOpts -> Gen String

Generate a random seat number with aircraft type option.

#SeatOpts Source

type SeatOpts = { aircraftType :: String }

#aircraftType Source

aircraftType :: Gen String

Generate a random aircraft type.

#flightNumber Source

flightNumber :: Gen String

Generate a random flight number with defaults.

#flightNumberOpts Source

flightNumberOpts :: FlightNumberOpts -> Gen String

Generate a random flight number with options.

#FlightNumberOpts Source

type FlightNumberOpts = { addLeadingZeros :: Boolean, length :: Int }