settings.ts 971 B

1234567891011121314151617181920
  1. import type {BadgeType} from 'sentry/components/badge/featureBadge';
  2. import {t} from 'sentry/locale';
  3. import {MODULES as AI_MODULES} from 'sentry/views/insights/pages/ai/settings';
  4. import {MODULES as BACKEND_MODULES} from 'sentry/views/insights/pages/backend/settings';
  5. import {MODULES as FRONTEND_MODULES} from 'sentry/views/insights/pages/frontend/settings';
  6. import {MODULES as MOBILE_MODULES} from 'sentry/views/insights/pages/mobile/settings';
  7. import type {DomainView} from 'sentry/views/insights/pages/useFilters';
  8. import type {ModuleName} from 'sentry/views/insights/types';
  9. export const OVERVIEW_PAGE_TITLE = t('Overview');
  10. export const DOMAIN_VIEW_RELEASE_LEVEL: BadgeType = 'alpha';
  11. export const DOMAIN_VIEW_BASE_URL = 'insights';
  12. export const DOMAIN_VIEW_BASE_TITLE = t('Insights');
  13. export const DOMAIN_VIEW_MODULES: Record<DomainView, ModuleName[]> = {
  14. frontend: FRONTEND_MODULES,
  15. backend: BACKEND_MODULES,
  16. ai: AI_MODULES,
  17. mobile: MOBILE_MODULES,
  18. };