ohmyform-ui/graphql/query/settings.query.ts
Michael Schramm 8d81390c83 apply eslint
2020-06-09 11:54:50 +02:00

16 lines
251 B
TypeScript

import { gql } from 'apollo-boost'
export interface SettingsQueryData {
disabledSignUp: {
value: boolean
}
}
export const SETTINGS_QUERY = gql`
query {
disabledSignUp: getByKey(key: "SIGNUP_DISABLED") {
value: isTrue
}
}
`