Skip to content

Commit f8f0676

Browse files
committed
Extend crime log entity
1 parent 770649f commit f8f0676

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/rest/dto/crime.dto.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { BanReason } from 'gateway/shared-types/ban';
22
import { ApiProperty } from '@nestjs/swagger';
33
import { Page } from 'gateway/shared-types/page';
4+
import { MatchmakingMode } from 'gateway/shared-types/matchmaking-mode';
45

56

67
export class CrimeLogDto {
@@ -10,6 +11,9 @@ export class CrimeLogDto {
1011

1112
@ApiProperty({ enum: BanReason, enumName: 'BanReason' })
1213
readonly crime: BanReason
14+
15+
@ApiProperty({ enum: MatchmakingMode, enumName: 'MatchmakingMode' })
16+
readonly lobby_type: MatchmakingMode
1317
readonly created_at: string;
1418

1519
}

0 commit comments

Comments
 (0)