From 960cbbc5d040c5bf2562de2f7325b49e1a09d748 Mon Sep 17 00:00:00 2001 From: Mike Ball Date: Thu, 2 Feb 2023 13:55:13 -0500 Subject: [PATCH] correct generated PagerDuty API report Signed-off-by: Mike Ball --- plugins/pagerduty/api-report.md | 7 +++++-- plugins/pagerduty/src/components/index.ts | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/pagerduty/api-report.md b/plugins/pagerduty/api-report.md index 2c8f9dea49..b460086976 100644 --- a/plugins/pagerduty/api-report.md +++ b/plugins/pagerduty/api-report.md @@ -13,8 +13,6 @@ import { Entity } from '@backstage/catalog-model'; import { FetchApi } from '@backstage/core-plugin-api'; import { ReactNode } from 'react'; -// Warning: (ae-forgotten-export) The symbol "PagerDutyCardProps" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export const EntityPagerDutyCard: (props: PagerDutyCardProps) => JSX.Element; @@ -49,6 +47,11 @@ export type PagerDutyAssignee = { // @public (undocumented) export const PagerDutyCard: (props: PagerDutyCardProps) => JSX.Element; +// @public (undocumented) +export type PagerDutyCardProps = { + readOnly?: boolean; +}; + // @public (undocumented) export type PagerDutyChangeEvent = { id: string; diff --git a/plugins/pagerduty/src/components/index.ts b/plugins/pagerduty/src/components/index.ts index 17bb2c03dc..e7c1ff4e72 100644 --- a/plugins/pagerduty/src/components/index.ts +++ b/plugins/pagerduty/src/components/index.ts @@ -23,6 +23,8 @@ export type { PagerDutyUser, } from './types'; +export type { PagerDutyCardProps } from './PagerDutyCard'; + export { isPluginApplicableToEntity, isPluginApplicableToEntity as isPagerDutyAvailable,