Skip to content

Commit

Permalink
fix: GraphQL schema order_by
Browse files Browse the repository at this point in the history
- Adds SlotLeader_order_by
- Transaction_order_by.block = Block_order_by
- Removes duplicate param in blocks query
  • Loading branch information
rhyslbw committed Jan 25, 2021
1 parent 201a3b8 commit 9869a48
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/api-cardano-db-hasura/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,11 @@ input SlotLeader_bool_exp {
stakePool: StakePool_bool_exp
}

input SlotLeader_order_by {
hash: order_by
stakePool: StakePool_order_by
}

type StakePool {
fixedCost: String!
hash: Hash28Hex!
Expand Down Expand Up @@ -783,7 +788,7 @@ type Transaction {
}

input Transaction_order_by {
block: order_by
block: Block_order_by
blockIndex: order_by
deposit: order_by
fee: order_by
Expand Down Expand Up @@ -1061,7 +1066,7 @@ input Block_bool_exp {

input Block_order_by {
forgedAt: order_by
slotLeader: order_by
slotLeader: SlotLeader_order_by
epoch: Epoch_order_by
fees: order_by
hash: order_by
Expand Down Expand Up @@ -1110,7 +1115,6 @@ type Epoch {
blocks (
limit: Int
order_by: [Block_order_by!]
order_by: [Block_order_by!]
offset: Int
where: Block_bool_exp
): [Block!]!
Expand Down

0 comments on commit 9869a48

Please sign in to comment.