Files
twenty/packages/twenty-front/src/modules/client-config/graphql/queries/getClientConfig.ts
Quentin G bf60227d67 feat: add SENTRY_RELEASE env (#4912)
Add support for a new SENTRY_RELEASE and SENTRY_ENVIRONMENT env.
It is optional and allows to init sentry with a Release version and an
env (used internally at Twenty).
Docker image have been updated do intergrate the new env as an Argument
2024-04-11 16:53:15 +02:00

34 lines
578 B
TypeScript

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