@golemio/ndic 1.0.7 → 1.0.8-dev.528010519

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 (33) hide show
  1. package/db/example/.config.json +3 -0
  2. package/db/example/00_reset.sql +1 -0
  3. package/db/example/01_reset3rdParty.sql +50 -0
  4. package/db/example/{sql_dump.sql → 02_sql_dump.sql} +5 -5
  5. package/db/migrations/postgresql/.config.json +3 -0
  6. package/db/migrations/postgresql/20210531070318-ndic-init.js +53 -0
  7. package/db/migrations/postgresql/20210611010101-ndic-restrictions.js +53 -0
  8. package/db/migrations/postgresql/20210702010000-ndic-add-geoms.js +53 -0
  9. package/db/migrations/postgresql/20210927000001-ndic-constriction-fix.js +51 -0
  10. package/db/migrations/postgresql/package.json +3 -0
  11. package/db/migrations/postgresql/sqls/20210531070318-ndic-init-down.sql +6 -0
  12. package/db/migrations/postgresql/sqls/20210531070318-ndic-init-up.sql +164 -0
  13. package/db/migrations/postgresql/sqls/20210611010101-ndic-restrictions-down.sql +6 -0
  14. package/db/migrations/postgresql/sqls/20210611010101-ndic-restrictions-up.sql +131 -0
  15. package/db/migrations/postgresql/sqls/20210702010000-ndic-add-geoms-down.sql +21 -0
  16. package/db/migrations/postgresql/sqls/20210702010000-ndic-add-geoms-up.sql +21 -0
  17. package/db/migrations/postgresql/sqls/20210927000001-ndic-constriction-fix-down.sql +5 -0
  18. package/db/migrations/postgresql/sqls/20210927000001-ndic-constriction-fix-up.sql +5 -0
  19. package/db/migrations/postgresql/sqls/package.json +3 -0
  20. package/dist/integration-engine/NdicWorker.js +2 -0
  21. package/dist/integration-engine/NdicWorker.js.map +1 -1
  22. package/dist/output-gateway/models/RsdTmcOsmMappingModel.js +4 -3
  23. package/dist/output-gateway/models/RsdTmcOsmMappingModel.js.map +1 -1
  24. package/dist/output-gateway/models/TrafficRestrictionsModel.d.ts +1 -1
  25. package/dist/output-gateway/models/TrafficRestrictionsModel.js +11 -9
  26. package/dist/output-gateway/models/TrafficRestrictionsModel.js.map +1 -1
  27. package/dist/output-gateway/transformations/OutputTrafficRestrictionsTransformation.js +1 -1
  28. package/dist/output-gateway/transformations/OutputTrafficRestrictionsTransformation.js.map +1 -1
  29. package/dist/schema-definitions/index.js +1 -0
  30. package/dist/schema-definitions/index.js.map +1 -1
  31. package/docs/implementation_documentation.md +157 -0
  32. package/docs/ndic_erdiagram.png +0 -0
  33. package/package.json +83 -78
package/package.json CHANGED
@@ -1,80 +1,85 @@
1
1
  {
2
- "name": "@golemio/ndic",
3
- "version": "1.0.7",
4
- "description": "Golemio NDIC 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
- "apidocs-test": "cross-env NODE_ENV=test TS_NODE_COMPILER='ttypescript' ts-node -r dotenv/config test/api-docs/index.ts",
14
- "test-debug": "run-s 'test --inspect-brk=9230'",
15
- "code-coverage": "nyc run-s 'test -r source-map-support/register'",
16
- "generate-docs": "typedoc --out docs/typedoc src",
17
- "lint": "eslint '{src,test}/**/*.ts'"
18
- },
19
- "keywords": [
20
- "golemio"
21
- ],
22
- "author": "Operator ICT, a.s.",
23
- "license": "MIT",
24
- "repository": {
25
- "type": "git",
26
- "url": "https://gitlab.com/operator-ict/golemio/code/modules/ndic"
27
- },
28
- "devDependencies": {
29
- "@commitlint/cli": "^11.0.0",
30
- "@commitlint/config-conventional": "^11.0.0",
31
- "@golemio/core": "1.2.6",
32
- "@golemio/eslint-config": "^1.1.0",
33
- "@golemio/schema-definitions": "2.0.31",
34
- "@types/body-parser-xml": "^1.1.0",
35
- "@types/chai": "4.2.3",
36
- "@types/chai-as-promised": "7.1.2",
37
- "@types/mocha": "^8.2.0",
38
- "@types/node": "^14.14.20",
39
- "@types/sinon": "^9.0.10",
40
- "@types/supertest": "^2.0.10",
41
- "@zerollup/ts-transform-paths": "^1.7.18",
42
- "body-parser": "^1.19.0",
43
- "body-parser-xml": "^2.0.0",
44
- "chai": "4.2.0",
45
- "chai-as-promised": "7.1.1",
46
- "cross-env": "^7.0.3",
47
- "dotenv": "^8.2.0",
48
- "eslint": "^8.1.1",
49
- "husky": "^4.3.7",
50
- "mocha": "^8.2.1",
51
- "npm-run-all": "^4.1.5",
52
- "nyc": "^15.1.0",
53
- "prettier": "^2.5.1",
54
- "pretty-quick": "^3.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.4",
62
- "typescript": "4.4.4"
63
- },
64
- "peerDependencies": {
65
- "@golemio/core": "^1.0.5"
66
- },
67
- "dependencies": {
68
- "@apideck/portman": "^1.13.0",
69
- "ajv": "^8.2.0",
70
- "xsd2jsonschema": "^0.3.7"
71
- },
72
- "resolutions": {
73
- "xmldom": "github:xmldom/xmldom#0.7.0",
74
- "minimist": "^1.2.6",
75
- "mpath": "^0.8.4",
76
- "apicache": "1.6.3",
77
- "axios": "^0.21.2",
78
- "follow-redirects": "^1.14.7"
79
- }
2
+ "name": "@golemio/ndic",
3
+ "version": "1.0.8-dev.528010519",
4
+ "description": "Golemio NDIC 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-db-data --postgres",
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
+ "apidocs-test": "cross-env NODE_ENV=test TS_NODE_COMPILER='ttypescript' ts-node -r dotenv/config test/api-docs/index.ts",
14
+ "test-debug": "run-s 'test --inspect-brk=9230'",
15
+ "code-coverage": "nyc run-s 'test -r source-map-support/register'",
16
+ "generate-docs": "typedoc --out docs/typedoc src",
17
+ "lint": "eslint \"{src,test}/**/*.ts\""
18
+ },
19
+ "keywords": [
20
+ "golemio"
21
+ ],
22
+ "author": "Operator ICT, a.s.",
23
+ "license": "MIT",
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "https://gitlab.com/operator-ict/golemio/code/modules/ndic"
27
+ },
28
+ "devDependencies": {
29
+ "@commitlint/cli": "^11.0.0",
30
+ "@commitlint/config-conventional": "^11.0.0",
31
+ "@golemio/cli": "1.2.1",
32
+ "@golemio/core": "1.2.6",
33
+ "@golemio/db-common": "1.0.0",
34
+ "@golemio/eslint-config": "^1.1.0",
35
+ "@types/body-parser-xml": "^1.1.0",
36
+ "@types/chai": "4.2.3",
37
+ "@types/chai-as-promised": "7.1.2",
38
+ "@types/mocha": "^8.2.0",
39
+ "@types/node": "^14.14.20",
40
+ "@types/sinon": "^9.0.10",
41
+ "@types/supertest": "^2.0.10",
42
+ "@zerollup/ts-transform-paths": "^1.7.18",
43
+ "body-parser": "^1.19.0",
44
+ "body-parser-xml": "^2.0.0",
45
+ "chai": "4.2.0",
46
+ "chai-as-promised": "7.1.1",
47
+ "cross-env": "^7.0.3",
48
+ "dotenv": "^8.2.0",
49
+ "eslint": "^8.1.1",
50
+ "husky": "^4.3.7",
51
+ "mocha": "^8.2.1",
52
+ "npm-run-all": "^4.1.5",
53
+ "nyc": "^15.1.0",
54
+ "prettier": "^2.5.1",
55
+ "pretty-quick": "^3.1.3",
56
+ "rimraf": "^3.0.2",
57
+ "sinon": "^9.2.3",
58
+ "source-map-support": "0.5.19",
59
+ "supertest": "^6.0.1",
60
+ "ts-node": "^9.1.1",
61
+ "ttypescript": "^1.5.13",
62
+ "typedoc": "^0.21.4",
63
+ "typescript": "4.4.4"
64
+ },
65
+ "peerDependencies": {
66
+ "@golemio/core": "^1.0.5"
67
+ },
68
+ "dependencies": {
69
+ "@apideck/portman": "^1.13.0",
70
+ "ajv": "^8.2.0",
71
+ "xsd2jsonschema": "^0.3.7"
72
+ },
73
+ "resolutions": {
74
+ "xmldom": "github:xmldom/xmldom#0.7.0",
75
+ "minimist": "^1.2.6",
76
+ "mpath": "^0.8.4",
77
+ "apicache": "1.6.3",
78
+ "axios": "^0.21.2",
79
+ "follow-redirects": "^1.14.7",
80
+ "ansi-regex": "^5.0.1",
81
+ "validator": "^13.7.0",
82
+ "json-schema": "^0.4.0",
83
+ "urijs": "^1.19.10"
84
+ }
80
85
  }