@golemio/pid 4.1.4-dev.2078732504 → 4.1.4-dev.2098048300

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.
@@ -1427,9 +1427,10 @@ paths:
1427
1427
  required: false
1428
1428
  schema:
1429
1429
  type: number
1430
+ format: int64
1430
1431
  default: 8
1431
- min: 1
1432
- max: 30
1432
+ minimum: 1
1433
+ maximum: 30
1433
1434
  responses:
1434
1435
  "200":
1435
1436
  description: List of possible transfers at the provided stop/node (identified by cisId or aswId)
@@ -1458,10 +1459,7 @@ paths:
1458
1459
  example: "Anděl"
1459
1460
  nullable: true
1460
1461
  icons:
1461
- type: array
1462
- items:
1463
- type: string
1464
- nullable: true
1462
+ $ref: "#/components/schemas/Icons"
1465
1463
  departures:
1466
1464
  type: array
1467
1465
  description: |
@@ -1533,10 +1531,7 @@ paths:
1533
1531
  description: True if the vehicle being used on this trip is wheelchair accessible. Metro trips are deemed accessible if the station is accessible.
1534
1532
  example: false
1535
1533
  icons:
1536
- type: array
1537
- items:
1538
- type: string
1539
- nullable: true
1534
+ $ref: "#/components/schemas/Icons"
1540
1535
  substitution_text:
1541
1536
  type: object
1542
1537
  required:
@@ -2924,6 +2919,32 @@ components:
2924
2919
  - node
2925
2920
  - stop
2926
2921
 
2922
+ Icons:
2923
+ type: array
2924
+ example: ["metro"]
2925
+ items:
2926
+ type: string
2927
+ nullable: true
2928
+ enum:
2929
+ - metro
2930
+ - tram
2931
+ - bus
2932
+ - trolleybus
2933
+ - train
2934
+ - funicular
2935
+ - aerial
2936
+ - ferry
2937
+ - airport
2938
+ - airport_bus
2939
+ - airport_trolleybus
2940
+ - airport_train
2941
+ - a
2942
+ - b
2943
+ - c
2944
+ - d
2945
+ - s_bahn
2946
+ - space
2947
+
2927
2948
  PIDDepartureBoardStopReference:
2928
2949
  title: PID Departure Board Stop Reference
2929
2950
  type: object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/pid",
3
- "version": "4.1.4-dev.2078732504",
3
+ "version": "4.1.4-dev.2098048300",
4
4
  "description": "Golemio PID Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",