@@ -159,6 +159,15 @@ export type DefaultEntityFilters = {
|
||||
namespace?: EntityNamespaceFilter;
|
||||
};
|
||||
|
||||
// @public
|
||||
export function defaultEntityPresentation(
|
||||
entityOrRef: Entity | CompoundEntityRef | string,
|
||||
context?: {
|
||||
defaultKind?: string;
|
||||
defaultNamespace?: string;
|
||||
},
|
||||
): EntityRefPresentationSnapshot;
|
||||
|
||||
// @public (undocumented)
|
||||
export function EntityAutocompletePicker<
|
||||
T extends DefaultEntityFilters = DefaultEntityFilters,
|
||||
@@ -181,15 +190,6 @@ export type EntityAutocompletePickerProps<
|
||||
initialSelectedOptions?: string[];
|
||||
};
|
||||
|
||||
// @public
|
||||
export function defaultEntityPresentation(
|
||||
entityOrRef: Entity | CompoundEntityRef | string,
|
||||
context?: {
|
||||
defaultKind?: string;
|
||||
defaultNamespace?: string;
|
||||
},
|
||||
): EntityRefPresentationSnapshot;
|
||||
|
||||
// @public
|
||||
export const EntityDisplayName: (props: EntityDisplayNameProps) => JSX.Element;
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ import { Observable } from '@backstage/types';
|
||||
*/
|
||||
export const entityPresentationApiRef: ApiRef<EntityPresentationApi> =
|
||||
createApiRef({
|
||||
id: 'catalog-react.entity-presentation',
|
||||
id: 'plugin.catalog.entity-presentation',
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user