23 lines
494 B
JavaScript
Raw Normal View History

2022-06-10 14:20:33 -05:00
import { gql } from 'apollo-server-micro'
export default gql`
extend type Query {
2022-12-01 15:31:04 -06:00
registrationGrowth(when: String): [TimeData!]!
itemGrowth(when: String): [TimeData!]!
spendingGrowth(when: String): [TimeData!]!
spenderGrowth(when: String): [TimeData!]!
stackingGrowth(when: String): [TimeData!]!
stackerGrowth(when: String): [TimeData!]!
2022-06-10 14:20:33 -05:00
}
2022-06-24 10:38:00 -05:00
type NameValue {
name: String!
value: Int!
}
2022-12-01 15:31:04 -06:00
type TimeData {
2022-06-24 10:38:00 -05:00
time: String!
2022-12-01 15:31:04 -06:00
data: [NameValue!]!
2022-06-24 10:38:00 -05:00
}
2022-06-10 14:20:33 -05:00
`