feat: remove VolunteerRecruit module and related imports
This commit is contained in:
@@ -16,7 +16,6 @@ import type * as DefenceUpgradeModule from './che_수비강화.js';
|
|||||||
import type * as WallRepairModule from './che_성벽보수.js';
|
import type * as WallRepairModule from './che_성벽보수.js';
|
||||||
import type * as FireAttackModule from './che_화계.js';
|
import type * as FireAttackModule from './che_화계.js';
|
||||||
import type * as TalentScoutModule from './che_인재탐색.js';
|
import type * as TalentScoutModule from './che_인재탐색.js';
|
||||||
import type * as VolunteerRecruitModule from './che_의병모집.js';
|
|
||||||
import type * as RecruitModule from './che_징병.js';
|
import type * as RecruitModule from './che_징병.js';
|
||||||
import type * as RestModule from './휴식.js';
|
import type * as RestModule from './휴식.js';
|
||||||
|
|
||||||
@@ -37,7 +36,6 @@ export type GeneralTurnCommandModule =
|
|||||||
| typeof WallRepairModule
|
| typeof WallRepairModule
|
||||||
| typeof FireAttackModule
|
| typeof FireAttackModule
|
||||||
| typeof TalentScoutModule
|
| typeof TalentScoutModule
|
||||||
| typeof VolunteerRecruitModule
|
|
||||||
| typeof RecruitModule
|
| typeof RecruitModule
|
||||||
| typeof RestModule;
|
| typeof RestModule;
|
||||||
|
|
||||||
@@ -60,7 +58,6 @@ const defaultImporters = {
|
|||||||
che_성벽보수: async () => import('./che_성벽보수.js'),
|
che_성벽보수: async () => import('./che_성벽보수.js'),
|
||||||
che_화계: async () => import('./che_화계.js'),
|
che_화계: async () => import('./che_화계.js'),
|
||||||
che_인재탐색: async () => import('./che_인재탐색.js'),
|
che_인재탐색: async () => import('./che_인재탐색.js'),
|
||||||
che_의병모집: async () => import('./che_의병모집.js'),
|
|
||||||
che_징병: async () => import('./che_징병.js'),
|
che_징병: async () => import('./che_징병.js'),
|
||||||
휴식: async () => import('./휴식.js'),
|
휴식: async () => import('./휴식.js'),
|
||||||
} as const satisfies Record<string, GeneralTurnCommandImporter>;
|
} as const satisfies Record<string, GeneralTurnCommandImporter>;
|
||||||
@@ -178,11 +175,6 @@ export {
|
|||||||
ActionResolver as TalentScoutActionResolver,
|
ActionResolver as TalentScoutActionResolver,
|
||||||
CommandResolver as TalentScoutCommandResolver,
|
CommandResolver as TalentScoutCommandResolver,
|
||||||
} from './che_인재탐색.js';
|
} from './che_인재탐색.js';
|
||||||
export {
|
|
||||||
ActionDefinition as VolunteerRecruitActionDefinition,
|
|
||||||
ActionResolver as VolunteerRecruitActionResolver,
|
|
||||||
CommandResolver as VolunteerRecruitCommandResolver,
|
|
||||||
} from './che_의병모집.js';
|
|
||||||
export {
|
export {
|
||||||
ActionDefinition as RecruitActionDefinition,
|
ActionDefinition as RecruitActionDefinition,
|
||||||
ActionResolver as RecruitActionResolver,
|
ActionResolver as RecruitActionResolver,
|
||||||
|
|||||||
+3
-3
@@ -29,10 +29,10 @@ import {
|
|||||||
createGeneralAddEffect,
|
createGeneralAddEffect,
|
||||||
} from '../../engine.js';
|
} from '../../engine.js';
|
||||||
import { LogCategory, LogFormat, LogScope } from '../../../logging/types.js';
|
import { LogCategory, LogFormat, LogScope } from '../../../logging/types.js';
|
||||||
import { buildRecruitmentGeneral } from './recruitment.js';
|
import { buildRecruitmentGeneral } from '../general/recruitment.js';
|
||||||
import { JosaUtil } from '@sammo-ts/common';
|
import { JosaUtil } from '@sammo-ts/common';
|
||||||
import type { TurnCommandEnv } from '../commandEnv.js';
|
import type { TurnCommandEnv } from '../commandEnv.js';
|
||||||
import type { GeneralTurnCommandSpec } from './index.js';
|
import type { NationTurnCommandSpec } from './index.js';
|
||||||
|
|
||||||
export interface VolunteerRecruitArgs {}
|
export interface VolunteerRecruitArgs {}
|
||||||
|
|
||||||
@@ -417,7 +417,7 @@ export class ActionDefinition<
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export const commandSpec: GeneralTurnCommandSpec = {
|
export const commandSpec: NationTurnCommandSpec = {
|
||||||
key: 'che_의병모집',
|
key: 'che_의병모집',
|
||||||
category: '전략',
|
category: '전략',
|
||||||
reqArg: false,
|
reqArg: false,
|
||||||
@@ -5,6 +5,7 @@ import type * as AwardModule from './che_포상.js';
|
|||||||
import type * as AssignmentModule from './che_발령.js';
|
import type * as AssignmentModule from './che_발령.js';
|
||||||
import type * as DeclarationModule from './che_선전포고.js';
|
import type * as DeclarationModule from './che_선전포고.js';
|
||||||
import type * as NonAggressionProposalModule from './che_불가침제의.js';
|
import type * as NonAggressionProposalModule from './che_불가침제의.js';
|
||||||
|
import type * as VolunteerRecruitModule from './che_의병모집.js';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -13,7 +14,8 @@ export type NationTurnCommandModule =
|
|||||||
| typeof AwardModule
|
| typeof AwardModule
|
||||||
| typeof AssignmentModule
|
| typeof AssignmentModule
|
||||||
| typeof DeclarationModule
|
| typeof DeclarationModule
|
||||||
| typeof NonAggressionProposalModule;
|
| typeof NonAggressionProposalModule
|
||||||
|
| typeof VolunteerRecruitModule;
|
||||||
|
|
||||||
export type NationTurnCommandImporter = () => Promise<NationTurnCommandModule>;
|
export type NationTurnCommandImporter = () => Promise<NationTurnCommandModule>;
|
||||||
|
|
||||||
@@ -23,6 +25,7 @@ const defaultImporters = {
|
|||||||
che_발령: async () => import('./che_발령.js'),
|
che_발령: async () => import('./che_발령.js'),
|
||||||
che_선전포고: async () => import('./che_선전포고.js'),
|
che_선전포고: async () => import('./che_선전포고.js'),
|
||||||
che_불가침제의: async () => import('./che_불가침제의.js'),
|
che_불가침제의: async () => import('./che_불가침제의.js'),
|
||||||
|
che_의병모집: async () => import('./che_의병모집.js'),
|
||||||
} as const satisfies Record<string, NationTurnCommandImporter>;
|
} as const satisfies Record<string, NationTurnCommandImporter>;
|
||||||
|
|
||||||
export type NationTurnCommandKey = keyof typeof defaultImporters;
|
export type NationTurnCommandKey = keyof typeof defaultImporters;
|
||||||
@@ -101,3 +104,8 @@ export {
|
|||||||
export {
|
export {
|
||||||
ActionDefinition as NonAggressionProposalActionDefinition,
|
ActionDefinition as NonAggressionProposalActionDefinition,
|
||||||
} from './che_불가침제의.js';
|
} from './che_불가침제의.js';
|
||||||
|
export {
|
||||||
|
ActionDefinition as VolunteerRecruitActionDefinition,
|
||||||
|
ActionResolver as VolunteerRecruitActionResolver,
|
||||||
|
CommandResolver as VolunteerRecruitCommandResolver,
|
||||||
|
} from './che_의병모집.js';
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
"che_성벽보수",
|
"che_성벽보수",
|
||||||
"che_화계",
|
"che_화계",
|
||||||
"che_인재탐색",
|
"che_인재탐색",
|
||||||
"che_의병모집",
|
|
||||||
"che_징병",
|
"che_징병",
|
||||||
"휴식"
|
"휴식"
|
||||||
],
|
],
|
||||||
@@ -25,6 +24,7 @@
|
|||||||
"che_포상",
|
"che_포상",
|
||||||
"che_발령",
|
"che_발령",
|
||||||
"che_선전포고",
|
"che_선전포고",
|
||||||
"che_불가침제의"
|
"che_불가침제의",
|
||||||
|
"che_의병모집"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user