Merge pull request #6433 from backstage/rugvip/report-all-the-things

root: bump api-extractor & friends + recreate API reports along with previously unsupported packages
This commit is contained in:
Patrik Oldsberg
2021-07-12 20:28:09 +02:00
committed by GitHub
82 changed files with 9295 additions and 4009 deletions
+44 -36
View File
@@ -3,7 +3,6 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import { Config } from '@backstage/config';
import express from 'express';
import { Logger as Logger_2 } from 'winston';
@@ -12,49 +11,58 @@ import { Logger as Logger_2 } from 'winston';
export function createRouter(options: RouterOptions): Promise<express.Router>;
// @public (undocumented)
export function getRequestHeaders(token: string): {
headers: {
'X-Rollbar-Access-Token': string;
};
export function getRequestHeaders(
token: string,
): {
headers: {
'X-Rollbar-Access-Token': string;
};
};
// @public (undocumented)
export class RollbarApi {
constructor(accessToken: string, logger: Logger_2);
// (undocumented)
getActivatedCounts(projectName: string, options?: {
environment: string;
item_id?: number;
}): Promise<RollbarItemCount[]>;
// (undocumented)
getAllProjects(): Promise<RollbarProject[]>;
// (undocumented)
getOccuranceCounts(projectName: string, options?: {
environment: string;
item_id?: number;
}): Promise<RollbarItemCount[]>;
// (undocumented)
getProject(projectName: string): Promise<RollbarProject>;
// (undocumented)
getProjectItems(projectName: string): Promise<RollbarItemsResponse>;
// (undocumented)
getTopActiveItems(projectName: string, options?: {
hours: number;
environment: string;
}): Promise<RollbarTopActiveItem[]>;
}
constructor(accessToken: string, logger: Logger_2);
// (undocumented)
getActivatedCounts(
projectName: string,
options?: {
environment: string;
item_id?: number;
},
): Promise<RollbarItemCount[]>;
// (undocumented)
getAllProjects(): Promise<RollbarProject[]>;
// (undocumented)
getOccuranceCounts(
projectName: string,
options?: {
environment: string;
item_id?: number;
},
): Promise<RollbarItemCount[]>;
// (undocumented)
getProject(projectName: string): Promise<RollbarProject>;
// (undocumented)
getProjectItems(projectName: string): Promise<RollbarItemsResponse>;
// (undocumented)
getTopActiveItems(
projectName: string,
options?: {
hours: number;
environment: string;
},
): Promise<RollbarTopActiveItem[]>;
}
// @public (undocumented)
export interface RouterOptions {
// (undocumented)
config: Config;
// (undocumented)
logger: Logger_2;
// (undocumented)
rollbarApi?: RollbarApi;
// (undocumented)
config: Config;
// (undocumented)
logger: Logger_2;
// (undocumented)
rollbarApi?: RollbarApi;
}
// (No @packageDocumentation comment for this package)
```