refactor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { DropScorePolicy } from '../types/DropScorePolicy';
|
||||
import type { IDomainCalculationService } from '@gridpilot/shared/domain';
|
||||
import type { IDomainCalculationService } from '@core/shared/domain';
|
||||
|
||||
export interface EventPointsEntry {
|
||||
eventId: string;
|
||||
|
||||
@@ -7,7 +7,7 @@ import type { BonusRule } from '../types/BonusRule';
|
||||
import type { ChampionshipType } from '../types/ChampionshipType';
|
||||
|
||||
import type { PointsTable } from '../value-objects/PointsTable';
|
||||
import type { IDomainCalculationService } from '@gridpilot/shared/domain';
|
||||
import type { IDomainCalculationService } from '@core/shared/domain';
|
||||
|
||||
export interface ParticipantEventPoints {
|
||||
participant: ParticipantRef;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IDomainService } from '@gridpilot/shared/domain';
|
||||
import type { IDomainService } from '@core/shared/domain';
|
||||
|
||||
export interface DriverStats {
|
||||
rating: number;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IDomainService } from '@gridpilot/shared/domain';
|
||||
import type { IDomainService } from '@core/shared/domain';
|
||||
|
||||
export interface DriverRanking {
|
||||
driverId: string;
|
||||
|
||||
@@ -5,7 +5,7 @@ import { RacingDomainError, RacingDomainValidationError } from '../errors/Racing
|
||||
import { RaceTimeOfDay } from '../value-objects/RaceTimeOfDay';
|
||||
import type { Weekday } from '../types/Weekday';
|
||||
import { weekdayToIndex } from '../types/Weekday';
|
||||
import type { IDomainCalculationService } from '@gridpilot/shared/domain';
|
||||
import type { IDomainCalculationService } from '@core/shared/domain';
|
||||
|
||||
function cloneDate(date: Date): Date {
|
||||
return new Date(date.getTime());
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IDomainService } from '@gridpilot/shared/domain';
|
||||
import type { IDomainService } from '@core/shared/domain';
|
||||
|
||||
export type SkillLevel = 'beginner' | 'intermediate' | 'advanced' | 'pro';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IDomainCalculationService } from '@gridpilot/shared/domain';
|
||||
import type { IDomainCalculationService } from '@core/shared/domain';
|
||||
|
||||
/**
|
||||
* Domain Service: StrengthOfFieldCalculator
|
||||
|
||||
Reference in New Issue
Block a user