settings.ts 841 B

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