-
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.
* fix: added delegation votes to schema * fix: upgraded docker version in docker-compose.yml * fix: correct casing of delegationvotes * fix: added missing types * fix: updated graphql schema * chore: cleaned up schema.graphql - Issue still not fixed yet * stashing * stashing * fix: updating tables and setting right permissions * fix: updating schema.graphql not done yet * fixed schema * fix: schema.graphql * chore: reverted dev changes
- Loading branch information
Showing
30 changed files
with
2,364 additions
and
1,471 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -10,4 +10,5 @@ lerna-debug.log | |
result* | ||
*yarn-error.log | ||
bin | ||
state | ||
state | ||
packages-cache/** |
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
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
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
38 changes: 38 additions & 0 deletions
38
...sura/hasura/project/metadata/databases/default/tables/public_committeeDeRegistration.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,38 @@ | ||
table: | ||
name: committee_de_registration | ||
schema: public | ||
configuration: | ||
column_config: {} | ||
custom_column_names: {} | ||
custom_root_fields: | ||
select: committeeDeRegistration | ||
select_aggregate: committeeDeRegistration_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 | ||
remote_table: | ||
name: voting_anchor | ||
schema: public | ||
select_permissions: | ||
- role: cardano-graphql | ||
permission: | ||
columns: | ||
- cert_index | ||
- cold_key_id | ||
- tx_id | ||
- voting_anchor_id | ||
filter: {} | ||
limit: 2500 | ||
allow_aggregations: true |
18 changes: 18 additions & 0 deletions
18
...dano-db-hasura/hasura/project/metadata/databases/default/tables/public_committeeHash.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,18 @@ | ||
table: | ||
name: committee_hash | ||
schema: public | ||
configuration: | ||
column_config: {} | ||
custom_column_names: {} | ||
custom_root_fields: | ||
select: committeeHash | ||
select_aggregate: committeeHash_aggregate | ||
select_permissions: | ||
- role: cardano-graphql | ||
permission: | ||
columns: | ||
- has_script | ||
- raw | ||
filter: {} | ||
limit: 2500 | ||
allow_aggregations: true |
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
30 changes: 30 additions & 0 deletions
30
...hasura/hasura/project/metadata/databases/default/tables/public_committeeRegistration.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,30 @@ | ||
table: | ||
name: committee_registration | ||
schema: public | ||
configuration: | ||
column_config: {} | ||
custom_column_names: {} | ||
custom_root_fields: | ||
select: committeeRegistration | ||
select_aggregate: committeeRegistration_aggregate | ||
object_relationships: | ||
- 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: | ||
- cert_index | ||
- cold_key_id | ||
- hot_key_id | ||
- tx_id | ||
filter: {} | ||
limit: 2500 | ||
allow_aggregations: true |
21 changes: 0 additions & 21 deletions
21
...ra/hasura/project/metadata/databases/default/tables/public_committee_de_registration.yaml
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...ano-db-hasura/hasura/project/metadata/databases/default/tables/public_committee_hash.yaml
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...asura/hasura/project/metadata/databases/default/tables/public_committee_registration.yaml
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
...i-cardano-db-hasura/hasura/project/metadata/databases/default/tables/public_drepHash.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,18 @@ | ||
table: | ||
name: drep_hash | ||
schema: public | ||
configuration: | ||
column_config: {} | ||
custom_column_names: {} | ||
custom_root_fields: | ||
select: drepHash | ||
select_aggregate: drepHash_aggregate | ||
select_permissions: | ||
- role: cardano-graphql | ||
permission: | ||
columns: | ||
- view | ||
- has_script | ||
- raw | ||
filter: { } | ||
allow_aggregations: true |
3 changes: 0 additions & 3 deletions
3
...-cardano-db-hasura/hasura/project/metadata/databases/default/tables/public_drep_hash.yaml
This file was deleted.
Oops, something went wrong.
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
31 changes: 31 additions & 0 deletions
31
...db-hasura/hasura/project/metadata/databases/default/tables/public_offChainVoteAuthor.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,31 @@ | ||
table: | ||
name: off_chain_vote_author | ||
schema: public | ||
configuration: | ||
column_config: {} | ||
custom_column_names: {} | ||
custom_root_fields: | ||
select: offChainVoteAuthor | ||
select_aggregate: offChainVoteAuthor_aggregate | ||
object_relationships: | ||
- name: offChainVoteData | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
off_chain_vote_data_id: id | ||
remote_table: | ||
name: off_chain_vote_data | ||
schema: public | ||
select_permissions: | ||
- role: cardano-graphql | ||
permission: | ||
columns: | ||
- name | ||
- off_chain_vote_data_id | ||
- public_key | ||
- signature | ||
- warning | ||
- witness_algorithm | ||
filter: {} | ||
limit: 2500 | ||
allow_aggregations: true |
30 changes: 25 additions & 5 deletions
30
...lt/tables/public_off_chain_vote_data.yaml → ...fault/tables/public_offChainVoteData.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 |
---|---|---|
@@ -1,36 +1,56 @@ | ||
table: | ||
name: off_chain_vote_data | ||
schema: public | ||
configuration: | ||
column_config: {} | ||
custom_column_names: {} | ||
custom_root_fields: | ||
select: offChainVoteData | ||
select_aggregate: offChainVoteData_aggregate | ||
object_relationships: | ||
- name: OffChainVoteGovActionData | ||
- 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 | ||
- name: offChainVoteDrepData | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
id: off_chain_vote_data_id | ||
remote_table: | ||
name: off_chain_vote_drep_data | ||
schema: public | ||
- name: OffChainVoteAuthor | ||
- name: offChainVoteAuthor | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
id: off_chain_vote_data_id | ||
remote_table: | ||
name: off_chain_vote_author | ||
schema: public | ||
- name: OffChainVoteReference | ||
- name: ofChainVoteReference | ||
using: | ||
manual_configuration: | ||
column_mapping: | ||
id: off_chain_vote_data_id | ||
remote_table: | ||
name: off_chain_vote_reference | ||
schema: public | ||
schema: public | ||
select_permissions: | ||
- role: cardano-graphql | ||
permission: | ||
columns: | ||
- bytes | ||
- comment | ||
- hash | ||
- is_valid | ||
- json | ||
- voting_anchor_id | ||
- warning | ||
filter: {} | ||
limit: 2500 | ||
allow_aggregations: true |
Oops, something went wrong.