cal.pub0.org/packages/app-store/office365calendar/lib/getOfficeAppKeys.ts

13 lines
330 B
TypeScript

import { z } from "zod";
import getParsedAppKeysFromSlug from "../../_utils/getParsedAppKeysFromSlug";
const officeAppKeysSchema = z.object({
client_id: z.string(),
client_secret: z.string(),
});
export const getOfficeAppKeys = async () => {
return getParsedAppKeysFromSlug("office365-calendar", officeAppKeysSchema);
};