2022-06-10 19:20:33 +00:00
|
|
|
import { gql } from 'apollo-server-micro'
|
|
|
|
|
2023-05-17 22:56:34 +00:00
|
|
|
// extend type Query {
|
|
|
|
// 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-24 15:38:00 +00:00
|
|
|
|
2023-05-17 22:56:34 +00:00
|
|
|
export default gql`
|
2022-06-24 15:38:00 +00:00
|
|
|
type NameValue {
|
|
|
|
name: String!
|
|
|
|
value: Int!
|
|
|
|
}
|
|
|
|
|
2022-12-01 21:31:04 +00:00
|
|
|
type TimeData {
|
2022-06-24 15:38:00 +00:00
|
|
|
time: String!
|
2022-12-01 21:31:04 +00:00
|
|
|
data: [NameValue!]!
|
2022-06-24 15:38:00 +00:00
|
|
|
}
|
2022-06-10 19:20:33 +00:00
|
|
|
`
|