diff --git a/static/app/components/assigneeSelectorDropdown.tsx b/static/app/components/assigneeSelectorDropdown.tsx index b154eeb640d639..2c0cb7395ff526 100644 --- a/static/app/components/assigneeSelectorDropdown.tsx +++ b/static/app/components/assigneeSelectorDropdown.tsx @@ -24,7 +24,10 @@ import MemberListStore from 'sentry/stores/memberListStore'; import ProjectsStore from 'sentry/stores/projectsStore'; import {useLegacyStore} from 'sentry/stores/useLegacyStore'; import {space} from 'sentry/styles/space'; -import type {Actor, Group, SuggestedOwnerReason, Team, User} from 'sentry/types'; +import type {Actor} from 'sentry/types/core'; +import type {Group, SuggestedOwnerReason} from 'sentry/types/group'; +import type {Team} from 'sentry/types/organization'; +import type {User} from 'sentry/types/user'; import {buildTeamId} from 'sentry/utils'; const suggestedReasonTable: Record = { diff --git a/static/app/components/group/externalIssuesList/useExternalIssueData.tsx b/static/app/components/group/externalIssuesList/useExternalIssueData.tsx index 28f59c53d00913..657a4c2884817f 100644 --- a/static/app/components/group/externalIssuesList/useExternalIssueData.tsx +++ b/static/app/components/group/externalIssuesList/useExternalIssueData.tsx @@ -5,8 +5,10 @@ import useIssueTrackingFilter from 'sentry/components/group/externalIssuesList/u import ExternalIssueStore from 'sentry/stores/externalIssueStore'; import SentryAppInstallationStore from 'sentry/stores/sentryAppInstallationsStore'; import {useLegacyStore} from 'sentry/stores/useLegacyStore'; -import type {Group, GroupIntegration, Project} from 'sentry/types'; import type {Event} from 'sentry/types/event'; +import type {Group} from 'sentry/types/group'; +import type {GroupIntegration} from 'sentry/types/integrations'; +import type {Project} from 'sentry/types/project'; import useOrganization from 'sentry/utils/useOrganization'; import useSentryAppComponentsStore from 'sentry/utils/useSentryAppComponentsStore'; diff --git a/static/app/components/group/externalIssuesList/useFetchSentryAppData.tsx b/static/app/components/group/externalIssuesList/useFetchSentryAppData.tsx index 267e6e0b375595..f30483a73cb21e 100644 --- a/static/app/components/group/externalIssuesList/useFetchSentryAppData.tsx +++ b/static/app/components/group/externalIssuesList/useFetchSentryAppData.tsx @@ -1,7 +1,9 @@ import {useEffect} from 'react'; import ExternalIssueStore from 'sentry/stores/externalIssueStore'; -import type {Group, OrganizationSummary, PlatformExternalIssue} from 'sentry/types'; +import type {Group} from 'sentry/types/group'; +import type {PlatformExternalIssue} from 'sentry/types/integrations'; +import type {OrganizationSummary} from 'sentry/types/organization'; import {useApiQuery} from 'sentry/utils/queryClient'; // We want to do this explicitly so that we can handle errors gracefully, diff --git a/static/app/components/group/sentryAppExternalIssueForm.tsx b/static/app/components/group/sentryAppExternalIssueForm.tsx index 55036a630a59b3..609b39e100e447 100644 --- a/static/app/components/group/sentryAppExternalIssueForm.tsx +++ b/static/app/components/group/sentryAppExternalIssueForm.tsx @@ -1,7 +1,11 @@ import {t} from 'sentry/locale'; import ExternalIssueStore from 'sentry/stores/externalIssueStore'; -import type {Group, PlatformExternalIssue, SentryAppInstallation} from 'sentry/types'; import type {Event} from 'sentry/types/event'; +import type {Group} from 'sentry/types/group'; +import type { + PlatformExternalIssue, + SentryAppInstallation, +} from 'sentry/types/integrations'; import type {FeedbackIssue} from 'sentry/utils/feedback/types'; import getStacktraceBody from 'sentry/utils/getStacktraceBody'; import {addQueryParamsToExistingUrl} from 'sentry/utils/queryString'; diff --git a/static/app/components/pullRequestLink.tsx b/static/app/components/pullRequestLink.tsx index 19826c19b1f1e2..2521203f371d9d 100644 --- a/static/app/components/pullRequestLink.tsx +++ b/static/app/components/pullRequestLink.tsx @@ -4,7 +4,7 @@ import {Button} from 'sentry/components/button'; import ExternalLink from 'sentry/components/links/externalLink'; import {IconBitbucket, IconGithub, IconGitlab} from 'sentry/icons'; import {space} from 'sentry/styles/space'; -import type {PullRequest, Repository} from 'sentry/types'; +import type {PullRequest, Repository} from 'sentry/types/integrations'; function renderIcon(repo: Repository) { if (!repo.provider) { diff --git a/static/app/components/quickTrace/index.tsx b/static/app/components/quickTrace/index.tsx index d497f885e98e4a..14747f988ce302 100644 --- a/static/app/components/quickTrace/index.tsx +++ b/static/app/components/quickTrace/index.tsx @@ -17,8 +17,8 @@ import {Tooltip} from 'sentry/components/tooltip'; import {backend, frontend, mobile, serverless} from 'sentry/data/platformCategories'; import {IconFire} from 'sentry/icons'; import {t, tct, tn} from 'sentry/locale'; -import type {OrganizationSummary} from 'sentry/types'; import type {Event} from 'sentry/types/event'; +import type {OrganizationSummary} from 'sentry/types/organization'; import {trackAnalytics} from 'sentry/utils/analytics'; import {getDocsPlatform} from 'sentry/utils/docs'; import getDuration from 'sentry/utils/duration/getDuration'; diff --git a/static/app/components/quickTrace/utils.tsx b/static/app/components/quickTrace/utils.tsx index 13cd3da049df2e..73967c60376b7c 100644 --- a/static/app/components/quickTrace/utils.tsx +++ b/static/app/components/quickTrace/utils.tsx @@ -2,8 +2,8 @@ import type {Location, LocationDescriptor} from 'history'; import {normalizeDateTimeParams} from 'sentry/components/organizations/pageFilters/parse'; import {ALL_ACCESS_PROJECTS} from 'sentry/constants/pageFilters'; -import type {OrganizationSummary} from 'sentry/types'; import type {Event} from 'sentry/types/event'; +import type {OrganizationSummary} from 'sentry/types/organization'; import {defined} from 'sentry/utils'; import EventView from 'sentry/utils/discover/eventView'; import { diff --git a/static/app/components/replaysOnboarding/sidebar.tsx b/static/app/components/replaysOnboarding/sidebar.tsx index 89c138197a0d28..f326d1c01afb56 100644 --- a/static/app/components/replaysOnboarding/sidebar.tsx +++ b/static/app/components/replaysOnboarding/sidebar.tsx @@ -37,7 +37,8 @@ import platforms, {otherPlatform} from 'sentry/data/platforms'; import {t, tct} from 'sentry/locale'; import pulsingIndicatorStyles from 'sentry/styles/pulsingIndicator'; import {space} from 'sentry/styles/space'; -import type {PlatformKey, Project, SelectValue} from 'sentry/types'; +import type {SelectValue} from 'sentry/types/core'; +import type {PlatformKey, Project} from 'sentry/types/project'; import EventWaiter from 'sentry/utils/eventWaiter'; import useApi from 'sentry/utils/useApi'; import useOrganization from 'sentry/utils/useOrganization'; diff --git a/static/app/components/replaysOnboarding/useLoadOnboardingDoc.tsx b/static/app/components/replaysOnboarding/useLoadOnboardingDoc.tsx index d1eb714e92c451..0c6acaf3cb799e 100644 --- a/static/app/components/replaysOnboarding/useLoadOnboardingDoc.tsx +++ b/static/app/components/replaysOnboarding/useLoadOnboardingDoc.tsx @@ -3,7 +3,8 @@ import * as Sentry from '@sentry/react'; import type {Docs} from 'sentry/components/onboarding/gettingStartedDoc/types'; import {replayPlatforms} from 'sentry/data/platformCategories'; -import type {Organization, PlatformIntegration, ProjectKey} from 'sentry/types'; +import type {Organization} from 'sentry/types/organization'; +import type {PlatformIntegration, ProjectKey} from 'sentry/types/project'; import {useApiQuery} from 'sentry/utils/queryClient'; function useLoadOnboardingDoc({ diff --git a/static/app/components/replaysOnboarding/utils.tsx b/static/app/components/replaysOnboarding/utils.tsx index 53b9ec15ada10f..9a97fc9daf6ef0 100644 --- a/static/app/components/replaysOnboarding/utils.tsx +++ b/static/app/components/replaysOnboarding/utils.tsx @@ -1,6 +1,6 @@ import {replayFrontendPlatforms, replayPlatforms} from 'sentry/data/platformCategories'; import platforms from 'sentry/data/platforms'; -import type {PlatformIntegration, PlatformKey} from 'sentry/types'; +import type {PlatformIntegration, PlatformKey} from 'sentry/types/project'; export function generateDocKeys(platform: PlatformKey): string[] { const platformKey = platform.startsWith('javascript')