mirror of
https://github.com/IT4Change/ohmyform-ui.git
synced 2025-12-13 09:45:50 +00:00
22 lines
355 B
TypeScript
22 lines
355 B
TypeScript
import { gql } from 'apollo-boost'
|
|
|
|
export interface SettingsQueryData {
|
|
disabledSignUp: {
|
|
value: boolean
|
|
}
|
|
loginNote: {
|
|
value: string
|
|
}
|
|
}
|
|
|
|
export const SETTINGS_QUERY = gql`
|
|
query {
|
|
disabledSignUp: getSetting(key: "SIGNUP_DISABLED") {
|
|
value: isTrue
|
|
}
|
|
loginNote: getSetting(key: "LOGIN_NOTE") {
|
|
value
|
|
}
|
|
}
|
|
`
|