Update API types to use ServiceDetail

This commit is contained in:
Fred Boniface 2024-04-21 23:05:29 +01:00
parent be062b17e4
commit 899450707a

View File

@ -12,10 +12,15 @@ export interface OB_TrainTT_service {
daysRun: string[];
stops: OB_TrainTT_stopDetail[];
pis?: OB_Pis_SimpleObject;
vstp: boolean;
serviceDetail: OB_TrainTT_serviceDetail;
}
export interface OB_TrainTT_serviceDetail {
firstClass: boolean;
catering: boolean;
sleeper: boolean;
vstp: boolean;
guard: boolean;
}
export interface OB_TrainTT_stopDetail {