Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Apollo API #908

Merged
merged 18 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ lerna-debug.log
result*
*yarn-error.log
bin
state
state
packages-cache/**
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ configuration:
column_config: {}
custom_column_names: {}
custom_root_fields:
select: delegationvotes
select_aggregate: delegationvotes_aggregate
select: delegationVotes
select_aggregate: delegationVotes_aggregate
object_relationships:
- name: redeemer
using:
Expand Down Expand Up @@ -40,6 +40,9 @@ select_permissions:
permission:
columns:
- address
- drep_hash_id
- tx_id
- redeemerId
filter: {}
limit: 2500
allow_aggregations: true
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,15 @@ object_relationships:
insertion_order: null
remote_table:
name: voting_anchor
schema: public
schema: public
select_permissions:
- role: cardano-graphql
permission:
columns:
- DRepId
- deposit
- tx_id
- voting_anchor_id
filter: {}
limit: 2500
allow_aggregations: true
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,24 @@ object_relationships:
insertion_order: null
remote_table:
name: committee_member
schema: public
schema: public
- name: govActionProposal
using:
manual_configuration:
column_mapping:
gov_action_proposal_id: id
insertion_order: null
remote_table:
name: gov_action_proposal
schema: public
select_permissions:
- role: cardano-graphql
permission:
columns:
- gov_action_proposal_id
- quorum_denominator
- quorum_numerator
- id
filter: {}
limit: 2500
allow_aggregations: true
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
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
table:
name: committee_member
schema: public
configuration:
column_config: {}
custom_column_names: {}
custom_root_fields:
select: committeeMember
select_aggregate: committeeMember_aggregate
object_relationships:
- name: committee
using:
Expand All @@ -18,4 +24,15 @@ object_relationships:
committee_hash_id: id
remote_table:
name: committee_hash
schema: public
schema: public
select_permissions:
- role: cardano-graphql
permission:
columns:
- committee_hash_id
- committee_id
- expiration_epoch
- id
filter: {}
limit: 2500
allow_aggregations: true
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

This file was deleted.

This file was deleted.

This file was deleted.

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

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ configuration:
column_config: {}
custom_column_names: {}
custom_root_fields:
select: gov_action_proposal
select_aggregate: gov_action_proposal_aggregate
select: govActionProposal
select_aggregate: govActionProposal_aggregate
object_relationships:
- name: transaction
using:
Expand All @@ -32,4 +32,20 @@ object_relationships:
voting_anchor_id: id
remote_table:
name: voting_anchor
schema: public
schema: public
select_permissions:
- role: cardano-graphql
permission:
columns:
- tx_id
- index
- prev_gov_action_proposal
- deposit
- return_address
- expiration
- voting_anchor_id
- type
- description
filter: {}
limit: 2500
allow_aggregations: true
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
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
Loading
Loading