window.ts 761 B

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