Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 186x 186x | import { z } from "zod"; export const baseSchema = z.object({ event: z.literal("toggle-withdraw-rai").default("toggle-withdraw-rai"), id: z.string(), authority: z.string(), raiWithdrawEnabled: z.boolean(), }); export const schema = baseSchema.extend({ origin: z.literal("mako").default("mako"), submitterName: z.string(), submitterEmail: z.string().email(), timestamp: z.number().optional(), }); |