@atscript/moost-db 0.1.90 → 0.1.91

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.cjs CHANGED
@@ -1491,6 +1491,7 @@ let AsDbReadableController = class AsDbReadableController extends AsReadableCont
1491
1491
  const fields = {};
1492
1492
  for (const fd of this.readable.fieldDescriptors) {
1493
1493
  if (fd.ignored) continue;
1494
+ if (fd.designType === "object") continue;
1494
1495
  const annotations = fd.type?.metadata;
1495
1496
  const annotatedFilterable = annotations?.has("db.column.filterable") ?? false;
1496
1497
  const annotatedSortable = annotations?.has("db.column.sortable") ?? false;
package/dist/index.mjs CHANGED
@@ -1490,6 +1490,7 @@ let AsDbReadableController = class AsDbReadableController extends AsReadableCont
1490
1490
  const fields = {};
1491
1491
  for (const fd of this.readable.fieldDescriptors) {
1492
1492
  if (fd.ignored) continue;
1493
+ if (fd.designType === "object") continue;
1493
1494
  const annotations = fd.type?.metadata;
1494
1495
  const annotatedFilterable = annotations?.has("db.column.filterable") ?? false;
1495
1496
  const annotatedSortable = annotations?.has("db.column.sortable") ?? false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/moost-db",
3
- "version": "0.1.90",
3
+ "version": "0.1.91",
4
4
  "description": "Generic database controller for Moost with Atscript.",
5
5
  "keywords": [
6
6
  "annotations",
@@ -58,7 +58,7 @@
58
58
  "@wooksjs/event-core": "^0.7.15",
59
59
  "@wooksjs/http-body": "^0.7.15",
60
60
  "moost": "^0.6.17",
61
- "@atscript/db": "^0.1.90"
61
+ "@atscript/db": "^0.1.91"
62
62
  },
63
63
  "scripts": {
64
64
  "postinstall": "asc -f dts",