@nestledjs/data-browser 1.0.0 → 1.0.1

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.
@@ -86,7 +86,7 @@ function AdminDataCreatePageContent({ model, basePath, formTheme, displayFieldCo
86
86
  var _a, _b;
87
87
  if (!(documents == null ? void 0 : documents.create)) return null;
88
88
  try {
89
- if (((_a = documents.create) == null ? void 0 : _a.definitions) && ((_b = documents.create) == null ? void 0 : _b.loc)) {
89
+ if (((_a = documents.create) == null ? void 0 : _a.kind) === "Document" && ((_b = documents.create) == null ? void 0 : _b.definitions)) {
90
90
  return documents.create;
91
91
  }
92
92
  return gql(documents.create);
@@ -348,7 +348,7 @@ function AdminDataEditPageContent({ model, id, basePath, formTheme, displayField
348
348
  var _a, _b;
349
349
  if (!(documents == null ? void 0 : documents.query)) return null;
350
350
  try {
351
- if (((_a = documents.query) == null ? void 0 : _a.definitions) && ((_b = documents.query) == null ? void 0 : _b.loc)) {
351
+ if (((_a = documents.query) == null ? void 0 : _a.kind) === "Document" && ((_b = documents.query) == null ? void 0 : _b.definitions)) {
352
352
  return documents.query;
353
353
  }
354
354
  return gql(documents.query);
@@ -360,7 +360,7 @@ function AdminDataEditPageContent({ model, id, basePath, formTheme, displayField
360
360
  var _a, _b;
361
361
  if (!(documents == null ? void 0 : documents.update)) return null;
362
362
  try {
363
- if (((_a = documents.update) == null ? void 0 : _a.definitions) && ((_b = documents.update) == null ? void 0 : _b.loc)) {
363
+ if (((_a = documents.update) == null ? void 0 : _a.kind) === "Document" && ((_b = documents.update) == null ? void 0 : _b.definitions)) {
364
364
  return documents.update;
365
365
  }
366
366
  return gql(documents.update);
@@ -372,7 +372,7 @@ function AdminDataEditPageContent({ model, id, basePath, formTheme, displayField
372
372
  var _a, _b;
373
373
  if (!(documents == null ? void 0 : documents.delete)) return null;
374
374
  try {
375
- if (((_a = documents.delete) == null ? void 0 : _a.definitions) && ((_b = documents.delete) == null ? void 0 : _b.loc)) {
375
+ if (((_a = documents.delete) == null ? void 0 : _a.kind) === "Document" && ((_b = documents.delete) == null ? void 0 : _b.definitions)) {
376
376
  return documents.delete;
377
377
  }
378
378
  return gql(documents.delete);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestledjs/data-browser",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Universal admin data browser for Nestled framework projects with full CRUD operations",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
@@ -38,7 +38,7 @@
38
38
  "@apollo/client": "^4.0.0",
39
39
  "@heroicons/react": "^2.0.0",
40
40
  "@nestledjs/forms": "^0.5.0",
41
- "@nestledjs/shared-components": "^1.0.0",
41
+ "@nestledjs/shared-components": "^1.0.1",
42
42
  "react": "^19.0.0",
43
43
  "react-router": "^7.0.0"
44
44
  },