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", "name": "@owlboard/ts-types",
"version": "0.1.9", "version": "0.1.10",
"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

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