feature: sending invitation link for newly created staff implemented.
This commit is contained in:
14
backend/src/modules/staff/dto/accept-staff-invite.dto.ts
Normal file
14
backend/src/modules/staff/dto/accept-staff-invite.dto.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { IsString, MinLength } from 'class-validator';
|
||||
|
||||
export class AcceptStaffInviteDto {
|
||||
@IsString()
|
||||
token: string;
|
||||
|
||||
@IsString()
|
||||
@MinLength(8)
|
||||
password: string;
|
||||
|
||||
@IsString()
|
||||
@MinLength(1)
|
||||
name: string;
|
||||
}
|
||||
Reference in New Issue
Block a user