@golemio/core 1.19.4-dev.1670056366 → 1.19.4-dev.1676089542

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.
@@ -30,6 +30,6 @@ export declare abstract class AbstractGeoJsonRouter extends AbstractRouter {
30
30
  GetOne: (req: Request, res: Response, next: NextFunction) => void;
31
31
  protected GetIdQueryParamWithCorrectType: () => Promise<ValidationChain>;
32
32
  GetAdditionalFilters: (query: QueryString.ParsedQs) => {
33
- [x: string]: string | QueryString.ParsedQs | string[] | QueryString.ParsedQs[] | undefined;
33
+ [x: string]: string | QueryString.ParsedQs | (string | QueryString.ParsedQs)[] | undefined;
34
34
  };
35
35
  }
@@ -27,6 +27,6 @@ export declare class GeoJsonRouter extends BaseRouter {
27
27
  GetOne: (req: Request, res: Response, next: NextFunction) => void;
28
28
  protected GetIdQueryParamWithCorrectType: () => Promise<ValidationChain>;
29
29
  GetAdditionalFilters: (query: QueryString.ParsedQs) => {
30
- [x: string]: string | QueryString.ParsedQs | string[] | QueryString.ParsedQs[] | undefined;
30
+ [x: string]: string | QueryString.ParsedQs | (string | QueryString.ParsedQs)[] | undefined;
31
31
  };
32
32
  }
@@ -0,0 +1,2 @@
1
+ import * as qs from "qs";
2
+ export = qs;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ const qs = __importStar(require("qs"));
26
+ module.exports = qs;
27
+ //# sourceMappingURL=qs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qs.js","sourceRoot":"","sources":["../../src/shared/qs.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,iBAAS,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/core",
3
- "version": "1.19.4-dev.1670056366",
3
+ "version": "1.19.4-dev.1676089542",
4
4
  "description": "Golemio Core Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -92,6 +92,7 @@
92
92
  "@types/express": "^4.17.21",
93
93
  "@types/geojson": "^7946.0.10",
94
94
  "@types/luxon": "^2.3.1",
95
+ "@types/qs": "^6.9.18",
95
96
  "ajv": "^8.10.0",
96
97
  "amqplib": "^0.7.1",
97
98
  "apicache-plus": "^2.3.1",
@@ -119,6 +120,7 @@
119
120
  "pino-http": "^9.0.0",
120
121
  "pino-pretty": "^10.3.1",
121
122
  "prom-client": "^14.0.0",
123
+ "qs": "^6.14.0",
122
124
  "redis-rstream": "^1.0.1",
123
125
  "redis-semaphore": "^5.6.0",
124
126
  "redis-wstream": "^1.0.0",