rename passedStations to stopovers

This commit is contained in:
Milan 2018-12-13 18:28:14 +01:00 committed by Jannis R
parent 4dbc097d57
commit a4e46ff055
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5

View file

@ -112,7 +112,7 @@ Output from [`require('db-hafas').journeys(…)`](https://github.com/derhuerst/d
- `when`: A [UNIX timestamp](https://en.wikipedia.org/wiki/Unix_time) or anything parsable by [`parse-messy-time`](https://github.com/substack/parse-messy-time#example). Default: now. - `when`: A [UNIX timestamp](https://en.wikipedia.org/wiki/Unix_time) or anything parsable by [`parse-messy-time`](https://github.com/substack/parse-messy-time#example). Default: now.
- `results`: Maximum number of results. Default: `5`. - `results`: Maximum number of results. Default: `5`.
- `via`: Station ID. Default: `null`. - `via`: Station ID. Default: `null`.
- `passedStations`: Return stations on the way? Default: `false`. - `stopovers`: Return stations on the way? Default: `false`.
- `transfers`: Maximum number of transfers. Default: `5`. - `transfers`: Maximum number of transfers. Default: `5`.
- `transferTime`: Minimum time in minutes for a single transfer. Default: `0`. - `transferTime`: Minimum time in minutes for a single transfer. Default: `0`.
- `accessibility`: Possible values: `partial`, `complete`. Default: `none`. - `accessibility`: Possible values: `partial`, `complete`. Default: `none`.