Skip to content

Commit

Permalink
fix: adds editorial_summary and PlaceEditorialSummary (#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
amuramoto committed Jun 15, 2023
1 parent b861610 commit 9fb0c08
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,11 @@ export interface PlaceData {
formatted_phone_number: string;
/** is a representation of the place's address in the [adr microformat](http://microformats.org/wiki/adr). */
adr_address: string;
/**
* Contains a summary of the place. A summary is comprised of a textual overview, and also includes the language code
* for these if applicable. Summary text must be presented as-is and can not be modified or altered.
*/
editorial_summary: PlaceEditorialSummary;
/**
* contains the following information:
* - `location`: contains the geocoded latitude,longitude value for this place.
Expand Down Expand Up @@ -1514,6 +1519,13 @@ export enum LocationType {
APPROXIMATE = "APPROXIMATE",
}

export interface PlaceEditorialSummary {
/** The language of the previous fields. May not always be present. */
language?: string;
/** A medium-length textual summary of the place. */
overview?: string;
}

export interface PlusCode {
/** is a 4 character area code and 6 character or longer local code (849VCWC8+R9). */
global_code: string;
Expand Down

0 comments on commit 9fb0c08

Please sign in to comment.