Implement the 004-edit-combatant feature that adds the possibility to change a combatants name
This commit is contained in:
@@ -25,8 +25,16 @@ export interface CombatantRemoved {
|
||||
readonly name: string;
|
||||
}
|
||||
|
||||
export interface CombatantUpdated {
|
||||
readonly type: "CombatantUpdated";
|
||||
readonly combatantId: CombatantId;
|
||||
readonly oldName: string;
|
||||
readonly newName: string;
|
||||
}
|
||||
|
||||
export type DomainEvent =
|
||||
| TurnAdvanced
|
||||
| RoundAdvanced
|
||||
| CombatantAdded
|
||||
| CombatantRemoved;
|
||||
| CombatantRemoved
|
||||
| CombatantUpdated;
|
||||
|
||||
Reference in New Issue
Block a user