32 lines
541 B
TypeScript
32 lines
541 B
TypeScript
export interface Address {
|
|
country: string;
|
|
gid: string;
|
|
locality: string;
|
|
number: string;
|
|
postal_code: string;
|
|
raw: string;
|
|
region: string;
|
|
street: string;
|
|
unit: string;
|
|
}
|
|
export interface District {
|
|
name: string;
|
|
phone_office: string;
|
|
slug: string;
|
|
url_logo: string;
|
|
}
|
|
export interface Location {
|
|
latitude: number;
|
|
longitude: number;
|
|
}
|
|
export interface GeocodeSuggestion {
|
|
detail: string;
|
|
gid: string;
|
|
locality: string;
|
|
type: string;
|
|
}
|
|
export interface Geocode {
|
|
address: Address;
|
|
cell: number;
|
|
location: Location;
|
|
}
|