added mission fields

This commit is contained in:
PxlLoewe
2025-04-23 19:01:26 -07:00
parent 3761943cc2
commit f6e4449f68
12 changed files with 198 additions and 113 deletions

View File

@@ -0,0 +1,24 @@
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;