mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
refactor: authentication module to nestjs
This commit is contained in:
11
packages/server-nest/src/modules/Auth/dtos/AuthSignin.dto.ts
Normal file
11
packages/server-nest/src/modules/Auth/dtos/AuthSignin.dto.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { IsNotEmpty, IsString } from 'class-validator';
|
||||
|
||||
export class AuthSigninDto {
|
||||
@IsNotEmpty()
|
||||
@IsString()
|
||||
password: string;
|
||||
|
||||
@IsNotEmpty()
|
||||
@IsString()
|
||||
email: string;
|
||||
}
|
||||
Reference in New Issue
Block a user