UNPKG

@arkasuryawan/gp-interfaces

Version:

Geonet Properties Data Interfaces

48 lines (47 loc) 1.16 kB
import { AuditInterface, ProjectInterface } from "."; export interface GooglePlacesInterface extends AuditInterface { business_status?: string; geometry: { location: { lat: number; lng: number; }; viewport: { northeast: { lat: number; lng: number; }; southwest: { lat: number; lng: number; }; }; }; icon: string; icon_background_color: string; icon_mask_base_uri: string; name: string; opening_hours?: any; photos: [ { height: 1252; html_attributions: string[]; photo_reference: string; width: 1600; } ]; place_id: string; plus_code: any; reference: string; rating?: number; scope: string; types: string[]; vicinity: string; user_ratings_total?: string[]; } export interface ProjectGooglePlacesInterface extends AuditInterface { projectId: string; project: ProjectInterface; googlePlacesId: string; googlePlaces: GooglePlacesInterface; }