Co-authored-by: Amit Sharma <[email protected]> Co-authored-by: Anik Dhabal Babu <[email protected]> Co-authored-by: Udit Takkar <[email protected]>
14 lines
351 B
TypeScript
14 lines
351 B
TypeScript
import { z } from "zod";
|
|
|
|
import { eventTypeAppCardZod } from "../eventTypeAppCardZod";
|
|
|
|
export const appDataSchema = eventTypeAppCardZod.extend({
|
|
ignoreGuests: z.boolean().optional(),
|
|
skipContactCreation: z.boolean().optional(),
|
|
});
|
|
|
|
export const appKeysSchema = z.object({
|
|
client_id: z.string().min(1),
|
|
client_secret: z.string().min(1),
|
|
});
|