website refactor
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import type { IValueObject } from '@core/shared/domain';
|
||||
import type { ValueObject } from '@core/shared/domain';
|
||||
|
||||
export interface PointsTableProps {
|
||||
pointsByPosition: ReadonlyMap<number, number>;
|
||||
}
|
||||
|
||||
export class PointsTable implements IValueObject<PointsTableProps> {
|
||||
export class PointsTable implements ValueObject<PointsTableProps> {
|
||||
private readonly pointsByPosition: ReadonlyMap<number, number>;
|
||||
|
||||
constructor(pointsByPosition: Record<number, number> | Map<number, number>) {
|
||||
|
||||
Reference in New Issue
Block a user