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