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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
82 changed files with 242 additions and 207 deletions

View file

@ -1,7 +1,8 @@
import { ApiProperty } from '@nestjs/swagger';
import { Type } from 'class-transformer';
import { IsDateString, IsEnum, IsInt, IsPositive, ValidateNested } from 'class-validator';
import { UserAvatarColor, UserPreferences } from 'src/entities/user-metadata.entity';
import { UserPreferences } from 'src/entities/user-metadata.entity';
import { UserAvatarColor } from 'src/enum';
import { Optional, ValidateBoolean } from 'src/validation';
class AvatarUpdate {