ohmyform-ui/graphql/query/admin.statistic.query.ts
Michael Schramm 8713c0a8c6 - ability to change user passwords
- add default page background
- add environment list in [doc](doc/environment.md)
- combined notificationts to become more versatile
- use exported hooks for graphql
- links at the bottom for new users
- fixes for hide contrib setting
- upgrad all packages
2021-05-02 12:43:55 +02:00

30 lines
458 B
TypeScript

import { gql } from '@apollo/client/core'
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
}
}
`