import { gql } from "graphql-tag" import { AccountPageLink } from "../Fragments/PageLink/AccountPageLink.graphql" import { CampaignOverviewPageLink } from "../Fragments/PageLink/CampaignOverviewPageLink.graphql" import { CampaignPageLink } from "../Fragments/PageLink/CampaignPageLink.graphql" import { CollectionPageLink } from "../Fragments/PageLink/CollectionPageLink.graphql" import { ContentPageLink } from "../Fragments/PageLink/ContentPageLink.graphql" import { DestinationCityPageLink } from "../Fragments/PageLink/DestinationCityPageLink.graphql" import { DestinationCountryPageLink } from "../Fragments/PageLink/DestinationCountryPageLink.graphql" import { DestinationOverviewPageLink } from "../Fragments/PageLink/DestinationOverviewPageLink.graphql" import { HotelPageLink } from "../Fragments/PageLink/HotelPageLink.graphql" import { LoyaltyPageLink } from "../Fragments/PageLink/LoyaltyPageLink.graphql" import { PromoCampaignPageLink } from "../Fragments/PageLink/PromoCampaignPageLink.graphql" import { StartPageLink } from "../Fragments/PageLink/StartPageLink.graphql" export const GetUsePointsModal = gql` query GetUsePointsModal($locale: String!) { all_usepointsmodal(locale: $locale) { items { image link_group { link_text illustration illustration_size is_contentstack_link external_link { href } linkConnection { edges { node { __typename ...AccountPageLink ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink ...DestinationCityPageLink ...DestinationCountryPageLink ...DestinationOverviewPageLink ...HotelPageLink ...LoyaltyPageLink ...StartPageLink ...PromoCampaignPageLink } } } } } } } ${AccountPageLink} ${CampaignOverviewPageLink} ${CampaignPageLink} ${CollectionPageLink} ${ContentPageLink} ${DestinationCityPageLink} ${DestinationCountryPageLink} ${DestinationOverviewPageLink} ${HotelPageLink} ${LoyaltyPageLink} ${StartPageLink} ${PromoCampaignPageLink} `