@geekbears/gb-nest-helpers 0.0.31 → 0.0.32
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ApiSingleQuery = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
const common_1 = require("@nestjs/common");
|
|
5
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
6
|
+
const ApiSingleQuery = () => {
|
|
7
7
|
return (0, common_1.applyDecorators)((0, swagger_1.ApiQuery)({
|
|
8
8
|
name: 'populate',
|
|
9
9
|
description: 'A comma-separated list of virtual fields to populate',
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ApiStandardQuery = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
const common_1 = require("@nestjs/common");
|
|
5
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
6
6
|
/**
|
|
7
7
|
* Add geekbears standard query parameters
|
|
8
8
|
* @description Swagger decorator. Adds all standard query parameters
|
|
9
9
|
* @returns A method decorator wrapping calls to `@ApiQuery()` decorator
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
const ApiStandardQuery = () => {
|
|
12
12
|
return (0, common_1.applyDecorators)((0, swagger_1.ApiQuery)({
|
|
13
13
|
name: 'filter',
|
|
14
14
|
description: 'A stringified filter JSON object',
|
package/package.json
CHANGED
|
@@ -30,22 +30,22 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@eslint/eslintrc": "^3.3.5",
|
|
32
32
|
"@eslint/js": "^10.0.1",
|
|
33
|
-
"@types/node": "^25.
|
|
33
|
+
"@types/node": "^25.6.0",
|
|
34
34
|
"@types/qs": "^6.15.0",
|
|
35
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
36
|
-
"@typescript-eslint/parser": "^8.
|
|
37
|
-
"eslint": "^10.
|
|
35
|
+
"@typescript-eslint/eslint-plugin": "^8.59.2",
|
|
36
|
+
"@typescript-eslint/parser": "^8.59.2",
|
|
37
|
+
"eslint": "^10.3.0",
|
|
38
38
|
"eslint-config-prettier": "^10.1.8",
|
|
39
39
|
"eslint-plugin-prettier": "^5.5.5",
|
|
40
|
-
"globals": "^17.
|
|
41
|
-
"prettier": "^3.8.
|
|
40
|
+
"globals": "^17.6.0",
|
|
41
|
+
"prettier": "^3.8.3",
|
|
42
42
|
"rimraf": "^6.1.3",
|
|
43
43
|
"ts-node": "^10.9.2",
|
|
44
|
-
"typescript": "^
|
|
44
|
+
"typescript": "^6.0.3"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@nestjs/common": "9 - 12",
|
|
48
48
|
"@nestjs/swagger": "6 - 12"
|
|
49
49
|
},
|
|
50
|
-
"version": "0.0.
|
|
50
|
+
"version": "0.0.32"
|
|
51
51
|
}
|