refactor(server): enums (#11809)

This commit is contained in:
Jason Rasmussen
2024-08-15 06:57:01 -04:00
committed by GitHub
parent fa64277476
commit b288241a5c
82 changed files with 242 additions and 207 deletions
+1 -1
View File
@@ -1,8 +1,8 @@
import { ApiProperty } from '@nestjs/swagger';
import { Type } from 'class-transformer';
import { IsArray, IsEnum, IsString, IsUUID, ValidateNested } from 'class-validator';
import { EntityType } from 'src/entities/audit.entity';
import { AssetPathType, PathType, PersonPathType, UserPathType } from 'src/entities/move.entity';
import { EntityType } from 'src/enum';
import { Optional, ValidateDate, ValidateUUID } from 'src/validation';
const PathEnum = Object.values({ ...AssetPathType, ...PersonPathType, ...UserPathType });