@wix/categories 1.0.22 → 1.0.24
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/build/cjs/context.d.ts +1 -0
- package/build/cjs/context.js +28 -0
- package/build/cjs/context.js.map +1 -0
- package/build/cjs/index.js +5 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +5 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +5 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/src/categories-v1-category.context.d.ts +20 -0
- package/build/cjs/src/categories-v1-category.context.js +203 -0
- package/build/cjs/src/categories-v1-category.context.js.map +1 -0
- package/build/cjs/src/categories-v1-category.http.js +664 -501
- package/build/cjs/src/categories-v1-category.http.js.map +1 -1
- package/build/cjs/src/categories-v1-category.meta.d.ts +1 -1
- package/build/cjs/src/categories-v1-category.meta.js +5 -1
- package/build/cjs/src/categories-v1-category.meta.js.map +1 -1
- package/build/cjs/src/categories-v1-category.public.d.ts +13 -12
- package/build/cjs/src/categories-v1-category.public.js +9 -1
- package/build/cjs/src/categories-v1-category.public.js.map +1 -1
- package/build/cjs/src/categories-v1-category.types.d.ts +168 -26
- package/build/cjs/src/categories-v1-category.types.js +69 -42
- package/build/cjs/src/categories-v1-category.types.js.map +1 -1
- package/build/cjs/src/categories-v1-category.universal.d.ts +327 -49
- package/build/cjs/src/categories-v1-category.universal.js +374 -155
- package/build/cjs/src/categories-v1-category.universal.js.map +1 -1
- package/build/es/context.d.ts +1 -0
- package/build/es/context.js +2 -0
- package/build/es/context.js.map +1 -0
- package/build/es/src/categories-v1-category.context.d.ts +20 -0
- package/build/es/src/categories-v1-category.context.js +182 -0
- package/build/es/src/categories-v1-category.context.js.map +1 -0
- package/build/es/src/categories-v1-category.http.js +664 -501
- package/build/es/src/categories-v1-category.http.js.map +1 -1
- package/build/es/src/categories-v1-category.meta.d.ts +1 -1
- package/build/es/src/categories-v1-category.public.d.ts +13 -12
- package/build/es/src/categories-v1-category.public.js +1 -0
- package/build/es/src/categories-v1-category.public.js.map +1 -1
- package/build/es/src/categories-v1-category.types.d.ts +168 -26
- package/build/es/src/categories-v1-category.types.js +29 -2
- package/build/es/src/categories-v1-category.types.js.map +1 -1
- package/build/es/src/categories-v1-category.universal.d.ts +327 -49
- package/build/es/src/categories-v1-category.universal.js +328 -113
- package/build/es/src/categories-v1-category.universal.js.map +1 -1
- package/context/package.json +6 -0
- package/package.json +12 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as categories from './src/categories-v1-category.context';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.categories = void 0;
|
|
27
|
+
exports.categories = __importStar(require("./src/categories-v1-category.context"));
|
|
28
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mFAAmE"}
|
package/build/cjs/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kFAAkE"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qFAAqE"}
|
package/build/cjs/meta.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/build/cjs/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gFAAgE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { createCategory as publicCreateCategory, getCategory as publicGetCategory, updateCategory as publicUpdateCategory, deleteCategory as publicDeleteCategory, searchCategories as publicSearchCategories, countCategories as publicCountCategories, moveCategory as publicMoveCategory, bulkUpdateCategories as publicBulkUpdateCategories, updateCategoryVisibility as publicUpdateCategoryVisibility, bulkAddItemsToCategory as publicBulkAddItemsToCategory, bulkAddItemToCategories as publicBulkAddItemToCategories, bulkRemoveItemsFromCategory as publicBulkRemoveItemsFromCategory, bulkRemoveItemFromCategories as publicBulkRemoveItemFromCategories, listItemsInCategory as publicListItemsInCategory, listCategoriesForItem as publicListCategoriesForItem, moveItemInCategory as publicMoveItemInCategory, setArrangedItems as publicSetArrangedItems, getArrangedItems as publicGetArrangedItems } from './categories-v1-category.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const createCategory: BuildRESTFunction<typeof publicCreateCategory>;
|
|
4
|
+
export declare const getCategory: BuildRESTFunction<typeof publicGetCategory>;
|
|
5
|
+
export declare const updateCategory: BuildRESTFunction<typeof publicUpdateCategory>;
|
|
6
|
+
export declare const deleteCategory: BuildRESTFunction<typeof publicDeleteCategory>;
|
|
7
|
+
export declare const searchCategories: BuildRESTFunction<typeof publicSearchCategories>;
|
|
8
|
+
export declare const countCategories: BuildRESTFunction<typeof publicCountCategories>;
|
|
9
|
+
export declare const moveCategory: BuildRESTFunction<typeof publicMoveCategory>;
|
|
10
|
+
export declare const bulkUpdateCategories: BuildRESTFunction<typeof publicBulkUpdateCategories>;
|
|
11
|
+
export declare const updateCategoryVisibility: BuildRESTFunction<typeof publicUpdateCategoryVisibility>;
|
|
12
|
+
export declare const bulkAddItemsToCategory: BuildRESTFunction<typeof publicBulkAddItemsToCategory>;
|
|
13
|
+
export declare const bulkAddItemToCategories: BuildRESTFunction<typeof publicBulkAddItemToCategories>;
|
|
14
|
+
export declare const bulkRemoveItemsFromCategory: BuildRESTFunction<typeof publicBulkRemoveItemsFromCategory>;
|
|
15
|
+
export declare const bulkRemoveItemFromCategories: BuildRESTFunction<typeof publicBulkRemoveItemFromCategories>;
|
|
16
|
+
export declare const listItemsInCategory: BuildRESTFunction<typeof publicListItemsInCategory>;
|
|
17
|
+
export declare const listCategoriesForItem: BuildRESTFunction<typeof publicListCategoriesForItem>;
|
|
18
|
+
export declare const moveItemInCategory: BuildRESTFunction<typeof publicMoveItemInCategory>;
|
|
19
|
+
export declare const setArrangedItems: BuildRESTFunction<typeof publicSetArrangedItems>;
|
|
20
|
+
export declare const getArrangedItems: BuildRESTFunction<typeof publicGetArrangedItems>;
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getArrangedItems = exports.setArrangedItems = exports.moveItemInCategory = exports.listCategoriesForItem = exports.listItemsInCategory = exports.bulkRemoveItemFromCategories = exports.bulkRemoveItemsFromCategory = exports.bulkAddItemToCategories = exports.bulkAddItemsToCategory = exports.updateCategoryVisibility = exports.bulkUpdateCategories = exports.moveCategory = exports.countCategories = exports.searchCategories = exports.deleteCategory = exports.updateCategory = exports.getCategory = exports.createCategory = void 0;
|
|
4
|
+
const categories_v1_category_public_1 = require("./categories-v1-category.public");
|
|
5
|
+
const createCategory = (...args) => {
|
|
6
|
+
// @ts-expect-error
|
|
7
|
+
if (!globalThis.__wix_context__) {
|
|
8
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
9
|
+
}
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
return globalThis.__wix_context__
|
|
12
|
+
.initWixModules(categories_v1_category_public_1.createCategory)
|
|
13
|
+
.apply(undefined, args);
|
|
14
|
+
};
|
|
15
|
+
exports.createCategory = createCategory;
|
|
16
|
+
const getCategory = (...args) => {
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
if (!globalThis.__wix_context__) {
|
|
19
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
20
|
+
}
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
return globalThis.__wix_context__
|
|
23
|
+
.initWixModules(categories_v1_category_public_1.getCategory)
|
|
24
|
+
.apply(undefined, args);
|
|
25
|
+
};
|
|
26
|
+
exports.getCategory = getCategory;
|
|
27
|
+
const updateCategory = (...args) => {
|
|
28
|
+
// @ts-expect-error
|
|
29
|
+
if (!globalThis.__wix_context__) {
|
|
30
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
31
|
+
}
|
|
32
|
+
// @ts-expect-error
|
|
33
|
+
return globalThis.__wix_context__
|
|
34
|
+
.initWixModules(categories_v1_category_public_1.updateCategory)
|
|
35
|
+
.apply(undefined, args);
|
|
36
|
+
};
|
|
37
|
+
exports.updateCategory = updateCategory;
|
|
38
|
+
const deleteCategory = (...args) => {
|
|
39
|
+
// @ts-expect-error
|
|
40
|
+
if (!globalThis.__wix_context__) {
|
|
41
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
42
|
+
}
|
|
43
|
+
// @ts-expect-error
|
|
44
|
+
return globalThis.__wix_context__
|
|
45
|
+
.initWixModules(categories_v1_category_public_1.deleteCategory)
|
|
46
|
+
.apply(undefined, args);
|
|
47
|
+
};
|
|
48
|
+
exports.deleteCategory = deleteCategory;
|
|
49
|
+
const searchCategories = (...args) => {
|
|
50
|
+
// @ts-expect-error
|
|
51
|
+
if (!globalThis.__wix_context__) {
|
|
52
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
53
|
+
}
|
|
54
|
+
// @ts-expect-error
|
|
55
|
+
return globalThis.__wix_context__
|
|
56
|
+
.initWixModules(categories_v1_category_public_1.searchCategories)
|
|
57
|
+
.apply(undefined, args);
|
|
58
|
+
};
|
|
59
|
+
exports.searchCategories = searchCategories;
|
|
60
|
+
const countCategories = (...args) => {
|
|
61
|
+
// @ts-expect-error
|
|
62
|
+
if (!globalThis.__wix_context__) {
|
|
63
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
64
|
+
}
|
|
65
|
+
// @ts-expect-error
|
|
66
|
+
return globalThis.__wix_context__
|
|
67
|
+
.initWixModules(categories_v1_category_public_1.countCategories)
|
|
68
|
+
.apply(undefined, args);
|
|
69
|
+
};
|
|
70
|
+
exports.countCategories = countCategories;
|
|
71
|
+
const moveCategory = (...args) => {
|
|
72
|
+
// @ts-expect-error
|
|
73
|
+
if (!globalThis.__wix_context__) {
|
|
74
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
75
|
+
}
|
|
76
|
+
// @ts-expect-error
|
|
77
|
+
return globalThis.__wix_context__
|
|
78
|
+
.initWixModules(categories_v1_category_public_1.moveCategory)
|
|
79
|
+
.apply(undefined, args);
|
|
80
|
+
};
|
|
81
|
+
exports.moveCategory = moveCategory;
|
|
82
|
+
const bulkUpdateCategories = (...args) => {
|
|
83
|
+
// @ts-expect-error
|
|
84
|
+
if (!globalThis.__wix_context__) {
|
|
85
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
86
|
+
}
|
|
87
|
+
// @ts-expect-error
|
|
88
|
+
return globalThis.__wix_context__
|
|
89
|
+
.initWixModules(categories_v1_category_public_1.bulkUpdateCategories)
|
|
90
|
+
.apply(undefined, args);
|
|
91
|
+
};
|
|
92
|
+
exports.bulkUpdateCategories = bulkUpdateCategories;
|
|
93
|
+
const updateCategoryVisibility = (...args) => {
|
|
94
|
+
// @ts-expect-error
|
|
95
|
+
if (!globalThis.__wix_context__) {
|
|
96
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
97
|
+
}
|
|
98
|
+
// @ts-expect-error
|
|
99
|
+
return globalThis.__wix_context__
|
|
100
|
+
.initWixModules(categories_v1_category_public_1.updateCategoryVisibility)
|
|
101
|
+
.apply(undefined, args);
|
|
102
|
+
};
|
|
103
|
+
exports.updateCategoryVisibility = updateCategoryVisibility;
|
|
104
|
+
const bulkAddItemsToCategory = (...args) => {
|
|
105
|
+
// @ts-expect-error
|
|
106
|
+
if (!globalThis.__wix_context__) {
|
|
107
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
108
|
+
}
|
|
109
|
+
// @ts-expect-error
|
|
110
|
+
return globalThis.__wix_context__
|
|
111
|
+
.initWixModules(categories_v1_category_public_1.bulkAddItemsToCategory)
|
|
112
|
+
.apply(undefined, args);
|
|
113
|
+
};
|
|
114
|
+
exports.bulkAddItemsToCategory = bulkAddItemsToCategory;
|
|
115
|
+
const bulkAddItemToCategories = (...args) => {
|
|
116
|
+
// @ts-expect-error
|
|
117
|
+
if (!globalThis.__wix_context__) {
|
|
118
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
119
|
+
}
|
|
120
|
+
// @ts-expect-error
|
|
121
|
+
return globalThis.__wix_context__
|
|
122
|
+
.initWixModules(categories_v1_category_public_1.bulkAddItemToCategories)
|
|
123
|
+
.apply(undefined, args);
|
|
124
|
+
};
|
|
125
|
+
exports.bulkAddItemToCategories = bulkAddItemToCategories;
|
|
126
|
+
const bulkRemoveItemsFromCategory = (...args) => {
|
|
127
|
+
// @ts-expect-error
|
|
128
|
+
if (!globalThis.__wix_context__) {
|
|
129
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
130
|
+
}
|
|
131
|
+
// @ts-expect-error
|
|
132
|
+
return globalThis.__wix_context__
|
|
133
|
+
.initWixModules(categories_v1_category_public_1.bulkRemoveItemsFromCategory)
|
|
134
|
+
.apply(undefined, args);
|
|
135
|
+
};
|
|
136
|
+
exports.bulkRemoveItemsFromCategory = bulkRemoveItemsFromCategory;
|
|
137
|
+
const bulkRemoveItemFromCategories = (...args) => {
|
|
138
|
+
// @ts-expect-error
|
|
139
|
+
if (!globalThis.__wix_context__) {
|
|
140
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
141
|
+
}
|
|
142
|
+
// @ts-expect-error
|
|
143
|
+
return globalThis.__wix_context__
|
|
144
|
+
.initWixModules(categories_v1_category_public_1.bulkRemoveItemFromCategories)
|
|
145
|
+
.apply(undefined, args);
|
|
146
|
+
};
|
|
147
|
+
exports.bulkRemoveItemFromCategories = bulkRemoveItemFromCategories;
|
|
148
|
+
const listItemsInCategory = (...args) => {
|
|
149
|
+
// @ts-expect-error
|
|
150
|
+
if (!globalThis.__wix_context__) {
|
|
151
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
152
|
+
}
|
|
153
|
+
// @ts-expect-error
|
|
154
|
+
return globalThis.__wix_context__
|
|
155
|
+
.initWixModules(categories_v1_category_public_1.listItemsInCategory)
|
|
156
|
+
.apply(undefined, args);
|
|
157
|
+
};
|
|
158
|
+
exports.listItemsInCategory = listItemsInCategory;
|
|
159
|
+
const listCategoriesForItem = (...args) => {
|
|
160
|
+
// @ts-expect-error
|
|
161
|
+
if (!globalThis.__wix_context__) {
|
|
162
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
163
|
+
}
|
|
164
|
+
// @ts-expect-error
|
|
165
|
+
return globalThis.__wix_context__
|
|
166
|
+
.initWixModules(categories_v1_category_public_1.listCategoriesForItem)
|
|
167
|
+
.apply(undefined, args);
|
|
168
|
+
};
|
|
169
|
+
exports.listCategoriesForItem = listCategoriesForItem;
|
|
170
|
+
const moveItemInCategory = (...args) => {
|
|
171
|
+
// @ts-expect-error
|
|
172
|
+
if (!globalThis.__wix_context__) {
|
|
173
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
174
|
+
}
|
|
175
|
+
// @ts-expect-error
|
|
176
|
+
return globalThis.__wix_context__
|
|
177
|
+
.initWixModules(categories_v1_category_public_1.moveItemInCategory)
|
|
178
|
+
.apply(undefined, args);
|
|
179
|
+
};
|
|
180
|
+
exports.moveItemInCategory = moveItemInCategory;
|
|
181
|
+
const setArrangedItems = (...args) => {
|
|
182
|
+
// @ts-expect-error
|
|
183
|
+
if (!globalThis.__wix_context__) {
|
|
184
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
185
|
+
}
|
|
186
|
+
// @ts-expect-error
|
|
187
|
+
return globalThis.__wix_context__
|
|
188
|
+
.initWixModules(categories_v1_category_public_1.setArrangedItems)
|
|
189
|
+
.apply(undefined, args);
|
|
190
|
+
};
|
|
191
|
+
exports.setArrangedItems = setArrangedItems;
|
|
192
|
+
const getArrangedItems = (...args) => {
|
|
193
|
+
// @ts-expect-error
|
|
194
|
+
if (!globalThis.__wix_context__) {
|
|
195
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
196
|
+
}
|
|
197
|
+
// @ts-expect-error
|
|
198
|
+
return globalThis.__wix_context__
|
|
199
|
+
.initWixModules(categories_v1_category_public_1.getArrangedItems)
|
|
200
|
+
.apply(undefined, args);
|
|
201
|
+
};
|
|
202
|
+
exports.getArrangedItems = getArrangedItems;
|
|
203
|
+
//# sourceMappingURL=categories-v1-category.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"categories-v1-category.context.js","sourceRoot":"","sources":["../../../src/categories-v1-category.context.ts"],"names":[],"mappings":";;;AAAA,mFAmByC;AAGlC,MAAM,cAAc,GAAmD,CAC5E,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,8CAAoB,CAAC;SACpC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,cAAc,kBAazB;AACK,MAAM,WAAW,GAAgD,CACtE,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mB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