website refactor
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* Immutable entity with factory methods and domain validation.
|
||||
*/
|
||||
|
||||
import type { IEntity } from '@core/shared/domain';
|
||||
import type { Entity } from '@core/shared/domain';
|
||||
import { LeagueId } from './LeagueId';
|
||||
import { LeagueName } from './LeagueName';
|
||||
import { LeagueDescription } from './LeagueDescription';
|
||||
@@ -91,7 +91,7 @@ export interface LeagueSettings {
|
||||
visibility?: LeagueVisibilityType;
|
||||
}
|
||||
|
||||
export class League implements IEntity<LeagueId> {
|
||||
export class League implements Entity<LeagueId> {
|
||||
readonly id: LeagueId;
|
||||
readonly name: LeagueName;
|
||||
readonly description: LeagueDescription;
|
||||
|
||||
Reference in New Issue
Block a user