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