mirror of
https://github.com/IT4Change/ohmyform-ui.git
synced 2025-12-13 09:45:50 +00:00
30 lines
451 B
TypeScript
30 lines
451 B
TypeScript
import { gql } from 'apollo-boost'
|
|
|
|
export interface AdminStatisticQueryData {
|
|
forms: {
|
|
total: number
|
|
}
|
|
submissions: {
|
|
total: number
|
|
}
|
|
users: {
|
|
total: number
|
|
}
|
|
}
|
|
|
|
export interface AdminStatisticQueryVariables {}
|
|
|
|
export const ADMIN_STATISTIC_QUERY = gql`
|
|
query {
|
|
forms: getFormStatistic {
|
|
total
|
|
}
|
|
submissions: getSubmissionStatistic {
|
|
total
|
|
}
|
|
users: getUserStatistic {
|
|
total
|
|
}
|
|
}
|
|
`
|