window.ts 473 B

12345678910111213141516171819202122
  1. export type OAuthProvider = {
  2. name: string
  3. descriptionKey: string
  4. linkPath: string
  5. }
  6. declare global {
  7. // eslint-disable-next-line no-unused-vars
  8. interface Window {
  9. sl_debugging: boolean
  10. user: {
  11. id: string
  12. }
  13. oauthProviders: Record<string, OAuthProvider>
  14. thirdPartyIds: Record<string, string>
  15. metaAttributesCache: Map<string, unknown>
  16. i18n: {
  17. currentLangCode: string
  18. }
  19. ExposedSettings: Record<string, unknown>
  20. }
  21. }