omniarena-types 1.26.0 → 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export type GameDto = {
8
8
  effects: Record<string, EffectDto>;
9
9
  currentTurn: number;
10
10
  winner: string | null;
11
+ error: string | null;
11
12
  };
12
13
  export type PlayerDto = {
13
14
  id: string;
@@ -99,10 +100,12 @@ export type TargetingOptionsDto = {
99
100
  characters: number;
100
101
  allCharacters: boolean;
101
102
  partial: boolean;
102
- random: boolean;
103
+ random: number;
104
+ distinct: boolean;
103
105
  };
104
106
  export type ChoosableType = 'skill' | 'energy' | 'number';
105
107
  export type ChoosableDto = {
108
+ id: string;
106
109
  type: ChoosableType;
107
110
  options: any[];
108
111
  perTarget: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omniarena-types",
3
- "version": "1.26.0",
3
+ "version": "1.28.0",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [