Type alias FindItineraryLocationsByPlaceIdQuery

FindItineraryLocationsByPlaceIdQuery: {
    __typename?: "Query";
    itinerary?: {
        __typename?: "Itinerary";
        descendants: {
            __typename: "ItineraryItemConnection";
            edges: {
                __typename?: "ItineraryItemEdge";
                node: {
                    __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";
        descendants: {
            __typename: "ItineraryItemConnection";
            edges: {
                __typename?: "ItineraryItemEdge";
                node: {
                    __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

Generated using TypeDoc