mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-15 01:01:43 +10:00
- implement disable_email_auth env var
- add sync crowdin translations github action
This commit is contained in:
@ -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";
|
||||
|
||||
6
libs/dto/src/auth/providers.ts
Normal file
6
libs/dto/src/auth/providers.ts
Normal 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) {}
|
||||
Reference in New Issue
Block a user