From cdfca308bff64fddb8ac8a2c03794169638e8392 Mon Sep 17 00:00:00 2001 From: nadiya Date: Fri, 11 Oct 2024 12:57:40 -0500 Subject: [PATCH] DINT-1688: Add EDS storefront template option --- packages/storefront-events-collector/src/types/contexts.d.ts | 2 +- .../storefront-events-collector/tests/utils/mocks/context.ts | 2 +- .../storefront-events-collector/tests/utils/mocks/dataLayer.ts | 2 +- .../src/types/schemas/storefrontInstance.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/storefront-events-collector/src/types/contexts.d.ts b/packages/storefront-events-collector/src/types/contexts.d.ts index fba9a94b..0c62fbd5 100644 --- a/packages/storefront-events-collector/src/types/contexts.d.ts +++ b/packages/storefront-events-collector/src/types/contexts.d.ts @@ -223,7 +223,7 @@ type Storefront = { websiteCode?: string; websiteId: number; websiteName: string; - storefrontTemplate?: "Luma" | "Hyva" | "AEM CIF" | "Franklin" | "PWA Studio" | "Other"; + storefrontTemplate?: "Luma" | "EDS" | "Hyva" | "AEM CIF" | "Franklin" | "PWA Studio" | "Other"; }; type Tracker = { diff --git a/packages/storefront-events-collector/tests/utils/mocks/context.ts b/packages/storefront-events-collector/tests/utils/mocks/context.ts index 4e794a2b..8050bb67 100644 --- a/packages/storefront-events-collector/tests/utils/mocks/context.ts +++ b/packages/storefront-events-collector/tests/utils/mocks/context.ts @@ -130,7 +130,7 @@ const mockStorefrontCtx = { websiteCode: "website", websiteId: 333333, websiteName: "website", - storefrontTemplate: "Franklin", + storefrontTemplate: "EDS", }; const mockAepCtx = { diff --git a/packages/storefront-events-collector/tests/utils/mocks/dataLayer.ts b/packages/storefront-events-collector/tests/utils/mocks/dataLayer.ts index 301d209e..89e20d4d 100644 --- a/packages/storefront-events-collector/tests/utils/mocks/dataLayer.ts +++ b/packages/storefront-events-collector/tests/utils/mocks/dataLayer.ts @@ -343,7 +343,7 @@ const mockStorefront: StorefrontInstance = { websiteCode: "website", websiteId: 333333, websiteName: "website", - storefrontTemplate: "Franklin", + storefrontTemplate: "EDS", }; const mockShopper: Shopper = { diff --git a/packages/storefront-events-sdk/src/types/schemas/storefrontInstance.ts b/packages/storefront-events-sdk/src/types/schemas/storefrontInstance.ts index a818bc1e..4d48c14e 100644 --- a/packages/storefront-events-sdk/src/types/schemas/storefrontInstance.ts +++ b/packages/storefront-events-sdk/src/types/schemas/storefrontInstance.ts @@ -16,5 +16,5 @@ export type StorefrontInstance = { baseCurrencyCode: string; storeViewCurrencyCode: string; catalogExtensionVersion?: string | null; - storefrontTemplate?: "Luma" | "Hyva" | "AEM CIF" | "Franklin" | "PWA Studio" | "Other"; + storefrontTemplate?: "Luma" | "EDS" | "Hyva" | "AEM CIF" | "Franklin" | "PWA Studio" | "Other"; };