This commit is contained in:
PxlLoewe
2025-10-16 11:17:52 +02:00
parent 1919227cd4
commit b5f07071a5
9 changed files with 76 additions and 34 deletions

View File

@@ -0,0 +1,7 @@
export interface XplaneObject {
objectName: string;
lat: number;
lon: number;
heading: number;
alt: number;
}

View File

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

View File

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Mission" ADD COLUMN "xPlaneObjects" JSONB[] DEFAULT ARRAY[]::JSONB[];

View File

@@ -19,6 +19,7 @@ model Mission {
missionStationIds Int[] @default([])
missionStationUserIds String[] @default([])
missionLog Json[] @default([])
xPlaneObjects Json[] @default([])
hpgMissionString String?
hpgSelectedMissionString String?
hpgAmbulanceState HpgState? @default(NOT_REQUESTED)