10 lines
202 B
TypeScript
10 lines
202 B
TypeScript
import { z } from "zod"
|
|
|
|
export const staysInput = z
|
|
.object({
|
|
perPage: z.number().min(0).default(6),
|
|
page: z.number().min(0).default(0),
|
|
cursor: z.number().nullish(),
|
|
})
|
|
.default({})
|