@pkmn/dex-types 0.9.8 → 0.9.10

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 +10 -9
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -121,6 +121,7 @@ interface MoveFlags {
121
121
  allyanim?: 1 | 0;
122
122
  nonsky?: 1 | 0;
123
123
  noparentalbond?: 1 | 0;
124
+ nosketch?: 1 | 0;
124
125
  nosleeptalk?: 1 | 0;
125
126
  pledgecombo?: 1 | 0;
126
127
  powder?: 1 | 0;
@@ -182,7 +183,7 @@ export interface MoveData extends EffectData, HitEffect {
182
183
  basePower: number;
183
184
  };
184
185
 
185
- ohko?: boolean | TypeName;
186
+ ohko?: boolean | 'Ice';
186
187
  thawsTarget?: boolean;
187
188
  heal?: number[] | null;
188
189
  forceSwitch?: boolean;
@@ -220,6 +221,7 @@ export interface MoveData extends EffectData, HitEffect {
220
221
  infiltrates?: boolean;
221
222
  multiaccuracy?: boolean;
222
223
  multihit?: number | number[];
224
+ multihitType?: 'parentalbond';
223
225
  noCopy?: boolean;
224
226
  noDamageVariance?: boolean;
225
227
  noFaint?: boolean;
@@ -235,7 +237,6 @@ export interface MoveData extends EffectData, HitEffect {
235
237
  hasCrashDamage?: boolean;
236
238
  hasSheerForce?: boolean;
237
239
  isConfusionSelfHit?: boolean;
238
- noSketch?: boolean;
239
240
  stallingMove?: boolean;
240
241
  }
241
242
 
@@ -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.10",
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",