@golemio/municipal-authorities 1.0.3 → 1.0.4-dev.632094713

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.
@@ -19,7 +19,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
19
19
  };
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
21
  exports.municipalAuthoritiesRouter = exports.MunicipalAuthoritiesRouter = void 0;
22
- const lodash_1 = require("lodash");
23
22
  const express_validator_1 = require("@golemio/core/dist/shared/express-validator");
24
23
  const Geo_1 = require("@golemio/core/dist/output-gateway/Geo");
25
24
  const redis_1 = require("@golemio/core/dist/output-gateway/redis");
@@ -54,9 +53,9 @@ class MunicipalAuthoritiesRouter extends routes_1.GeoJsonRouter {
54
53
  districts,
55
54
  ids,
56
55
  lat: coords.lat,
57
- limit: (0, lodash_1.toNumber)(req.query.limit) || undefined,
56
+ limit: Number(req.query.limit) || undefined,
58
57
  lng: coords.lng,
59
- offset: (0, lodash_1.toNumber)(req.query.offset) || undefined,
58
+ offset: Number(req.query.offset) || undefined,
60
59
  range: coords.range,
61
60
  updatedSince: req.query.updatedSince,
62
61
  });
@@ -1 +1 @@
1
- {"version":3,"file":"MunicipalAuthoritiesRouter.js","sourceRoot":"","sources":["../../src/output-gateway/MunicipalAuthoritiesRouter.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;;AAEH,mCAAkC;AAElC,mFAA2E;AAC3E,+DAAyE;AACzE,mEAA6E;AAC7E,qEAAyE;AACzE,6EAAqG;AACrG,qCAAsF;AACtF,gGAA+D;AAE/D,MAAa,0BAA2B,SAAQ,sBAAa;IAIzD;QACI,KAAK,CAAC,IAAI,kCAAyB,EAAE,CAAC,CAAC;QAJjC,UAAK,GAA8B,IAAI,kCAAyB,EAAE,CAAC;QACnE,gBAAW,GAAoC,IAAI,wCAA+B,EAAE,CAAC;QAiBxF,WAAM,GAAG,CAAO,GAAY,EAAE,GAAa,EAAE,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AC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,GAAG,IAAA,yBAAM,EAAC,IAAI,CAAC,YAAY,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;gBACzF,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,GAAG,IAAA,yBAAM,EAAC,IAAI,CAAC,UAAU,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;gBACnF,OAAO,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrC;YAAC,OAAO,GAAG,EAAE;gBACV,IAAI,CAAC,GAAG,CAAC,CAAC;aACb;QACL,CAAC,CAAA,CAAC;QAhEE,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC,IAAA,yBAAK,EAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,IAAA,0BAAkB,GAAE,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;QACxG,IAAI,CAAC,MAAM,CAAC,GAAG,CACX,GAAG,EACH,CAAC,IAAA,yBAAK,EAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,EACrC,IAAI,CAAC,cAAc,EACnB,uBAAU,EACV,IAAA,sCAAyB,EAAC,4BAA4B,CAAC,EACvD,IAAA,0BAAkB,GAAE,EACpB,IAAI,CAAC,MAAM,CACd,CAAC;IACN,CAAC;CAsDJ;AAvED,gEAuEC;AAED,MAAM,0BAA0B,GAAW,IAAI,0BAA0B,EAAE,CAAC,MAAM,CAAC;AAE1E,gEAA0B"}
@@ -1,4 +1,28 @@
1
+ /// <reference types="mongoose/types/aggregate" />
2
+ /// <reference types="mongoose/types/callback" />
3
+ /// <reference types="mongoose/types/collection" />
4
+ /// <reference types="mongoose/types/connection" />
5
+ /// <reference types="mongoose/types/cursor" />
6
+ /// <reference types="mongoose/types/document" />
7
+ /// <reference types="mongoose/types/error" />
8
+ /// <reference types="mongoose/types/expressions" />
9
+ /// <reference types="mongoose/types/helpers" />
10
+ /// <reference types="mongoose/types/middlewares" />
11
+ /// <reference types="mongoose/types/indexes" />
12
+ /// <reference types="mongoose/types/models" />
13
+ /// <reference types="mongoose/types/mongooseoptions" />
14
+ /// <reference types="mongoose/types/pipelinestage" />
15
+ /// <reference types="mongoose/types/populate" />
16
+ /// <reference types="mongoose/types/query" />
17
+ /// <reference types="mongoose/types/schemaoptions" />
18
+ /// <reference types="mongoose/types/schematypes" />
19
+ /// <reference types="mongoose/types/session" />
20
+ /// <reference types="mongoose/types/types" />
21
+ /// <reference types="mongoose/types/utility" />
22
+ /// <reference types="mongoose/types/validation" />
23
+ /// <reference types="mongoose/types/virtuals" />
1
24
  /// <reference types="mongoose" />
25
+ /// <reference types="mongoose/types/inferschematype" />
2
26
  import { MongoModel } from "@golemio/core/dist/output-gateway/models";
3
27
  export declare class MunicipalAuthoritiesQueuesModel extends MongoModel {
4
28
  /**
@@ -7,5 +31,5 @@ export declare class MunicipalAuthoritiesQueuesModel extends MongoModel {
7
31
  constructor();
8
32
  GetQueuesByOfficeId: (municipalAuthorityId: string) => Promise<any>;
9
33
  GetOne: (municipalAuthorityId: string) => Promise<any>;
10
- GetAll: () => Promise<any[] | import("mongoose").LeanDocument<any>[]>;
34
+ GetAll: () => Promise<import("mongoose").LeanDocument<any>[] | import("mongoose").LeanDocument<any>[]>;
11
35
  }
@@ -1,4 +1,28 @@
1
+ /// <reference types="mongoose/types/aggregate" />
2
+ /// <reference types="mongoose/types/callback" />
3
+ /// <reference types="mongoose/types/collection" />
4
+ /// <reference types="mongoose/types/connection" />
5
+ /// <reference types="mongoose/types/cursor" />
6
+ /// <reference types="mongoose/types/document" />
7
+ /// <reference types="mongoose/types/error" />
8
+ /// <reference types="mongoose/types/expressions" />
9
+ /// <reference types="mongoose/types/helpers" />
10
+ /// <reference types="mongoose/types/middlewares" />
11
+ /// <reference types="mongoose/types/indexes" />
12
+ /// <reference types="mongoose/types/models" />
13
+ /// <reference types="mongoose/types/mongooseoptions" />
14
+ /// <reference types="mongoose/types/pipelinestage" />
15
+ /// <reference types="mongoose/types/populate" />
16
+ /// <reference types="mongoose/types/query" />
17
+ /// <reference types="mongoose/types/schemaoptions" />
18
+ /// <reference types="mongoose/types/schematypes" />
19
+ /// <reference types="mongoose/types/session" />
20
+ /// <reference types="mongoose/types/types" />
21
+ /// <reference types="mongoose/types/utility" />
22
+ /// <reference types="mongoose/types/validation" />
23
+ /// <reference types="mongoose/types/virtuals" />
1
24
  /// <reference types="mongoose" />
25
+ /// <reference types="mongoose/types/inferschematype" />
2
26
  interface ISkodaPalaceQueuesDatasource {
3
27
  return: Array<{
4
28
  cinnostID: number;
@@ -38,12 +62,12 @@ interface IMunicipalAuthoritiesQueueHistory {
38
62
  }
39
63
  declare const forExport: {
40
64
  datasourceMongooseSchemaObject: {
41
- [path: string]: any | typeof import("mongoose").SchemaType | import("mongoose").Schema<any, any, any, any> | import("mongoose").Schema<any, any, any, any>[] | readonly import("mongoose").Schema<any, any, any, any>[] | Function[] | import("mongoose").SchemaTypeOptions<any> | import("mongoose").SchemaTypeOptions<any>[] | readonly import("mongoose").SchemaTypeOptions<any>[] | any[] | readonly any[];
65
+ [path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
42
66
  };
43
67
  mongoCollectionName: string;
44
68
  name: string;
45
69
  outputMongooseSchemaObject: {
46
- [path: string]: any | typeof import("mongoose").SchemaType | import("mongoose").Schema<any, any, any, any> | import("mongoose").Schema<any, any, any, any>[] | readonly import("mongoose").Schema<any, any, any, any>[] | Function[] | import("mongoose").SchemaTypeOptions<any> | import("mongoose").SchemaTypeOptions<any>[] | readonly import("mongoose").SchemaTypeOptions<any>[] | any[] | readonly any[];
70
+ [path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
47
71
  };
48
72
  skodaPalaceQueues: {
49
73
  datasourceJsonSchema: {
@@ -110,7 +134,7 @@ declare const forExport: {
110
134
  mongoCollectionName: string;
111
135
  name: string;
112
136
  outputMongooseSchemaObject: {
113
- [path: string]: any | typeof import("mongoose").SchemaType | import("mongoose").Schema<any, any, any, any> | import("mongoose").Schema<any, any, any, any>[] | readonly import("mongoose").Schema<any, any, any, any>[] | Function[] | import("mongoose").SchemaTypeOptions<any> | import("mongoose").SchemaTypeOptions<any>[] | readonly import("mongoose").SchemaTypeOptions<any>[] | any[] | readonly any[];
137
+ [path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
114
138
  };
115
139
  outputJsonSchema: {
116
140
  type: string;
@@ -140,7 +164,7 @@ declare const forExport: {
140
164
  mongoCollectionName: string;
141
165
  name: string;
142
166
  outputMongooseSchemaObject: {
143
- [path: string]: any | typeof import("mongoose").SchemaType | import("mongoose").Schema<any, any, any, any> | import("mongoose").Schema<any, any, any, any>[] | readonly import("mongoose").Schema<any, any, any, any>[] | Function[] | import("mongoose").SchemaTypeOptions<any> | import("mongoose").SchemaTypeOptions<any>[] | readonly import("mongoose").SchemaTypeOptions<any>[] | any[] | readonly any[];
167
+ [path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
144
168
  };
145
169
  outputJsonSchema: {
146
170
  type: string;
package/package.json CHANGED
@@ -1,66 +1,63 @@
1
1
  {
2
- "name": "@golemio/municipal-authorities",
3
- "version": "1.0.3",
4
- "description": "Golemio Municipal Authorities Module",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "scripts": {
8
- "build": "rimraf ./dist && ttsc -p ./tsconfig.build.json",
9
- "build-minimal": "run-s 'build --sourceMap false --declaration false'",
10
- "build-watch": "run-s 'build --watch --preserveWatchOutput'",
11
- "pretest": "golemio-import-test-data",
12
- "test": "cross-env NODE_ENV=test TS_NODE_COMPILER='ttypescript' mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r dotenv/config 'test/**/*.test.ts'",
13
- "test-debug": "run-s 'test --inspect-brk=9230'",
14
- "code-coverage": "nyc run-s 'test -r source-map-support/register'",
15
- "generate-docs": "typedoc --out docs/typedoc src",
16
- "lint": "eslint '{src,test}/**/*.ts'"
17
- },
18
- "keywords": [
19
- "golemio"
20
- ],
21
- "author": "Operator ICT, a.s.",
22
- "license": "MIT",
23
- "repository": {
24
- "type": "git",
25
- "url": "https://gitlab.com/operator-ict/golemio/code/modules/municipal-authorities"
26
- },
27
- "devDependencies": {
28
- "@commitlint/cli": "^11.0.0",
29
- "@commitlint/config-conventional": "^11.0.0",
30
- "@golemio/core": "1.2.13",
31
- "@golemio/eslint-config": "^1.0.2",
32
- "@ovos-media/ts-transform-paths": "^1.7.18-1",
33
- "@types/chai": "4.2.3",
34
- "@types/chai-as-promised": "7.1.2",
35
- "@types/lodash": "^4.14.165",
36
- "@types/mocha": "^8.2.0",
37
- "@types/node": "^16.11.35",
38
- "@types/sinon": "^9.0.10",
39
- "@types/supertest": "^2.0.10",
40
- "chai": "4.2.0",
41
- "chai-as-promised": "7.1.1",
42
- "cross-env": "^7.0.3",
43
- "dotenv": "^8.2.0",
44
- "eslint": "^7.17.0",
45
- "husky": "^4.3.7",
46
- "mocha": "^8.2.1",
47
- "npm-run-all": "^4.1.5",
48
- "nyc": "^15.1.0",
49
- "prettier": "^2.2.1",
50
- "pretty-quick": "^3.1.0",
51
- "rimraf": "^3.0.2",
52
- "sinon": "^9.2.3",
53
- "source-map-support": "0.5.19",
54
- "supertest": "^6.0.1",
55
- "ts-node": "^10.7.0",
56
- "ttypescript": "^1.5.13",
57
- "typedoc": "^0.22.15",
58
- "typescript": "4.6.4"
59
- },
60
- "peerDependencies": {
61
- "@golemio/core": "^1.1.1"
62
- },
63
- "dependencies": {
64
- "lodash": "^4.17.19"
65
- }
2
+ "name": "@golemio/municipal-authorities",
3
+ "version": "1.0.4-dev.632094713",
4
+ "description": "Golemio Municipal Authorities Module",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "build": "rimraf ./dist && ttsc -p ./tsconfig.build.json",
9
+ "build-minimal": "run-s 'build --sourceMap false --declaration false'",
10
+ "build-watch": "run-s 'build --watch --preserveWatchOutput'",
11
+ "pretest": "golemio-import-test-data",
12
+ "test": "cross-env NODE_ENV=test TS_NODE_COMPILER='ttypescript' mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r dotenv/config 'test/**/*.test.ts'",
13
+ "test-debug": "run-s 'test --inspect-brk=9230'",
14
+ "code-coverage": "nyc run-s 'test -r source-map-support/register'",
15
+ "generate-docs": "typedoc --out docs/typedoc src",
16
+ "lint": "eslint \"{src,test}/**/*.ts\""
17
+ },
18
+ "keywords": [
19
+ "golemio"
20
+ ],
21
+ "author": "Operator ICT, a.s.",
22
+ "license": "MIT",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "https://gitlab.com/operator-ict/golemio/code/modules/municipal-authorities"
26
+ },
27
+ "devDependencies": {
28
+ "@commitlint/cli": "^11.0.0",
29
+ "@commitlint/config-conventional": "^11.0.0",
30
+ "@golemio/core": "1.2.17",
31
+ "@golemio/eslint-config": "1.1.0",
32
+ "@ovos-media/ts-transform-paths": "^1.7.18-1",
33
+ "@types/chai": "4.2.3",
34
+ "@types/chai-as-promised": "7.1.2",
35
+ "@types/mocha": "^8.2.0",
36
+ "@types/node": "^16.11.35",
37
+ "@types/sinon": "^9.0.10",
38
+ "@types/supertest": "^2.0.10",
39
+ "chai": "4.2.0",
40
+ "chai-as-promised": "7.1.1",
41
+ "cross-env": "^7.0.3",
42
+ "dotenv": "^8.2.0",
43
+ "eslint": "^7.17.0",
44
+ "husky": "^4.3.7",
45
+ "mocha": "^8.2.1",
46
+ "npm-run-all": "^4.1.5",
47
+ "nyc": "^15.1.0",
48
+ "prettier": "^2.2.1",
49
+ "pretty-quick": "^3.1.0",
50
+ "rimraf": "^3.0.2",
51
+ "sinon": "^9.2.3",
52
+ "source-map-support": "0.5.19",
53
+ "supertest": "^6.0.1",
54
+ "ts-node": "^10.7.0",
55
+ "ttypescript": "^1.5.13",
56
+ "typedoc": "^0.22.15",
57
+ "typescript": "4.6.4"
58
+ },
59
+ "peerDependencies": {
60
+ "@golemio/core": "^1.1.1"
61
+ },
62
+ "dependencies": {}
66
63
  }