@golemio/bicycle-counters 1.3.5-dev.1510446754 → 1.3.5-dev.1818724242
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/docs/openapi.yaml +8 -8
- package/package.json +4 -2
package/docs/openapi.yaml
CHANGED
|
@@ -145,13 +145,13 @@ paths:
|
|
|
145
145
|
description: Date in ISO8601, limits data measured from this datetime
|
|
146
146
|
schema:
|
|
147
147
|
type: string
|
|
148
|
-
example: "
|
|
148
|
+
example: "2020-03-13T10:54:00.000Z"
|
|
149
149
|
- name: to
|
|
150
150
|
in: query
|
|
151
151
|
description: Date in ISO8601, limits data measured up until this datetime
|
|
152
152
|
schema:
|
|
153
153
|
type: string
|
|
154
|
-
example: "
|
|
154
|
+
example: "2020-03-15T13:05:00.000Z"
|
|
155
155
|
- name: aggregate
|
|
156
156
|
in: query
|
|
157
157
|
description: sum aggregated by directions_id is returned
|
|
@@ -235,13 +235,13 @@ paths:
|
|
|
235
235
|
description: Date in ISO8601, limits data measured from this datetime
|
|
236
236
|
schema:
|
|
237
237
|
type: string
|
|
238
|
-
example: "
|
|
238
|
+
example: "2020-03-14T09:20:00.000Z"
|
|
239
239
|
- name: to
|
|
240
240
|
in: query
|
|
241
241
|
description: Date in ISO8601, limits data measured up until this datetime
|
|
242
242
|
schema:
|
|
243
243
|
type: string
|
|
244
|
-
example: "
|
|
244
|
+
example: "2020-03-14T10:20:00.000Z"
|
|
245
245
|
- name: aggregate
|
|
246
246
|
in: query
|
|
247
247
|
description: average aggregated by locations_id is returned
|
|
@@ -255,7 +255,7 @@ paths:
|
|
|
255
255
|
type: array
|
|
256
256
|
items:
|
|
257
257
|
type: string
|
|
258
|
-
example: camea-
|
|
258
|
+
example: camea-BC_VK-HRUP
|
|
259
259
|
- name: x-access-token
|
|
260
260
|
in: header
|
|
261
261
|
description: e.g. YOUR_ACCESS_TOKEN
|
|
@@ -382,7 +382,7 @@ components:
|
|
|
382
382
|
type: number
|
|
383
383
|
example: 3
|
|
384
384
|
value_pedestrians:
|
|
385
|
-
type:
|
|
385
|
+
type: string
|
|
386
386
|
example: 7
|
|
387
387
|
locations_id:
|
|
388
388
|
type: string
|
|
@@ -394,7 +394,7 @@ components:
|
|
|
394
394
|
type: string
|
|
395
395
|
example: 2019-05-18T07:38:37.000Z
|
|
396
396
|
measurement_count:
|
|
397
|
-
type:
|
|
397
|
+
type: string
|
|
398
398
|
example: 1
|
|
399
399
|
BicycleCounterDirection:
|
|
400
400
|
title: Bicycle Counter Direction
|
|
@@ -428,5 +428,5 @@ components:
|
|
|
428
428
|
type: string
|
|
429
429
|
example: "2019-05-18T07:38:37.000Z"
|
|
430
430
|
measurement_count:
|
|
431
|
-
type:
|
|
431
|
+
type: string
|
|
432
432
|
example: 1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/bicycle-counters",
|
|
3
|
-
"version": "1.3.5-dev.
|
|
3
|
+
"version": "1.3.5-dev.1818724242",
|
|
4
4
|
"description": "Golemio Bicycle Counters Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"test-debug": "run-s 'test -- --inspect-brk=9230'",
|
|
14
14
|
"code-coverage": "nyc run-s 'test -- -r source-map-support/register'",
|
|
15
15
|
"generate-docs": "typedoc --out docs/typedoc src",
|
|
16
|
-
"lint": "eslint \"{src,test}/**/*.ts\""
|
|
16
|
+
"lint": "eslint \"{src,test}/**/*.ts\"",
|
|
17
|
+
"apidocs-test": "cross-env NODE_ENV=test golemio swagger api-test --oas docs/openapi.yaml --script test/api-docs/server.js --config test/api-docs/portman-config.json"
|
|
17
18
|
},
|
|
18
19
|
"keywords": [
|
|
19
20
|
"golemio"
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
"npm": ">=8.0.0"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
33
|
+
"@apideck/portman": "^1.31.1",
|
|
32
34
|
"@commitlint/cli": "^11.0.0",
|
|
33
35
|
"@commitlint/config-conventional": "^11.0.0",
|
|
34
36
|
"@golemio/cli": "1.7.3",
|