update api report

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2022-01-31 10:59:20 +01:00
parent 91faf87aaf
commit bf1b485962
+53 -14
View File
@@ -33,13 +33,21 @@ export class RollbarApi {
environment: string;
item_id?: number;
},
): Promise<RollbarItemCount[]>;
// Warning: (ae-forgotten-export) The symbol "RollbarProject" needs to be exported by the entry point index.d.ts
//
): Promise<
{
count: number;
timestamp: number;
}[]
>;
// (undocumented)
getAllProjects(): Promise<RollbarProject[]>;
// Warning: (ae-forgotten-export) The symbol "RollbarItemCount" needs to be exported by the entry point index.d.ts
//
getAllProjects(): Promise<
{
id: number;
name: string;
status: string;
accountId: number;
}[]
>;
// (undocumented)
getOccuranceCounts(
projectName: string,
@@ -47,15 +55,25 @@ export class RollbarApi {
environment: string;
item_id?: number;
},
): Promise<RollbarItemCount[]>;
): Promise<
{
count: number;
timestamp: number;
}[]
>;
// (undocumented)
getProject(projectName: string): Promise<RollbarProject>;
// Warning: (ae-forgotten-export) The symbol "RollbarItemsResponse" needs to be exported by the entry point index.d.ts
//
getProject(projectName: string): Promise<{
id: number;
name: string;
status: string;
accountId: number;
}>;
// (undocumented)
getProjectItems(projectName: string): Promise<RollbarItemsResponse>;
// Warning: (ae-forgotten-export) The symbol "RollbarTopActiveItem" needs to be exported by the entry point index.d.ts
//
getProjectItems(projectName: string): Promise<{
page: number;
items: RollbarItem[];
totalCount: number;
}>;
// (undocumented)
getTopActiveItems(
projectName: string,
@@ -63,7 +81,23 @@ export class RollbarApi {
hours: number;
environment: string;
},
): Promise<RollbarTopActiveItem[]>;
): Promise<
{
item: {
id: number;
counter: number;
environment: string;
framework: RollbarFrameworkId;
lastOccurrenceTimestamp: number;
level: number;
occurrences: number;
projectId: number;
title: string;
uniqueOccurrences: number;
};
counts: number[];
}[]
>;
}
// Warning: (ae-missing-release-tag) "RouterOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
@@ -77,4 +111,9 @@ export interface RouterOptions {
// (undocumented)
rollbarApi?: RollbarApi;
}
// Warnings were encountered during analysis:
//
// src/api/RollbarApi.d.ts:21:9 - (ae-forgotten-export) The symbol "RollbarItem" needs to be exported by the entry point index.d.ts
// src/api/RollbarApi.d.ts:32:13 - (ae-forgotten-export) The symbol "RollbarFrameworkId" needs to be exported by the entry point index.d.ts
```