Setup API (Hasura) console to version changes in code
This commit is contained in:
0
api/metadata/actions.graphql
Normal file
0
api/metadata/actions.graphql
Normal file
6
api/metadata/actions.yaml
Normal file
6
api/metadata/actions.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
actions: []
|
||||
custom_types:
|
||||
enums: []
|
||||
input_objects: []
|
||||
objects: []
|
||||
scalars: []
|
||||
1
api/metadata/allow_list.yaml
Normal file
1
api/metadata/allow_list.yaml
Normal file
@ -0,0 +1 @@
|
||||
[]
|
||||
1
api/metadata/api_limits.yaml
Normal file
1
api/metadata/api_limits.yaml
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
api/metadata/backend_configs.yaml
Normal file
1
api/metadata/backend_configs.yaml
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
api/metadata/cron_triggers.yaml
Normal file
1
api/metadata/cron_triggers.yaml
Normal file
@ -0,0 +1 @@
|
||||
[]
|
||||
9
api/metadata/databases/databases.yaml
Normal file
9
api/metadata/databases/databases.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
- name: twenty
|
||||
kind: postgres
|
||||
configuration:
|
||||
connection_info:
|
||||
database_url:
|
||||
from_env: HASURA_GRAPHQL_PG_DATABASE_URL
|
||||
isolation_level: read-committed
|
||||
use_prepared_statements: false
|
||||
tables: "!include twenty/tables/tables.yaml"
|
||||
23
api/metadata/databases/twenty/tables/public_tenants.yaml
Normal file
23
api/metadata/databases/twenty/tables/public_tenants.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
table:
|
||||
name: tenants
|
||||
schema: public
|
||||
array_relationships:
|
||||
- name: users
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: tenant_id
|
||||
table:
|
||||
name: users
|
||||
schema: public
|
||||
select_permissions:
|
||||
- role: user
|
||||
permission:
|
||||
columns:
|
||||
- id
|
||||
- name
|
||||
- uuid
|
||||
- email_domain
|
||||
filter:
|
||||
users:
|
||||
email:
|
||||
_eq: X-Hasura-User-Email
|
||||
23
api/metadata/databases/twenty/tables/public_users.yaml
Normal file
23
api/metadata/databases/twenty/tables/public_users.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
table:
|
||||
name: users
|
||||
schema: public
|
||||
object_relationships:
|
||||
- name: tenant
|
||||
using:
|
||||
foreign_key_constraint_on: tenant_id
|
||||
select_permissions:
|
||||
- role: user
|
||||
permission:
|
||||
columns:
|
||||
- id
|
||||
- tenant_id
|
||||
- email
|
||||
- first_name
|
||||
- last_name
|
||||
- created_at
|
||||
- updated_at
|
||||
filter:
|
||||
tenant:
|
||||
users:
|
||||
email:
|
||||
_eq: X-Hasura-User-Email
|
||||
2
api/metadata/databases/twenty/tables/tables.yaml
Normal file
2
api/metadata/databases/twenty/tables/tables.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
- "!include public_tenants.yaml"
|
||||
- "!include public_users.yaml"
|
||||
1
api/metadata/graphql_schema_introspection.yaml
Normal file
1
api/metadata/graphql_schema_introspection.yaml
Normal file
@ -0,0 +1 @@
|
||||
disabled_for_roles: []
|
||||
1
api/metadata/inherited_roles.yaml
Normal file
1
api/metadata/inherited_roles.yaml
Normal file
@ -0,0 +1 @@
|
||||
[]
|
||||
1
api/metadata/metrics_config.yaml
Normal file
1
api/metadata/metrics_config.yaml
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
api/metadata/network.yaml
Normal file
1
api/metadata/network.yaml
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
api/metadata/opentelemetry.yaml
Normal file
1
api/metadata/opentelemetry.yaml
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
api/metadata/query_collections.yaml
Normal file
1
api/metadata/query_collections.yaml
Normal file
@ -0,0 +1 @@
|
||||
[]
|
||||
1
api/metadata/remote_schemas.yaml
Normal file
1
api/metadata/remote_schemas.yaml
Normal file
@ -0,0 +1 @@
|
||||
[]
|
||||
1
api/metadata/rest_endpoints.yaml
Normal file
1
api/metadata/rest_endpoints.yaml
Normal file
@ -0,0 +1 @@
|
||||
[]
|
||||
1
api/metadata/version.yaml
Normal file
1
api/metadata/version.yaml
Normal file
@ -0,0 +1 @@
|
||||
version: 3
|
||||
Reference in New Issue
Block a user