Type alias ListItineraryLocationsQuery
List
Itinerary
Locations
Query
: { __typename
?: "Query"; itinerary
?: { __typename
: "Itinerary"; id
: string; locations
: { __typename
?: "ItineraryItemConnection"; edges
: { __typename
?: "ItineraryItemEdge"; arrival
: { __typename
?: "ItineraryDirectionsConnection"; directions
: { __typename
: "ItineraryDirections"; distance
?: number | null; durationMin
?: number | null; id
: string; route
: { __typename
?: "Route"; segments
: { __typename
: "RouteSegment"; id
: string; mode
: RouteMode; polyline
?: string | null; }[]; }; }[]; totalCount
: number; }; location
: { __typename
: "ItineraryCollection"; id
: string; } | { __typename
: "ItineraryDirections"; id
: string; } | { __typename
: "ItineraryLocation"; id
: string; optional
: boolean; place
: { __typename
: "Place"; 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; }; synopsis
?: string | null; }; position
: { __typename
?: "Position"; lat
: number; lon
: number; }; readMoreUrl
?: string | null; synopsis
?: string | null; tags
: string[]; title
?: string | null; }; }[]; pageInfo
: { __typename
?: "PageInfo"; endCursor
?: string | null; hasNextPage
: boolean; hasPreviousPage
: boolean; startCursor
?: string | null; }; totalCount
: number; }; } | null; }
Type declaration
-
Optional
__typename?: "Query"
-
Optional
itinerary?: {
__typename: "Itinerary";
id: string;
locations: {
__typename?: "ItineraryItemConnection";
edges: {
__typename?: "ItineraryItemEdge";
arrival: {
__typename?: "ItineraryDirectionsConnection";
directions: {
__typename: "ItineraryDirections";
distance?: number | null;
durationMin?: number | null;
id: string;
route: {
__typename?: "Route";
segments: {
__typename: "RouteSegment";
id: string;
mode: RouteMode;
polyline?: string | null;
}[];
};
}[];
totalCount: number;
};
location: {
__typename: "ItineraryCollection";
id: string;
} | {
__typename: "ItineraryDirections";
id: string;
} | {
__typename: "ItineraryLocation";
id: string;
optional: boolean;
place: {
__typename: "Place";
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;
};
synopsis?: string | null;
};
position: {
__typename?: "Position";
lat: number;
lon: number;
};
readMoreUrl?: string | null;
synopsis?: string | null;
tags: string[];
title?: string | null;
};
}[];
pageInfo: {
__typename?: "PageInfo";
endCursor?: string | null;
hasNextPage: boolean;
hasPreviousPage: boolean;
startCursor?: string | null;
};
totalCount: number;
};
} | null