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,