@ohm-vision/kiwi-tequila-api
Version:
Unofficial wrapper for Kiwi (tequila) API
27 lines • 761 B
TypeScript
import { LocationLocale, LocationType } from "../types";
export interface LocationDto {
/**
* desired locale output - this is the language
* of the results. Should any other locale be used
* other than the specified locales, en-US is used.
*/
locale?: LocationLocale;
/**
* desired location output
*/
location_types?: LocationType | LocationType[];
/**
* Desired number of results in the output.
*/
limit?: number;
/**
* default value = true. It displayes all active locations.
*/
active_only?: boolean;
/**
* desired order of the output. For A->Z use 'name',
* for Z->A use '-name'.
*/
sort?: 'name' | '-name';
}
//# sourceMappingURL=location.dto.d.ts.map