Files
Reactive-Resume/libs/dto/src/auth/providers.ts
Amruth Pillai 1825fc3283 - implement disable_email_auth env var
- add sync crowdin translations github action
2023-11-21 09:44:37 +01:00

7 lines
234 B
TypeScript

import { createZodDto } from "nestjs-zod/dto";
import { z } from "nestjs-zod/z";
const authProvidersSchema = z.array(z.enum(["email", "github", "google"]));
export class AuthProvidersDto extends createZodDto(authProvidersSchema) {}