feat(SW-977): Add more controls if Json is valid

This commit is contained in:
Pontus Dreij
2024-12-17 15:29:20 +01:00
parent 3cd893e088
commit 24ef1e98e0
6 changed files with 31 additions and 25 deletions

View File

@@ -1,12 +1,10 @@
import { VariantProps } from "class-variance-authority"
import { z } from "zod"
import { bookingWidgetSchema } from "@/components/Forms/BookingWidget/schema"
import { bookingWidgetVariants } from "@/components/Forms/BookingWidget/variants"
import { GuestsRoom } from "./guestsRoomsPicker"
import type { VariantProps } from "class-variance-authority"
import type { z } from "zod"
import type { Locations } from "@/types/trpc/routers/hotel/locations"
import type { bookingWidgetSchema } from "@/components/Forms/BookingWidget/schema"
import type { bookingWidgetVariants } from "@/components/Forms/BookingWidget/variants"
import type { GuestsRoom } from "./guestsRoomsPicker"
export type BookingWidgetSchema = z.output<typeof bookingWidgetSchema>