This commit is contained in:
2025-12-17 14:04:11 +01:00
parent 1ea9c9649f
commit daa4bb6576
238 changed files with 4263 additions and 1752 deletions

View File

@@ -0,0 +1,35 @@
import { ApiProperty } from '@nestjs/swagger';
import { IsNumber, IsBoolean } from 'class-validator';
export class RaceDetailUserResultDTO {
@ApiProperty()
@IsNumber()
position!: number;
@ApiProperty()
@IsNumber()
startPosition!: number;
@ApiProperty()
@IsNumber()
incidents!: number;
@ApiProperty()
@IsNumber()
fastestLap!: number;
@ApiProperty()
@IsNumber()
positionChange!: number;
@ApiProperty()
@IsBoolean()
isPodium!: boolean;
@ApiProperty()
@IsBoolean()
isClean!: boolean;
@ApiProperty({ nullable: true })
ratingChange!: number | null;
}