- move front `onboardingStatus` computing to server side - add logic to `useSetNextOnboardingStatus` - update some missing redirections in `usePageChangeEffectNavigateLocation` - separate subscriptionStatus from onboardingStatus
43 lines
996 B
TypeScript
43 lines
996 B
TypeScript
import { CaptchaDriverType } from '~/generated/graphql';
|
|
import { ClientConfig } from '~/generated-metadata/graphql';
|
|
|
|
export const mockedClientConfig: ClientConfig = {
|
|
signInPrefilled: true,
|
|
signUpDisabled: false,
|
|
debugMode: false,
|
|
authProviders: {
|
|
google: true,
|
|
password: true,
|
|
magicLink: false,
|
|
microsoft: false,
|
|
__typename: 'AuthProviders',
|
|
},
|
|
telemetry: {
|
|
enabled: false,
|
|
__typename: 'Telemetry',
|
|
},
|
|
support: {
|
|
supportDriver: 'front',
|
|
supportFrontChatId: null,
|
|
__typename: 'Support',
|
|
},
|
|
sentry: {
|
|
dsn: 'MOCKED_DSN',
|
|
release: 'MOCKED_RELEASE',
|
|
environment: 'MOCKED_ENVIRONMENT',
|
|
__typename: 'Sentry',
|
|
},
|
|
billing: {
|
|
isBillingEnabled: true,
|
|
billingUrl: '',
|
|
billingFreeTrialDurationInDays: 10,
|
|
__typename: 'Billing',
|
|
},
|
|
captcha: {
|
|
provider: CaptchaDriverType.GoogleRecaptcha,
|
|
siteKey: 'MOCKED_SITE_KEY',
|
|
__typename: 'Captcha',
|
|
},
|
|
api: { mutationMaximumAffectedRecords: 100 },
|
|
};
|