@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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CategoryListPage
3
- } from "./chunk-M674QP3K.js";
3
+ } from "./chunk-G2CZRGPF.js";
4
4
  import "./chunk-ARAK63IS.js";
5
5
  import "./chunk-JHIMVLB2.js";
6
6
  import "./chunk-Y456KVIN.js";
@@ -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 = "images.id,images.url,images.type,images.is_thumbnail,images.is_banner";
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
@@ -3594,7 +3594,7 @@ function getRouteMap({
3594
3594
  children: [
3595
3595
  {
3596
3596
  path: "",
3597
- lazy: () => import("./category-list-KNBCMJPI.js"),
3597
+ lazy: () => import("./category-list-JESRINZQ.js"),
3598
3598
  children: [
3599
3599
  {
3600
3600
  path: "create",
@@ -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 `images`). */
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;
@@ -262,7 +262,7 @@ import {
262
262
  } from "../chunk-QPFQLFKV.js";
263
263
  import {
264
264
  CategoryListPage
265
- } from "../chunk-M674QP3K.js";
265
+ } from "../chunk-G2CZRGPF.js";
266
266
  import "../chunk-ARAK63IS.js";
267
267
  import "../chunk-JHIMVLB2.js";
268
268
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mercurjs/admin",
3
- "version": "2.2.0-canary.33",
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",
33
- "@mercurjs/client": "2.2.0-canary.33",
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.33",
84
- "@mercurjs/dashboard-sdk": "2.2.0-canary.33",
85
- "@mercurjs/types": "2.2.0-canary.33"
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
  }