@atscript/moost-db 0.1.155 → 0.1.157

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
@@ -2877,7 +2877,7 @@ let AsReadableController = _AsReadableController = class AsReadableController {
2877
2877
  *
2878
2878
  * Annotation whitelist: keeps `meta.*`, `expect.*`, `db.rel.*`, the `db.*`
2879
2879
  * keys the shared db validator plugin reads in db-client (`db.json`,
2880
- * `db.patch.strategy`, `db.default*`, `db.column.version`,
2880
+ * `db.patch.strategy`, `db.default*`, `db.onUpdate.now`, `db.column.version`,
2881
2881
  * `db.column.derived`) and the client-facing `db.http.path` /
2882
2882
  * `db.writeOnly` / `db.sort.nulls`; strips every other `db.*` (table, column, index, etc.).
2883
2883
  * Override in subclass to customise — keep the validator keys, or client
@@ -2891,7 +2891,7 @@ let AsReadableController = _AsReadableController = class AsReadableController {
2891
2891
  key,
2892
2892
  value
2893
2893
  };
2894
- if (key === "db.json" || key === "db.patch.strategy" || key.startsWith("db.default") || key === "db.http.path" || key === "db.writeOnly" || key === "db.column.version" || key === "db.column.derived" || key === "db.sort.nulls") return {
2894
+ if (key === "db.json" || key === "db.patch.strategy" || key.startsWith("db.default") || key === "db.onUpdate.now" || key === "db.http.path" || key === "db.writeOnly" || key === "db.column.version" || key === "db.column.derived" || key === "db.sort.nulls") return {
2895
2895
  key,
2896
2896
  value
2897
2897
  };
package/dist/index.d.cts CHANGED
@@ -241,7 +241,7 @@ declare abstract class AsReadableController<T extends TAtscriptAnnotatedType = T
241
241
  *
242
242
  * Annotation whitelist: keeps `meta.*`, `expect.*`, `db.rel.*`, the `db.*`
243
243
  * keys the shared db validator plugin reads in db-client (`db.json`,
244
- * `db.patch.strategy`, `db.default*`, `db.column.version`,
244
+ * `db.patch.strategy`, `db.default*`, `db.onUpdate.now`, `db.column.version`,
245
245
  * `db.column.derived`) and the client-facing `db.http.path` /
246
246
  * `db.writeOnly` / `db.sort.nulls`; strips every other `db.*` (table, column, index, etc.).
247
247
  * Override in subclass to customise — keep the validator keys, or client
package/dist/index.d.mts CHANGED
@@ -241,7 +241,7 @@ declare abstract class AsReadableController<T extends TAtscriptAnnotatedType = T
241
241
  *
242
242
  * Annotation whitelist: keeps `meta.*`, `expect.*`, `db.rel.*`, the `db.*`
243
243
  * keys the shared db validator plugin reads in db-client (`db.json`,
244
- * `db.patch.strategy`, `db.default*`, `db.column.version`,
244
+ * `db.patch.strategy`, `db.default*`, `db.onUpdate.now`, `db.column.version`,
245
245
  * `db.column.derived`) and the client-facing `db.http.path` /
246
246
  * `db.writeOnly` / `db.sort.nulls`; strips every other `db.*` (table, column, index, etc.).
247
247
  * Override in subclass to customise — keep the validator keys, or client
package/dist/index.mjs CHANGED
@@ -2876,7 +2876,7 @@ let AsReadableController = _AsReadableController = class AsReadableController {
2876
2876
  *
2877
2877
  * Annotation whitelist: keeps `meta.*`, `expect.*`, `db.rel.*`, the `db.*`
2878
2878
  * keys the shared db validator plugin reads in db-client (`db.json`,
2879
- * `db.patch.strategy`, `db.default*`, `db.column.version`,
2879
+ * `db.patch.strategy`, `db.default*`, `db.onUpdate.now`, `db.column.version`,
2880
2880
  * `db.column.derived`) and the client-facing `db.http.path` /
2881
2881
  * `db.writeOnly` / `db.sort.nulls`; strips every other `db.*` (table, column, index, etc.).
2882
2882
  * Override in subclass to customise — keep the validator keys, or client
@@ -2890,7 +2890,7 @@ let AsReadableController = _AsReadableController = class AsReadableController {
2890
2890
  key,
2891
2891
  value
2892
2892
  };
2893
- if (key === "db.json" || key === "db.patch.strategy" || key.startsWith("db.default") || key === "db.http.path" || key === "db.writeOnly" || key === "db.column.version" || key === "db.column.derived" || key === "db.sort.nulls") return {
2893
+ if (key === "db.json" || key === "db.patch.strategy" || key.startsWith("db.default") || key === "db.onUpdate.now" || key === "db.http.path" || key === "db.writeOnly" || key === "db.column.version" || key === "db.column.derived" || key === "db.sort.nulls") return {
2894
2894
  key,
2895
2895
  value
2896
2896
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/moost-db",
3
- "version": "0.1.155",
3
+ "version": "0.1.157",
4
4
  "description": "Generic database controller for Moost with Atscript.",
5
5
  "keywords": [
6
6
  "annotations",
@@ -44,11 +44,11 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@uniqu/url": "^0.1.15",
47
- "@atscript/db-memory": "^0.1.155"
47
+ "@atscript/db-memory": "^0.1.157"
48
48
  },
49
49
  "devDependencies": {
50
- "@atscript/core": "^0.1.105",
51
- "@atscript/typescript": "^0.1.105",
50
+ "@atscript/core": "^0.1.106",
51
+ "@atscript/typescript": "^0.1.106",
52
52
  "@moostjs/event-http": "^0.6.51",
53
53
  "@uniqu/core": "^0.1.15",
54
54
  "@wooksjs/event-core": "^0.7.29",
@@ -56,17 +56,17 @@
56
56
  "@wooksjs/http-body": "^0.7.29",
57
57
  "better-sqlite3": "^12.6.2",
58
58
  "moost": "^0.6.51",
59
- "unplugin-atscript": "^0.1.105",
60
- "@atscript/db-sqlite": "^0.1.155"
59
+ "unplugin-atscript": "^0.1.106",
60
+ "@atscript/db-sqlite": "^0.1.157"
61
61
  },
62
62
  "peerDependencies": {
63
- "@atscript/typescript": "^0.1.105",
63
+ "@atscript/typescript": "^0.1.106",
64
64
  "@moostjs/event-http": "^0.6.51",
65
65
  "@uniqu/core": "^0.1.15",
66
66
  "@wooksjs/event-core": "^0.7.29",
67
67
  "@wooksjs/http-body": "^0.7.29",
68
68
  "moost": "^0.6.51",
69
- "@atscript/db": "^0.1.155"
69
+ "@atscript/db": "^0.1.157"
70
70
  },
71
71
  "scripts": {
72
72
  "postinstall": "asc -f dts",