Change to nullish

This commit is contained in:
Adria Navarro 2024-11-28 16:23:03 +01:00
parent 0cef937a14
commit ab00add0ff
1 changed files with 2 additions and 2 deletions

View File

@ -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(),