Merge pull request #6076 from backstage/rugvip/allreports

scripts/api-extractor: create and check API reports for all(most) plugins
This commit is contained in:
Patrik Oldsberg
2021-06-17 15:46:11 +02:00
committed by GitHub
55 changed files with 5261 additions and 22 deletions
+62
View File
@@ -0,0 +1,62 @@
## API Report File for "@backstage/plugin-pagerduty"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import { ApiRef } from '@backstage/core';
import { BackstagePlugin } from '@backstage/core';
import { ConfigApi } from '@backstage/core';
import { DiscoveryApi } from '@backstage/core';
import { Entity } from '@backstage/catalog-model';
import { PropsWithChildren } from 'react';
// @public (undocumented)
export const EntityPagerDutyCard: () => JSX.Element;
// @public (undocumented)
const isPluginApplicableToEntity: (entity: Entity) => boolean;
export { isPluginApplicableToEntity as isPagerDutyAvailable }
export { isPluginApplicableToEntity }
// @public (undocumented)
export const pagerDutyApiRef: ApiRef<PagerDutyApi>;
// @public (undocumented)
export const PagerDutyCard: () => JSX.Element;
// @public (undocumented)
export class PagerDutyClient implements PagerDutyApi {
constructor(config: ClientApiConfig);
// (undocumented)
static fromConfig(configApi: ConfigApi, discoveryApi: DiscoveryApi): PagerDutyClient;
// (undocumented)
getIncidentsByServiceId(serviceId: string): Promise<Incident[]>;
// (undocumented)
getOnCallByPolicyId(policyId: string): Promise<OnCall[]>;
// (undocumented)
getServiceByIntegrationKey(integrationKey: string): Promise<Service[]>;
// (undocumented)
triggerAlarm({ integrationKey, source, description, userName, }: TriggerAlarmRequest): Promise<Response>;
}
// @public (undocumented)
const pagerDutyPlugin: BackstagePlugin<{}, {}>;
export { pagerDutyPlugin }
export { pagerDutyPlugin as plugin }
// @public (undocumented)
export function TriggerButton({ children, }: PropsWithChildren<TriggerButtonProps>): JSX.Element;
// @public (undocumented)
export class UnauthorizedError extends Error {
}
// (No @packageDocumentation comment for this package)
```