@golemio/air-quality-stations 1.1.7 → 1.1.8-dev.1015954288

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 (2) hide show
  1. package/docs/openapi.yaml +18 -5
  2. package/package.json +4 -4
package/docs/openapi.yaml CHANGED
@@ -1,15 +1,28 @@
1
1
  openapi: 3.0.1
2
+
2
3
  info:
3
4
  title: 🌦 Air Quality
4
5
  version: 1.0.0
6
+ contact:
7
+ name: Golemio Prague Data Platform
8
+ email: golemio@operatorict.cz
9
+ url: https://golemio.cz
10
+
11
+ servers:
12
+ - url: https://rabin.golemio.cz
13
+ description: Test (development) server
14
+ - url: https://api.golemio.cz
15
+ description: Main (production) server
16
+
5
17
  tags:
6
- - name: 🌦 Air Quality
18
+ - name: 🌦 Air Quality (v2)
7
19
  description: <img src="https://img.shields.io/badge/opendata-available-green" alt="golemioapi-opendata-badge" /> 💡 Locations and Measurements of Air Quality in Prague
20
+
8
21
  paths:
9
- /airqualitystations/:
22
+ /v2/airqualitystations:
10
23
  get:
11
24
  tags:
12
- - 🌦 Air Quality
25
+ - 🌦 Air Quality (v2)
13
26
  summary: GET All Air Quality CHMI Stations
14
27
  parameters:
15
28
  - name: latlng
@@ -107,10 +120,10 @@ paths:
107
120
  example:
108
121
  error_message: Forbidden
109
122
  error_status: 403
110
- /airqualitystations/history/:
123
+ /v2/airqualitystations/history:
111
124
  get:
112
125
  tags:
113
- - 🌦 Air Quality
126
+ - 🌦 Air Quality (v2)
114
127
  summary: GET Air Quality Stations CHMI History
115
128
  parameters:
116
129
  - name: limit
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/air-quality-stations",
3
- "version": "1.1.7",
3
+ "version": "1.1.8-dev.1015954288",
4
4
  "description": "Golemio Air Quality Stations Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,7 +9,7 @@
9
9
  "build-minimal": "run-s 'build -- --sourceMap false --declaration false'",
10
10
  "build-watch": "run-s 'build -- --watch --preserveWatchOutput'",
11
11
  "pretest": "echo \"Running tests...\"",
12
- "test": "cross-env NODE_ENV=test mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r tsconfig-paths/register --file 'test/setup.ts' 'test/**/*.test.ts'",
12
+ "test": "cross-env NODE_ENV=test mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r tsconfig-paths/register -r dotenv/config --file 'test/setup.ts' 'test/**/*.test.ts'",
13
13
  "test-debug": "run-s 'test -- --inspect-brk=9230'",
14
14
  "apidocs-test": "npm run apidocs-test-output",
15
15
  "apidocs-test-output": "cross-env NODE_ENV=test golemio swagger api-test --oas docs/openapi.yaml --script test/api-docs/output-gateway/server.js",
@@ -37,7 +37,7 @@
37
37
  "@commitlint/config-conventional": "^11.0.0",
38
38
  "@golemio/city-districts": "1.2.7",
39
39
  "@golemio/cli": "1.5.0",
40
- "@golemio/core": "1.8.0",
40
+ "@golemio/core": "1.9.2-dev.1008079941",
41
41
  "@golemio/db-common": "1.1.1",
42
42
  "@golemio/eslint-config": "1.1.1",
43
43
  "@types/chai": "4.2.3",
@@ -67,6 +67,6 @@
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@golemio/city-districts": ">=1.0.5",
70
- "@golemio/core": ">=1.2.22"
70
+ "@golemio/core": ">=1.9.0"
71
71
  }
72
72
  }