Added Aircraft log to mission
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Station, User } from "../../generated/client";
|
||||
import { Station } from "../../generated/client";
|
||||
import { PublicUser } from "./User";
|
||||
|
||||
export interface MissionStationLog {
|
||||
@@ -6,11 +6,23 @@ export interface MissionStationLog {
|
||||
auto: true;
|
||||
timeStamp: string;
|
||||
data: {
|
||||
stationId: string;
|
||||
stationId: number;
|
||||
oldFMSstatus: string;
|
||||
newFMSstatus: string;
|
||||
station: Station;
|
||||
user: User;
|
||||
user: PublicUser;
|
||||
};
|
||||
}
|
||||
|
||||
export interface MissionSdsLog {
|
||||
type: "sds-log";
|
||||
auto: false;
|
||||
timeStamp: string;
|
||||
data: {
|
||||
station: Station;
|
||||
user: PublicUser;
|
||||
stationId: number;
|
||||
message: string;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -25,4 +37,4 @@ export interface MissionMessageLog {
|
||||
};
|
||||
}
|
||||
|
||||
export type MissionLog = MissionStationLog | MissionMessageLog;
|
||||
export type MissionLog = MissionStationLog | MissionMessageLog | MissionSdsLog;
|
||||
|
||||
Reference in New Issue
Block a user