25 lines
434 B
TypeScript
25 lines
434 B
TypeScript
import { Station, User } from "../../generated/client";
|
|
|
|
export interface MissionStationLog {
|
|
type: "station-log";
|
|
auto: true;
|
|
data: {
|
|
stationId: string;
|
|
oldFMSstatus: string;
|
|
newFMSstatus: string;
|
|
station: Station;
|
|
user: User;
|
|
};
|
|
}
|
|
|
|
export interface MissionMessageLog {
|
|
type: "message-log";
|
|
auto: false;
|
|
data: {
|
|
message: string;
|
|
user: User;
|
|
};
|
|
}
|
|
|
|
export type MissionLog = MissionStationLog | MissionMessageLog;
|