2023-08-26 00:38:26 +01:00
|
|
|
import type {
|
|
|
|
StaffLdb,
|
|
|
|
NrccMessage,
|
|
|
|
TrainServices,
|
|
|
|
ServiceLocation,
|
|
|
|
} from "@owlboard/ts-types";
|
2023-08-02 21:32:58 +01:00
|
|
|
|
|
|
|
export const outputs: StaffLdb[] = [
|
2023-08-01 21:34:30 +01:00
|
|
|
{
|
|
|
|
generatedAt: expect.any(Date),
|
|
|
|
locationName: "Railway Station",
|
|
|
|
stationManagerCode: "RT",
|
|
|
|
nrccMessages: [
|
|
|
|
{
|
|
|
|
severity: "minor",
|
2023-08-26 00:38:26 +01:00
|
|
|
xhtmlMessage: "Minor Alert",
|
|
|
|
},
|
2023-08-01 21:34:30 +01:00
|
|
|
],
|
|
|
|
trainServices: [
|
|
|
|
{
|
|
|
|
rid: "202308017159276",
|
|
|
|
uid: "G59276",
|
2023-08-01 23:09:20 +01:00
|
|
|
trainid: "1M83",
|
2023-08-01 21:34:30 +01:00
|
|
|
operatorCode: "XC",
|
|
|
|
sta: expect.any(Date),
|
|
|
|
ata: expect.any(Date),
|
|
|
|
arrivalType: "Actual",
|
|
|
|
std: expect.any(Date),
|
2023-09-14 21:14:13 +01:00
|
|
|
etd: "RT",
|
2023-08-01 21:34:30 +01:00
|
|
|
departureType: "Estimated",
|
|
|
|
platform: "5",
|
2023-08-05 23:05:28 +01:00
|
|
|
length: 10,
|
2023-08-01 21:34:30 +01:00
|
|
|
origin: [
|
|
|
|
{
|
2023-08-26 00:38:26 +01:00
|
|
|
tiploc: "PLYMTH",
|
|
|
|
},
|
2023-08-01 21:34:30 +01:00
|
|
|
],
|
|
|
|
destination: [
|
|
|
|
{
|
2023-08-26 00:38:26 +01:00
|
|
|
tiploc: "BHAMNWS",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2023-08-01 22:45:08 +01:00
|
|
|
],
|
|
|
|
busServices: [],
|
2023-08-26 00:38:26 +01:00
|
|
|
ferryServices: [],
|
2023-08-01 21:34:30 +01:00
|
|
|
},
|
2023-09-11 20:47:24 +01:00
|
|
|
{
|
|
|
|
generatedAt: expect.any(Date),
|
|
|
|
locationName: "Railway Station",
|
|
|
|
stationManagerCode: "RT",
|
|
|
|
trainServices: [
|
|
|
|
{
|
|
|
|
rid: "202308017159276",
|
|
|
|
uid: "G59276",
|
|
|
|
trainid: "1M83",
|
|
|
|
operatorCode: "XC",
|
|
|
|
sta: expect.any(Date),
|
|
|
|
ata: expect.any(Date),
|
|
|
|
arrivalType: "Actual",
|
|
|
|
std: expect.any(Date),
|
2023-09-14 21:14:13 +01:00
|
|
|
etd: "RT",
|
2023-09-11 20:47:24 +01:00
|
|
|
departureType: "Estimated",
|
|
|
|
platform: "5",
|
|
|
|
length: 10,
|
|
|
|
origin: [
|
|
|
|
{
|
|
|
|
tiploc: "PLYMTH",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
destination: [
|
|
|
|
{
|
|
|
|
tiploc: "BHAMNWS",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
busServices: [],
|
|
|
|
ferryServices: [],
|
|
|
|
},
|
2023-08-26 00:38:26 +01:00
|
|
|
];
|