website refactor
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* Represents a request to join a league.
|
||||
*/
|
||||
|
||||
import type { IEntity } from '@core/shared/domain';
|
||||
import type { Entity } from '@core/shared/domain';
|
||||
import { RacingDomainValidationError } from '../errors/RacingDomainError';
|
||||
import { LeagueId } from './LeagueId';
|
||||
import { LeagueOwnerId } from './LeagueOwnerId';
|
||||
@@ -18,7 +18,7 @@ export interface JoinRequestProps {
|
||||
message?: string;
|
||||
}
|
||||
|
||||
export class JoinRequest implements IEntity<string> {
|
||||
export class JoinRequest implements Entity<string> {
|
||||
readonly id: string;
|
||||
readonly leagueId: LeagueId;
|
||||
readonly driverId: LeagueOwnerId;
|
||||
|
||||
Reference in New Issue
Block a user