UNPKG

alepha

Version:

Easy-to-use modern TypeScript framework for building many kind of applications.

17 lines (14 loc) 440 B
import { type Static, z } from "alepha"; export const authenticationProviderSchema = z .object({ name: z.text({ description: "Name of the authentication provider.", }), type: z .enum(["OAUTH2", "OIDC", "CREDENTIALS"]) .describe("Type of the authentication provider."), }) .meta({ title: "AuthenticationProvider" }); export type AuthenticationProvider = Static< typeof authenticationProviderSchema >;