Skip to content

Commit

Permalink
fix(ui): Change actionResponseSchema.inputs to be nullable not optional
Browse files Browse the repository at this point in the history
  • Loading branch information
daryllimyt committed Mar 10, 2024
1 parent cd383c6 commit 919135e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/types/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<typeof actionResponseSchema>
Expand Down

0 comments on commit 919135e

Please sign in to comment.