@aeriajs/core 0.0.265 → 0.0.267

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.
@@ -188,6 +188,9 @@ const validate = async (value, ctx) => {
188
188
  return types_1.Result.result(value);
189
189
  }
190
190
  }
191
+ if ('$ref' in ctx.property && ctx.property.$ref === 'file') {
192
+ return types_1.Result.result(value);
193
+ }
191
194
  const { error } = await (0, validation_1.validatePropertyWithRefs)(value, ctx.property, {
192
195
  checkObjectIds: true,
193
196
  context: ctx.options.context,
@@ -146,6 +146,9 @@ const validate = async (value, ctx) => {
146
146
  return Result.result(value);
147
147
  }
148
148
  }
149
+ if ("$ref" in ctx.property && ctx.property.$ref === "file") {
150
+ return Result.result(value);
151
+ }
149
152
  const { error } = await validatePropertyWithRefs(value, ctx.property, {
150
153
  checkObjectIds: true,
151
154
  context: ctx.options.context,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/core",
3
- "version": "0.0.265",
3
+ "version": "0.0.267",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "aeriaMain": "tests/fixtures/aeriaMain.js",
@@ -38,20 +38,20 @@
38
38
  "@aeriajs/validation": "link:../validation",
39
39
  "@types/jsonwebtoken": "^9.0.6",
40
40
  "jsonwebtoken": "^9.0.2",
41
- "mongodb": "^6.16.0",
41
+ "mongodb": "^6.17.0",
42
42
  "mongodb-memory-server": "^10.1.4"
43
43
  },
44
44
  "peerDependencies": {
45
- "@aeriajs/builtins": "^0.0.265",
46
- "@aeriajs/common": "^0.0.150",
47
- "@aeriajs/entrypoint": "^0.0.155",
48
- "@aeriajs/http": "^0.0.181",
49
- "@aeriajs/security": "^0.0.265",
50
- "@aeriajs/types": "^0.0.128",
51
- "@aeriajs/validation": "^0.0.168"
45
+ "@aeriajs/builtins": "^0.0.267",
46
+ "@aeriajs/common": "^0.0.151",
47
+ "@aeriajs/entrypoint": "^0.0.156",
48
+ "@aeriajs/http": "^0.0.183",
49
+ "@aeriajs/security": "^0.0.267",
50
+ "@aeriajs/types": "^0.0.129",
51
+ "@aeriajs/validation": "^0.0.169"
52
52
  },
53
53
  "dependencies": {
54
- "mongodb": "^6.16.0",
54
+ "mongodb": "^6.17.0",
55
55
  "jsonwebtoken": "^9.0.2"
56
56
  },
57
57
  "optionalDependencies": {