From 6b5125275e0d3015c0cdbab5d4328e36e56fff59 Mon Sep 17 00:00:00 2001 From: "sentry[bot]" <39604003+sentry[bot]@users.noreply.github.com> Date: Wed, 9 Sep 2026 11:03:35 +0000 Subject: [PATCH] fix(showcase): allow 192 page size --- src/utils/showcase.functions.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/utils/showcase.functions.ts b/src/utils/showcase.functions.ts index ed55b3cad..3f3a936f1 100644 --- a/src/utils/showcase.functions.ts +++ b/src/utils/showcase.functions.ts @@ -37,6 +37,13 @@ const showcaseLimitSchema = v.pipe( v.minValue(1), v.maxValue(24), ) + +const showcasePageSizeSchema = v.pipe( + v.number(), + v.integer(), + v.minValue(1), + v.maxValue(192), +) const showcaseTextSchema = (maxLength: number) => v.pipe(v.string(), v.minLength(1), v.maxLength(maxLength)) const optionalShowcaseTextSchema = (maxLength: number) => @@ -202,7 +209,7 @@ export const getApprovedShowcases = createServerFn({ method: 'POST' }) v.object({ pagination: v.object({ page: v.optional(pageNumberSchema, 1), - pageSize: v.optional(pageSizeSchema, 24), + pageSize: v.optional(showcasePageSizeSchema, 24), }), filters: v.optional( v.object({