From c3094ffcbb400b498dd5928b246ba1c02091bcb0 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sun, 7 Apr 2024 21:27:44 +0100 Subject: [PATCH] Expand database Service document --- package.json | 2 +- src/database/timetable.ts | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 18fc7ec..a93df89 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@owlboard/ts-types", - "version": "0.1.8", + "version": "0.1.9", "description": "Declares Typescript types for the OwlBoard stack", "main": "index.ts", "scripts": { diff --git a/src/database/timetable.ts b/src/database/timetable.ts index eae708e..d450421 100644 --- a/src/database/timetable.ts +++ b/src/database/timetable.ts @@ -3,6 +3,10 @@ interface Stop { wttDeparture?: string | null; publicArrival?: string | null; wttArrival?: string | null; + pass?: string | null; + platform?: string | null; + arrLine?: string | null; + depLine?: string | null; isPublic: boolean; tiploc: string; } @@ -28,6 +32,10 @@ interface Service { daysRun: string[]; stops: Stop[]; vstp: boolean; + firstClass: boolean; + catering: boolean; + cateringType?: string[] | null; + sleeper: boolean; } export { Stop, Service, SimpleService } \ No newline at end of file