@thryveai/theme-interfaces 2.7.38 → 2.7.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,29 +1,29 @@
1
- #V8 Theme Interfaces
2
-
3
- interfaces for all MI9 Retailer Themes.
4
-
5
- ###icons.interfaces
6
- List of all icons used inside the ui projects.
7
-
8
- ###retailer-settings.interfaces
9
- more info here
10
- https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo
11
- ###theme.interfaces
12
- The interface for each theme, colors, fonts, sizes and other css properties.
13
-
14
- #To Build Project
15
-
16
- ```
17
- npm install
18
- npm run build
19
- ```
20
-
21
- #To Publish npm package
22
- ```
23
- npm login
24
- npm publish
25
- ```
26
- or
27
- ```
28
- npm run push
29
- ```
1
+ #V8 Theme Interfaces
2
+
3
+ interfaces for all MI9 Retailer Themes.
4
+
5
+ ###icons.interfaces
6
+ List of all icons used inside the ui projects.
7
+
8
+ ###retailer-settings.interfaces
9
+ more info here
10
+ https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo
11
+ ###theme.interfaces
12
+ The interface for each theme, colors, fonts, sizes and other css properties.
13
+
14
+ #To Build Project
15
+
16
+ ```
17
+ npm install
18
+ npm run build
19
+ ```
20
+
21
+ #To Publish npm package
22
+ ```
23
+ npm login
24
+ npm publish
25
+ ```
26
+ or
27
+ ```
28
+ npm run push
29
+ ```
@@ -201,7 +201,6 @@ export declare type IAdvertsData = {
201
201
  [screen in IScreenType]?: string;
202
202
  };
203
203
  export declare type IAdvertSettings = {
204
- useAdsV1: boolean;
205
204
  page_homepage?: IAdvertLeaderboards;
206
205
  page_search?: IAdvertLeaderboards & IAdvertProductGrid & IAdvertSkyScrapers;
207
206
  page_cart?: IAdvertLeaderboards & IAdvertSkyScrapers;
@@ -387,6 +386,8 @@ export interface ISiteSettingsV2 {
387
386
  useContentEngineV2Components: IUseContentEngineV2Components;
388
387
  isLegacyProductURL: boolean;
389
388
  headerLinks: IHeaderLinksLayout;
389
+ useAdsV1: boolean;
390
+ advertProductView: boolean;
390
391
  }
391
392
  export interface IHeaderLinksLayout {
392
393
  enabled: boolean;
@@ -680,6 +680,12 @@ exports.AdminSettingsTemplateSFUI = {
680
680
  helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/clientSideOrderModify",
681
681
  type: exports.AdminTemplateInputTypes.checkbox,
682
682
  },
683
+ advertProductView: {
684
+ title: "turn advertProductView api call on/off",
685
+ description: "Sends the api call for advert ProductView when a user opens pdp or pdp modal",
686
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/advertProductView",
687
+ type: exports.AdminTemplateInputTypes.checkbox,
688
+ },
683
689
  anonymousCart: {
684
690
  title: "Anonymous Cart",
685
691
  description: "⚠️ Allows the customer to add to cart without being logged in.⚠️ (Setting has side effects)",
@@ -83,9 +83,7 @@ var DefaultConfigSFUI = {
83
83
  creditBalance: false,
84
84
  subscriptions: false,
85
85
  addressIntegrationV2: false,
86
- advertSettings: {
87
- useAdsV1: false,
88
- },
86
+ advertSettings: {},
89
87
  allowInStorePurchases: false,
90
88
  allowPastPurchases: true,
91
89
  clientCache: false,
@@ -233,6 +231,8 @@ var DefaultConfigSFUI = {
233
231
  productCardTitleHeight: 40,
234
232
  },
235
233
  siteSettings: {
234
+ useAdsV1: false,
235
+ advertProductView: false,
236
236
  clientSideOrderModify: true,
237
237
  anonymousCart: false,
238
238
  ctaButtons: null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "2.7.38",
3
+ "version": "2.7.40",
4
4
  "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
5
  "scripts": {
6
6
  "build": "gulp",