59f7b6ff26
This reverts commit 18910fa2ed470fe12ffbfb83df18e206101f0a05.
17 lines
262 B
JavaScript
17 lines
262 B
JavaScript
import { gql } from 'graphql-tag'
|
|
|
|
export default gql`
|
|
extend type Query {
|
|
expectedRewards: ExpectedRewards!
|
|
}
|
|
|
|
extend type Mutation {
|
|
donateToRewards(sats: Int!): Int!
|
|
}
|
|
|
|
type ExpectedRewards {
|
|
total: Int!
|
|
sources: [NameValue!]!
|
|
}
|
|
`
|