cal.pub0.org/packages/app-store/googlecalendar/lib/googleCredentialSchema.ts

10 lines
219 B
TypeScript
Raw Normal View History

import { z } from "zod";
export const googleCredentialSchema = z.object({
scope: z.string(),
token_type: z.literal("Bearer"),
expiry_date: z.number(),
access_token: z.string(),
refresh_token: z.string(),
});