@thryveai/theme-interfaces 2.7.34 → 2.7.36
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
|
+
```
|
|
@@ -32,8 +32,13 @@ export interface IAdminControl<T> {
|
|
|
32
32
|
group?: IAdminGroupType;
|
|
33
33
|
message?: IMessageProps;
|
|
34
34
|
helpLink?: string;
|
|
35
|
-
options?: string[] | number[] | IDefaultCounty[] | IValidationType[] | LinkTarget;
|
|
35
|
+
options?: string[] | number[] | IDefaultCounty[] | IValidationType[] | IImageRequiredFormat | LinkTarget;
|
|
36
36
|
value?: ITemplateObject<T>;
|
|
37
|
+
optional?: boolean;
|
|
38
|
+
}
|
|
39
|
+
export declare type ImageFormat = "svg" | "jpeg" | "png";
|
|
40
|
+
export interface IImageRequiredFormat {
|
|
41
|
+
requiredFormat: ImageFormat[];
|
|
37
42
|
}
|
|
38
43
|
export interface IAdminGroupType {
|
|
39
44
|
id: number;
|
|
@@ -201,6 +201,7 @@ export declare type IAdvertsData = {
|
|
|
201
201
|
[screen in IScreenType]?: string;
|
|
202
202
|
};
|
|
203
203
|
export declare type IAdvertSettings = {
|
|
204
|
+
useAdsV1: boolean;
|
|
204
205
|
page_homepage?: IAdvertLeaderboards;
|
|
205
206
|
page_search?: IAdvertLeaderboards & IAdvertProductGrid & IAdvertSkyScrapers;
|
|
206
207
|
page_cart?: IAdvertLeaderboards & IAdvertSkyScrapers;
|
|
@@ -83,7 +83,9 @@ var DefaultConfigSFUI = {
|
|
|
83
83
|
creditBalance: false,
|
|
84
84
|
subscriptions: false,
|
|
85
85
|
addressIntegrationV2: false,
|
|
86
|
-
advertSettings: {
|
|
86
|
+
advertSettings: {
|
|
87
|
+
useAdsV1: false,
|
|
88
|
+
},
|
|
87
89
|
allowInStorePurchases: false,
|
|
88
90
|
allowPastPurchases: true,
|
|
89
91
|
clientCache: false,
|