Correcting the api-report
Signed-off-by: Dustin Brewer <mannkind@thenullpointer.net>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
/// <reference types="react" />
|
||||
|
||||
import { BackstagePlugin } from '@backstage/core-plugin-api';
|
||||
import { Entity } from '@backstage/catalog-model';
|
||||
import { RouteRef } from '@backstage/core-plugin-api';
|
||||
|
||||
// @public (undocumented)
|
||||
@@ -19,4 +20,7 @@ export const firehydrantPlugin: BackstagePlugin<
|
||||
{},
|
||||
{}
|
||||
>;
|
||||
|
||||
// @public (undocumented)
|
||||
export const isFireHydrantAvailable: (entity: Entity) => boolean;
|
||||
```
|
||||
|
||||
@@ -17,6 +17,7 @@ import { Entity } from '@backstage/catalog-model';
|
||||
|
||||
export const FIREHYDRANT_SERVICE_NAME_ANNOTATION =
|
||||
'firehydrant.com/service-name';
|
||||
/** @public */
|
||||
export const isFireHydrantAvailable = (entity: Entity) =>
|
||||
Boolean(entity.metadata.annotations?.[FIREHYDRANT_SERVICE_NAME_ANNOTATION]);
|
||||
export const getFireHydrantServiceName = (entity: Entity) =>
|
||||
|
||||
Reference in New Issue
Block a user