import { z } from "zod"; import { buildOAuthConfigSchema } from "~/shared/datasources/oauth"; const youtubeOAuthConfig = z.object({ accessToken: z.string(), expiresIn: z.number(), openId: z.string(), refreshExpiresIn: z.number(), refreshToken: z.string(), scope: z.string(), tokenType: z.string(), }); const youtubeFullOAuthConfig = buildOAuthConfigSchema(youtubeOAuthConfig); export type YoutubeFullOAuthConfig = z.infer;