cal.pub0.org/packages/trpc/server/routers/viewer/sso/updateOIDC.schema.ts

11 lines
280 B
TypeScript

import { z } from "zod";
export const ZUpdateOIDCInputSchema = z.object({
teamId: z.union([z.number(), z.null()]),
clientId: z.string(),
clientSecret: z.string(),
wellKnownUrl: z.string(),
});
export type TUpdateOIDCInputSchema = z.infer<typeof ZUpdateOIDCInputSchema>;