-
Notifications
You must be signed in to change notification settings - Fork 1
/
query.gql
94 lines (94 loc) · 1.83 KB
/
query.gql
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
query rawPokemonData {
pokemon_v2_pokemon(order_by: { id: asc }) {
id
name
height
weight
base_experience
pokemon_v2_pokemontypes(order_by: { id: asc }) {
pokemon_v2_type {
name
}
}
pokemon_v2_pokemonstats {
pokemon_v2_stat {
name
}
base_stat
}
pokemon_v2_pokemonabilities(
distinct_on: ability_id
order_by: { ability_id: asc }
) {
pokemon_v2_ability {
name
}
}
pokemon_v2_encounters(
order_by: { pokemon_v2_locationarea: {}, location_area_id: asc }
distinct_on: location_area_id
) {
pokemon_v2_locationarea {
pokemon_v2_location {
name
pokemon_v2_region {
name
}
}
}
}
pokemon_v2_pokemonspecy {
base_happiness
capture_rate
forms_switchable
gender_rate
has_gender_differences
hatch_counter
is_baby
is_legendary
is_mythical
pokemon_v2_pokemonspeciesflavortexts(
order_by: { id: asc }
where: { language_id: { _eq: 9 } }
) {
pokemon_v2_version {
name
}
flavor_text
}
pokemon_v2_pokemonshape {
name
}
pokemon_v2_pokemonhabitat {
name
}
pokemon_v2_pokemonegggroups {
pokemon_v2_egggroup {
name
}
}
pokemon_v2_generation {
name
}
pokemon_v2_growthrate {
name
}
pokemon_v2_pokemoncolor {
name
}
pokemon_v2_pokemonevolutions {
pokemon_v2_evolutiontrigger {
name
}
}
}
pokemon_v2_pokemonmoves(distinct_on: move_id, order_by: { move_id: asc }) {
pokemon_v2_move {
name
pokemon_v2_type {
name
}
}
}
}
}