@pkmn/dex-types 0.10.3 → 0.10.5

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 +2 -4
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -85,8 +85,7 @@ export interface ItemData extends EffectData {
85
85
  isGem?: boolean;
86
86
  isPokeball?: boolean;
87
87
  isPrimalOrb?: boolean;
88
- megaStone?: string;
89
- megaEvolves?: string;
88
+ megaStone?: {[megaEvolves: string]: string};
90
89
  naturalGift?: {basePower: number; type: TypeName};
91
90
  onDrive?: string;
92
91
  onMemory?: string;
@@ -371,8 +370,7 @@ export interface Item extends Readonly<BasicEffect<ItemName> & ItemData> {
371
370
  readonly effectType: 'Item';
372
371
  readonly kind: 'Item';
373
372
  readonly forcedForme?: SpeciesName;
374
- readonly megaStone?: SpeciesName;
375
- readonly megaEvolves?: SpeciesName;
373
+ readonly megaStone?: {[megaEvolves: SpeciesName]: SpeciesName};
376
374
  readonly onDrive?: TypeName;
377
375
  readonly onMemory?: TypeName;
378
376
  readonly onPlate?: TypeName;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pkmn/dex-types",
3
- "version": "0.10.3",
3
+ "version": "0.10.5",
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",