@webda/mongo 4.0.0-beta.8 → 4.0.0-beta.9

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/webda.module.json +17 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webda/mongo",
3
- "version": "4.0.0-beta.8",
3
+ "version": "4.0.0-beta.9",
4
4
  "description": "Implements Mongo DB on webda",
5
5
  "keywords": [
6
6
  "mongo",
@@ -16,8 +16,8 @@
16
16
  "typings": "lib/index.d.ts",
17
17
  "dependencies": {
18
18
  "mongodb": "^7.1.1",
19
- "@webda/core": "4.0.0-beta.8",
20
- "@webda/ql": "4.0.0-beta.7"
19
+ "@webda/ql": "4.0.0-beta.8",
20
+ "@webda/core": "4.0.0-beta.9"
21
21
  },
22
22
  "files": [
23
23
  "lib",
@@ -40,7 +40,7 @@
40
40
  "typescript": "7.1.0-dev.20260929.1",
41
41
  "vite": "^6.0.0",
42
42
  "vitest": "^4.1.2",
43
- "@webda/compiler": "^4.0.0-beta.8",
43
+ "@webda/compiler": "^4.0.0-beta.9",
44
44
  "@webda/test": "4.0.0-beta.7"
45
45
  },
46
46
  "type": "module",
package/webda.module.json CHANGED
@@ -240,11 +240,20 @@
240
240
  "public": true,
241
241
  "type": "object"
242
242
  },
243
- "modelAliases#2": {
244
- "additionalProperties": {
245
- "type": "string"
243
+ "typeCheck#2": {
244
+ "additionalProperties": false,
245
+ "description": "Startup check of the stored types: one WARN listing the legacy, untyped and unknown types found",
246
+ "properties": {
247
+ "enabled": {
248
+ "default": true,
249
+ "type": "boolean"
250
+ },
251
+ "maxRows": {
252
+ "default": 10000,
253
+ "description": "Rows scanned at most by stores without a native count; beyond, the counts are \"at least\"",
254
+ "type": "number"
255
+ }
246
256
  },
247
- "description": "Model Aliases to allow easier rename of Model",
248
257
  "type": "object"
249
258
  }
250
259
  },
@@ -273,26 +282,12 @@
273
282
  "description": "Mongo Database Options",
274
283
  "see": "https://www.npmjs.com/package/mongodb"
275
284
  },
276
- "defaultModel": {
277
- "default": true,
278
- "description": "When __type model not found, use the model\nIf strict is setup this parameter is not used",
279
- "type": "boolean"
280
- },
281
- "forceModel": {
282
- "default": false,
283
- "description": "If set, Store will ignore the __type",
284
- "type": "boolean"
285
- },
286
285
  "maxGroups": {
287
286
  "default": 10000,
288
287
  "description": "Maximum number of groups an aggregation may produce without LIMIT (or in memory)",
289
288
  "minimum": 1,
290
289
  "type": "number"
291
290
  },
292
- "modelAliases": {
293
- "$ref": "#/definitions/modelAliases%232",
294
- "description": "Model Aliases to allow easier rename of Model"
295
- },
296
291
  "models": {
297
292
  "default": [
298
293
  "Webda/RegistryEntry"
@@ -334,6 +329,10 @@
334
329
  "description": "Type of the service",
335
330
  "type": "string"
336
331
  },
332
+ "typeCheck": {
333
+ "$ref": "#/definitions/typeCheck%232",
334
+ "description": "Startup check of the stored types: one WARN listing the legacy, untyped and unknown types found"
335
+ },
337
336
  "openapi": {
338
337
  "type": "object",
339
338
  "additionalProperties": true