@golemio/air-quality-stations 1.0.4 → 1.0.5-dev.551875972
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/README.md +43 -4
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/integration-engine/index.js +5 -1
- package/dist/integration-engine/index.js.map +1 -1
- package/dist/output-gateway/index.js +5 -1
- package/dist/output-gateway/index.js.map +1 -1
- package/dist/output-gateway/models/AirQualityIndexesModel.d.ts +1 -0
- package/dist/output-gateway/models/AirQualityIndexesModel.js +3 -0
- package/dist/output-gateway/models/AirQualityIndexesModel.js.map +1 -1
- package/package.json +58 -59
package/README.md
CHANGED
|
@@ -1,7 +1,46 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<p>
|
|
3
|
+
<a href="https://operatorict.cz">
|
|
4
|
+
<img src="https://gitlab.com/operator-ict/golemio/code/modules/core/-/raw/development/.assets/oict_logo.png" alt="oict" width="100px" height="100px" />
|
|
5
|
+
</a>
|
|
6
|
+
<a href="https://golemio.cz">
|
|
7
|
+
<img src="https://gitlab.com/operator-ict/golemio/code/modules/core/-/raw/development/.assets/golemio_logo.png" alt="golemio" width="100px" height="100px" />
|
|
8
|
+
</a>
|
|
9
|
+
</p>
|
|
2
10
|
|
|
3
|
-
|
|
11
|
+
<h1>@golemio/air-quality-stations</h1>
|
|
4
12
|
|
|
5
|
-
|
|
13
|
+
<p>
|
|
14
|
+
<a href="https://gitlab.com/operator-ict/golemio/code/modules/air-quality-stations/commits/master">
|
|
15
|
+
<img src="https://gitlab.com/operator-ict/golemio/code/modules/air-quality-stations/badges/master/pipeline.svg" alt="pipeline">
|
|
16
|
+
</a>
|
|
17
|
+
<a href="https://gitlab.com/operator-ict/golemio/code/modules/air-quality-stations/commits/master">
|
|
18
|
+
<img src="https://gitlab.com/operator-ict/golemio/code/modules/air-quality-stations/badges/master/coverage.svg" alt="coverage">
|
|
19
|
+
</a>
|
|
20
|
+
<a href="./LICENSE">
|
|
21
|
+
<img src="https://img.shields.io/npm/l/@golemio/air-quality-stations" alt="license">
|
|
22
|
+
</a>
|
|
23
|
+
</p>
|
|
6
24
|
|
|
7
|
-
|
|
25
|
+
<p>
|
|
26
|
+
<a href="#installation">Installation</a> · <a href="./docs">Documentation</a> · <a href="https://operator-ict.gitlab.io/golemio/code/modules/air-quality-stations">TypeDoc</a>
|
|
27
|
+
</p>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
This module is intended for use with Golemio services. Refer [here](https://gitlab.com/operator-ict/golemio/code/modules/core/-/blob/development/README.md) for further information on usage, local development and more.
|
|
31
|
+
|
|
32
|
+
## Installation
|
|
33
|
+
|
|
34
|
+
The APIs may be unstable. Therefore, we recommend to install this module as an exact version.
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# Latest version
|
|
38
|
+
yarn add --exact @golemio/air-quality-stations@latest
|
|
39
|
+
|
|
40
|
+
# Development version
|
|
41
|
+
yarn add --exact @golemio/air-quality-stations@dev
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
<!-- ## Description -->
|
|
45
|
+
|
|
46
|
+
<!-- Insert module-specific info here -->
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kBAAkB;AAClB,gFAA+C;AAC/C,gFAAgD"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/integration-engine/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/integration-engine/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iBAAiB;AACjB,qEAAmD;AACnD,6DAA2C;AAC3C,qDAAmC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/output-gateway/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/output-gateway/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
|
|
@@ -4,6 +4,7 @@ export default class AirQualityIndexesModel extends SequelizeModel implements IG
|
|
|
4
4
|
constructor();
|
|
5
5
|
GetAll: (options?: IGeoJsonAllFilterParameters | undefined) => Promise<any>;
|
|
6
6
|
GetOne(id: any): Promise<any>;
|
|
7
|
+
GetProperties: () => never;
|
|
7
8
|
IsPrimaryIdNumber(idKey: string): Promise<boolean>;
|
|
8
9
|
PrimaryIdentifierSelection(arg0: string): object;
|
|
9
10
|
}
|
|
@@ -39,6 +39,9 @@ class AirQualityIndexesModel extends output_gateway_1.SequelizeModel {
|
|
|
39
39
|
}));
|
|
40
40
|
return (0, output_gateway_1.buildGeojsonFeatureCollection)(result === null || result === void 0 ? void 0 : result.map((element) => OutputDtoMapper_1.default.mapToFeatureItem(element)));
|
|
41
41
|
});
|
|
42
|
+
this.GetProperties = () => {
|
|
43
|
+
throw new Error("Method not implemented.");
|
|
44
|
+
};
|
|
42
45
|
}
|
|
43
46
|
GetOne(id) {
|
|
44
47
|
throw new Error("Method not implemented.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirQualityIndexesModel.js","sourceRoot":"","sources":["../../../src/output-gateway/models/AirQualityIndexesModel.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,iEAAwE;AACxE,0DAAgD;AAEhD,sEAA+H;AAE/H,mEAAiE;AACjE,gFAAwD;AACxD,uDAAoD;AAEpD,MAAqB,sBAAuB,SAAQ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
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
}
|
|
2
|
+
"name": "@golemio/air-quality-stations",
|
|
3
|
+
"version": "1.0.5-dev.551875972",
|
|
4
|
+
"description": "Golemio Air Quality Stations 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
|
+
"test": "cross-env NODE_ENV=test TS_NODE_COMPILER='ttypescript' mocha --exit --check-leaks --timeout 120000 -r ts-node/register 'test/**/*.test.ts'",
|
|
12
|
+
"test-debug": "run-s 'test --inspect-brk=9230'",
|
|
13
|
+
"code-coverage": "nyc run-s 'test -r source-map-support/register'",
|
|
14
|
+
"generate-docs": "typedoc --out docs/typedoc src",
|
|
15
|
+
"lint": "eslint \"{src,test}/**/*.ts\""
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"golemio"
|
|
19
|
+
],
|
|
20
|
+
"author": "Operator ICT, a.s.",
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://gitlab.com/operator-ict/golemio/code/modules/air-quality-stations"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@commitlint/cli": "^11.0.0",
|
|
28
|
+
"@commitlint/config-conventional": "^11.0.0",
|
|
29
|
+
"@golemio/core": "1.2.10-dev.544242823",
|
|
30
|
+
"@golemio/city-districts": "1.0.5-dev.551054240",
|
|
31
|
+
"@golemio/eslint-config": "^1.1.0",
|
|
32
|
+
"@ovos-media/ts-transform-paths": "^1.7.18-1",
|
|
33
|
+
"@types/chai": "4.2.3",
|
|
34
|
+
"@types/chai-as-promised": "7.1.2",
|
|
35
|
+
"@types/mocha": "^8.2.0",
|
|
36
|
+
"@types/node": "^16.11.35",
|
|
37
|
+
"@types/sinon": "^9.0.10",
|
|
38
|
+
"chai": "4.2.0",
|
|
39
|
+
"chai-as-promised": "7.1.1",
|
|
40
|
+
"cross-env": "^7.0.3",
|
|
41
|
+
"eslint": "^8.1.1",
|
|
42
|
+
"husky": "^4.3.7",
|
|
43
|
+
"mocha": "^8.2.1",
|
|
44
|
+
"npm-run-all": "^4.1.5",
|
|
45
|
+
"nyc": "^15.1.0",
|
|
46
|
+
"prettier": "^2.5.1",
|
|
47
|
+
"pretty-quick": "^3.1.3",
|
|
48
|
+
"rimraf": "^3.0.2",
|
|
49
|
+
"sinon": "^9.2.3",
|
|
50
|
+
"source-map-support": "0.5.9",
|
|
51
|
+
"ts-node": "^10.7.0",
|
|
52
|
+
"ttypescript": "^1.5.13",
|
|
53
|
+
"typedoc": "^0.22.15",
|
|
54
|
+
"typescript": "4.6.4"
|
|
55
|
+
},
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"@golemio/core": "^1.0.5",
|
|
58
|
+
"@golemio/city-districts": "^1.0.0"
|
|
59
|
+
}
|
|
61
60
|
}
|