@golemio/flow 1.0.7 → 1.0.8-dev.577679507
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_truncate_tables.sql +10 -0
- package/db/example/01_wifiHistoricData.sql +49 -0
- package/db/example/02_countersData.sql +99 -0
- package/db/example/03_flowData.sql +343 -0
- package/db/example/99_runUpdateProcedure.sql +1 -0
- package/db/migrations/postgresql/.config.json +3 -0
- package/db/migrations/postgresql/20220616144407-flow.js +53 -0
- package/db/migrations/postgresql/package.json +3 -0
- package/db/migrations/postgresql/sqls/20220616144407-flow-down.sql +15 -0
- package/db/migrations/postgresql/sqls/20220616144407-flow-up.sql +467 -0
- package/db/migrations/postgresql/sqls/package.json +3 -0
- package/dist/integration-engine/CountersWorker.d.ts +14 -0
- package/dist/integration-engine/CountersWorker.js +120 -0
- package/dist/integration-engine/CountersWorker.js.map +1 -0
- package/dist/integration-engine/FlowWorker.js +6 -2
- package/dist/integration-engine/FlowWorker.js.map +1 -1
- package/dist/integration-engine/queueDefinitions.js +27 -0
- package/dist/integration-engine/queueDefinitions.js.map +1 -1
- package/dist/integration-engine/transformations/EcoCounterMeasurementsTransformation.d.ts +6 -0
- package/dist/integration-engine/transformations/EcoCounterMeasurementsTransformation.js +42 -0
- package/dist/integration-engine/transformations/EcoCounterMeasurementsTransformation.js.map +1 -0
- package/dist/integration-engine/transformations/EcoCounterTransformation.d.ts +17 -0
- package/dist/integration-engine/transformations/EcoCounterTransformation.js +99 -0
- package/dist/integration-engine/transformations/EcoCounterTransformation.js.map +1 -0
- package/dist/output-gateway/models/PedestriansLocationsModel.js +4 -2
- package/dist/output-gateway/models/PedestriansLocationsModel.js.map +1 -1
- package/dist/output-gateway/models/PedestriansMeasurementsModel.js +4 -2
- package/dist/output-gateway/models/PedestriansMeasurementsModel.js.map +1 -1
- package/dist/schema-definitions/index.d.ts +185 -0
- package/dist/schema-definitions/index.js +197 -2
- package/dist/schema-definitions/index.js.map +1 -1
- package/docs/assets/flow_erd.png +0 -0
- package/docs/implementation_documentation_CZ.md +157 -0
- package/docs/implementation_documentation_Counters.md +166 -0
- package/package.json +62 -58
package/package.json
CHANGED
|
@@ -1,60 +1,64 @@
|
|
|
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
|
-
|
|
2
|
+
"name": "@golemio/flow",
|
|
3
|
+
"version": "1.0.8-dev.577679507",
|
|
4
|
+
"description": "Golemio Flow 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
|
+
"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/flow"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@commitlint/cli": "^11.0.0",
|
|
29
|
+
"@commitlint/config-conventional": "^11.0.0",
|
|
30
|
+
"@golemio/cli": "1.2.1",
|
|
31
|
+
"@golemio/core": "1.2.13",
|
|
32
|
+
"@golemio/db-common": "1.0.1",
|
|
33
|
+
"@golemio/eslint-config": "^1.0.2",
|
|
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": "^8.2.0",
|
|
38
|
+
"@types/node": "^16.11.35",
|
|
39
|
+
"@types/sinon": "^9.0.10",
|
|
40
|
+
"chai": "4.2.0",
|
|
41
|
+
"chai-as-promised": "7.1.1",
|
|
42
|
+
"cross-env": "^7.0.3",
|
|
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
|
+
"ts-node": "^10.7.0",
|
|
54
|
+
"ttypescript": "^1.5.13",
|
|
55
|
+
"typedoc": "^0.22.15",
|
|
56
|
+
"typescript": "4.6.4"
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"JSONStream": "^1.0.4"
|
|
60
|
+
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"@golemio/core": "^1.0.0"
|
|
63
|
+
}
|
|
60
64
|
}
|