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
+78
View File
@@ -0,0 +1,78 @@
## API Report File for "@backstage/plugin-rollbar"
> 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 { DiscoveryApi } from '@backstage/core';
import { Entity } from '@backstage/catalog-model';
import { IdentityApi } from '@backstage/core';
import { RouteRef } from '@backstage/core';
// @public (undocumented)
export const EntityPageRollbar: (_props: Props) => JSX.Element;
// @public (undocumented)
export const EntityRollbarContent: (_props: {
entity?: Entity| undefined;
}) => JSX.Element;
// @public (undocumented)
const isPluginApplicableToEntity: (entity: Entity) => boolean;
export { isPluginApplicableToEntity }
export { isPluginApplicableToEntity as isRollbarAvailable }
// @public (undocumented)
export const ROLLBAR_ANNOTATION = "rollbar.com/project-slug";
// @public (undocumented)
export interface RollbarApi {
// (undocumented)
getAllProjects(): Promise<RollbarProject[]>;
// (undocumented)
getProject(projectName: string): Promise<RollbarProject>;
// (undocumented)
getProjectItems(project: string): Promise<RollbarItemsResponse>;
// (undocumented)
getTopActiveItems(project: string, hours?: number): Promise<RollbarTopActiveItem[]>;
}
// @public (undocumented)
export const rollbarApiRef: ApiRef<RollbarApi>;
// @public (undocumented)
export class RollbarClient implements RollbarApi {
constructor(options: {
discoveryApi: DiscoveryApi;
identityApi: IdentityApi;
});
// (undocumented)
getAllProjects(): Promise<RollbarProject[]>;
// (undocumented)
getProject(projectName: string): Promise<RollbarProject>;
// (undocumented)
getProjectItems(project: string): Promise<RollbarItemsResponse>;
// (undocumented)
getTopActiveItems(project: string, hours?: number, environment?: string): Promise<RollbarTopActiveItem[]>;
}
// @public (undocumented)
const rollbarPlugin: BackstagePlugin<{
entityContent: RouteRef<undefined>;
}, {}>;
export { rollbarPlugin as plugin }
export { rollbarPlugin }
// @public (undocumented)
export const Router: (_props: Props_2) => JSX.Element;
// (No @packageDocumentation comment for this package)
```