StationStatus Toast hinzugefügt #45

This commit is contained in:
PxlLoewe
2025-07-07 01:55:45 -07:00
parent 7682f191c7
commit 9e4a46c595
13 changed files with 170 additions and 140 deletions

View File

@@ -1,7 +1,7 @@
import { ConnectedAircraft, PositionLog, Prisma, PublicUser, Station } from "@repo/db";
import axios from "axios";
import { serverApi } from "_helpers/axios";
import { checkSimulatorConnected } from "_helpers/simulatorConnected";
import { checkSimulatorConnected } from "@repo/shared-components";
export const getConnectedAircraftsAPI = async () => {
const res = await axios.get<(ConnectedAircraft & { Station: Station })[]>("/api/aircrafts"); // return only connected aircrafts