ingeniuscliq-core 0.2.58 → 0.2.60
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
|
@@ -8512,7 +8512,8 @@ function m4({
|
|
|
8512
8512
|
}) {
|
|
8513
8513
|
const n = Nv(), { data: r } = Gh({
|
|
8514
8514
|
queryKey: ["base-layout"],
|
|
8515
|
-
queryFn: () => n.fetchTemplate()
|
|
8515
|
+
queryFn: () => n.fetchTemplate(),
|
|
8516
|
+
enabled: !n.template
|
|
8516
8517
|
});
|
|
8517
8518
|
return qt(() => {
|
|
8518
8519
|
const o = r == null ? void 0 : r.styles.map((a) => ({ key: a.key, component: a.selected }));
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { BaseType } from '../../../types/BaseType';
|
|
2
2
|
export interface CoreProductCategory extends BaseType {
|
|
3
3
|
name: string;
|
|
4
|
+
parent: string | number;
|
|
5
|
+
children: CoreProductCategory[];
|
|
4
6
|
}
|
|
5
7
|
export interface HasProductCategories {
|
|
6
8
|
categories?: CoreProductCategory[];
|