cal.pub0.org/packages/app-store/rainbow/zod.ts

11 lines
256 B
TypeScript

import { z } from "zod";
import { eventTypeAppCardZod } from "../eventTypeAppCardZod";
export const appDataSchema = eventTypeAppCardZod.merge(
z.object({
smartContractAddress: z.string().optional(),
blockchainId: z.number().optional(),
})
);