Refactor import paths to use absolute paths from '@sammo-ts/logic' for consistency and clarity across the codebase. This includes updates to various modules related to actions, triggers, constraints, and world management, ensuring that all imports are correctly pointing to the new structure.
This commit is contained in:
@@ -7,7 +7,7 @@ import type {
|
||||
GeneralId,
|
||||
Nation,
|
||||
NationId,
|
||||
} from '../domain/entities.js';
|
||||
} from '@sammo-ts/logic/domain/entities.js';
|
||||
|
||||
export interface GeneralRepository<GeneralType extends General = General> {
|
||||
getById(id: GeneralId): Promise<GeneralType | null>;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { City, General, Nation, Troop } from '../domain/entities.js';
|
||||
import type { ScenarioConfig } from '../scenario/types.js';
|
||||
import type { ScenarioMeta } from '../world/types.js';
|
||||
import type { City, General, Nation, Troop } from '@sammo-ts/logic/domain/entities.js';
|
||||
import type { ScenarioConfig } from '@sammo-ts/logic/scenario/types.js';
|
||||
import type { ScenarioMeta } from '@sammo-ts/logic/world/types.js';
|
||||
|
||||
// DB에서 월드 상태를 로드할 때 사용하는 조회 인터페이스.
|
||||
export interface WorldStateSnapshotSource<
|
||||
|
||||
Reference in New Issue
Block a user