@atscript/moost-db 0.1.84 → 0.1.86

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
@@ -1045,6 +1045,7 @@ let AsDbReadableController = class AsDbReadableController extends AsReadableCont
1045
1045
  return out;
1046
1046
  }
1047
1047
  hasField(path) {
1048
+ if (typeof this.readable.isValidFieldPath === "function") return this.readable.isValidFieldPath(path);
1048
1049
  return this.readable.flatMap.has(path);
1049
1050
  }
1050
1051
  /**
package/dist/index.mjs CHANGED
@@ -1044,6 +1044,7 @@ let AsDbReadableController = class AsDbReadableController extends AsReadableCont
1044
1044
  return out;
1045
1045
  }
1046
1046
  hasField(path) {
1047
+ if (typeof this.readable.isValidFieldPath === "function") return this.readable.isValidFieldPath(path);
1047
1048
  return this.readable.flatMap.has(path);
1048
1049
  }
1049
1050
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/moost-db",
3
- "version": "0.1.84",
3
+ "version": "0.1.86",
4
4
  "description": "Generic database controller for Moost with Atscript.",
5
5
  "keywords": [
6
6
  "annotations",
@@ -41,24 +41,24 @@
41
41
  "@uniqu/url": "^0.1.6"
42
42
  },
43
43
  "devDependencies": {
44
- "@atscript/core": "^0.1.59",
45
- "@atscript/typescript": "^0.1.59",
44
+ "@atscript/core": "^0.1.60",
45
+ "@atscript/typescript": "^0.1.60",
46
46
  "@moostjs/event-http": "^0.6.15",
47
47
  "@uniqu/core": "^0.1.6",
48
48
  "@wooksjs/event-core": "^0.7.13",
49
49
  "@wooksjs/event-http": "^0.7.13",
50
50
  "@wooksjs/http-body": "^0.7.13",
51
51
  "moost": "^0.6.15",
52
- "unplugin-atscript": "^0.1.59"
52
+ "unplugin-atscript": "^0.1.60"
53
53
  },
54
54
  "peerDependencies": {
55
- "@atscript/typescript": "^0.1.59",
55
+ "@atscript/typescript": "^0.1.60",
56
56
  "@moostjs/event-http": "^0.6.15",
57
57
  "@uniqu/core": "^0.1.6",
58
58
  "@wooksjs/event-core": "^0.7.13",
59
59
  "@wooksjs/http-body": "^0.7.13",
60
60
  "moost": "^0.6.15",
61
- "@atscript/db": "^0.1.84"
61
+ "@atscript/db": "^0.1.86"
62
62
  },
63
63
  "scripts": {
64
64
  "postinstall": "asc -f dts",