nidus-sync/ts/type/api.ts

39 lines
657 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;
uri: string;
url_logo: string;
url_website: 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;
}
export interface Publicreport {
district: string;
id: string;
uri: string;
}