window.ts 573 B

1234567891011121314151617181920212223
  1. import { ExposedSettings } from './exposed-settings'
  2. import { OAuthProviders } from './oauth-providers'
  3. declare global {
  4. // eslint-disable-next-line no-unused-vars
  5. interface Window {
  6. csrfToken: string
  7. sl_debugging: boolean
  8. user: {
  9. id: string
  10. }
  11. oauthProviders: OAuthProviders
  12. thirdPartyIds: Record<string, string>
  13. metaAttributesCache: Map<string, any>
  14. i18n: {
  15. currentLangCode: string
  16. }
  17. ExposedSettings: ExposedSettings
  18. project_id: string
  19. gitBridgePublicBaseUrl: string
  20. _ide: Record<string, unknown>
  21. }
  22. }