added mission fields
This commit is contained in:
24
packages/database/prisma/json/MissionVehicleLog.ts
Normal file
24
packages/database/prisma/json/MissionVehicleLog.ts
Normal 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;
|
||||
Reference in New Issue
Block a user