@mercurjs/admin 2.2.0-canary.33 → 2.2.0-canary.34
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.
|
@@ -193,7 +193,7 @@ import { jsx as jsx3 } from "react/jsx-runtime";
|
|
|
193
193
|
var PAGE_SIZE = 20;
|
|
194
194
|
var CategoryListDataTable = () => {
|
|
195
195
|
const { raw, searchParams } = useCategoryTableQuery({ pageSize: PAGE_SIZE });
|
|
196
|
-
const imageFields = "
|
|
196
|
+
const imageFields = "media_images.id,media_images.url,media_images.type,media_images.is_thumbnail,media_images.is_banner";
|
|
197
197
|
const query = raw.q ? {
|
|
198
198
|
include_ancestors_tree: true,
|
|
199
199
|
fields: `id,name,handle,is_active,is_internal,parent_category,${imageFields}`,
|
package/dist/index.js
CHANGED
package/dist/pages/index.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ declare const CategoryListPage: (({ children }: {
|
|
|
114
114
|
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
115
115
|
};
|
|
116
116
|
|
|
117
|
-
/** Shape of a category image as returned by the admin API (linked `
|
|
117
|
+
/** Shape of a category image as returned by the admin API (linked `media_images`). */
|
|
118
118
|
type CategoryApiImage = {
|
|
119
119
|
id: string;
|
|
120
120
|
url: string;
|
package/dist/pages/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mercurjs/admin",
|
|
3
|
-
"version": "2.2.0-canary.
|
|
3
|
+
"version": "2.2.0-canary.34",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/mercurjs/mercur",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"lint": "oxlint --max-warnings 0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@mercurjs/dashboard-shared": "2.2.0-canary.
|
|
33
|
-
"@mercurjs/client": "2.2.0-canary.
|
|
32
|
+
"@mercurjs/dashboard-shared": "2.2.0-canary.34",
|
|
33
|
+
"@mercurjs/client": "2.2.0-canary.34",
|
|
34
34
|
"@ariakit/react": "^0.4.15",
|
|
35
35
|
"@babel/runtime": "^7.26.10",
|
|
36
36
|
"@dnd-kit/core": "^6.1.0",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"tsup": "^8.0.2",
|
|
81
81
|
"typescript": "5.9.3",
|
|
82
82
|
"@medusajs/types": "options-preview",
|
|
83
|
-
"@mercurjs/core": "2.2.0-canary.
|
|
84
|
-
"@mercurjs/dashboard-sdk": "2.2.0-canary.
|
|
85
|
-
"@mercurjs/types": "2.2.0-canary.
|
|
83
|
+
"@mercurjs/core": "2.2.0-canary.34",
|
|
84
|
+
"@mercurjs/dashboard-sdk": "2.2.0-canary.34",
|
|
85
|
+
"@mercurjs/types": "2.2.0-canary.34"
|
|
86
86
|
}
|
|
87
87
|
}
|