Add length property to StaffLdb interface

This commit is contained in:
Fred Boniface 2023-08-04 00:25:14 +01:00
parent e96f0e3bed
commit f5d140b6b5
2 changed files with 5 additions and 2 deletions

View File

@ -1,10 +1,12 @@
{ {
"name": "@owlboard/ts-types", "name": "@owlboard/ts-types",
"version": "0.0.5", "version": "0.0.6",
"description": "Declares Typescript types for the OwlBoard stack", "description": "Declares Typescript types for the OwlBoard stack",
"main": "index.ts", "main": "index.ts",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1",
"build": "echo \"Error: project contains only types, not buildable\" && exit 1",
"run": "echo \"Error: project contains only types, not runnable\" && exit 1"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -24,6 +24,7 @@ export interface TrainServices {
serviceIsSupressed?: string; serviceIsSupressed?: string;
origin: ServiceLocation[]; origin: ServiceLocation[];
destination: ServiceLocation[]; destination: ServiceLocation[];
length?: number;
isCancelled?: string; isCancelled?: string;
cancelReason?: string; cancelReason?: string;
delayReason?: string; delayReason?: string;