Files
twenty/packages/twenty-front/src/modules/client-config/graphql/queries/getClientConfig.ts
Arthur EICHELBERGER c6ae480856 feat(signup): allow to block signup (#3209)
* feat(signup): allow to block signup

* feat(signup): update environment variable documentation

* test: update auth service tests

* feat(signup): prevent user from reaching out the sign up page

* Fix lint

* Fixes

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-11 11:48:14 +01:00

31 lines
503 B
TypeScript

import { gql } from '@apollo/client';
export const GET_CLIENT_CONFIG = gql`
query GetClientConfig {
clientConfig {
authProviders {
google
password
}
billing {
isBillingEnabled
billingUrl
}
signInPrefilled
signUpDisabled
debugMode
telemetry {
enabled
anonymizationEnabled
}
support {
supportDriver
supportFrontChatId
}
sentry {
dsn
}
}
}
`;