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

12 lines
237 B
TypeScript

import { z } from "zod";
export const appKeysSchema = z.object({
client_id: z.string().min(1),
client_secret: z.string().min(1),
});
export const appDataSchema = z.object({
client_id: z.string(),
client_secret: z.string(),
});