do not export catalog-import
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
This commit is contained in:
+7
-1
@@ -19,7 +19,7 @@ import LocationOnIcon from '@material-ui/icons/LocationOn';
|
||||
import React from 'react';
|
||||
import { BackButton, ViewComponentButton } from '../Buttons';
|
||||
import { EntityListComponent } from '../EntityListComponent';
|
||||
import { PrepareResult, NewLocations } from '../useImportState';
|
||||
import { PrepareResult } from '../useImportState';
|
||||
import { Link } from '@backstage/core-components';
|
||||
import partition from 'lodash/partition';
|
||||
import { CompoundEntityRef } from '@backstage/catalog-model';
|
||||
@@ -31,6 +31,12 @@ type Props = {
|
||||
onReset: () => void;
|
||||
};
|
||||
|
||||
type NewLocations = Array<{
|
||||
exists?: boolean;
|
||||
target: string;
|
||||
entities: CompoundEntityRef[];
|
||||
}>;
|
||||
|
||||
// Among the newly registered entities, return a software entity (e.g. Component, API, Resource)
|
||||
const filterComponentEntity = (
|
||||
newLocations: NewLocations,
|
||||
|
||||
@@ -32,7 +32,7 @@ export type ImportFlows =
|
||||
// the available states of the stepper
|
||||
type ImportStateTypes = 'analyze' | 'prepare' | 'review' | 'finish';
|
||||
|
||||
export type NewLocations = Array<{
|
||||
type NewLocations = Array<{
|
||||
exists?: boolean;
|
||||
target: string;
|
||||
entities: CompoundEntityRef[];
|
||||
|
||||
Reference in New Issue
Block a user