mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
chore: organize config, validation, decorators (#8118)
* refactor: validation * refactor: utilities * refactor: config
This commit is contained in:
parent
92cc647cf6
commit
81f0265095
119 changed files with 666 additions and 684 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import { ApiProperty } from '@nestjs/swagger';
|
||||
import { Type } from 'class-transformer';
|
||||
import { IsEnum, IsInt, IsString, Max, Min } from 'class-validator';
|
||||
import { ValidateBoolean } from 'src/domain/domain.util';
|
||||
import {
|
||||
AudioCodec,
|
||||
CQMode,
|
||||
|
|
@ -10,6 +9,7 @@ import {
|
|||
TranscodePolicy,
|
||||
VideoCodec,
|
||||
} from 'src/infra/entities/system-config.entity';
|
||||
import { ValidateBoolean } from 'src/validation';
|
||||
|
||||
export class SystemConfigFFmpegDto {
|
||||
@IsInt()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue