We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 037225a commit 23d7256Copy full SHA for 23d7256
types/proposal.ts
@@ -23,12 +23,12 @@ type Proposal = z.infer<typeof Proposal>
23
const ProposalState = ProposalResponse.extend({
24
userVote: z.object({
25
value: z.number().min(-2).max(2).nullable(),
26
- comment: z.string(),
+ comment: z.string().optional().nullable(),
27
}).optional().nullable(),
28
results: z.array(
29
z.object({
30
31
32
})
33
).optional().nullable(),
34
0 commit comments