ingeniuscliq-core 0.2.60 → 0.3.0
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/index.js
CHANGED
|
@@ -8517,7 +8517,7 @@ function m4({
|
|
|
8517
8517
|
});
|
|
8518
8518
|
return qt(() => {
|
|
8519
8519
|
const o = r == null ? void 0 : r.styles.map((a) => ({ key: a.key, component: a.selected }));
|
|
8520
|
-
o && n.setComponents(o), r != null && r.template && n.setTemplate(r.template), r != null && r.styles && n.setStyles(r.styles.map((a) => ({ key: a.key, selected: a.selected, colorProperties: a.colorProperties })))
|
|
8520
|
+
o && n.setComponents(o), r != null && r.template && n.setTemplate(r.template), r != null && r.styles && n.setStyles(r.styles.map((a) => ({ key: a.key, selected: a.selected, colorProperties: a.colorProperties })));
|
|
8521
8521
|
}, [r]), /* @__PURE__ */ f(
|
|
8522
8522
|
z1,
|
|
8523
8523
|
{
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { BaseSlugType } from '../../../types';
|
|
1
2
|
import { BaseType } from '../../../types/BaseType';
|
|
2
|
-
export interface CoreProductCategory extends BaseType {
|
|
3
|
+
export interface CoreProductCategory extends BaseType, BaseSlugType {
|
|
3
4
|
name: string;
|
|
4
|
-
parent:
|
|
5
|
+
parent: {
|
|
6
|
+
name: string;
|
|
7
|
+
} & BaseSlugType & BaseType;
|
|
5
8
|
children: CoreProductCategory[];
|
|
6
9
|
}
|
|
7
10
|
export interface HasProductCategories {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export interface CoreDesignTemplate {
|
|
2
2
|
template: string;
|
|
3
3
|
styles: CoreDesignTemplateStyles[];
|
|
4
|
-
settings: CoreDesignTemplateSettings;
|
|
5
4
|
}
|
|
6
5
|
export interface CoreDesignTemplateStyles {
|
|
7
6
|
key: string;
|
|
@@ -14,6 +13,16 @@ export interface CoreDesignTemplateColorProperties {
|
|
|
14
13
|
value: string;
|
|
15
14
|
}
|
|
16
15
|
export interface CoreDesignTemplateSettings {
|
|
16
|
+
store_name: string;
|
|
17
|
+
store_logo: string;
|
|
18
|
+
store_favicon: string;
|
|
19
|
+
available_coins: CoreDesignTemplateCoin[];
|
|
20
|
+
base_coin: CoreDesignTemplateCoin;
|
|
21
|
+
}
|
|
22
|
+
export interface CoreDesignTemplateCoin {
|
|
23
|
+
short_name: string;
|
|
17
24
|
name: string;
|
|
18
|
-
|
|
25
|
+
symbol: string;
|
|
26
|
+
position: string;
|
|
27
|
+
exchange_rate: number;
|
|
19
28
|
}
|