SPRINT-1 related tasks done

This commit is contained in:
VirajBrainvire
2024-04-17 18:52:58 +05:30
parent 34fcacde13
commit fbdf187ee1
40 changed files with 588 additions and 19 deletions

View File

@ -0,0 +1,11 @@
import { PermissionType } from '@app/common/constants/permission-type.enum';
import { IsEnum, IsNotEmpty, IsString } from 'class-validator';
export class PermissionTypeDto {
@IsString()
@IsNotEmpty()
public uuid: string;
@IsEnum(PermissionType)
public type: PermissionType;
}