website refactor
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* Represents a driver's membership in 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 { MembershipRole, MembershipRoleValue } from './MembershipRole';
|
||||
@@ -22,7 +22,7 @@ export interface LeagueMembershipProps {
|
||||
joinedAt?: Date;
|
||||
}
|
||||
|
||||
export class LeagueMembership implements IEntity<string> {
|
||||
export class LeagueMembership implements Entity<string> {
|
||||
readonly id: string;
|
||||
readonly leagueId: LeagueId;
|
||||
readonly driverId: DriverId;
|
||||
|
||||
Reference in New Issue
Block a user