@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.
- package/db/example/.config.json +3 -0
- package/db/example/00_reset.sql +1 -0
- package/db/example/01_reset3rdParty.sql +50 -0
- package/db/example/{sql_dump.sql → 02_sql_dump.sql} +5 -5
- package/db/migrations/postgresql/.config.json +3 -0
- package/db/migrations/postgresql/20210531070318-ndic-init.js +53 -0
- package/db/migrations/postgresql/20210611010101-ndic-restrictions.js +53 -0
- package/db/migrations/postgresql/20210702010000-ndic-add-geoms.js +53 -0
- package/db/migrations/postgresql/20210927000001-ndic-constriction-fix.js +51 -0
- package/db/migrations/postgresql/package.json +3 -0
- package/db/migrations/postgresql/sqls/20210531070318-ndic-init-down.sql +6 -0
- package/db/migrations/postgresql/sqls/20210531070318-ndic-init-up.sql +164 -0
- package/db/migrations/postgresql/sqls/20210611010101-ndic-restrictions-down.sql +6 -0
- package/db/migrations/postgresql/sqls/20210611010101-ndic-restrictions-up.sql +131 -0
- package/db/migrations/postgresql/sqls/20210702010000-ndic-add-geoms-down.sql +21 -0
- package/db/migrations/postgresql/sqls/20210702010000-ndic-add-geoms-up.sql +21 -0
- package/db/migrations/postgresql/sqls/20210927000001-ndic-constriction-fix-down.sql +5 -0
- package/db/migrations/postgresql/sqls/20210927000001-ndic-constriction-fix-up.sql +5 -0
- package/db/migrations/postgresql/sqls/package.json +3 -0
- package/dist/integration-engine/NdicWorker.js +2 -0
- package/dist/integration-engine/NdicWorker.js.map +1 -1
- package/dist/output-gateway/models/RsdTmcOsmMappingModel.js +4 -3
- package/dist/output-gateway/models/RsdTmcOsmMappingModel.js.map +1 -1
- package/dist/output-gateway/models/TrafficRestrictionsModel.d.ts +1 -1
- package/dist/output-gateway/models/TrafficRestrictionsModel.js +11 -9
- package/dist/output-gateway/models/TrafficRestrictionsModel.js.map +1 -1
- package/dist/output-gateway/transformations/OutputTrafficRestrictionsTransformation.js +1 -1
- package/dist/output-gateway/transformations/OutputTrafficRestrictionsTransformation.js.map +1 -1
- package/dist/schema-definitions/index.js +1 -0
- package/dist/schema-definitions/index.js.map +1 -1
- package/docs/implementation_documentation.md +157 -0
- package/docs/ndic_erdiagram.png +0 -0
- package/package.json +83 -78
package/package.json
CHANGED
|
@@ -1,80 +1,85 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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
|
}
|