Skip to content

Commit

Permalink
feat: Adding new tables to API (#930)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryscheng authored Feb 24, 2024
1 parent 842e6e6 commit 8b85561
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
table:
name: github_metrics_by_collection
schema: public
select_permissions:
- role: anonymous
permission:
columns: "*"
filter: {}
allow_aggregations: false
comment: ""
- role: user
permission:
columns: "*"
filter: {}
allow_aggregations: false
comment: ""
- role: developer
permission:
columns: "*"
filter: {}
allow_aggregations: true
comment: ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
table:
name: github_metrics_by_project
schema: public
select_permissions:
- role: anonymous
permission:
columns: "*"
filter: {}
allow_aggregations: false
comment: ""
- role: user
permission:
columns: "*"
filter: {}
allow_aggregations: false
comment: ""
- role: developer
permission:
columns: "*"
filter: {}
allow_aggregations: true
comment: ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
table:
name: onchain_metrics_by_collection_arbitrum
schema: public
select_permissions:
- role: anonymous
permission:
columns: "*"
filter: {}
allow_aggregations: false
comment: ""
- role: user
permission:
columns: "*"
filter: {}
allow_aggregations: false
comment: ""
- role: developer
permission:
columns: "*"
filter: {}
allow_aggregations: true
comment: ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
table:
name: onchain_metrics_by_project_arbitrum
schema: public
select_permissions:
- role: anonymous
permission:
columns: "*"
filter: {}
allow_aggregations: false
comment: ""
- role: user
permission:
columns: "*"
filter: {}
allow_aggregations: false
comment: ""
- role: developer
permission:
columns: "*"
filter: {}
allow_aggregations: true
comment: ""
4 changes: 4 additions & 0 deletions hasura/metadata/databases/cloudsql/tables/tables.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
- "!include onchain_metrics_by_collection_arbitrum.yaml"
- "!include onchain_metrics_by_project_arbitrum.yaml"
- "!include github_metrics_by_collection.yaml"
- "!include github_metrics_by_project.yaml"
- "!include event_types.yaml"
- "!include first_contribution_to_project.yaml"
- "!include last_contribution_to_project.yaml"
Expand Down

0 comments on commit 8b85561

Please sign in to comment.