feat(api): add tournament result mapping

This commit is contained in:
dahyeon committed 2026-04-22 22:21:00 +09:00
1 parent 862d662a51
commit 06c190a41f
4 files changed
+354

No files matched your search

@@ -0,0 +1,19 @@
import { Type } from 'class-transformer';
import { IsDate, IsString, MaxLength, MinLength } from 'class-validator';
export class CollectTournamentResultWindowDto {
@IsDate()
@Type(() => Date)
startTime!: Date;
@IsDate()
@Type(() => Date)
endTime!: Date;
}
export class CollectTournamentResultRiotMatchDto {
@IsString()
@MinLength(1)
@MaxLength(96)
riotMatchId!: string;
}