-
Notifications
You must be signed in to change notification settings - Fork 88
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
feat(backend): outgoing payments page resolver #2872
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Cancel Outgoing Payment.bru
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,7 +1,7 @@ | ||
meta { | ||
name: Cancel Outgoing Payment | ||
type: graphql | ||
seq: 43 | ||
seq: 46 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Create Asset Liquidity Withdrawal.bru
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,7 +1,7 @@ | ||
meta { | ||
name: Withdraw Asset Liquidity | ||
type: graphql | ||
seq: 6 | ||
seq: 7 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Create Incoming Payment Withdrawal.bru
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,7 +1,7 @@ | ||
meta { | ||
name: Withdraw Incoming Payment Liquidity | ||
type: graphql | ||
seq: 26 | ||
seq: 28 | ||
} | ||
|
||
post { | ||
|
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
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Create Outgoing Payment Withdrawal.bru
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,7 +1,7 @@ | ||
meta { | ||
name: Withdraw Outgoing Payment Liquidity | ||
type: graphql | ||
seq: 37 | ||
seq: 40 | ||
} | ||
|
||
post { | ||
|
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
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Create Peer Liquidity Withdrawal.bru
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,7 +1,7 @@ | ||
meta { | ||
name: Withdraw Peer Liquidity | ||
type: graphql | ||
seq: 15 | ||
seq: 16 | ||
} | ||
|
||
post { | ||
|
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
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
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Create Wallet Address Withdrawal.bru
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,7 +1,7 @@ | ||
meta { | ||
name: Create Wallet Address Withdrawal | ||
type: graphql | ||
seq: 39 | ||
seq: 42 | ||
} | ||
|
||
post { | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Delete Asset | ||
type: graphql | ||
seq: 43 | ||
seq: 47 | ||
} | ||
|
||
post { | ||
|
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,7 +1,7 @@ | ||
meta { | ||
name: Delete Peer | ||
type: graphql | ||
seq: 13 | ||
seq: 14 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Deposit Asset Liquidity.bru
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,7 +1,7 @@ | ||
meta { | ||
name: Deposit Asset Liquidity | ||
type: graphql | ||
seq: 5 | ||
seq: 6 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Deposit Event Liquidity.bru
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,7 +1,7 @@ | ||
meta { | ||
name: Deposit Event Liquidity | ||
type: graphql | ||
seq: 35 | ||
seq: 38 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Deposit Outgoing Payment Liquidity.bru
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,7 +1,7 @@ | ||
meta { | ||
name: Deposit Outgoing Payment Liquidity | ||
type: graphql | ||
seq: 36 | ||
seq: 39 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Deposit Peer Liquidity.bru
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,7 +1,7 @@ | ||
meta { | ||
name: Deposit Peer Liquidity | ||
type: graphql | ||
seq: 14 | ||
seq: 15 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Get Accounting Ledger Transfers.bru
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,7 +1,7 @@ | ||
meta { | ||
name: Get Accounting Ledger Transfers | ||
type: graphql | ||
seq: 1 | ||
seq: 2 | ||
} | ||
|
||
post { | ||
|
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,7 +1,7 @@ | ||
meta { | ||
name: Get Asset | ||
type: graphql | ||
seq: 3 | ||
seq: 4 | ||
} | ||
|
||
post { | ||
|
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,7 +1,7 @@ | ||
meta { | ||
name: Get Assets | ||
type: graphql | ||
seq: 4 | ||
seq: 5 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Get Incoming Payment.bru
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,7 +1,7 @@ | ||
meta { | ||
name: Get Incoming Payment | ||
type: graphql | ||
seq: 25 | ||
seq: 27 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Get Outgoing Payment.bru
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,7 +1,7 @@ | ||
meta { | ||
name: Get Outgoing Payment | ||
type: graphql | ||
seq: 33 | ||
seq: 35 | ||
} | ||
|
||
post { | ||
|
31 changes: 31 additions & 0 deletions
31
bruno/collections/Rafiki/Rafiki Admin APIs/Get Outgoing Payments.bru
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 @@ | ||
meta { | ||
name: Get Outgoing Payments | ||
type: graphql | ||
seq: 36 | ||
} | ||
|
||
post { | ||
url: {{RafikiGraphqlHost}}/graphql | ||
body: graphql | ||
auth: none | ||
} | ||
|
||
body:graphql { | ||
query OutgoingPayments($filter: OutgoingPaymentFilter) { | ||
outgoingPayments(filter: $filter) { | ||
edges { | ||
node { | ||
id | ||
client | ||
} | ||
cursor | ||
} | ||
} | ||
} | ||
} | ||
|
||
script:pre-request { | ||
const scripts = require('./scripts'); | ||
|
||
scripts.addApiSignatureHeader(); | ||
} |
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,7 +1,7 @@ | ||
meta { | ||
name: Get Payments | ||
type: graphql | ||
seq: 34 | ||
seq: 37 | ||
} | ||
|
||
post { | ||
|
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,7 +1,7 @@ | ||
meta { | ||
name: Get Peer | ||
type: graphql | ||
seq: 11 | ||
seq: 12 | ||
} | ||
|
||
post { | ||
|
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,7 +1,7 @@ | ||
meta { | ||
name: Get Peers | ||
type: graphql | ||
seq: 12 | ||
seq: 13 | ||
} | ||
|
||
post { | ||
|
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,7 +1,7 @@ | ||
meta { | ||
name: Get Quote | ||
type: graphql | ||
seq: 30 | ||
seq: 32 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Get Receiver (remote Incoming Payment).bru
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,7 +1,7 @@ | ||
meta { | ||
name: Get Receiver (remote Incoming Payment) | ||
type: graphql | ||
seq: 28 | ||
seq: 30 | ||
} | ||
|
||
post { | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, alphabetical now?