Made Aircrafts fetch from Server. Added OSM Objects to mission

This commit is contained in:
PxlLoewe
2025-05-07 22:31:49 -07:00
parent 99531e9abf
commit 1948d34963
23 changed files with 477 additions and 318 deletions

View File

@@ -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;
};
}[];
}

View File

@@ -1,3 +1,4 @@
export * from "./ParticipantLog";
export * from "./MissionVehicleLog";
export * from "./User";
export * from "./OSMway";

View File

@@ -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?