Made Aircrafts fetch from Server. Added OSM Objects to mission
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
export interface MissionVehicleLog {
|
||||
wayID: string;
|
||||
tags: string[];
|
||||
export interface OSMWay {
|
||||
wayID: number;
|
||||
tags: Record<string, string>;
|
||||
nodes: {
|
||||
lat: number;
|
||||
lon: number;
|
||||
};
|
||||
}[];
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
export * from "./ParticipantLog";
|
||||
export * from "./MissionVehicleLog";
|
||||
export * from "./User";
|
||||
export * from "./OSMway";
|
||||
|
||||
@@ -3,6 +3,16 @@ model ConnectedAircraft {
|
||||
userId String
|
||||
publicUser Json
|
||||
lastHeartbeat DateTime @default(now())
|
||||
fmsStatus String @default("6")
|
||||
// position:
|
||||
posLat Float?
|
||||
posLng Float?
|
||||
posAlt Int?
|
||||
posSpeed Int?
|
||||
posHeading Int?
|
||||
simulator String?
|
||||
simulatorConnected Boolean @default(false)
|
||||
posH145active Boolean @default(false)
|
||||
stationId Int
|
||||
loginTime DateTime @default(now())
|
||||
esimatedLogoutTime DateTime?
|
||||
|
||||
Reference in New Issue
Block a user