refactor: improve war module type safety and reserved turns test data handling
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import type { GeneralActionDefinition } from '@sammo-ts/logic/actions/definition.js';
|
||||
import type { GeneralActionResolver } from '@sammo-ts/logic/actions/engine.js';
|
||||
import type { ActionContextBuilder } from './actionContext.js';
|
||||
import type { TurnCommandEnv } from './commandEnv.js';
|
||||
|
||||
@@ -13,8 +12,5 @@ export interface TurnCommandSpecBase<TKey extends string = string> {
|
||||
|
||||
export interface TurnCommandModule<TSpec extends TurnCommandSpecBase = TurnCommandSpecBase> {
|
||||
commandSpec: TSpec;
|
||||
ActionDefinition: new (...args: unknown[]) => GeneralActionDefinition;
|
||||
ActionResolver?: new (...args: unknown[]) => GeneralActionResolver;
|
||||
CommandResolver?: new (...args: unknown[]) => unknown;
|
||||
actionContextBuilder?: ActionContextBuilder;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user