@pkmn/dex-types 0.9.38 → 0.10.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/index.d.ts +11 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -257,6 +257,7 @@ export interface SpeciesData {
257
257
  tags?: SpeciesTag[];
258
258
  condition?: Partial<Condition>;
259
259
  canHatch?: boolean;
260
+ isCosmeticForme?: boolean;
260
261
  baseForme?: string;
261
262
  baseSpecies?: string;
262
263
  evoLevel?: number;
@@ -288,6 +289,14 @@ export interface SpeciesData {
288
289
  inherit?: boolean;
289
290
  }
290
291
 
292
+ export interface CosmeticFormeData {
293
+ isCosmeticForme: boolean;
294
+ name: string;
295
+ baseSpecies: string;
296
+ forme: string;
297
+ color: string;
298
+ }
299
+
291
300
  export type MoveSource = string;
292
301
 
293
302
  export interface EventInfoData {
@@ -306,6 +315,8 @@ export interface EventInfoData {
306
315
  pokeball?: string;
307
316
  from?: string;
308
317
  japan?: boolean;
318
+ emeraldEventEgg?: boolean;
319
+ source?: string;
309
320
  }
310
321
 
311
322
  export interface LearnsetData {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pkmn/dex-types",
3
- "version": "0.9.38",
3
+ "version": "0.10.0",
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",