mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 01:28:55 +00:00
fix(ci): repair trip assistant checks
Fix the mobile dashboard import and align the assistant UI with client layer and lint rules. Document the OpenRouter setting, share the reservation status schema, and update coverage for external POI identifiers and the empty costs view.
This commit is contained in:
@@ -28,6 +28,9 @@ export const reservationTypeSchema = z.enum(RESERVATION_TYPE_KEYS).or(z.string()
|
||||
/** A reservation's `status` as the API returns it: a known status, or a stored value outside them. */
|
||||
export const reservationStatusSchema = z.enum(RESERVATION_STATUSES).or(z.string());
|
||||
|
||||
/** A new reservation starts pending or already confirmed. */
|
||||
export const initialReservationStatusSchema = z.enum(['pending', 'confirmed']);
|
||||
|
||||
// Inside reservationSchema the two fields stay z.string(), described by the
|
||||
// catalog. Zod 4 types a union field as optional for a consumer compiled
|
||||
// without strictNullChecks (the client), so the union there would loosen the
|
||||
|
||||
Reference in New Issue
Block a user