@thryveai/theme-interfaces 1.5.16 → 1.5.19
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thryveai/theme-interfaces",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.19",
|
|
4
4
|
"description": "Shared Interfaces for all ThryveAi storefront retailer themes.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc",
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"typescript": "4.5.4"
|
|
13
13
|
}
|
|
14
|
-
}
|
|
14
|
+
}
|
|
@@ -81,11 +81,25 @@ export interface IRetailerSettings {
|
|
|
81
81
|
useAddressValidation?: boolean;
|
|
82
82
|
productCards?: IProductCardsProps;
|
|
83
83
|
layouts?: IGlobalLayouts;
|
|
84
|
+
smartBanner?: ISmartBanner;
|
|
84
85
|
featureSwitch?: IFeatureSwitch;
|
|
85
86
|
}
|
|
86
87
|
export interface IFeatureSwitch {
|
|
87
88
|
clientCache?: boolean;
|
|
88
89
|
}
|
|
90
|
+
export interface ISmartBanner {
|
|
91
|
+
title: string;
|
|
92
|
+
author: string;
|
|
93
|
+
price: string;
|
|
94
|
+
priceApple: string;
|
|
95
|
+
priceGoogle: string;
|
|
96
|
+
iconApple: string;
|
|
97
|
+
iconGoogle: string;
|
|
98
|
+
button: string;
|
|
99
|
+
buttonApple: string;
|
|
100
|
+
buttonGoogle: string;
|
|
101
|
+
closeLabel: string;
|
|
102
|
+
}
|
|
89
103
|
export interface IGlobalLayouts {
|
|
90
104
|
cartSummary: ICartSummaryLayout;
|
|
91
105
|
}
|
|
@@ -231,6 +245,7 @@ export interface IDefaultRetailerSettings {
|
|
|
231
245
|
useAddressValidation: boolean;
|
|
232
246
|
productCards: IProductCardsProps;
|
|
233
247
|
layouts: IGlobalLayouts;
|
|
248
|
+
smartbanner: ISmartBanner;
|
|
234
249
|
features: IFeatureSwitch;
|
|
235
250
|
}
|
|
236
251
|
export interface IGoogleAutocompleteSettings {
|
|
@@ -375,7 +390,8 @@ export interface IProductCardsProps {
|
|
|
375
390
|
};
|
|
376
391
|
}
|
|
377
392
|
export declare type IProductCardLayouts = {
|
|
378
|
-
|
|
393
|
+
ContainersGrid: "default";
|
|
394
|
+
ContainersCarousel: "default";
|
|
379
395
|
};
|
|
380
396
|
export declare type IProductCardLayoutObjects<T> = {
|
|
381
397
|
[Place in keyof IProductCardLayouts]: {
|