@golemio/pid 2.10.2 → 2.10.3

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.
@@ -559,7 +559,7 @@ paths:
559
559
  required: false
560
560
  schema:
561
561
  type: string
562
- example: "Europe%2FPrague"
562
+ example: "Europe_Prague"
563
563
  - name: routeId
564
564
  in: query
565
565
  description: Filter result by route id
@@ -640,7 +640,7 @@ paths:
640
640
  required: false
641
641
  schema:
642
642
  type: string
643
- example: "Europe%2FPrague"
643
+ example: "Europe_Prague"
644
644
  responses:
645
645
  "200":
646
646
  description: successful operation
@@ -752,7 +752,7 @@ paths:
752
752
  example: "U458Z101P"
753
753
  - name: aswIds
754
754
  in: query
755
- description: Get result by ASW ID. First part of the number represents the whole node. Usually it groups the stops of the same name or all stops associated with a metro station. Also returns related train stations in the node. The second part of the number is optional and represents individual stops in the node. Use `_` instead of `/` as a separator or encode the slash sign with `%2F`. A list of ASW IDs can be found in [Prague Open data](//opendata.praha.eu/dataset/zastavky-a-oznacniky-pid).
755
+ description: "Get result by ASW ID. First part of the number represents the whole node. Usually it groups the stops of the same name or all stops associated with a metro station. Also returns related train stations in the node. The second part of the number is optional and represents individual stops in the node. Use `_` instead of `/` as a separator or encode the slash sign with `%2F`. A list of ASW IDs can be found in [Prague Open data](//opendata.praha.eu/dataset/zastavky-a-oznacniky-pid). ⚠️ Note: combination with `includeMetroTrains` is currently not supported, see [issue pid#222](https://gitlab.com/operator-ict/golemio/code/modules/pid/-/issues/222)."
756
756
  required: false
757
757
  schema:
758
758
  type: string
@@ -770,7 +770,7 @@ paths:
770
770
  required: false
771
771
  schema:
772
772
  type: string
773
- example: "Smíchovské"
773
+ example: "Smíchovské nádraží"
774
774
  - name: minutesBefore
775
775
  in: query
776
776
  description: Set the start of interval from which to retrieve departures. Positive numbers are set in past relative to the time of request or `timeFrom` timestamp, negative numbers set the start in the future. Use to compensate for walking distance to a stop. Default is set to 0. Maximum value is 30 because of implemented data retention.
@@ -794,7 +794,7 @@ paths:
794
794
  example: "2021-01-21T06:00:00"
795
795
  - name: includeMetroTrains
796
796
  in: query
797
- description: When selecting a node by `name`, when `true`, will include metro and/or train stops that are a member of the same node. I.e. when querying _Na Knížecí_, setting this to `true` will add the metro station _Anděl_ to results as well because both have the same ASW node number 1040.
797
+ description: "When selecting a node by `name`, when `true`, will include metro and/or train stops that are a member of the same node. I.e. when querying _Na Knížecí_, setting this to `true` will add the metro station _Anděl_ to results as well because both have the same ASW node number 1040. ⚠️ Note: combination with `aswIds` is currently not supported, see [issue pid#222](https://gitlab.com/operator-ict/golemio/code/modules/pid/-/issues/222)."
798
798
  required: false
799
799
  schema:
800
800
  type: boolean
@@ -813,7 +813,7 @@ paths:
813
813
  required: false
814
814
  schema:
815
815
  type: string
816
- example: "Europe%2FPrague"
816
+ example: "Europe_Prague"
817
817
  - name: mode
818
818
  in: query
819
819
  description: >-
@@ -1987,7 +1987,7 @@ components:
1987
1987
  type: object
1988
1988
  properties:
1989
1989
  gtfs_trip_id:
1990
- type: string
1990
+ type: string
1991
1991
  example: 705_735_231002
1992
1992
  gtfs_route_type:
1993
1993
  type: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/pid",
3
- "version": "2.10.2",
3
+ "version": "2.10.3",
4
4
  "description": "Golemio PID Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -85,4 +85,4 @@
85
85
  "html-entities": "^2.3.3",
86
86
  "pg-copy-streams": "^5.1.1"
87
87
  }
88
- }
88
+ }