From 121dc7032b27076ec6c628af086bd91630d95a1d Mon Sep 17 00:00:00 2001 From: Andre Wanlin Date: Tue, 20 Feb 2024 06:34:27 -0600 Subject: [PATCH] Corrected imports Signed-off-by: Andre Wanlin --- plugins/catalog-react/api-report.md | 6 ++--- .../DefaultFilters/DefaultFilters.tsx | 24 +++++++++---------- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/plugins/catalog-react/api-report.md b/plugins/catalog-react/api-report.md index 93596e33fd..39db26df74 100644 --- a/plugins/catalog-react/api-report.md +++ b/plugins/catalog-react/api-report.md @@ -12,7 +12,6 @@ import { ComponentEntity } from '@backstage/catalog-model'; import { ComponentProps } from 'react'; import { CompoundEntityRef } from '@backstage/catalog-model'; import { Entity } from '@backstage/catalog-model'; -import { EntityOwnerPickerProps as EntityOwnerPickerProps_2 } from '@backstage/plugin-catalog-react'; import { IconButton } from '@material-ui/core'; import { IconComponent } from '@backstage/core-plugin-api'; import { InfoCardVariants } from '@backstage/core-components'; @@ -29,7 +28,6 @@ import { SystemEntity } from '@backstage/catalog-model'; import { TableColumn } from '@backstage/core-components'; import { TableOptions } from '@backstage/core-components'; import { TextFieldProps } from '@material-ui/core'; -import { UserListFilterKind as UserListFilterKind_2 } from '@backstage/plugin-catalog-react'; // @public (undocumented) export type AllowedEntityFilters = { @@ -182,8 +180,8 @@ export const DefaultFilters: ( // @public export type DefaultFiltersProps = { initialKind?: string; - initiallySelectedFilter?: UserListFilterKind_2; - ownerPickerMode?: EntityOwnerPickerProps_2['mode']; + initiallySelectedFilter?: UserListFilterKind; + ownerPickerMode?: EntityOwnerPickerProps['mode']; }; // @public (undocumented) diff --git a/plugins/catalog-react/src/components/DefaultFilters/DefaultFilters.tsx b/plugins/catalog-react/src/components/DefaultFilters/DefaultFilters.tsx index 0194e1b346..45625c716f 100644 --- a/plugins/catalog-react/src/components/DefaultFilters/DefaultFilters.tsx +++ b/plugins/catalog-react/src/components/DefaultFilters/DefaultFilters.tsx @@ -14,19 +14,19 @@ * limitations under the License. */ -import { - EntityKindPicker, - EntityTypePicker, - UserListPicker, - EntityOwnerPicker, - EntityLifecyclePicker, - EntityTagPicker, - EntityProcessingStatusPicker, - EntityNamespacePicker, - UserListFilterKind, - EntityOwnerPickerProps, -} from '@backstage/plugin-catalog-react'; import React from 'react'; +import { UserListFilterKind } from '../../types'; +import { EntityKindPicker } from '../EntityKindPicker'; +import { EntityLifecyclePicker } from '../EntityLifecyclePicker'; +import { EntityNamespacePicker } from '../EntityNamespacePicker'; +import { + EntityOwnerPickerProps, + EntityOwnerPicker, +} from '../EntityOwnerPicker'; +import { EntityProcessingStatusPicker } from '../EntityProcessingStatusPicker'; +import { EntityTagPicker } from '../EntityTagPicker'; +import { EntityTypePicker } from '../EntityTypePicker'; +import { UserListPicker } from '../UserListPicker'; /** * Props for default filters.