@golemio/parkings 1.1.0 → 1.1.1-dev.553095105

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 (55) hide show
  1. package/db/example/sql_dump.sql +10 -2
  2. package/dist/index.js +5 -1
  3. package/dist/index.js.map +1 -1
  4. package/dist/input-gateway/index.js +5 -1
  5. package/dist/input-gateway/index.js.map +1 -1
  6. package/dist/input-gateway/korid-parkings/index.js +5 -1
  7. package/dist/input-gateway/korid-parkings/index.js.map +1 -1
  8. package/dist/integration-engine/IPRParkingTransformation.d.ts +11 -5
  9. package/dist/integration-engine/IPRParkingTransformation.js +16 -14
  10. package/dist/integration-engine/IPRParkingTransformation.js.map +1 -1
  11. package/dist/integration-engine/KoridParkingConfigTransformation.d.ts +3 -3
  12. package/dist/integration-engine/KoridParkingConfigTransformation.js +5 -1
  13. package/dist/integration-engine/KoridParkingConfigTransformation.js.map +1 -1
  14. package/dist/integration-engine/ParkingInterface.d.ts +13 -2
  15. package/dist/integration-engine/ParkingLotsTransformation.d.ts +3 -3
  16. package/dist/integration-engine/ParkingLotsTransformation.js.map +1 -1
  17. package/dist/integration-engine/ParkingsWorker.d.ts +1 -1
  18. package/dist/integration-engine/ParkingsWorker.js +12 -60
  19. package/dist/integration-engine/ParkingsWorker.js.map +1 -1
  20. package/dist/integration-engine/TSKParkingTransformation.d.ts +3 -3
  21. package/dist/integration-engine/TSKParkingTransformation.js.map +1 -1
  22. package/dist/integration-engine/helpers/GeodataHelper.d.ts +6 -0
  23. package/dist/integration-engine/helpers/GeodataHelper.js +79 -0
  24. package/dist/integration-engine/helpers/GeodataHelper.js.map +1 -0
  25. package/dist/integration-engine/helpers/LocationBuilderHelper.d.ts +6 -0
  26. package/dist/integration-engine/helpers/LocationBuilderHelper.js +65 -0
  27. package/dist/integration-engine/helpers/LocationBuilderHelper.js.map +1 -0
  28. package/dist/integration-engine/index.js +5 -1
  29. package/dist/integration-engine/index.js.map +1 -1
  30. package/dist/output-gateway/ParkingsRouter.d.ts +4 -0
  31. package/dist/output-gateway/ParkingsRouter.js +56 -1
  32. package/dist/output-gateway/ParkingsRouter.js.map +1 -1
  33. package/dist/output-gateway/index.js +5 -1
  34. package/dist/output-gateway/index.js.map +1 -1
  35. package/dist/output-gateway/models/ParkingsLocationModel.d.ts +44 -0
  36. package/dist/output-gateway/models/ParkingsLocationModel.js +135 -0
  37. package/dist/output-gateway/models/ParkingsLocationModel.js.map +1 -0
  38. package/dist/output-gateway/models/ParkingsMeasurementsModel.js.map +1 -1
  39. package/dist/output-gateway/models/ParkingsModel.d.ts +9 -16
  40. package/dist/output-gateway/models/ParkingsModel.js +5 -4
  41. package/dist/output-gateway/models/ParkingsModel.js.map +1 -1
  42. package/dist/output-gateway/models/index.d.ts +2 -0
  43. package/dist/output-gateway/models/index.js +2 -0
  44. package/dist/output-gateway/models/index.js.map +1 -1
  45. package/dist/output-gateway/models/interfaces/IGetQueryOptions.d.ts +10 -0
  46. package/dist/output-gateway/models/interfaces/IGetQueryOptions.js +3 -0
  47. package/dist/output-gateway/models/interfaces/IGetQueryOptions.js.map +1 -0
  48. package/dist/output-gateway/transformations/ParkingsTransformationFabric.d.ts +33 -4
  49. package/dist/output-gateway/transformations/ParkingsTransformationFabric.js +29 -4
  50. package/dist/output-gateway/transformations/ParkingsTransformationFabric.js.map +1 -1
  51. package/dist/output-gateway/transformations/interfaces/IParkingFeature.d.ts +3 -2
  52. package/dist/schema-definitions/index.d.ts +43 -0
  53. package/dist/schema-definitions/index.js +77 -0
  54. package/dist/schema-definitions/index.js.map +1 -1
  55. package/package.json +74 -72
package/package.json CHANGED
@@ -1,74 +1,76 @@
1
1
  {
2
- "name": "@golemio/parkings",
3
- "version": "1.1.0",
4
- "description": "Golemio Parkings 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/parkings"
26
- },
27
- "devDependencies": {
28
- "@commitlint/cli": "^11.0.0",
29
- "@commitlint/config-conventional": "^11.0.0",
30
- "@golemio/core": "1.2.9",
31
- "@golemio/eslint-config": "^1.1.0",
32
- "@golemio/schema-definitions": "2.0.34",
33
- "@types/chai": "4.2.3",
34
- "@types/chai-as-promised": "7.1.2",
35
- "@types/mocha": "^9.1.0",
36
- "@types/node": "^14.14.20",
37
- "@types/proxyquire": "^1.3.28",
38
- "@types/sinon": "^9.0.10",
39
- "@types/supertest": "^2.0.10",
40
- "@zerollup/ts-transform-paths": "^1.7.18",
41
- "body-parser": "^1.19.0",
42
- "body-parser-xml": "^2.0.0",
43
- "chai": "4.2.0",
44
- "chai-as-promised": "7.1.1",
45
- "cross-env": "^7.0.3",
46
- "dotenv": "^8.2.0",
47
- "eslint": "^8.1.1",
48
- "husky": "^4.3.7",
49
- "mocha": "^9.1.2",
50
- "npm-run-all": "^4.1.5",
51
- "nyc": "^15.1.0",
52
- "prettier": "^2.5.1",
53
- "pretty-quick": "^3.1.0",
54
- "proxyquire": "^2.1.3",
55
- "rimraf": "^3.0.2",
56
- "sinon": "^9.2.3",
57
- "source-map-support": "0.5.19",
58
- "supertest": "^6.0.1",
59
- "ts-node": "^9.1.1",
60
- "ttypescript": "^1.5.13",
61
- "typedoc": "^0.21.5",
62
- "typescript": "4.4.4"
63
- },
64
- "peerDependencies": {
65
- "@golemio/core": "^1.1.1"
66
- },
67
- "dependencies": {
68
- "@golemio/city-districts": "1.0.2",
69
- "@turf/turf": "^6.5.0",
70
- "install": "^0.13.0",
71
- "npm": "^8.1.4",
72
- "uuid-by-string": "^3.0.2"
73
- }
2
+ "name": "@golemio/parkings",
3
+ "version": "1.1.1-dev.553095105",
4
+ "description": "Golemio Parkings 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/parkings"
26
+ },
27
+ "devDependencies": {
28
+ "@commitlint/cli": "^11.0.0",
29
+ "@commitlint/config-conventional": "^11.0.0",
30
+ "@golemio/core": "1.2.10-dev.544242823",
31
+ "@golemio/city-districts": "1.0.5-dev.551054240",
32
+ "@golemio/eslint-config": "^1.1.0",
33
+ "@golemio/schema-definitions": "2.0.37-dev.549508871",
34
+ "@ovos-media/ts-transform-paths": "^1.7.18-1",
35
+ "@types/chai": "4.2.3",
36
+ "@types/chai-as-promised": "7.1.2",
37
+ "@types/mocha": "^9.1.0",
38
+ "@types/node": "^16.11.35",
39
+ "@types/sinon": "^9.0.10",
40
+ "@types/supertest": "^2.0.10",
41
+ "body-parser": "^1.19.0",
42
+ "body-parser-xml": "^2.0.0",
43
+ "chai": "4.2.0",
44
+ "chai-as-promised": "7.1.1",
45
+ "cross-env": "^7.0.3",
46
+ "dotenv": "^8.2.0",
47
+ "eslint": "^8.1.1",
48
+ "husky": "^4.3.7",
49
+ "mocha": "^9.1.2",
50
+ "npm-run-all": "^4.1.5",
51
+ "nyc": "^15.1.0",
52
+ "prettier": "^2.5.1",
53
+ "pretty-quick": "^3.1.0",
54
+ "rimraf": "^3.0.2",
55
+ "sinon": "^9.2.3",
56
+ "source-map-support": "0.5.19",
57
+ "supertest": "^6.0.1",
58
+ "ts-node": "^10.7.0",
59
+ "ttypescript": "^1.5.13",
60
+ "typedoc": "^0.22.15",
61
+ "typescript": "4.6.4"
62
+ },
63
+ "peerDependencies": {
64
+ "@golemio/core": "^1.1.1",
65
+ "@golemio/city-districts": "^1.0.0"
66
+ },
67
+ "dependencies": {
68
+ "@turf/turf": "^6.5.0",
69
+ "install": "^0.13.0",
70
+ "npm": "^8.1.4",
71
+ "uuid-by-string": "^3.0.2"
72
+ },
73
+ "resolutions": {
74
+ "jsprim": "^1.4.2"
75
+ }
74
76
  }