exposed-settings.ts 973 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. type TemplateLink = {
  2. name: string
  3. url: string
  4. trackingKey: string
  5. }
  6. export type ExposedSettings = {
  7. appName: string
  8. cookieDomain: string
  9. dropboxAppName: string
  10. emailConfirmationDisabled: boolean
  11. enableSubscriptions: boolean
  12. gaToken?: string
  13. gaTokenV4?: string
  14. hasAffiliationsFeature: boolean
  15. hasLinkUrlFeature: boolean
  16. hasLinkedProjectFileFeature: boolean
  17. hasLinkedProjectOutputFileFeature: boolean
  18. hasSamlBeta?: boolean
  19. hasSamlFeature: boolean
  20. isOverleaf: boolean
  21. maxEntitiesPerProject: number
  22. maxUploadSize: number
  23. recaptchaDisabled: {
  24. invite: boolean
  25. login: boolean
  26. passwordReset: boolean
  27. register: boolean
  28. }
  29. recaptchaSiteKeyV3?: string
  30. samlInitPath?: string
  31. sentryAllowedOriginRegex: string
  32. sentryDsn?: string
  33. sentryEnvironment?: string
  34. sentryRelease?: string
  35. siteUrl: string
  36. textExtensions: string[]
  37. validRootDocExtensions: string[]
  38. templateLinks: TemplateLink[]
  39. labsEnabled: boolean
  40. }