packages: regenerate all API reports with prettier
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user