parseTrip: remove trip.reachable 💥

This commit is contained in:
Jannis R 2022-01-04 15:31:11 +01:00
parent 30cb1f3d28
commit b740539081
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
5 changed files with 1 additions and 5 deletions

View file

@ -27,7 +27,7 @@ const parseTrip = (ctx, t) => { // t = raw trip
const trip = profile.parseJourneyLeg(ctx, fakeLeg, date)
trip.id = trip.tripId
delete trip.tripId
// todo [breaking]: delete trip.reachable
delete trip.reachable
if (opt.scheduledDays) {
const nrOfStopovers = t.stopL.length

View file

@ -3,7 +3,6 @@
module.exports = {
id: '1|6849|3|86|1112021',
direction: 'S Ostbahnhof via S+U Wedding',
reachable: true,
line: {
type: 'line',
id: '147',

View file

@ -108,7 +108,6 @@ module.exports = {
plannedDeparture: '2020-06-11T16:33:00+02:00',
departureDelay: null,
departurePrognosisType: 'prognosed',
reachable: true,
line: {
type: 'line',
id: 'rj-742',

View file

@ -1,7 +1,6 @@
'use strict'
module.exports = {
reachable: true, // todo: drop this field
id: '1|307|4|86|12102021',
direction: 'CPH Lufthavn',
currentLocation: {

View file

@ -19,7 +19,6 @@ module.exports = {
name: 'Verkehrsgesellschaft Teltow-Fläming mbH'
},
},
reachable: true,
origin: {},
departure: null,