-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: adding new conway tables * feat: adding new conway tables * feat: adding committee tables * feat: adding off_chain tables
- Loading branch information
Showing
26 changed files
with
469 additions
and
31 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
...ano-db-hasura/hasura/project/metadata/databases/default/tables/public_DelegationVote.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
table: | ||
name: DelegationVote | ||
schema: public | ||
configuration: | ||
column_config: {} | ||
custom_column_names: {} | ||
custom_root_fields: | ||
select: delegationvotes | ||
select_aggregate: delegationvotes_aggregate | ||
object_relationships: | ||
- name: redeemer | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
redeemerId: id | ||
insertion_order: null | ||
remote_table: | ||
name: Redeemer | ||
schema: public | ||
- name: drep | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
drep_hash_id: id | ||
insertion_order: null | ||
remote_table: | ||
name: drep_hash | ||
schema: public | ||
- name: transaction | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
tx_id: id | ||
insertion_order: null | ||
remote_table: | ||
name: Transaction | ||
schema: public | ||
select_permissions: | ||
- role: cardano-graphql | ||
permission: | ||
columns: | ||
- address | ||
filter: {} | ||
limit: 2500 | ||
allow_aggregations: true |
28 changes: 28 additions & 0 deletions
28
...o-db-hasura/hasura/project/metadata/databases/default/tables/public_DrepRegistration.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
table: | ||
name: DrepRegistration | ||
schema: public | ||
configuration: | ||
column_config: {} | ||
custom_column_names: {} | ||
custom_root_fields: | ||
select: drepRegistrations | ||
select_aggregate: drepRegistrations_aggregate | ||
object_relationships: | ||
- name: transaction | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
tx_id: id | ||
insertion_order: null | ||
remote_table: | ||
name: Transaction | ||
schema: public | ||
- name: votingAnchor | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
voting_anchor_id: id | ||
insertion_order: null | ||
remote_table: | ||
name: voting_anchor | ||
schema: public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...-cardano-db-hasura/hasura/project/metadata/databases/default/tables/public_committee.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
table: | ||
name: committee | ||
schema: public | ||
object_relationships: | ||
- name: committeeMembers | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
id: committee_id | ||
insertion_order: null | ||
remote_table: | ||
name: committee_member | ||
schema: public |
21 changes: 21 additions & 0 deletions
21
...ra/hasura/project/metadata/databases/default/tables/public_committee_de_registration.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
table: | ||
name: committee_de_registration | ||
schema: public | ||
object_relationships: | ||
- name: transaction | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
tx_id: id | ||
insertion_order: null | ||
remote_table: | ||
name: Transaction | ||
schema: public | ||
- name: VotingAnchor | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
voting_anchor_id: id | ||
remote_table: | ||
name: voting_anchor | ||
schema: public |
3 changes: 3 additions & 0 deletions
3
...ano-db-hasura/hasura/project/metadata/databases/default/tables/public_committee_hash.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: committee_hash | ||
schema: public |
21 changes: 21 additions & 0 deletions
21
...o-db-hasura/hasura/project/metadata/databases/default/tables/public_committee_member.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
table: | ||
name: committee_member | ||
schema: public | ||
object_relationships: | ||
- name: committee | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
committee_id: id | ||
insertion_order: null | ||
remote_table: | ||
name: committee | ||
schema: public | ||
- name: committeeHash | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
committee_hash_id: id | ||
remote_table: | ||
name: committee_hash | ||
schema: public |
13 changes: 13 additions & 0 deletions
13
...asura/hasura/project/metadata/databases/default/tables/public_committee_registration.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
table: | ||
name: committee_registration | ||
schema: public | ||
object_relationships: | ||
- name: transaction | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
tx_id: id | ||
insertion_order: null | ||
remote_table: | ||
name: Transaction | ||
schema: public |
20 changes: 20 additions & 0 deletions
20
...cardano-db-hasura/hasura/project/metadata/databases/default/tables/public_drep_distr.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
table: | ||
name: drep_distr | ||
schema: public | ||
object_relationships: | ||
- name: DrepHash | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
hash_id: id | ||
remote_table: | ||
name: drep_hash | ||
schema: public | ||
- name: Epoch | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
epoch_no: number | ||
remote_table: | ||
name: Epoch | ||
schema: public |
3 changes: 3 additions & 0 deletions
3
...-cardano-db-hasura/hasura/project/metadata/databases/default/tables/public_drep_hash.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: drep_hash | ||
schema: public |
35 changes: 35 additions & 0 deletions
35
...b-hasura/hasura/project/metadata/databases/default/tables/public_gov_action_proposal.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
table: | ||
name: gov_action_proposal | ||
schema: public | ||
configuration: | ||
column_config: {} | ||
custom_column_names: {} | ||
custom_root_fields: | ||
select: gov_action_proposal | ||
select_aggregate: gov_action_proposal_aggregate | ||
object_relationships: | ||
- name: transaction | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
tx_id: id | ||
insertion_order: null | ||
remote_table: | ||
name: tx | ||
schema: public | ||
- name: PreviousGovAction | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
prev_gov_action_proposal: id | ||
remote_table: | ||
name: gov_action_proposal | ||
schema: public | ||
- name: VotingAnchor | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
voting_anchor_id: id | ||
remote_table: | ||
name: voting_anchor | ||
schema: public |
12 changes: 12 additions & 0 deletions
12
...hasura/hasura/project/metadata/databases/default/tables/public_off_chain_vote_author.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
table: | ||
name: off_chain_vote_author | ||
schema: public | ||
object_relationships: | ||
- name: OffChainVoteData | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
off_chain_vote_data_id: id | ||
remote_table: | ||
name: off_chain_vote_data | ||
schema: public |
36 changes: 36 additions & 0 deletions
36
...b-hasura/hasura/project/metadata/databases/default/tables/public_off_chain_vote_data.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
table: | ||
name: off_chain_vote_data | ||
schema: public | ||
object_relationships: | ||
- name: OffChainVoteGovActionData | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
id: off_chain_vote_data_id | ||
remote_table: | ||
name: off_chain_vote_gov_action_data | ||
schema: public | ||
- name: OffChainDrepData | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
id: off_chain_vote_data_id | ||
remote_table: | ||
name: off_chain_vote_drep_data | ||
schema: public | ||
- name: OffChainVoteAuthor | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
id: off_chain_vote_data_id | ||
remote_table: | ||
name: off_chain_vote_author | ||
schema: public | ||
- name: OffChainVoteReference | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
id: off_chain_vote_data_id | ||
remote_table: | ||
name: off_chain_vote_reference | ||
schema: public |
12 changes: 12 additions & 0 deletions
12
...ura/hasura/project/metadata/databases/default/tables/public_off_chain_vote_drep_data.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
table: | ||
name: off_chain_vote_drep_data | ||
schema: public | ||
object_relationships: | ||
- name: OffChainVoteData | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
off_chain_vote_data_id: id | ||
remote_table: | ||
name: off_chain_vote_data | ||
schema: public |
12 changes: 12 additions & 0 deletions
12
...sura/project/metadata/databases/default/tables/public_off_chain_vote_gov_action_data.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
table: | ||
name: off_chain_vote_gov_action_data | ||
schema: public | ||
object_relationships: | ||
- name: OffChainVoteData | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
off_chain_vote_data_id: id | ||
remote_table: | ||
name: off_chain_vote_data | ||
schema: public |
12 changes: 12 additions & 0 deletions
12
...ura/hasura/project/metadata/databases/default/tables/public_off_chain_vote_reference.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
table: | ||
name: off_chain_vote_reference | ||
schema: public | ||
object_relationships: | ||
- name: OffChainVoteData | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
off_chain_vote_data_id: id | ||
remote_table: | ||
name: off_chain_vote_data | ||
schema: public |
3 changes: 3 additions & 0 deletions
3
...-cardano-db-hasura/hasura/project/metadata/databases/default/tables/public_pool_hash.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: pool_hash | ||
schema: public |
3 changes: 3 additions & 0 deletions
3
...-cardano-db-hasura/hasura/project/metadata/databases/default/tables/public_pool_stat.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: pool_stat | ||
schema: public |
3 changes: 3 additions & 0 deletions
3
...dano-db-hasura/hasura/project/metadata/databases/default/tables/public_stake_address.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: stake_address | ||
schema: public |
20 changes: 20 additions & 0 deletions
20
...b-hasura/hasura/project/metadata/databases/default/tables/public_treasury_withdrawal.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
table: | ||
name: treasury_withdrawal | ||
schema: public | ||
object_relationships: | ||
- name: GovActionProposal | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
gov_action_proposal_id: id | ||
remote_table: | ||
name: gov_action_proposal | ||
schema: public | ||
- name: StakeAddress | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
stake_address_id: id | ||
remote_table: | ||
name: stake_address | ||
schema: public |
3 changes: 3 additions & 0 deletions
3
...ges/api-cardano-db-hasura/hasura/project/metadata/databases/default/tables/public_tx.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: tx | ||
schema: public |
13 changes: 13 additions & 0 deletions
13
...dano-db-hasura/hasura/project/metadata/databases/default/tables/public_voting_anchor.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
table: | ||
name: voting_anchor | ||
schema: public | ||
object_relationships: | ||
- name: OffChainData | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
id: voting_anchor_id | ||
insertion_order: null | ||
remote_table: | ||
name: off_chain_vote_data | ||
schema: public |
Oops, something went wrong.