@pkmn/dex-types 0.9.8 → 0.9.9

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/index.d.ts +9 -8
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -182,7 +182,7 @@ export interface MoveData extends EffectData, HitEffect {
182
182
  basePower: number;
183
183
  };
184
184
 
185
- ohko?: boolean | TypeName;
185
+ ohko?: boolean | 'Ice';
186
186
  thawsTarget?: boolean;
187
187
  heal?: number[] | null;
188
188
  forceSwitch?: boolean;
@@ -220,6 +220,7 @@ export interface MoveData extends EffectData, HitEffect {
220
220
  infiltrates?: boolean;
221
221
  multiaccuracy?: boolean;
222
222
  multihit?: number | number[];
223
+ multihitType?: 'parentalbond';
223
224
  noCopy?: boolean;
224
225
  noDamageVariance?: boolean;
225
226
  noFaint?: boolean;
@@ -479,14 +480,14 @@ export interface Dex {
479
480
  readonly gen: GenerationNum;
480
481
  readonly modid: ID;
481
482
  readonly data: {
482
- Abilities: {[id: string]: AbilityData};
483
+ Abilities: {[id: Lowercase<string>]: AbilityData};
483
484
  Aliases: {[id: string]: string};
484
- Items: {[id: string]: ItemData};
485
- Moves: {[id: string]: MoveData};
486
- Species: {[id: string]: SpeciesData};
487
- Natures: {[id: string]: NatureData};
488
- Learnsets: null | {[id: string]: LearnsetData};
489
- Types: {[id: string]: TypeData};
485
+ Items: {[id: Lowercase<string>]: ItemData};
486
+ Moves: {[id: Lowercase<string>]: MoveData};
487
+ Species: {[id: Lowercase<string>]: SpeciesData};
488
+ Natures: {[id: Lowercase<string>]: NatureData};
489
+ Learnsets: null | {[id: Lowercase<string>]: LearnsetData};
490
+ Types: {[id: Lowercase<string>]: TypeData};
490
491
  };
491
492
 
492
493
  mod(genid: GenID): Dex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pkmn/dex-types",
3
- "version": "0.9.8",
3
+ "version": "0.9.9",
4
4
  "types": "index.d.ts",
5
5
  "description": "Common Pokémon Showdown Dex types shared by @pkmn/dex and @pkmn/sim",
6
6
  "repository": "github:pkmn/ps",