From 8127cfc73bcc460633fcde283ab4266cc972fa72 Mon Sep 17 00:00:00 2001 From: Erik Tiekstra Date: Mon, 30 Jun 2025 11:46:34 +0000 Subject: [PATCH] feat(SW-3033): Added possibility to reference to campaign overview pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Approved-by: Matilda Landström --- .../TopCampaign/TopCampaignSkeleton.tsx | 2 +- .../components/JsonToHtml/renderOptions.tsx | 1 + packages/trpc/lib/graphql/Fragments/Alert.graphql | 6 ++++++ .../lib/graphql/Fragments/Blocks/Accordion.graphql | 14 ++++++++++++++ .../trpc/lib/graphql/Fragments/Blocks/Card.graphql | 3 +++ .../graphql/Fragments/Blocks/CardGallery.graphql | 4 ++++ .../graphql/Fragments/Blocks/CarouselCards.graphql | 4 ++++ .../lib/graphql/Fragments/Blocks/Content.graphql | 10 ++++++++++ .../graphql/Fragments/Blocks/ContentCard.graphql | 4 ++++ .../Fragments/Blocks/DynamicContent.graphql | 10 ++++++++++ .../Fragments/Blocks/FullWidthCampaign.graphql | 6 ++++++ .../lib/graphql/Fragments/Blocks/InfoCard.graphql | 3 +++ .../Fragments/Blocks/JoinScandicFriends.graphql | 4 ++++ .../graphql/Fragments/Blocks/LoyaltyCard.graphql | 2 ++ .../Fragments/Blocks/Refs/Accordion.graphql | 3 +++ .../lib/graphql/Fragments/Blocks/Refs/Card.graphql | 3 +++ .../graphql/Fragments/Blocks/Refs/InfoCard.graphql | 3 +++ .../Fragments/Blocks/Refs/LoyaltyCard.graphql | 2 ++ .../Fragments/Blocks/Refs/TeaserCard.graphql | 6 ++++++ .../lib/graphql/Fragments/Blocks/Shortcuts.graphql | 4 ++++ .../graphql/Fragments/Blocks/TeaserCard.graphql | 6 ++++++ .../lib/graphql/Fragments/Blocks/TextCols.graphql | 4 ++++ .../lib/graphql/Fragments/Blocks/UspGrid.graphql | 6 ++++++ .../graphql/Fragments/CampaignPage/Hero.graphql | 4 ++++ .../CollectionPage/NavigationLinks.graphql | 4 ++++ .../CollectionPage/TopPrimaryButton.graphql | 4 ++++ .../Fragments/ContentPage/NavigationLinks.graphql | 4 ++++ .../Fragments/ContentPage/TopPrimaryButton.graphql | 4 ++++ .../lib/graphql/Fragments/Sidebar/Content.graphql | 6 ++++++ .../Fragments/Sidebar/JoinLoyaltyContact.graphql | 6 ++++++ .../graphql/Query/AccountPage/Navigation.graphql | 4 ++++ .../DestinationCityPage.graphql | 4 ++++ .../DestinationCountryPage.graphql | 4 ++++ packages/trpc/lib/graphql/Query/Footer.graphql | 8 ++++++++ packages/trpc/lib/graphql/Query/Header.graphql | 12 ++++++++++++ .../lib/graphql/Query/RewardsWithRedeem.graphql | 4 ++++ .../lib/graphql/Query/SASTierComparison.graphql | 2 ++ 37 files changed, 179 insertions(+), 1 deletion(-) diff --git a/apps/scandic-web/components/ContentType/CampaignOverviewPage/TopCampaign/TopCampaignSkeleton.tsx b/apps/scandic-web/components/ContentType/CampaignOverviewPage/TopCampaign/TopCampaignSkeleton.tsx index f7abc8edf..5528958c1 100644 --- a/apps/scandic-web/components/ContentType/CampaignOverviewPage/TopCampaign/TopCampaignSkeleton.tsx +++ b/apps/scandic-web/components/ContentType/CampaignOverviewPage/TopCampaign/TopCampaignSkeleton.tsx @@ -5,7 +5,7 @@ import SkeletonShimmer from "@/components/SkeletonShimmer" import styles from "./topCampaign.module.css" -export default async function TopCampaignSkeleton() { +export default function TopCampaignSkeleton() { return (
diff --git a/apps/scandic-web/components/JsonToHtml/renderOptions.tsx b/apps/scandic-web/components/JsonToHtml/renderOptions.tsx index ed1e3386c..fccb4b7b9 100644 --- a/apps/scandic-web/components/JsonToHtml/renderOptions.tsx +++ b/apps/scandic-web/components/JsonToHtml/renderOptions.tsx @@ -450,6 +450,7 @@ export const renderOptions: RenderOptions = { return null } else if ( entry?.node.__typename === ContentEnum.blocks.AccountPage || + entry?.node.__typename === ContentEnum.blocks.CampaignOverviewPage || entry?.node.__typename === ContentEnum.blocks.CampaignPage || entry?.node.__typename === ContentEnum.blocks.CollectionPage || entry?.node.__typename === ContentEnum.blocks.ContentPage || diff --git a/packages/trpc/lib/graphql/Fragments/Alert.graphql b/packages/trpc/lib/graphql/Fragments/Alert.graphql index c17f40759..9b8b6f574 100644 --- a/packages/trpc/lib/graphql/Fragments/Alert.graphql +++ b/packages/trpc/lib/graphql/Fragments/Alert.graphql @@ -1,4 +1,5 @@ #import "./PageLink/AccountPageLink.graphql" +#import "./PageLink/CampaignOverviewPageLink.graphql" #import "./PageLink/CampaignPageLink.graphql" #import "./PageLink/CollectionPageLink.graphql" #import "./PageLink/ContentPageLink.graphql" @@ -10,6 +11,7 @@ #import "./PageLink/StartPageLink.graphql" #import "./AccountPage/Ref.graphql" +#import "./CampaignOverviewPage/Ref.graphql" #import "./CampaignPage/Ref.graphql" #import "./CollectionPage/Ref.graphql" #import "./ContentPage/Ref.graphql" @@ -37,6 +39,7 @@ fragment Alert on Alert { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -62,6 +65,7 @@ fragment Alert on Alert { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -86,6 +90,7 @@ fragment AlertRef on Alert { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -106,6 +111,7 @@ fragment AlertRef on Alert { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/Accordion.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/Accordion.graphql index 863c71a3b..c6ad9724e 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/Accordion.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/Accordion.graphql @@ -1,6 +1,7 @@ #import "../SysAsset.graphql" #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -12,6 +13,7 @@ #import "../PageLink/StartPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../CollectionPage/Ref.graphql" #import "../ContentPage/Ref.graphql" @@ -36,6 +38,7 @@ fragment AccordionBlock on Accordion { node { ...SysAsset ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -64,6 +67,7 @@ fragment GlobalAccordionBlock on GlobalAccordion { __typename ...SysAsset ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -118,6 +122,7 @@ fragment SpecificAccordion_AccountPage on AccountPageContentAccordionBlockAccord __typename ...SysAsset ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -166,6 +171,7 @@ fragment SpecificAccordion_AccountPageRefs on AccountPageContentAccordionBlockAc node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -221,6 +227,7 @@ fragment SpecificAccordion_ContentPage on ContentPageBlocksAccordionBlockAccordi __typename ...SysAsset ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -269,6 +276,7 @@ fragment SpecificAccordion_ContentPageRefs on ContentPageBlocksAccordionBlockAcc node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -324,6 +332,7 @@ fragment SpecificAccordion_DestinationCityPage on DestinationCityPageBlocksAccor __typename ...SysAsset ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -372,6 +381,7 @@ fragment SpecificAccordion_DestinationCityPageRefs on DestinationCityPageBlocksA node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -427,6 +437,7 @@ fragment SpecificAccordion_DestinationCountryPage on DestinationCountryPageBlock __typename ...SysAsset ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -475,6 +486,7 @@ fragment SpecificAccordion_DestinationCountryPageRefs on DestinationCountryPageB node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -530,6 +542,7 @@ fragment SpecificAccordion_CampaignPage on CampaignPageBlocksAccordionBlockAccor __typename ...SysAsset ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -578,6 +591,7 @@ fragment SpecificAccordion_CampaignPageRefs on CampaignPageBlocksAccordionBlockA node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/Card.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/Card.graphql index f4bb12089..45a83a349 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/Card.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/Card.graphql @@ -1,6 +1,7 @@ #import "../System.graphql" #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -32,6 +33,7 @@ fragment CardBlock on Card { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -58,6 +60,7 @@ fragment CardBlock on Card { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/CardGallery.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/CardGallery.graphql index 00c02d538..c0f4535fe 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/CardGallery.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/CardGallery.graphql @@ -2,6 +2,7 @@ #import "./ContentCard.graphql" #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -13,6 +14,7 @@ #import "../PageLink/StartPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../CollectionPage/Ref.graphql" #import "../ContentPage/Ref.graphql" @@ -50,6 +52,7 @@ fragment CardGallery_DestinationOverviewPage on DestinationOverviewPageBlocksCar node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -83,6 +86,7 @@ fragment CardGallery_DestinationOverviewPageRefs on DestinationOverviewPageBlock node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/CarouselCards.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/CarouselCards.graphql index f59dcc4a8..476c3337a 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/CarouselCards.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/CarouselCards.graphql @@ -2,6 +2,7 @@ #import "./ContentCard.graphql" #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -13,6 +14,7 @@ #import "../PageLink/StartPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../ContentPage/Ref.graphql" #import "../HotelPage/Ref.graphql" @@ -50,6 +52,7 @@ fragment CarouselCards_StartPage on StartPageBlocksCarouselCards { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -82,6 +85,7 @@ fragment CarouselCards_StartPageRefs on StartPageBlocksCarouselCards { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/Content.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/Content.graphql index 31b2cca51..1d7471226 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/Content.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/Content.graphql @@ -2,6 +2,7 @@ #import "../ImageContainer.graphql" #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -13,6 +14,7 @@ #import "../PageLink/StartPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../CollectionPage/Ref.graphql" #import "../ContentPage/Ref.graphql" @@ -33,6 +35,7 @@ fragment Content_ContentPage on ContentPageBlocksContent { ...SysAsset ...ImageContainer ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -58,6 +61,7 @@ fragment Content_ContentPageRefs on ContentPageBlocksContent { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -85,6 +89,7 @@ fragment Content_LoyaltyPage on LoyaltyPageBlocksContent { ...SysAsset ...ImageContainer ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -109,6 +114,7 @@ fragment Content_LoyaltyPageRefs on LoyaltyPageBlocksContent { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -133,6 +139,7 @@ fragment Content_DestinationCityPage on DestinationCityPageBlocksContent { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -158,6 +165,7 @@ fragment Content_DestinationCityPageRefs on DestinationCityPageBlocksContent { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -182,6 +190,7 @@ fragment Content_DestinationCountryPage on DestinationCountryPageBlocksContent { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -207,6 +216,7 @@ fragment Content_DestinationCountryPageRefs on DestinationCountryPageBlocksConte node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/ContentCard.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/ContentCard.graphql index f8ea27769..1589cbb62 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/ContentCard.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/ContentCard.graphql @@ -1,6 +1,7 @@ #import "../System.graphql" #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -12,6 +13,7 @@ #import "../PageLink/StartPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../ContentPage/Ref.graphql" #import "../HotelPage/Ref.graphql" @@ -42,6 +44,7 @@ fragment ContentCardBlock on ContentCard { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -68,6 +71,7 @@ fragment ContentCardBlockRef on ContentCard { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/DynamicContent.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/DynamicContent.graphql index 170f541db..d25ebf643 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/DynamicContent.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/DynamicContent.graphql @@ -1,4 +1,5 @@ #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -10,6 +11,7 @@ #import "../PageLink/StartPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../CollectionPage/Ref.graphql" #import "../ContentPage/Ref.graphql" @@ -32,6 +34,7 @@ fragment DynamicContent_AccountPage on AccountPageContentDynamicContent { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -56,6 +59,7 @@ fragment DynamicContent_AccountPageRefs on AccountPageContentDynamicContent { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -84,6 +88,7 @@ fragment DynamicContent_CollectionPage on CollectionPageBlocksDynamicContent { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -108,6 +113,7 @@ fragment DynamicContent_CollectionPageRefs on CollectionPageBlocksDynamicContent node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -136,6 +142,7 @@ fragment DynamicContent_ContentPage on ContentPageBlocksDynamicContent { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -160,6 +167,7 @@ fragment DynamicContent_ContentPageRefs on ContentPageBlocksDynamicContent { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -188,6 +196,7 @@ fragment DynamicContent_LoyaltyPage on LoyaltyPageBlocksDynamicContent { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -212,6 +221,7 @@ fragment DynamicContent_LoyaltyPageRefs on LoyaltyPageBlocksDynamicContent { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/FullWidthCampaign.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/FullWidthCampaign.graphql index 6ebe78676..c806f3986 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/FullWidthCampaign.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/FullWidthCampaign.graphql @@ -1,4 +1,5 @@ #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" #import "../PageLink/LoyaltyPageLink.graphql" @@ -9,6 +10,7 @@ #import "../PageLink/DestinationOverviewPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../ContentPage/Ref.graphql" #import "../HotelPage/Ref.graphql" @@ -37,6 +39,7 @@ fragment FullWidthCampaign on FullWidthCampaign { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -63,6 +66,7 @@ fragment FullWidthCampaign on FullWidthCampaign { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -87,6 +91,7 @@ fragment FullWidthCampaignRefs on FullWidthCampaign { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -105,6 +110,7 @@ fragment FullWidthCampaignRefs on FullWidthCampaign { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/InfoCard.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/InfoCard.graphql index 46d82a5be..4107a058c 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/InfoCard.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/InfoCard.graphql @@ -1,6 +1,7 @@ #import "../System.graphql" #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -32,6 +33,7 @@ fragment InfoCardBlock on InfoCard { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -58,6 +60,7 @@ fragment InfoCardBlock on InfoCard { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/JoinScandicFriends.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/JoinScandicFriends.graphql index aced80015..4c68b3733 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/JoinScandicFriends.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/JoinScandicFriends.graphql @@ -1,4 +1,5 @@ #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -9,6 +10,7 @@ #import "../PageLink/LoyaltyPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../CollectionPage/Ref.graphql" #import "../ContentPage/Ref.graphql" @@ -42,6 +44,7 @@ fragment JoinScandicFriends_StartPage on StartPageBlocksJoinScandicFriends { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -65,6 +68,7 @@ fragment JoinScandicFriends_StartPageRefs on StartPageBlocksJoinScandicFriends { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/LoyaltyCard.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/LoyaltyCard.graphql index a32cccb1d..97f5ccd8b 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/LoyaltyCard.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/LoyaltyCard.graphql @@ -1,6 +1,7 @@ #import "../System.graphql" #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -29,6 +30,7 @@ fragment LoyaltyCardBlock on LoyaltyCard { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/Refs/Accordion.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/Refs/Accordion.graphql index 037ab89a4..7140712fa 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/Refs/Accordion.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/Refs/Accordion.graphql @@ -1,4 +1,5 @@ #import "../../AccountPage/Ref.graphql" +#import "../../CampaignOverviewPage/Ref.graphql" #import "../../CampaignPage/Ref.graphql" #import "../../CollectionPage/Ref.graphql" #import "../../ContentPage/Ref.graphql" @@ -17,6 +18,7 @@ fragment AccordionBlockRefs on Accordion { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -41,6 +43,7 @@ fragment GlobalAccordionBlockRefs on GlobalAccordion { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/Refs/Card.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/Refs/Card.graphql index 637975a69..4c056eb5d 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/Refs/Card.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/Refs/Card.graphql @@ -1,4 +1,5 @@ #import "../../AccountPage/Ref.graphql" +#import "../../CampaignOverviewPage/Ref.graphql" #import "../../CampaignPage/Ref.graphql" #import "../../CollectionPage/Ref.graphql" #import "../../ContentPage/Ref.graphql" @@ -16,6 +17,7 @@ fragment CardBlockRef on Card { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -35,6 +37,7 @@ fragment CardBlockRef on Card { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/Refs/InfoCard.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/Refs/InfoCard.graphql index 9a7798f67..5320b6caa 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/Refs/InfoCard.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/Refs/InfoCard.graphql @@ -1,4 +1,5 @@ #import "../../AccountPage/Ref.graphql" +#import "../../CampaignOverviewPage/Ref.graphql" #import "../../CampaignPage/Ref.graphql" #import "../../CollectionPage/Ref.graphql" #import "../../ContentPage/Ref.graphql" @@ -16,6 +17,7 @@ fragment InfoCardBlockRef on InfoCard { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -35,6 +37,7 @@ fragment InfoCardBlockRef on InfoCard { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/Refs/LoyaltyCard.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/Refs/LoyaltyCard.graphql index b5843e0b0..b6e616a05 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/Refs/LoyaltyCard.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/Refs/LoyaltyCard.graphql @@ -1,4 +1,5 @@ #import "../../AccountPage/Ref.graphql" +#import "../../CampaignOverviewPage/Ref.graphql" #import "../../CampaignPage/Ref.graphql" #import "../../CollectionPage/Ref.graphql" #import "../../ContentPage/Ref.graphql" @@ -16,6 +17,7 @@ fragment LoyaltyCardBlockRef on LoyaltyCard { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/Refs/TeaserCard.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/Refs/TeaserCard.graphql index f97d1100b..2a3545d3f 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/Refs/TeaserCard.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/Refs/TeaserCard.graphql @@ -1,4 +1,5 @@ #import "../../AccountPage/Ref.graphql" +#import "../../CampaignOverviewPage/Ref.graphql" #import "../../CampaignPage/Ref.graphql" #import "../../CollectionPage/Ref.graphql" #import "../../ContentPage/Ref.graphql" @@ -16,6 +17,7 @@ fragment TeaserCardBlockRef on TeaserCard { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -35,6 +37,7 @@ fragment TeaserCardBlockRef on TeaserCard { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -55,6 +58,7 @@ fragment TeaserCardBlockRef on TeaserCard { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -74,6 +78,7 @@ fragment TeaserCardBlockRef on TeaserCard { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -93,6 +98,7 @@ fragment TeaserCardBlockRef on TeaserCard { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/Shortcuts.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/Shortcuts.graphql index e482593ed..8edd5453e 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/Shortcuts.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/Shortcuts.graphql @@ -1,4 +1,5 @@ #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -10,6 +11,7 @@ #import "../PageLink/StartPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../CollectionPage/Ref.graphql" #import "../ContentPage/Ref.graphql" @@ -32,6 +34,7 @@ fragment Shortcuts on Shortcuts { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -78,6 +81,7 @@ fragment ShortcutsRefs on Shortcuts { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/TeaserCard.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/TeaserCard.graphql index 59f858a78..a2dd38344 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/TeaserCard.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/TeaserCard.graphql @@ -1,6 +1,7 @@ #import "../System.graphql" #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -32,6 +33,7 @@ fragment TeaserCardBlock on TeaserCard { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -58,6 +60,7 @@ fragment TeaserCardBlock on TeaserCard { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -82,6 +85,7 @@ fragment TeaserCardBlock on TeaserCard { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -110,6 +114,7 @@ fragment TeaserCardBlock on TeaserCard { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -137,6 +142,7 @@ fragment TeaserCardBlock on TeaserCard { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/TextCols.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/TextCols.graphql index cc8586a0e..dd578a028 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/TextCols.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/TextCols.graphql @@ -1,4 +1,5 @@ #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -10,6 +11,7 @@ #import "../PageLink/StartPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../CollectionPage/Ref.graphql" #import "../ContentPage/Ref.graphql" @@ -31,6 +33,7 @@ fragment TextCols_ContentPage on ContentPageBlocksTextCols { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -59,6 +62,7 @@ fragment TextCols_ContentPageRef on ContentPageBlocksTextCols { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Blocks/UspGrid.graphql b/packages/trpc/lib/graphql/Fragments/Blocks/UspGrid.graphql index 5c642c6d5..6ff437095 100644 --- a/packages/trpc/lib/graphql/Fragments/Blocks/UspGrid.graphql +++ b/packages/trpc/lib/graphql/Fragments/Blocks/UspGrid.graphql @@ -1,4 +1,5 @@ #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -10,6 +11,7 @@ #import "../PageLink/StartPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../CollectionPage/Ref.graphql" #import "../ContentPage/Ref.graphql" @@ -37,6 +39,7 @@ fragment UspGrid_ContentPage on ContentPageBlocksUspGrid { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -72,6 +75,7 @@ fragment UspGrid_ContentPageRefs on ContentPageBlocksUspGrid { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -110,6 +114,7 @@ fragment UspGrid_CollectionPage on CollectionPageBlocksUspGrid { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CollectionPageLink ...ContentPageLink ...DestinationCityPageLink @@ -144,6 +149,7 @@ fragment UspGrid_CollectionPageRefs on CollectionPageBlocksUspGrid { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CollectionPageRef ...ContentPageRef ...DestinationCityPageRef diff --git a/packages/trpc/lib/graphql/Fragments/CampaignPage/Hero.graphql b/packages/trpc/lib/graphql/Fragments/CampaignPage/Hero.graphql index 0e1bfa18d..ffd2dcfe0 100644 --- a/packages/trpc/lib/graphql/Fragments/CampaignPage/Hero.graphql +++ b/packages/trpc/lib/graphql/Fragments/CampaignPage/Hero.graphql @@ -1,4 +1,5 @@ #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -10,6 +11,7 @@ #import "../PageLink/StartPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../CollectionPage/Ref.graphql" #import "../ContentPage/Ref.graphql" @@ -37,6 +39,7 @@ fragment Hero_CampaignPage on CampaignPage { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -61,6 +64,7 @@ fragment HeroRef_CampaignPage on CampaignPage { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/CollectionPage/NavigationLinks.graphql b/packages/trpc/lib/graphql/Fragments/CollectionPage/NavigationLinks.graphql index 7ee7c9472..e80d46ecc 100644 --- a/packages/trpc/lib/graphql/Fragments/CollectionPage/NavigationLinks.graphql +++ b/packages/trpc/lib/graphql/Fragments/CollectionPage/NavigationLinks.graphql @@ -1,4 +1,5 @@ #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -10,6 +11,7 @@ #import "../PageLink/StartPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../CollectionPage/Ref.graphql" #import "../ContentPage/Ref.graphql" @@ -28,6 +30,7 @@ fragment NavigationLinks_CollectionPage on CollectionPageHeader { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -50,6 +53,7 @@ fragment NavigationLinksRef_CollectionPage on CollectionPageHeader { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/CollectionPage/TopPrimaryButton.graphql b/packages/trpc/lib/graphql/Fragments/CollectionPage/TopPrimaryButton.graphql index 2478de61c..104c45455 100644 --- a/packages/trpc/lib/graphql/Fragments/CollectionPage/TopPrimaryButton.graphql +++ b/packages/trpc/lib/graphql/Fragments/CollectionPage/TopPrimaryButton.graphql @@ -1,4 +1,5 @@ #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -10,6 +11,7 @@ #import "../PageLink/StartPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../CollectionPage/Ref.graphql" #import "../ContentPage/Ref.graphql" @@ -28,6 +30,7 @@ fragment TopPrimaryButton_CollectionPage on CollectionPageHeader { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -50,6 +53,7 @@ fragment TopPrimaryButtonRef_CollectionPage on CollectionPageHeader { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/ContentPage/NavigationLinks.graphql b/packages/trpc/lib/graphql/Fragments/ContentPage/NavigationLinks.graphql index f4f86b30d..2631496e6 100644 --- a/packages/trpc/lib/graphql/Fragments/ContentPage/NavigationLinks.graphql +++ b/packages/trpc/lib/graphql/Fragments/ContentPage/NavigationLinks.graphql @@ -1,4 +1,5 @@ #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -10,6 +11,7 @@ #import "../PageLink/StartPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../CollectionPage/Ref.graphql" #import "../ContentPage/Ref.graphql" @@ -28,6 +30,7 @@ fragment NavigationLinks_ContentPage on ContentPageHeader { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -50,6 +53,7 @@ fragment NavigationLinksRef_ContentPage on ContentPageHeader { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/ContentPage/TopPrimaryButton.graphql b/packages/trpc/lib/graphql/Fragments/ContentPage/TopPrimaryButton.graphql index e7369f165..17084aef3 100644 --- a/packages/trpc/lib/graphql/Fragments/ContentPage/TopPrimaryButton.graphql +++ b/packages/trpc/lib/graphql/Fragments/ContentPage/TopPrimaryButton.graphql @@ -1,4 +1,5 @@ #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -10,6 +11,7 @@ #import "../PageLink/StartPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../CollectionPage/Ref.graphql" #import "../ContentPage/Ref.graphql" @@ -28,6 +30,7 @@ fragment TopPrimaryButton_ContentPage on ContentPageHeader { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -50,6 +53,7 @@ fragment TopPrimaryButtonRef_ContentPage on ContentPageHeader { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Sidebar/Content.graphql b/packages/trpc/lib/graphql/Fragments/Sidebar/Content.graphql index 0be1a919a..b400e46b1 100644 --- a/packages/trpc/lib/graphql/Fragments/Sidebar/Content.graphql +++ b/packages/trpc/lib/graphql/Fragments/Sidebar/Content.graphql @@ -2,6 +2,7 @@ #import "../ImageContainer.graphql" #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -13,6 +14,7 @@ #import "../PageLink/StartPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../CollectionPage/Ref.graphql" #import "../ContentPage/Ref.graphql" @@ -34,6 +36,7 @@ fragment ContentSidebar_ContentPage on ContentPageSidebarContent { ...SysAsset ...ImageContainer ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -59,6 +62,7 @@ fragment ContentSidebar_ContentPageRefs on ContentPageSidebarContent { __typename ...ImageContainerRef ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -86,6 +90,7 @@ fragment ContentSidebar_LoyaltyPage on LoyaltyPageSidebarContent { ...SysAsset ...ImageContainer ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -111,6 +116,7 @@ fragment ContentSidebar_LoyaltyPageRefs on LoyaltyPageSidebarContent { __typename ...ImageContainerRef ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Fragments/Sidebar/JoinLoyaltyContact.graphql b/packages/trpc/lib/graphql/Fragments/Sidebar/JoinLoyaltyContact.graphql index 9e2f4e501..ec5e15b76 100644 --- a/packages/trpc/lib/graphql/Fragments/Sidebar/JoinLoyaltyContact.graphql +++ b/packages/trpc/lib/graphql/Fragments/Sidebar/JoinLoyaltyContact.graphql @@ -1,4 +1,5 @@ #import "../PageLink/AccountPageLink.graphql" +#import "../PageLink/CampaignOverviewPageLink.graphql" #import "../PageLink/CampaignPageLink.graphql" #import "../PageLink/CollectionPageLink.graphql" #import "../PageLink/ContentPageLink.graphql" @@ -10,6 +11,7 @@ #import "../PageLink/StartPageLink.graphql" #import "../AccountPage/Ref.graphql" +#import "../CampaignOverviewPage/Ref.graphql" #import "../CampaignPage/Ref.graphql" #import "../CollectionPage/Ref.graphql" #import "../ContentPage/Ref.graphql" @@ -42,6 +44,7 @@ fragment JoinLoyaltyContactSidebar_ContentPage on ContentPageSidebarJoinLoyaltyC node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -74,6 +77,7 @@ fragment JoinLoyaltyContactSidebar_ContentPageRefs on ContentPageSidebarJoinLoya node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -106,6 +110,7 @@ fragment JoinLoyaltyContactSidebar_LoyaltyPage on LoyaltyPageSidebarJoinLoyaltyC node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -138,6 +143,7 @@ fragment JoinLoyaltyContactSidebar_LoyaltyPageRefs on LoyaltyPageSidebarJoinLoya node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Query/AccountPage/Navigation.graphql b/packages/trpc/lib/graphql/Query/AccountPage/Navigation.graphql index 46678aa67..4bfddd48c 100644 --- a/packages/trpc/lib/graphql/Query/AccountPage/Navigation.graphql +++ b/packages/trpc/lib/graphql/Query/AccountPage/Navigation.graphql @@ -1,6 +1,7 @@ #import "../../Fragments/System.graphql" #import "../../Fragments/PageLink/AccountPageLink.graphql" +#import "../../Fragments/PageLink/CampaignOverviewPageLink.graphql" #import "../../Fragments/PageLink/CampaignPageLink.graphql" #import "../../Fragments/PageLink/CollectionPageLink.graphql" #import "../../Fragments/PageLink/ContentPageLink.graphql" @@ -12,6 +13,7 @@ #import "../../Fragments/PageLink/StartPageLink.graphql" #import "../../Fragments/AccountPage/Ref.graphql" +#import "../../Fragments/CampaignOverviewPage/Ref.graphql" #import "../../Fragments/CampaignPage/Ref.graphql" #import "../../Fragments/CollectionPage/Ref.graphql" #import "../../Fragments/ContentPage/Ref.graphql" @@ -34,6 +36,7 @@ query GetNavigationMyPages($locale: String!) { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -63,6 +66,7 @@ query GetNavigationMyPagesRefs($locale: String!) { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Query/DestinationCityPage/DestinationCityPage.graphql b/packages/trpc/lib/graphql/Query/DestinationCityPage/DestinationCityPage.graphql index 556475039..ec3e5e115 100644 --- a/packages/trpc/lib/graphql/Query/DestinationCityPage/DestinationCityPage.graphql +++ b/packages/trpc/lib/graphql/Query/DestinationCityPage/DestinationCityPage.graphql @@ -4,6 +4,7 @@ #import "../../Fragments/Blocks/Content.graphql" #import "../../Fragments/PageLink/AccountPageLink.graphql" +#import "../../Fragments/PageLink/CampaignOverviewPageLink.graphql" #import "../../Fragments/PageLink/CampaignPageLink.graphql" #import "../../Fragments/PageLink/CollectionPageLink.graphql" #import "../../Fragments/PageLink/ContentPageLink.graphql" @@ -15,6 +16,7 @@ #import "../../Fragments/PageLink/StartPageLink.graphql" #import "../../Fragments/AccountPage/Ref.graphql" +#import "../../Fragments/CampaignOverviewPage/Ref.graphql" #import "../../Fragments/CampaignPage/Ref.graphql" #import "../../Fragments/CollectionPage/Ref.graphql" #import "../../Fragments/ContentPage/Ref.graphql" @@ -59,6 +61,7 @@ query GetDestinationCityPage($locale: String!, $uid: String!) { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -112,6 +115,7 @@ query GetDestinationCityPageRefs($locale: String!, $uid: String!) { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Query/DestinationCountryPage/DestinationCountryPage.graphql b/packages/trpc/lib/graphql/Query/DestinationCountryPage/DestinationCountryPage.graphql index 9c609d74b..1194958c7 100644 --- a/packages/trpc/lib/graphql/Query/DestinationCountryPage/DestinationCountryPage.graphql +++ b/packages/trpc/lib/graphql/Query/DestinationCountryPage/DestinationCountryPage.graphql @@ -4,6 +4,7 @@ #import "../../Fragments/Blocks/Content.graphql" #import "../../Fragments/PageLink/AccountPageLink.graphql" +#import "../../Fragments/PageLink/CampaignOverviewPageLink.graphql" #import "../../Fragments/PageLink/CampaignPageLink.graphql" #import "../../Fragments/PageLink/CollectionPageLink.graphql" #import "../../Fragments/PageLink/ContentPageLink.graphql" @@ -15,6 +16,7 @@ #import "../../Fragments/PageLink/StartPageLink.graphql" #import "../../Fragments/AccountPage/Ref.graphql" +#import "../../Fragments/CampaignOverviewPage/Ref.graphql" #import "../../Fragments/CampaignPage/Ref.graphql" #import "../../Fragments/CollectionPage/Ref.graphql" #import "../../Fragments/ContentPage/Ref.graphql" @@ -54,6 +56,7 @@ query GetDestinationCountryPage($locale: String!, $uid: String!) { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -94,6 +97,7 @@ query GetDestinationCountryPageRefs($locale: String!, $uid: String!) { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Query/Footer.graphql b/packages/trpc/lib/graphql/Query/Footer.graphql index 36823ef96..ed8a1c732 100644 --- a/packages/trpc/lib/graphql/Query/Footer.graphql +++ b/packages/trpc/lib/graphql/Query/Footer.graphql @@ -1,6 +1,7 @@ #import "../Fragments/System.graphql" #import "../Fragments/PageLink/AccountPageLink.graphql" +#import "../Fragments/PageLink/CampaignOverviewPageLink.graphql" #import "../Fragments/PageLink/CampaignPageLink.graphql" #import "../Fragments/PageLink/CollectionPageLink.graphql" #import "../Fragments/PageLink/ContentPageLink.graphql" @@ -12,6 +13,7 @@ #import "../Fragments/PageLink/StartPageLink.graphql" #import "../Fragments/AccountPage/Ref.graphql" +#import "../Fragments/CampaignOverviewPage/Ref.graphql" #import "../Fragments/CampaignPage/Ref.graphql" #import "../Fragments/CollectionPage/Ref.graphql" #import "../Fragments/ContentPage/Ref.graphql" @@ -39,6 +41,7 @@ query GetFooter($locale: String!) { edges { node { ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -61,6 +64,7 @@ query GetFooter($locale: String!) { edges { node { ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -90,6 +94,7 @@ query GetFooter($locale: String!) { edges { node { ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -117,6 +122,7 @@ query GetFooterRef($locale: String!) { edges { node { ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -136,6 +142,7 @@ query GetFooterRef($locale: String!) { edges { node { ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -155,6 +162,7 @@ query GetFooterRef($locale: String!) { edges { node { ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Query/Header.graphql b/packages/trpc/lib/graphql/Query/Header.graphql index e2439a16d..326867002 100644 --- a/packages/trpc/lib/graphql/Query/Header.graphql +++ b/packages/trpc/lib/graphql/Query/Header.graphql @@ -4,6 +4,7 @@ #import "../Fragments/Blocks/Refs/Card.graphql" #import "../Fragments/PageLink/AccountPageLink.graphql" +#import "../Fragments/PageLink/CampaignOverviewPageLink.graphql" #import "../Fragments/PageLink/CampaignPageLink.graphql" #import "../Fragments/PageLink/CollectionPageLink.graphql" #import "../Fragments/PageLink/ContentPageLink.graphql" @@ -15,6 +16,7 @@ #import "../Fragments/PageLink/StartPageLink.graphql" #import "../Fragments/AccountPage/Ref.graphql" +#import "../Fragments/CampaignOverviewPage/Ref.graphql" #import "../Fragments/CampaignPage/Ref.graphql" #import "../Fragments/CollectionPage/Ref.graphql" #import "../Fragments/ContentPage/Ref.graphql" @@ -37,6 +39,7 @@ query GetHeader($locale: String!) { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -58,6 +61,7 @@ query GetHeader($locale: String!) { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -79,6 +83,7 @@ query GetHeader($locale: String!) { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -98,6 +103,7 @@ query GetHeader($locale: String!) { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -120,6 +126,7 @@ query GetHeader($locale: String!) { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -157,6 +164,7 @@ query GetHeaderRef($locale: String!) { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -176,6 +184,7 @@ query GetHeaderRef($locale: String!) { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -196,6 +205,7 @@ query GetHeaderRef($locale: String!) { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -214,6 +224,7 @@ query GetHeaderRef($locale: String!) { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef @@ -234,6 +245,7 @@ query GetHeaderRef($locale: String!) { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Query/RewardsWithRedeem.graphql b/packages/trpc/lib/graphql/Query/RewardsWithRedeem.graphql index f438fc593..37e11daa4 100644 --- a/packages/trpc/lib/graphql/Query/RewardsWithRedeem.graphql +++ b/packages/trpc/lib/graphql/Query/RewardsWithRedeem.graphql @@ -1,6 +1,7 @@ #import "../Fragments/System.graphql" #import "../Fragments/PageLink/AccountPageLink.graphql" +#import "../Fragments/PageLink/CampaignOverviewPageLink.graphql" #import "../Fragments/PageLink/CampaignPageLink.graphql" #import "../Fragments/PageLink/CollectionPageLink.graphql" #import "../Fragments/PageLink/ContentPageLink.graphql" @@ -12,6 +13,7 @@ #import "../Fragments/PageLink/StartPageLink.graphql" #import "../Fragments/AccountPage/Ref.graphql" +#import "../Fragments/CampaignOverviewPage/Ref.graphql" #import "../Fragments/CampaignPage/Ref.graphql" #import "../Fragments/CollectionPage/Ref.graphql" #import "../Fragments/ContentPage/Ref.graphql" @@ -38,6 +40,7 @@ query GetRewards($locale: String!, $rewardIds: [String!]) { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink @@ -67,6 +70,7 @@ query GetRewardsRef($locale: String!, $rewardIds: [String!]) { node { __typename ...AccountPageRef + ...CampaignOverviewPageRef ...CampaignPageRef ...CollectionPageRef ...ContentPageRef diff --git a/packages/trpc/lib/graphql/Query/SASTierComparison.graphql b/packages/trpc/lib/graphql/Query/SASTierComparison.graphql index f5eb35f3b..038551946 100644 --- a/packages/trpc/lib/graphql/Query/SASTierComparison.graphql +++ b/packages/trpc/lib/graphql/Query/SASTierComparison.graphql @@ -1,4 +1,5 @@ #import "../Fragments/PageLink/AccountPageLink.graphql" +#import "../Fragments/PageLink/CampaignOverviewPageLink.graphql" #import "../Fragments/PageLink/CampaignPageLink.graphql" #import "../Fragments/PageLink/CollectionPageLink.graphql" #import "../Fragments/PageLink/ContentPageLink.graphql" @@ -33,6 +34,7 @@ query GetAllSasTierComparison($lang: String!) { node { __typename ...AccountPageLink + ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink