updated librarys for dispatch
This commit is contained in:
@@ -92,10 +92,20 @@ export const MissionForm = () => {
|
|||||||
({
|
({
|
||||||
createdUserId: session.data?.user.id,
|
createdUserId: session.data?.user.id,
|
||||||
type: "primär",
|
type: "primär",
|
||||||
|
addressLat: 0,
|
||||||
|
addressLng: 0,
|
||||||
|
addressStreet: null,
|
||||||
|
addressCity: null,
|
||||||
|
addressZip: null,
|
||||||
|
addressAdditionalInfo: "",
|
||||||
|
addressMissionDestination: "",
|
||||||
addressOSMways: [],
|
addressOSMways: [],
|
||||||
missionKeywordAbbreviation: null as any,
|
missionKeywordAbbreviation: null as any,
|
||||||
missionKeywordCategory: null as any,
|
missionKeywordCategory: null as any,
|
||||||
missionKeywordName: null as any,
|
missionKeywordName: null as any,
|
||||||
|
missionAdditionalInfo: "",
|
||||||
|
missionPatientInfo: "",
|
||||||
|
missionStationIds: [],
|
||||||
hpgAmbulanceState: "NOT_REQUESTED",
|
hpgAmbulanceState: "NOT_REQUESTED",
|
||||||
hpgFireEngineState: "NOT_REQUESTED",
|
hpgFireEngineState: "NOT_REQUESTED",
|
||||||
hpgPoliceState: "NOT_REQUESTED",
|
hpgPoliceState: "NOT_REQUESTED",
|
||||||
@@ -103,11 +113,11 @@ export const MissionForm = () => {
|
|||||||
hpgSelectedMissionString: null,
|
hpgSelectedMissionString: null,
|
||||||
hpg: null,
|
hpg: null,
|
||||||
missionLog: [],
|
missionLog: [],
|
||||||
}) as Partial<MissionOptionalDefaults>,
|
}) as MissionOptionalDefaults,
|
||||||
[session.data?.user.id],
|
[session.data?.user.id],
|
||||||
);
|
);
|
||||||
|
|
||||||
const form = useForm<MissionOptionalDefaults>({
|
const form = useForm({
|
||||||
resolver: zodResolver(MissionOptionalDefaultsSchema),
|
resolver: zodResolver(MissionOptionalDefaultsSchema),
|
||||||
defaultValues: defaultFormValues,
|
defaultValues: defaultFormValues,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
"check-types": "tsc --noEmit"
|
"check-types": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hookform/resolvers": "^5.0.1",
|
"@hookform/resolvers": "^5.1.1",
|
||||||
"@livekit/components-react": "^2.9.9",
|
"@livekit/components-react": "^2.9.12",
|
||||||
"@livekit/components-styles": "^1.1.6",
|
"@livekit/components-styles": "^1.1.6",
|
||||||
"@livekit/track-processors": "^0.5.7",
|
"@livekit/track-processors": "^0.5.7",
|
||||||
"@next-auth/prisma-adapter": "^1.0.7",
|
"@next-auth/prisma-adapter": "^1.0.7",
|
||||||
@@ -22,15 +22,15 @@
|
|||||||
"@repo/eslint-config": "workspace:*",
|
"@repo/eslint-config": "workspace:*",
|
||||||
"@repo/shared-components": "workspace:*",
|
"@repo/shared-components": "workspace:*",
|
||||||
"@repo/typescript-config": "workspace:*",
|
"@repo/typescript-config": "workspace:*",
|
||||||
"@tailwindcss/postcss": "^4.1.8",
|
"@tailwindcss/postcss": "^4.1.11",
|
||||||
"@tanstack/react-query": "^5.79.0",
|
"@tanstack/react-query": "^5.81.5",
|
||||||
"@turf/turf": "^7.2.0",
|
"@turf/turf": "^7.2.0",
|
||||||
"@types/jsonwebtoken": "^9.0.9",
|
"@types/jsonwebtoken": "^9.0.10",
|
||||||
"@types/leaflet": "^1.9.18",
|
"@types/leaflet": "^1.9.19",
|
||||||
"@types/node": "^22.15.29",
|
"@types/node": "^22.15.34",
|
||||||
"@types/react": "^19.1.6",
|
"@types/react": "^19.1.8",
|
||||||
"@types/react-dom": "^19.1.5",
|
"@types/react-dom": "^19.1.6",
|
||||||
"axios": "^1.9.0",
|
"axios": "^1.10.0",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"daisyui": "^5.0.43",
|
"daisyui": "^5.0.43",
|
||||||
"date-fns": "^4.1.0",
|
"date-fns": "^4.1.0",
|
||||||
@@ -39,26 +39,26 @@
|
|||||||
"jsonwebtoken": "^9.0.2",
|
"jsonwebtoken": "^9.0.2",
|
||||||
"leaflet": "^1.9.4",
|
"leaflet": "^1.9.4",
|
||||||
"leaflet.polylinemeasure": "^3.0.0",
|
"leaflet.polylinemeasure": "^3.0.0",
|
||||||
"livekit-client": "^2.13.3",
|
"livekit-client": "^2.14.0",
|
||||||
"livekit-server-sdk": "^2.13.0",
|
"livekit-server-sdk": "^2.13.1",
|
||||||
"lucide-react": "^0.511.0",
|
"lucide-react": "^0.511.0",
|
||||||
"next": "^15.3.3",
|
"next": "^15.3.4",
|
||||||
"next-auth": "^4.24.11",
|
"next-auth": "^4.24.11",
|
||||||
"npm": "^11.4.1",
|
"npm": "^11.4.2",
|
||||||
"postcss": "^8.5.4",
|
"postcss": "^8.5.6",
|
||||||
"react": "^19.1.0",
|
"react": "^19.1.0",
|
||||||
"react-dom": "^19.1.0",
|
"react-dom": "^19.1.0",
|
||||||
"react-error-boundary": "^6.0.0",
|
"react-error-boundary": "^6.0.0",
|
||||||
"react-hook-form": "^7.56.4",
|
"react-hook-form": "^7.59.0",
|
||||||
"react-hot-toast": "^2.5.2",
|
"react-hot-toast": "^2.5.2",
|
||||||
"react-leaflet": "^5.0.0",
|
"react-leaflet": "^5.0.0",
|
||||||
"react-select": "^5.10.1",
|
"react-select": "^5.10.1",
|
||||||
"socket.io-client": "^4.8.1",
|
"socket.io-client": "^4.8.1",
|
||||||
"tailwind-merge": "^3.3.0",
|
"tailwind-merge": "^3.3.1",
|
||||||
"tailwindcss": "^4.1.8",
|
"tailwindcss": "^4.1.11",
|
||||||
"typescript": "^5.8.3",
|
"typescript": "^5.8.3",
|
||||||
"zod": "^3.25.46",
|
"zod": "^3.25.67",
|
||||||
"zustand": "^5.0.5",
|
"zustand": "^5.0.6",
|
||||||
"zustand-sync-tabs": "^0.2.2"
|
"zustand-sync-tabs": "^0.2.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import Events from "./_components/FeaturedEvents";
|
|||||||
import { Stats } from "./_components/Stats";
|
import { Stats } from "./_components/Stats";
|
||||||
import { Badges } from "./_components/Badges";
|
import { Badges } from "./_components/Badges";
|
||||||
import { RecentFlights } from "(app)/_components/RecentFlights";
|
import { RecentFlights } from "(app)/_components/RecentFlights";
|
||||||
import { Penalty } from "_components/Penalty";
|
|
||||||
|
|
||||||
export default async function Home({
|
export default async function Home({
|
||||||
searchParams,
|
searchParams,
|
||||||
|
|||||||
664
pnpm-lock.yaml
generated
664
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user