refactor
This commit is contained in:
10
apps/api/src/domain/race/dtos/AllRacesPageDTO.ts
Normal file
10
apps/api/src/domain/race/dtos/AllRacesPageDTO.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
import { RaceViewModel } from './RaceViewModel';
|
||||
|
||||
export class AllRacesPageDTO {
|
||||
@ApiProperty({ type: [RaceViewModel] })
|
||||
races!: RaceViewModel[];
|
||||
|
||||
@ApiProperty()
|
||||
totalCount!: number;
|
||||
}
|
||||
Reference in New Issue
Block a user