From fadafbda02a901675164af4bd3cd1b733b57a98e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matilda=20Landstr=C3=B6m?= Date: Fri, 12 Dec 2025 13:11:40 +0000 Subject: [PATCH] Merged in SW-2224/cleanup-mypages-navigation (pull request #3341) chore(SW-2224): remove unused query * chore(SW-2224): remove old query Approved-by: Anton Gunnarsson --- .../Query/AccountPage/Navigation.graphql.ts | 123 ------------------ 1 file changed, 123 deletions(-) delete mode 100644 packages/trpc/lib/graphql/Query/AccountPage/Navigation.graphql.ts diff --git a/packages/trpc/lib/graphql/Query/AccountPage/Navigation.graphql.ts b/packages/trpc/lib/graphql/Query/AccountPage/Navigation.graphql.ts deleted file mode 100644 index 4a1d5edd5..000000000 --- a/packages/trpc/lib/graphql/Query/AccountPage/Navigation.graphql.ts +++ /dev/null @@ -1,123 +0,0 @@ -import { gql } from "graphql-tag" - -import { AccountPageRef } from "../../Fragments/AccountPage/Ref.graphql" -import { CampaignOverviewPageRef } from "../../Fragments/CampaignOverviewPage/Ref.graphql" -import { CampaignPageRef } from "../../Fragments/CampaignPage/Ref.graphql" -import { CollectionPageRef } from "../../Fragments/CollectionPage/Ref.graphql" -import { ContentPageRef } from "../../Fragments/ContentPage/Ref.graphql" -import { DestinationCityPageRef } from "../../Fragments/DestinationCityPage/Ref.graphql" -import { DestinationCountryPageRef } from "../../Fragments/DestinationCountryPage/Ref.graphql" -import { DestinationOverviewPageRef } from "../../Fragments/DestinationOverviewPage/Ref.graphql" -import { HotelPageRef } from "../../Fragments/HotelPage/Ref.graphql" -import { LoyaltyPageRef } from "../../Fragments/LoyaltyPage/Ref.graphql" -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" -import { PromoCampaignPageRef } from "../../Fragments/PromoCampaignPage/Ref.graphql" -import { StartPageRef } from "../../Fragments/StartPage/Ref.graphql" -import { System } from "../../Fragments/System.graphql" - -export const GetNavigationMyPages = gql` - query GetNavigationMyPages($locale: String!) { - all_navigation_my_pages(locale: $locale, limit: 1) { - items { - menu_items { - display_sign_out_link - links { - link_text - page: pageConnection { - edges { - node { - __typename - ...AccountPageLink - ...CampaignOverviewPageLink - ...CampaignPageLink - ...CollectionPageLink - ...ContentPageLink - ...DestinationCityPageLink - ...DestinationCountryPageLink - ...DestinationOverviewPageLink - ...HotelPageLink - ...LoyaltyPageLink - ...StartPageLink - ...PromoCampaignPageLink - } - } - } - } - } - title - } - } - } - ${System} - ${AccountPageLink} - ${CampaignOverviewPageLink} - ${CampaignPageLink} - ${CollectionPageLink} - ${ContentPageLink} - ${DestinationCityPageLink} - ${DestinationCountryPageLink} - ${DestinationOverviewPageLink} - ${HotelPageLink} - ${LoyaltyPageLink} - ${StartPageLink} - ${PromoCampaignPageLink} -` - -export const GetNavigationMyPagesRefs = gql` - query GetNavigationMyPagesRefs($locale: String!) { - all_navigation_my_pages(locale: $locale, limit: 1) { - items { - menu_items { - links { - page: pageConnection { - edges { - node { - __typename - ...AccountPageRef - ...CampaignOverviewPageRef - ...CampaignPageRef - ...CollectionPageRef - ...ContentPageRef - ...DestinationCityPageRef - ...DestinationCountryPageRef - ...DestinationOverviewPageRef - ...HotelPageRef - ...LoyaltyPageRef - ...StartPageRef - ...PromoCampaignPageRef - } - } - } - } - } - system { - ...System - } - } - } - } - ${System} - ${AccountPageRef} - ${CampaignOverviewPageRef} - ${CampaignPageRef} - ${CollectionPageRef} - ${ContentPageRef} - ${DestinationCityPageRef} - ${DestinationCountryPageRef} - ${DestinationOverviewPageRef} - ${HotelPageRef} - ${LoyaltyPageRef} - ${StartPageRef} - ${PromoCampaignPageRef} -`