omniarena-types 1.24.0 → 1.26.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 +9 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -62,6 +62,7 @@ export type SkillDto = {
62
62
  classes: string[];
63
63
  targetingOptions: TargetingOptionsDto;
64
64
  validTargets: string[];
65
+ choosables: ChoosableDto[];
65
66
  };
66
67
  export type EffectDto = {
67
68
  id: string;
@@ -100,6 +101,14 @@ export type TargetingOptionsDto = {
100
101
  partial: boolean;
101
102
  random: boolean;
102
103
  };
104
+ export type ChoosableType = 'skill' | 'energy' | 'number';
105
+ export type ChoosableDto = {
106
+ type: ChoosableType;
107
+ options: any[];
108
+ perTarget: boolean;
109
+ fromTarget: boolean;
110
+ picks: number;
111
+ };
103
112
  export type SkillUseDto = {
104
113
  id: string;
105
114
  skillId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omniarena-types",
3
- "version": "1.24.0",
3
+ "version": "1.26.0",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [