stacker.news/api/typeDefs/referrals.js

14 lines
216 B
JavaScript
Raw Normal View History

import { gql } from 'graphql-tag'
2022-12-19 22:27:52 +00:00
export default gql`
extend type Query {
referrals(when: String): Referrals!
}
type Referrals {
totalSats: Int!
totalReferrals: Int!
stats: [TimeData!]!
}
`