Commit graph

17 commits

Author SHA1 Message Date
Jannis R
8881d8a1a4
parse fns: individual params -> data object 💥
From now on, all higher-level parse fns will be able to access more
of the response data while keeping their signature.

- parseLine
- parseDeparture
- parseJourney
- parseJourneyLeg
- parseLocation
- parseMovement
- parsePolyline
- parseNearby
- parseStopover
2018-06-13 20:05:24 +02:00
Jannis R
21c273cec7
journey leg passed stations: parse & expose delays 2018-06-07 18:52:47 +02:00
Jannis R
98139f9210
prepare move to public-transport org 2018-03-19 22:34:08 +01:00
Jannis R
bdad9c6ef6
parseStopover: cancelled arrival & departure 🐛
also clean up parseMovement and add DRY todos
2018-03-17 17:16:03 +01:00
Jannis R
7ce65ca480
departures, journeys: canceled, former scheduled time
see public-transport/friendly-public-transport-format#27
2018-03-08 03:28:26 +01:00
Jannis R
eddf110894
parseLine: don't use prodCtx.num 🐛 2018-01-23 02:37:08 +01:00
Jannis R
c304119de5
bugfixes 🐛💚, update deps 2017-12-19 01:40:59 +01:00
Jannis R
f6077d5b6d
cancelled flag for departures & passed stations
ported abf323d over from master
2017-12-18 21:17:32 +01:00
Jannis R
b0157c75d5
update validate-fptf 🐛, expose movement trip, add more todos 2017-12-16 02:28:09 +01:00
Jannis R
a2fa56edc1
more bugfixes 🐛 2017-12-11 20:04:32 +01:00
Jannis R
14cdc77c0f
moment-timezone -> luxon, parse DateTimes with locale 2017-12-11 17:28:29 +01:00
Jannis R
3ea4fd3e40
bugfixes 🐛, rename dep.ref -> dep.journeyId 2017-12-11 15:20:50 +01:00
Jannis R
d77c450d11
fix products parsing 🐛, minor changes 2017-12-11 15:08:11 +01:00
Jannis R
3c9f3393ba
pass in parsers 2017-11-12 01:23:34 +01:00
Jannis R
73d083f418
parse: default to null 2017-11-12 00:36:13 +01:00
Jannis R
fb43a4e43b
code style 👕
- rename variables
- more consistent indentation
- give crucial anonymous functions a name
- add more TODOs
2017-11-12 00:05:32 +01:00
Jannis R
79db55d99c
split parse.js 2017-11-11 22:45:17 +01:00