Skip to content

Commit

Permalink
[add] hasura metadata export (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
大浦 翼 committed May 29, 2023
1 parent de594c9 commit 13a8b25
Show file tree
Hide file tree
Showing 29 changed files with 98 additions and 5 deletions.
8 changes: 4 additions & 4 deletions hasura/metadata/actions.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
actions: []
custom_types:
enums: []
input_objects: []
objects: []
scalars: []
enums: []
input_objects: []
objects: []
scalars: []
1 change: 1 addition & 0 deletions hasura/metadata/api_limits.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions hasura/metadata/backend_configs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dataconnector: {}
15 changes: 14 additions & 1 deletion hasura/metadata/databases/databases.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
[]
- name: default
kind: postgres
configuration:
connection_info:
database_url:
from_env: HASURA_GRAPHQL_DATABASE_URL
isolation_level: read-committed
pool_settings:
connection_lifetime: 600
idle_timeout: 180
max_connections: 50
retries: 1
use_prepared_statements: true
tables: "!include default/tables/tables.yaml"
3 changes: 3 additions & 0 deletions hasura/metadata/databases/default/tables/public_bureaus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: bureaus
schema: public
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: categories
schema: public
3 changes: 3 additions & 0 deletions hasura/metadata/databases/default/tables/public_chapters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: chapters
schema: public
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: curriculum_skills
schema: public
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: curriculums
schema: public
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: departments
schema: public
3 changes: 3 additions & 0 deletions hasura/metadata/databases/default/tables/public_grades.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: grades
schema: public
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: project_skills
schema: public
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: project_users
schema: public
3 changes: 3 additions & 0 deletions hasura/metadata/databases/default/tables/public_projects.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: projects
schema: public
3 changes: 3 additions & 0 deletions hasura/metadata/databases/default/tables/public_records.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: records
schema: public
3 changes: 3 additions & 0 deletions hasura/metadata/databases/default/tables/public_roles.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: roles
schema: public
3 changes: 3 additions & 0 deletions hasura/metadata/databases/default/tables/public_skills.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: skills
schema: public
3 changes: 3 additions & 0 deletions hasura/metadata/databases/default/tables/public_teachers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: teachers
schema: public
3 changes: 3 additions & 0 deletions hasura/metadata/databases/default/tables/public_types.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: types
schema: public
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: user_details
schema: public
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: user_skills
schema: public
3 changes: 3 additions & 0 deletions hasura/metadata/databases/default/tables/public_users.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table:
name: users
schema: public
18 changes: 18 additions & 0 deletions hasura/metadata/databases/default/tables/tables.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- "!include public_bureaus.yaml"
- "!include public_categories.yaml"
- "!include public_chapters.yaml"
- "!include public_curriculum_skills.yaml"
- "!include public_curriculums.yaml"
- "!include public_departments.yaml"
- "!include public_grades.yaml"
- "!include public_project_skills.yaml"
- "!include public_project_users.yaml"
- "!include public_projects.yaml"
- "!include public_records.yaml"
- "!include public_roles.yaml"
- "!include public_skills.yaml"
- "!include public_teachers.yaml"
- "!include public_types.yaml"
- "!include public_user_details.yaml"
- "!include public_user_skills.yaml"
- "!include public_users.yaml"
1 change: 1 addition & 0 deletions hasura/metadata/graphql_schema_introspection.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
disabled_for_roles: []
1 change: 1 addition & 0 deletions hasura/metadata/inherited_roles.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
1 change: 1 addition & 0 deletions hasura/metadata/metrics_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions hasura/metadata/network.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions hasura/metadata/opentelemetry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions hasura/metadata/rest_endpoints.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]

0 comments on commit 13a8b25

Please sign in to comment.