Expand database Service document

This commit is contained in:
Fred Boniface 2024-04-07 21:27:44 +01:00
parent 92ec756bf8
commit c3094ffcbb
2 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@owlboard/ts-types", "name": "@owlboard/ts-types",
"version": "0.1.8", "version": "0.1.9",
"description": "Declares Typescript types for the OwlBoard stack", "description": "Declares Typescript types for the OwlBoard stack",
"main": "index.ts", "main": "index.ts",
"scripts": { "scripts": {

View File

@ -3,6 +3,10 @@ interface Stop {
wttDeparture?: string | null; wttDeparture?: string | null;
publicArrival?: string | null; publicArrival?: string | null;
wttArrival?: string | null; wttArrival?: string | null;
pass?: string | null;
platform?: string | null;
arrLine?: string | null;
depLine?: string | null;
isPublic: boolean; isPublic: boolean;
tiploc: string; tiploc: string;
} }
@ -28,6 +32,10 @@ interface Service {
daysRun: string[]; daysRun: string[];
stops: Stop[]; stops: Stop[];
vstp: boolean; vstp: boolean;
firstClass: boolean;
catering: boolean;
cateringType?: string[] | null;
sleeper: boolean;
} }
export { Stop, Service, SimpleService } export { Stop, Service, SimpleService }