- implement disable_email_auth env var

- add sync crowdin translations github action
This commit is contained in:
Amruth Pillai
2023-11-21 09:44:37 +01:00
parent 635f743e56
commit 1825fc3283
84 changed files with 2693 additions and 2341 deletions

View File

@ -1,6 +1,7 @@
export * from "./forgot-password";
export * from "./login";
export * from "./message";
export * from "./providers";
export * from "./register";
export * from "./reset-password";
export * from "./response";

View File

@ -0,0 +1,6 @@
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) {}