cal/packages/app-store/plausible/zod.ts
Ben Hybert c4fe69d826
Add Plausible (Custom) App (#8189)
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2023-04-18 19:24:51 +05:30

13 lines
366 B
TypeScript

import { z } from "zod";
import { eventTypeAppCardZod } from "../eventTypeAppCardZod";
export const appDataSchema = eventTypeAppCardZod.merge(
z.object({
PLAUSIBLE_URL: z.string().optional().default("https://plausible.io/js/script.js").or(z.undefined()),
trackingId: z.string().default("").optional(),
})
);
export const appKeysSchema = z.object({});