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",
"version": "0.1.8",
"version": "0.1.9",
"description": "Declares Typescript types for the OwlBoard stack",
"main": "index.ts",
"scripts": {

View File

@ -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 }