@golemio/fcd 1.0.2-dev.447475505 → 1.0.3
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/sql_dump.sql
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
INSERT INTO public.
|
|
1
|
+
INSERT INTO public.fcd_traff_params_part
|
|
2
2
|
(publication_time, source_identification, measurement_or_calculation_time, predefined_location, version_of_predefined_location, traffic_level, queue_exists, queue_length, from_point, to_point, data_quality, input_values, average_vehicle_speed, travel_time, free_flow_travel_time, free_flow_speed, create_batch_id, created_at, created_by, update_batch_id, updated_at, updated_by)
|
|
3
3
|
VALUES('2021-09-21 01:36:59.000', 'TS10125T10123', '2021-09-21 01:36:01.000', 'TS10125T10123', 2, 'level2', false, NULL, NULL, NULL, 0.5, 1, 35, 31, 23, 46, NULL, '2021-10-18 11:01:16.534', NULL, NULL, '2021-10-18 11:01:16.534', NULL);
|
|
4
|
-
INSERT INTO public.
|
|
4
|
+
INSERT INTO public.fcd_traff_params_part
|
|
5
5
|
(publication_time, source_identification, measurement_or_calculation_time, predefined_location, version_of_predefined_location, traffic_level, queue_exists, queue_length, from_point, to_point, data_quality, input_values, average_vehicle_speed, travel_time, free_flow_travel_time, free_flow_speed, create_batch_id, created_at, created_by, update_batch_id, updated_at, updated_by)
|
|
6
6
|
VALUES('2021-09-21 01:36:59.000', 'TS10127T19629', '2021-09-21 01:36:01.000', 'TS10127T19629', 2, 'level1', false, NULL, NULL, NULL, 0.5, 1, 47, 26, 25, 48, NULL, '2021-10-18 11:01:16.534', NULL, NULL, '2021-10-18 11:01:16.534', NULL);
|
|
7
|
-
INSERT INTO public.
|
|
7
|
+
INSERT INTO public.fcd_traff_params_part
|
|
8
8
|
(publication_time, source_identification, measurement_or_calculation_time, predefined_location, version_of_predefined_location, traffic_level, queue_exists, queue_length, from_point, to_point, data_quality, input_values, average_vehicle_speed, travel_time, free_flow_travel_time, free_flow_speed, create_batch_id, created_at, created_by, update_batch_id, updated_at, updated_by)
|
|
9
9
|
VALUES('2021-09-21 01:36:59.000', 'TS10182T24828', '2021-09-21 01:36:01.000', 'TS10182T24828', 2, 'level1', false, NULL, NULL, NULL, 0.833, 3, 91, 87, 106, 76, NULL, '2021-10-18 11:01:16.534', NULL, NULL, '2021-10-18 11:01:16.534', NULL);
|
|
@@ -11,7 +11,7 @@ const forExport = {
|
|
|
11
11
|
datasourceSchema: fcd_datasource_schema_1.datasourceFloatingCarDataSchema,
|
|
12
12
|
outputSchema: fcd_output_schema_1.outputFloatingCarDataSchema,
|
|
13
13
|
outputSequelizeAttributes: fcd_output_schema_1.outputFloatingCarDataSDMA,
|
|
14
|
-
pgTableName: "
|
|
14
|
+
pgTableName: "fcd_traff_params_part",
|
|
15
15
|
},
|
|
16
16
|
rsd_tmc_osm_mapping: {
|
|
17
17
|
name: "LtOsmMapping",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schema-definitions/index.ts"],"names":[],"mappings":";;;AAAA,2EAAqF;AACrF,mEAAwG;AACxG,mGAA0H;AAE1H,MAAM,SAAS,GAAQ;IACnB,IAAI,EAAE,KAAK;IACX,QAAQ,EAAE;QACN,IAAI,EAAE,iBAAiB;QACvB,gBAAgB,EAAE,uDAA+B;QACjD,YAAY,EAAE,+CAA2B;QACzC,yBAAyB,EAAE,6CAAyB;QACpD,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schema-definitions/index.ts"],"names":[],"mappings":";;;AAAA,2EAAqF;AACrF,mEAAwG;AACxG,mGAA0H;AAE1H,MAAM,SAAS,GAAQ;IACnB,IAAI,EAAE,KAAK;IACX,QAAQ,EAAE;QACN,IAAI,EAAE,iBAAiB;QACvB,gBAAgB,EAAE,uDAA+B;QACjD,YAAY,EAAE,+CAA2B;QACzC,yBAAyB,EAAE,6CAAyB;QACpD,WAAW,EAAE,uBAAuB;KACvC;IACD,mBAAmB,EAAE;QACjB,IAAI,EAAE,cAAc;QACpB,YAAY,EAAE,gEAA4B;QAC1C,yBAAyB,EAAE,8DAA0B;QACrD,WAAW,EAAE,qBAAqB;KACrC;CACJ,CAAC;AAEoB,wBAAG"}
|
package/package.json
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
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
|
-
|
|
80
|
-
|
|
2
|
+
"name": "@golemio/fcd",
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "Golemio Floating Car Data 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
|
+
"fcd"
|
|
22
|
+
],
|
|
23
|
+
"author": "Operator ICT, a.s.",
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "https://gitlab.com/operator-ict/golemio/code/modules/fcd"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@commitlint/cli": "^11.0.0",
|
|
31
|
+
"@commitlint/config-conventional": "^11.0.0",
|
|
32
|
+
"@golemio/core": "1.2.0",
|
|
33
|
+
"@golemio/eslint-config": "^1.0.2",
|
|
34
|
+
"@golemio/schema-definitions": "2.0.24",
|
|
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": "^7.17.0",
|
|
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.2.1",
|
|
55
|
+
"pretty-quick": "^3.1.0",
|
|
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.12",
|
|
62
|
+
"typedoc": "^0.21.4",
|
|
63
|
+
"typescript": "^4.1.3"
|
|
64
|
+
},
|
|
65
|
+
"peerDependencies": {
|
|
66
|
+
"@golemio/core": "^1.0.5"
|
|
67
|
+
},
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"@apideck/portman": "^1.13.0",
|
|
70
|
+
"ajv": "^8.2.0",
|
|
71
|
+
"xmldom": "github:xmldom/xmldom#0.7.0",
|
|
72
|
+
"xsd2jsonschema": "^0.3.7"
|
|
73
|
+
},
|
|
74
|
+
"resolutions": {
|
|
75
|
+
"@commitlint/cli/**/trim-newlines": "^3.0.1",
|
|
76
|
+
"hosted-git-info": "^3.0.8",
|
|
77
|
+
"xmldom": "github:xmldom/xmldom#0.7.0",
|
|
78
|
+
"mpath": "^0.8.4",
|
|
79
|
+
"follow-redirects": "1.14.7"
|
|
80
|
+
}
|
|
81
81
|
}
|