clean routes
This commit is contained in:
@@ -163,4 +163,4 @@ export class ListUsersUseCase {
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@ export interface AuthenticatedUser {
|
||||
iracingCustomerId?: string;
|
||||
primaryDriverId?: string;
|
||||
avatarUrl?: string;
|
||||
role?: string;
|
||||
}
|
||||
|
||||
export interface IdentityProviderPort {
|
||||
|
||||
@@ -2,6 +2,8 @@ import type { ITeamRaceResultsProvider } from '../ports/ITeamRaceResultsProvider
|
||||
import { TeamDrivingRatingEventFactory } from '@core/racing/domain/services/TeamDrivingRatingEventFactory';
|
||||
import { AppendTeamRatingEventsUseCase } from './AppendTeamRatingEventsUseCase';
|
||||
import { RecordTeamRaceRatingEventsInput, RecordTeamRaceRatingEventsOutput } from '../dtos/RecordTeamRaceRatingEventsDto';
|
||||
import type { ITeamRatingEventRepository } from '@core/racing/domain/repositories/ITeamRatingEventRepository';
|
||||
import type { ITeamRatingRepository } from '@core/racing/domain/repositories/ITeamRatingRepository';
|
||||
|
||||
/**
|
||||
* Use Case: RecordTeamRaceRatingEventsUseCase
|
||||
@@ -18,6 +20,8 @@ import { RecordTeamRaceRatingEventsInput, RecordTeamRaceRatingEventsOutput } fro
|
||||
export class RecordTeamRaceRatingEventsUseCase {
|
||||
constructor(
|
||||
private readonly teamRaceResultsProvider: ITeamRaceResultsProvider,
|
||||
private readonly ratingEventRepository: ITeamRatingEventRepository,
|
||||
private readonly ratingRepository: ITeamRatingRepository,
|
||||
private readonly appendTeamRatingEventsUseCase: AppendTeamRatingEventsUseCase,
|
||||
) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user