module cleanup

This commit is contained in:
2025-12-19 01:22:45 +01:00
parent d617654928
commit d0fac9e6c1
135 changed files with 5104 additions and 1315 deletions

View File

@@ -0,0 +1,5 @@
export interface JoinLeagueOutputDTO {
success: boolean;
error?: string;
membershipId?: string;
}

View File

@@ -23,9 +23,9 @@ export class LeagueConfigFormModelDTO {
@Type(() => LeagueConfigFormModelStructureDTO)
structure: LeagueConfigFormModelStructureDTO;
@ApiProperty({ type: [Object] })
@ApiProperty({ type: [Object] })
@IsArray()
championships: any[];
championships: Object[];
@ApiProperty({ type: LeagueConfigFormModelScoringDTO })
@ValidateNested()

View File

@@ -0,0 +1,11 @@
export interface LeagueJoinRequestWithDriverDTO {
id: string;
leagueId: string;
driverId: string;
requestedAt: Date;
message?: string;
driver: {
id: string;
name: string;
};
}

View File

@@ -0,0 +1,4 @@
export interface TransferLeagueOwnershipOutputDTO {
success: boolean;
error?: string;
}