2022-06-10 19:20:33 +00:00
|
|
|
import { gql } from 'apollo-server-micro'
|
|
|
|
|
|
|
|
export default gql`
|
|
|
|
extend type Query {
|
2022-07-01 18:26:34 +00:00
|
|
|
registrationGrowth: [RegistrationGrowth!]!
|
2022-06-10 19:20:33 +00:00
|
|
|
activeGrowth: [TimeNum!]!
|
2022-06-24 15:38:00 +00:00
|
|
|
itemGrowth: [ItemGrowth!]!
|
|
|
|
spentGrowth: [SpentGrowth!]!
|
|
|
|
stackedGrowth: [StackedGrowth!]!
|
|
|
|
earnerGrowth: [TimeNum!]!
|
|
|
|
|
|
|
|
registrationsWeekly: Int!
|
|
|
|
activeWeekly: Int!
|
|
|
|
earnersWeekly: Int!
|
|
|
|
itemsWeekly: [NameValue!]!
|
|
|
|
spentWeekly: [NameValue!]!
|
|
|
|
stackedWeekly: [NameValue!]!
|
2022-06-10 19:20:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type TimeNum {
|
|
|
|
time: String!
|
|
|
|
num: Int!
|
|
|
|
}
|
2022-06-24 15:38:00 +00:00
|
|
|
|
|
|
|
type NameValue {
|
|
|
|
name: String!
|
|
|
|
value: Int!
|
|
|
|
}
|
|
|
|
|
2022-07-01 18:26:34 +00:00
|
|
|
type RegistrationGrowth {
|
|
|
|
time: String!
|
|
|
|
invited: Int!
|
|
|
|
organic: Int!
|
|
|
|
}
|
|
|
|
|
2022-06-24 15:38:00 +00:00
|
|
|
type ItemGrowth {
|
|
|
|
time: String!
|
|
|
|
jobs: Int!
|
|
|
|
posts: Int!
|
|
|
|
comments: Int!
|
|
|
|
}
|
|
|
|
|
|
|
|
type StackedGrowth {
|
|
|
|
time: String!
|
2022-07-01 18:26:34 +00:00
|
|
|
rewards: Int!
|
2022-06-24 15:38:00 +00:00
|
|
|
posts: Int!
|
|
|
|
comments: Int!
|
|
|
|
}
|
|
|
|
|
|
|
|
type SpentGrowth {
|
|
|
|
time: String!
|
|
|
|
jobs: Int!
|
|
|
|
fees: Int!
|
|
|
|
boost: Int!
|
|
|
|
tips: Int!
|
|
|
|
}
|
2022-06-10 19:20:33 +00:00
|
|
|
`
|