From 919135e456aef878e829e7e45fdfed0654ae3655 Mon Sep 17 00:00:00 2001 From: Daryl Lim Date: Sat, 9 Mar 2024 18:43:45 -0800 Subject: [PATCH] fix(ui): Change actionResponseSchema.inputs to be nullable not optional --- frontend/src/types/schemas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/types/schemas.ts b/frontend/src/types/schemas.ts index e59bf1346..d63020b95 100644 --- a/frontend/src/types/schemas.ts +++ b/frontend/src/types/schemas.ts @@ -5,7 +5,7 @@ export const actionResponseSchema = z.object({ title: z.string(), description: z.string(), status: z.string(), - inputs: z.record(z.any()).optional(), + inputs: z.record(z.any()).nullable(), }) export type ActionResponse = z.infer