13 lines
330 B
TypeScript
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);
|
|
};
|