Remove catering type from Service object

This commit is contained in:
Fred Boniface 2024-04-08 16:02:40 +01:00
parent c3094ffcbb
commit 61909c0015
2 changed files with 15 additions and 16 deletions

View File

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

View File

@ -20,22 +20,21 @@ interface SimpleService {
interface Service {
transactionType: string;
stpIndicator: string;
operator: string;
trainUid: string;
headcode: string;
powerType: string;
planSpeed: string;
transactionType: string;
stpIndicator: string;
operator: string;
trainUid: string;
headcode: string;
powerType: string;
planSpeed: string;
scheduleStartDate: Date;
scheduleEndDate: Date;
daysRun: string[];
stops: Stop[];
vstp: boolean;
firstClass: boolean;
catering: boolean;
cateringType?: string[] | null;
sleeper: boolean;
scheduleEndDate: Date;
daysRun: string[];
stops: Stop[];
vstp: boolean;
firstClass: boolean;
catering: boolean;
sleeper: boolean;
}
export { Stop, Service, SimpleService }