Type alias AutocompleteSearchPlaceQuery
AutocompleteSearchPlaceQuery: {
__typename?: "Query";
placeAutocompleteSearch: {
__typename: "PlaceSearchConnection";
edges: {
__typename?: "PlaceSearchEdge";
main: {
__typename?: "TextSearchResult";
label: string;
matches: {
__typename?: "TextSearchResultMatch";
length: number;
offset: number;
}[];
};
node: {
__typename: "PlaceSearchNode";
address: {
__typename?: "PlaceAddress";
addressLineOne?: string | null;
addressLineThree?: string | null;
addressLineTwo?: string | null;
country?: string | null;
countryCode?: string | null;
locality?: string | null;
region?: string | null;
regionCode?: string | null;
};
id: string;
layers: {
__typename: "PlaceLayer";
id: string;
name?: string | null;
}[];
maki?: string | null;
name?: string | null;
position: {
__typename?: "Position";
lat: number;
lon: number;
};
};
secondary: {
__typename?: "TextSearchResult";
label: string;
matches: {
__typename?: "TextSearchResultMatch";
length: number;
offset: number;
}[];
};
}[];
};
}
Type declaration
-
Optional
__typename?: "Query"
-
placeAutocompleteSearch: {
__typename: "PlaceSearchConnection";
edges: {
__typename?: "PlaceSearchEdge";
main: {
__typename?: "TextSearchResult";
label: string;
matches: {
__typename?: "TextSearchResultMatch";
length: number;
offset: number;
}[];
};
node: {
__typename: "PlaceSearchNode";
address: {
__typename?: "PlaceAddress";
addressLineOne?: string | null;
addressLineThree?: string | null;
addressLineTwo?: string | null;
country?: string | null;
countryCode?: string | null;
locality?: string | null;
region?: string | null;
regionCode?: string | null;
};
id: string;
layers: {
__typename: "PlaceLayer";
id: string;
name?: string | null;
}[];
maki?: string | null;
name?: string | null;
position: {
__typename?: "Position";
lat: number;
lon: number;
};
};
secondary: {
__typename?: "TextSearchResult";
label: string;
matches: {
__typename?: "TextSearchResultMatch";
length: number;
offset: number;
}[];
};
}[];
}
-
__typename: "PlaceSearchConnection"
-
edges: {
__typename?: "PlaceSearchEdge";
main: {
__typename?: "TextSearchResult";
label: string;
matches: {
__typename?: "TextSearchResultMatch";
length: number;
offset: number;
}[];
};
node: {
__typename: "PlaceSearchNode";
address: {
__typename?: "PlaceAddress";
addressLineOne?: string | null;
addressLineThree?: string | null;
addressLineTwo?: string | null;
country?: string | null;
countryCode?: string | null;
locality?: string | null;
region?: string | null;
regionCode?: string | null;
};
id: string;
layers: {
__typename: "PlaceLayer";
id: string;
name?: string | null;
}[];
maki?: string | null;
name?: string | null;
position: {
__typename?: "Position";
lat: number;
lon: number;
};
};
secondary: {
__typename?: "TextSearchResult";
label: string;
matches: {
__typename?: "TextSearchResultMatch";
length: number;
offset: number;
}[];
};
}[]