chore: journey type fields for the test typecheck, prettier on the new shared schemas

This commit is contained in:
Maurice
2026-10-01 14:37:06 +02:00
parent b6b4904664
commit d694fc68f3
5 changed files with 18 additions and 10 deletions
+6 -4
View File
@@ -169,9 +169,11 @@ export type ActiveTripResponse = z.infer<typeof activeTripResponseSchema>;
* along for the card; title and date matching stays on the client.
*/
export const tripSearchResponseSchema = z.object({
matches: z.array(z.object({
trip_id: z.number(),
places: z.array(z.string()),
})),
matches: z.array(
z.object({
trip_id: z.number(),
places: z.array(z.string()),
}),
),
});
export type TripSearchResponse = z.infer<typeof tripSearchResponseSchema>;