fix: clean up hotel and its typings
This commit is contained in:
8
server/routers/hotels/schemas/hotel/gallery.ts
Normal file
8
server/routers/hotels/schemas/hotel/gallery.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { z } from "zod"
|
||||
|
||||
import { imageSchema } from "../image"
|
||||
|
||||
export const gallerySchema = z.object({
|
||||
heroImages: z.array(imageSchema),
|
||||
smallerImages: z.array(imageSchema),
|
||||
})
|
||||
Reference in New Issue
Block a user