14 lines
216 B
JavaScript
14 lines
216 B
JavaScript
import { gql } from 'graphql-tag'
|
|
|
|
export default gql`
|
|
extend type Query {
|
|
referrals(when: String): Referrals!
|
|
}
|
|
|
|
type Referrals {
|
|
totalSats: Int!
|
|
totalReferrals: Int!
|
|
stats: [TimeData!]!
|
|
}
|
|
`
|