-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.d.ts
52 lines (51 loc) · 1.08 KB
/
schema.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/* tslint:disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface Pokemon {
species_id: string;
exp: number;
gender: "male" | "female" | "neuter";
ability_id: string;
item_id?: string | null;
nature_id: string;
hp: number;
friendship: number;
original_trainer?: string | null;
ev: EvStats;
iv: IvStats;
primary_status_condition?: "poison" | "badly_poisoned" | "paralysis" | "sleep" | "freeze" | "burn" | null;
wild?: boolean | null;
moves: {
move_id: string;
pp: number;
max_pp: number;
}[];
amie?: {
[k: string]: any;
} | null;
growth_events?: {
name: string;
options: {
[k: string]: any;
};
}[];
}
export interface EvStats {
hp: number;
atk: number;
def: number;
sp_atk: number;
sp_def: number;
speed: number;
}
export interface IvStats {
hp: number;
atk: number;
def: number;
sp_atk: number;
sp_def: number;
speed: number;
}