packages: regenerate all API reports with prettier

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-07-12 11:20:25 +02:00
parent e87aa59df3
commit 602b5b59bb
78 changed files with 8153 additions and 4661 deletions
+28 -21
View File
@@ -3,7 +3,6 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
/// <reference types="react" />
import { ApiRef } from '@backstage/core-plugin-api';
@@ -18,8 +17,8 @@ export const EntityPagerDutyCard: () => JSX.Element;
// @public (undocumented)
const isPluginApplicableToEntity: (entity: Entity) => boolean;
export { isPluginApplicableToEntity as isPagerDutyAvailable }
export { isPluginApplicableToEntity }
export { isPluginApplicableToEntity as isPagerDutyAvailable };
export { isPluginApplicableToEntity };
// @public (undocumented)
export const pagerDutyApiRef: ApiRef<PagerDutyApi>;
@@ -29,31 +28,39 @@ 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>;
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 }
const pagerDutyPlugin: BackstagePlugin<{}, {}>;
export { pagerDutyPlugin };
export { pagerDutyPlugin as plugin };
// @public (undocumented)
export function TriggerButton({ children, }: PropsWithChildren<TriggerButtonProps>): JSX.Element;
export function TriggerButton({
children,
}: PropsWithChildren<TriggerButtonProps>): JSX.Element;
// @public (undocumented)
export class UnauthorizedError extends Error {
}
export class UnauthorizedError extends Error {}
// (No @packageDocumentation comment for this package)
```