We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 770649f commit f8f0676Copy full SHA for f8f0676
src/rest/dto/crime.dto.ts
@@ -1,6 +1,7 @@
1
import { BanReason } from 'gateway/shared-types/ban';
2
import { ApiProperty } from '@nestjs/swagger';
3
import { Page } from 'gateway/shared-types/page';
4
+import { MatchmakingMode } from 'gateway/shared-types/matchmaking-mode';
5
6
7
export class CrimeLogDto {
@@ -10,6 +11,9 @@ export class CrimeLogDto {
10
11
12
@ApiProperty({ enum: BanReason, enumName: 'BanReason' })
13
readonly crime: BanReason
14
+
15
+ @ApiProperty({ enum: MatchmakingMode, enumName: 'MatchmakingMode' })
16
+ readonly lobby_type: MatchmakingMode
17
readonly created_at: string;
18
19
}
0 commit comments