From 26be5740857eb2475fa7d51760494dbe201720d8 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Fri, 29 Nov 2024 13:15:32 +0100 Subject: [PATCH] Fix nullish --- packages/types/src/api/web/app/rows/search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/src/api/web/app/rows/search.ts b/packages/types/src/api/web/app/rows/search.ts index b74e490677..7ba23bceca 100644 --- a/packages/types/src/api/web/app/rows/search.ts +++ b/packages/types/src/api/web/app/rows/search.ts @@ -68,7 +68,7 @@ const searchRowRequest = z.object({ paginate: z.boolean().optional(), bookmark: z.union([z.string(), z.number()]).nullish(), limit: z.number().optional(), - sort: z.string().optional(), + sort: z.string().nullish(), sortOrder: z.nativeEnum(SortOrder).optional(), sortType: z.nativeEnum(SortType).nullish(), version: z.string().optional(),