import { defineCatalog } from "@json-render/core"; import { schema } from "@json-render/react/schema"; import { shadcnComponentDefinitions } from "@json-render/shadcn/catalog"; import { z } from "zod"; export const catalog = defineCatalog(schema, { components: { ...shadcnComponentDefinitions, }, actions: { confetti: { params: z.object({}), description: "Fire confetti", }, }, });