feat(stores): location stores
Some checks failed
TrafficCue Server CI / check (push) Failing after 51s
TrafficCue Server CD / build (push) Successful in 1m51s

This commit is contained in:
2025-10-03 15:17:35 +02:00
parent c492e62d60
commit 94b4de4920

View File

@ -8,6 +8,7 @@ export const locationStore = z
lat: z.number().min(-90).max(90), lat: z.number().min(-90).max(90),
lng: z.number().min(-180).max(180), lng: z.number().min(-180).max(180),
name: z.string().min(1).max(100), name: z.string().min(1).max(100),
icon: z.string().min(1).max(100).optional(),
}) })
.strict(); .strict();