seed data
This commit is contained in:
@@ -95,6 +95,11 @@ export class LeagueWithCapacityAndScoringDTO {
|
||||
@IsNumber()
|
||||
usedSlots!: number;
|
||||
|
||||
@ApiProperty({ required: false, nullable: true })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
category?: string;
|
||||
|
||||
@ApiProperty({ required: false, nullable: true, type: LeagueCapacityAndScoringSocialLinksDTO })
|
||||
@IsOptional()
|
||||
@ValidateNested()
|
||||
|
||||
@@ -32,6 +32,7 @@ export class AllLeaguesWithCapacityAndScoringPresenter
|
||||
: {}),
|
||||
},
|
||||
usedSlots: summary.currentDrivers,
|
||||
...(summary.league.category ? { category: summary.league.category } : {}),
|
||||
...mapSocialLinks(summary.league.socialLinks),
|
||||
...(summary.scoringConfig && summary.game && summary.preset
|
||||
? {
|
||||
|
||||
Reference in New Issue
Block a user