From de7bba1aa315b1ea5a7490c36a9f0ab35bc16794 Mon Sep 17 00:00:00 2001 From: Dede Hamzah Date: Tue, 28 Dec 2021 17:34:20 +0700 Subject: [PATCH] export CatalogReactComponentsNameToClassKey Signed-off-by: Dede Hamzah --- plugins/catalog-react/api-report.md | 11 +++++++++-- plugins/catalog-react/src/overridableComponents.ts | 3 ++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/plugins/catalog-react/api-report.md b/plugins/catalog-react/api-report.md index 72e64ea1c3..673d9256f1 100644 --- a/plugins/catalog-react/api-report.md +++ b/plugins/catalog-react/api-report.md @@ -54,8 +54,6 @@ export interface AsyncEntityProviderProps { refresh?: VoidFunction; } -// Warning: (ae-forgotten-export) The symbol "CatalogReactComponentsNameToClassKey" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type BackstageOverrides = Overrides & { [Name in keyof CatalogReactComponentsNameToClassKey]?: Partial< @@ -72,6 +70,15 @@ export { CatalogApi }; // @public (undocumented) export const catalogApiRef: ApiRef; +// @public (undocumented) +export type CatalogReactComponentsNameToClassKey = { + CatalogReactUserListPicker: CatalogReactUserListPickerClassKey; + CatalogReactEntityLifecyclePicker: CatalogReactEntityLifecyclePickerClassKey; + CatalogReactEntitySearchBar: CatalogReactEntitySearchBarClassKey; + CatalogReactEntityTagPicker: CatalogReactEntityTagPickerClassKey; + CatalogReactEntityOwnerPicker: CatalogReactEntityOwnerPickerClassKey; +}; + // @public (undocumented) export type CatalogReactEntityLifecyclePickerClassKey = 'input'; diff --git a/plugins/catalog-react/src/overridableComponents.ts b/plugins/catalog-react/src/overridableComponents.ts index ef47e35865..1e654988e4 100644 --- a/plugins/catalog-react/src/overridableComponents.ts +++ b/plugins/catalog-react/src/overridableComponents.ts @@ -24,7 +24,8 @@ import { CatalogReactEntityOwnerPickerClassKey, } from './components'; -type CatalogReactComponentsNameToClassKey = { +/** @public */ +export type CatalogReactComponentsNameToClassKey = { CatalogReactUserListPicker: CatalogReactUserListPickerClassKey; CatalogReactEntityLifecyclePicker: CatalogReactEntityLifecyclePickerClassKey; CatalogReactEntitySearchBar: CatalogReactEntitySearchBarClassKey;