@thryveai/theme-interfaces 2.8.19 → 2.8.21
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/dist/JSONSchemas/index.d.ts +50 -35
- package/dist/JSONSchemas/index.js +103 -88
- package/dist/interfaces/retailer-settings.interfaces.d.ts +1 -0
- package/dist/interfaces/shared-settings.interfaces.d.ts +5 -1
- package/dist/storefront/commonSettingsStorefront.js +1 -0
- package/dist/storefront/commonSharedSettings.js +4 -1
- package/dist/storefront/defaultIconsStorefront.js +1 -1
- package/dist/storefront/defaultSettingsStorefront.js +1 -0
- package/dist/storefront/defaultSharedSettings.js +4 -1
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ export interface ISharedFeatures {
|
|
|
14
14
|
couponGallery: ICouponGallery;
|
|
15
15
|
flyerConfiguration: IFlyerConfiguration | null;
|
|
16
16
|
ageVerification: IAgeVerification;
|
|
17
|
+
ageGateModal: IAgeGateModal;
|
|
17
18
|
loyalty: ILoyalty;
|
|
18
19
|
idp: IIdp;
|
|
19
20
|
}
|
|
@@ -51,7 +52,6 @@ export interface ISharedGeneral {
|
|
|
51
52
|
dateOfBirthInputFormat: IDateFormat;
|
|
52
53
|
wasComparisonPrice: boolean;
|
|
53
54
|
enableTargetedRewardsIcon: boolean;
|
|
54
|
-
smsOptIn: boolean;
|
|
55
55
|
}
|
|
56
56
|
export interface IFlyerConfiguration {
|
|
57
57
|
enabled: boolean;
|
|
@@ -63,6 +63,10 @@ export interface IAgeVerification {
|
|
|
63
63
|
ageVerificationPrefix: string;
|
|
64
64
|
ageVerificationStatementName: string;
|
|
65
65
|
}
|
|
66
|
+
export interface IAgeGateModal {
|
|
67
|
+
enabled: boolean;
|
|
68
|
+
redirectUrl: string;
|
|
69
|
+
}
|
|
66
70
|
export interface ILoyalty {
|
|
67
71
|
barcodeFormat: Format;
|
|
68
72
|
}
|
|
@@ -31,6 +31,10 @@ var CommonSharedSettingsConfig = {
|
|
|
31
31
|
ageVerificationPrefix: "",
|
|
32
32
|
ageVerificationStatementName: "",
|
|
33
33
|
},
|
|
34
|
+
ageGateModal: {
|
|
35
|
+
enabled: false,
|
|
36
|
+
redirectUrl: ''
|
|
37
|
+
},
|
|
34
38
|
loyalty: {
|
|
35
39
|
barcodeFormat: "UPC",
|
|
36
40
|
},
|
|
@@ -50,7 +54,6 @@ var CommonSharedSettingsConfig = {
|
|
|
50
54
|
dateOfBirthInputFormat: "DD/MM/YYYY",
|
|
51
55
|
wasComparisonPrice: false,
|
|
52
56
|
enableTargetedRewardsIcon: false,
|
|
53
|
-
smsOptIn: false
|
|
54
57
|
},
|
|
55
58
|
};
|
|
56
59
|
exports.default = CommonSharedSettingsConfig;
|