mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-25 04:40:21 +00:00
add autogenerated and exported graphql data
This commit is contained in:
parent
6787cdd62e
commit
d0922787d9
6 changed files with 37 additions and 2 deletions
|
@ -6,10 +6,10 @@
|
||||||
from_env: HASURA_GRAPHQL_DATABASE_URL
|
from_env: HASURA_GRAPHQL_DATABASE_URL
|
||||||
isolation_level: read-committed
|
isolation_level: read-committed
|
||||||
pool_settings:
|
pool_settings:
|
||||||
|
connection_lifetime: 60
|
||||||
idle_timeout: 20
|
idle_timeout: 20
|
||||||
max_connections: 10
|
max_connections: 10
|
||||||
retries: 1
|
|
||||||
pool_timeout: 60
|
pool_timeout: 60
|
||||||
connection_lifetime: 60
|
retries: 1
|
||||||
use_prepared_statements: false
|
use_prepared_statements: false
|
||||||
tables: "!include default/tables/tables.yaml"
|
tables: "!include default/tables/tables.yaml"
|
||||||
|
|
|
@ -41,6 +41,13 @@ array_relationships:
|
||||||
table:
|
table:
|
||||||
name: pokemon_v2_pokemonability
|
name: pokemon_v2_pokemonability
|
||||||
schema: public
|
schema: public
|
||||||
|
- name: pokemon_v2_pokemonabilitypasts
|
||||||
|
using:
|
||||||
|
foreign_key_constraint_on:
|
||||||
|
column: ability_id
|
||||||
|
table:
|
||||||
|
name: pokemon_v2_pokemonabilitypast
|
||||||
|
schema: public
|
||||||
select_permissions:
|
select_permissions:
|
||||||
- permission:
|
- permission:
|
||||||
allow_aggregations: true
|
allow_aggregations: true
|
||||||
|
|
|
@ -41,6 +41,13 @@ array_relationships:
|
||||||
table:
|
table:
|
||||||
name: pokemon_v2_move
|
name: pokemon_v2_move
|
||||||
schema: public
|
schema: public
|
||||||
|
- name: pokemon_v2_pokemonabilitypasts
|
||||||
|
using:
|
||||||
|
foreign_key_constraint_on:
|
||||||
|
column: generation_id
|
||||||
|
table:
|
||||||
|
name: pokemon_v2_pokemonabilitypast
|
||||||
|
schema: public
|
||||||
- name: pokemon_v2_pokemonformgenerations
|
- name: pokemon_v2_pokemonformgenerations
|
||||||
using:
|
using:
|
||||||
foreign_key_constraint_on:
|
foreign_key_constraint_on:
|
||||||
|
|
|
@ -20,6 +20,13 @@ array_relationships:
|
||||||
table:
|
table:
|
||||||
name: pokemon_v2_pokemonability
|
name: pokemon_v2_pokemonability
|
||||||
schema: public
|
schema: public
|
||||||
|
- name: pokemon_v2_pokemonabilitypasts
|
||||||
|
using:
|
||||||
|
foreign_key_constraint_on:
|
||||||
|
column: pokemon_id
|
||||||
|
table:
|
||||||
|
name: pokemon_v2_pokemonabilitypast
|
||||||
|
schema: public
|
||||||
- name: pokemon_v2_pokemonforms
|
- name: pokemon_v2_pokemonforms
|
||||||
using:
|
using:
|
||||||
foreign_key_constraint_on:
|
foreign_key_constraint_on:
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
table:
|
||||||
|
name: pokemon_v2_pokemonabilitypast
|
||||||
|
schema: public
|
||||||
|
object_relationships:
|
||||||
|
- name: pokemon_v2_ability
|
||||||
|
using:
|
||||||
|
foreign_key_constraint_on: ability_id
|
||||||
|
- name: pokemon_v2_generation
|
||||||
|
using:
|
||||||
|
foreign_key_constraint_on: generation_id
|
||||||
|
- name: pokemon_v2_pokemon
|
||||||
|
using:
|
||||||
|
foreign_key_constraint_on: pokemon_id
|
|
@ -107,6 +107,7 @@
|
||||||
- "!include public_pokemon_v2_pokedexversiongroup.yaml"
|
- "!include public_pokemon_v2_pokedexversiongroup.yaml"
|
||||||
- "!include public_pokemon_v2_pokemon.yaml"
|
- "!include public_pokemon_v2_pokemon.yaml"
|
||||||
- "!include public_pokemon_v2_pokemonability.yaml"
|
- "!include public_pokemon_v2_pokemonability.yaml"
|
||||||
|
- "!include public_pokemon_v2_pokemonabilitypast.yaml"
|
||||||
- "!include public_pokemon_v2_pokemoncolor.yaml"
|
- "!include public_pokemon_v2_pokemoncolor.yaml"
|
||||||
- "!include public_pokemon_v2_pokemoncolorname.yaml"
|
- "!include public_pokemon_v2_pokemoncolorname.yaml"
|
||||||
- "!include public_pokemon_v2_pokemondexnumber.yaml"
|
- "!include public_pokemon_v2_pokemondexnumber.yaml"
|
||||||
|
|
Loading…
Reference in a new issue