@maioradv/nestjs-core 1.8.6 → 1.8.7

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.
@@ -6,17 +6,7 @@ const swagger_1 = require("@nestjs/swagger");
6
6
  const class_transformer_1 = require("class-transformer");
7
7
  const class_validator_1 = require("class-validator");
8
8
  const ApiSortingParams = (model) => {
9
- return (0, common_1.applyDecorators)((0, swagger_1.ApiExtraModels)(model), (0, swagger_1.ApiQuery)({
10
- required: false,
11
- name: 'sorting',
12
- style: 'deepObject',
13
- explode: true,
14
- type: 'object',
15
- example: '',
16
- schema: {
17
- $ref: (0, swagger_1.getSchemaPath)(model),
18
- },
19
- }));
9
+ return (0, common_1.applyDecorators)((0, swagger_1.ApiExtraModels)(model));
20
10
  };
21
11
  exports.ApiSortingParams = ApiSortingParams;
22
12
  const IsSortingObject = (model) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maioradv/nestjs-core",
3
- "version": "1.8.6",
3
+ "version": "1.8.7",
4
4
  "description": "NestJS helpers by MaiorADV",
5
5
  "repository": "https://github.com/maioradv/nestjs-core.git",
6
6
  "author": "Maior ADV Srl",