mirror of
https://github.com/lingble/twenty.git
synced 2025-11-03 06:07:56 +00:00
We can pass the auth tokens to our front app via post message, which will also allow us to pass route names to navigate on it
40 lines
677 B
TypeScript
40 lines
677 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const GET_CLIENT_CONFIG = gql`
|
|
query GetClientConfig {
|
|
clientConfig {
|
|
authProviders {
|
|
google
|
|
password
|
|
microsoft
|
|
}
|
|
billing {
|
|
isBillingEnabled
|
|
billingUrl
|
|
billingFreeTrialDurationInDays
|
|
}
|
|
signInPrefilled
|
|
signUpDisabled
|
|
debugMode
|
|
telemetry {
|
|
enabled
|
|
anonymizationEnabled
|
|
}
|
|
support {
|
|
supportDriver
|
|
supportFrontChatId
|
|
}
|
|
sentry {
|
|
dsn
|
|
environment
|
|
release
|
|
}
|
|
captcha {
|
|
provider
|
|
siteKey
|
|
}
|
|
chromeExtensionId
|
|
}
|
|
}
|
|
`;
|