fix: clean up hotel and its typings
This commit is contained in:
10
server/routers/hotels/schemas/hotel/rewardNight.ts
Normal file
10
server/routers/hotels/schemas/hotel/rewardNight.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { z } from "zod"
|
||||
|
||||
export const rewardNightSchema = z.object({
|
||||
campaign: z.object({
|
||||
end: z.string(),
|
||||
points: z.number(),
|
||||
start: z.string(),
|
||||
}),
|
||||
points: z.number(),
|
||||
})
|
||||
Reference in New Issue
Block a user