vona-module-a-web 5.0.23 → 5.0.25

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/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { HttpStatus, BeanInfo, BeanBase, cast, appMetadata, appResource, deepExtend, compose, BeanSimple, BeanScopeBase, createBeanDecorator } from 'vona';
1
+ import { BeanInfo, BeanBase, cast, appMetadata, appResource, deepExtend, compose, BeanSimple, BeanScopeBase, createBeanDecorator } from 'vona';
2
2
  import { isNil, combineParamsAndQuery } from '@cabloy/utils';
3
3
  import { ZodMetadata } from '@cabloy/zod-openapi';
4
4
  import { Pipe, createArgumentPipe, setArgumentPipe } from 'vona-module-a-aspect';
@@ -19,7 +19,7 @@ const __FieldsSystem = ['columns', 'where', 'orders', 'pageNo', 'pageSize'];
19
19
  let PipeQuery = (_dec$5 = Pipe({
20
20
  // ValidatorOptions
21
21
  disableErrorMessages: false,
22
- errorHttpStatusCode: HttpStatus.BAD_REQUEST,
22
+ errorHttpStatusCode: 400,
23
23
  loose: false,
24
24
  strict: false
25
25
  }), _dec2$5 = BeanInfo({
@@ -197,7 +197,7 @@ var _dec$4, _dec2$4, _class$4;
197
197
  let PipeValid = (_dec$4 = Pipe({
198
198
  // ValidatorOptions
199
199
  disableErrorMessages: false,
200
- errorHttpStatusCode: HttpStatus.BAD_REQUEST,
200
+ errorHttpStatusCode: 400,
201
201
  loose: false,
202
202
  strict: false
203
203
  }), _dec2$4 = BeanInfo({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-web",
3
3
  "type": "module",
4
- "version": "5.0.23",
4
+ "version": "5.0.25",
5
5
  "title": "a-web",
6
6
  "vonaModule": {
7
7
  "capabilities": {