1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- import {Fragment} from 'react';
- import type {InjectedRouter} from 'react-router';
- import type {Location} from 'history';
- import type {Client} from 'sentry/api';
- import type {BuiltinSymbolSource, CustomRepo} from 'sentry/types/debugFiles';
- import type {Organization} from 'sentry/types/organization';
- import type {Project} from 'sentry/types/project';
- import BuiltInRepositories from './builtInRepositories';
- import CustomRepositories from './customRepositories';
- type Props = {
- api: Client;
- builtinSymbolSourceOptions: BuiltinSymbolSource[];
- builtinSymbolSources: string[];
- customRepositories: CustomRepo[];
- isLoading: boolean;
- location: Location;
- organization: Organization;
- project: Project;
- router: InjectedRouter;
- };
- function Sources({
- api,
- organization,
- customRepositories,
- builtinSymbolSources,
- builtinSymbolSourceOptions,
- project,
- location,
- router,
- isLoading,
- }: Props) {
- return (
- <Fragment>
- <BuiltInRepositories
- api={api}
- organization={organization}
- builtinSymbolSources={builtinSymbolSources}
- builtinSymbolSourceOptions={builtinSymbolSourceOptions}
- project={project}
- isLoading={isLoading}
- />
- <CustomRepositories
- api={api}
- location={location}
- router={router}
- organization={organization}
- customRepositories={customRepositories}
- project={project}
- isLoading={isLoading}
- />
- </Fragment>
- );
- }
- export default Sources;
|