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

13 lines
300 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(),
})
);
export const appKeysSchema = z.object({});