Change to nullish
This commit is contained in:
parent
0cef937a14
commit
ab00add0ff
|
@ -78,11 +78,11 @@ const searchRowRequest = z.object({
|
||||||
})
|
})
|
||||||
.optional(),
|
.optional(),
|
||||||
paginate: z.boolean().optional(),
|
paginate: z.boolean().optional(),
|
||||||
bookmark: z.union([z.string(), z.number()]).nullable().optional(),
|
bookmark: z.union([z.string(), z.number()]).nullish(),
|
||||||
limit: z.number().optional(),
|
limit: z.number().optional(),
|
||||||
sort: z.string().optional(),
|
sort: z.string().optional(),
|
||||||
sortOrder: z.nativeEnum(SortOrder).optional(),
|
sortOrder: z.nativeEnum(SortOrder).optional(),
|
||||||
sortType: z.nativeEnum(SortType).optional(),
|
sortType: z.nativeEnum(SortType).nullish(),
|
||||||
version: z.string().optional(),
|
version: z.string().optional(),
|
||||||
disableEscaping: z.boolean().optional(),
|
disableEscaping: z.boolean().optional(),
|
||||||
countRows: z.boolean().optional(),
|
countRows: z.boolean().optional(),
|
||||||
|
|
Loading…
Reference in New Issue