Update api-report
Signed-off-by: Julio Zynger <julio.zynger@soundcloud.com>
This commit is contained in:
committed by
Fredrik Adelöw
parent
ad865be170
commit
45ea463a0d
@@ -23,6 +23,9 @@ export interface AggregatedError {
|
||||
total_count: number;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export const EntityPeriskopErrorsCard: () => JSX.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
interface Error_2 {
|
||||
// (undocumented)
|
||||
@@ -75,7 +78,30 @@ export interface NotFoundInInstance {
|
||||
export const PERISKOP_NAME_ANNOTATION = 'periskop.io/service-name';
|
||||
|
||||
// @public
|
||||
export class PeriskopApi {
|
||||
export interface PeriskopApi {
|
||||
getErrorInstanceUrl(
|
||||
instanceName: string,
|
||||
serviceName: string,
|
||||
error: AggregatedError,
|
||||
): string;
|
||||
getErrors(
|
||||
instanceName: string,
|
||||
serviceName: string,
|
||||
): Promise<AggregatedError[] | NotFoundInInstance>;
|
||||
getInstanceNames(): string[];
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export type PeriskopApiOptions = {
|
||||
discoveryApi: DiscoveryApi;
|
||||
configApi: ConfigApi;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export const periskopApiRef: ApiRef<PeriskopApi>;
|
||||
|
||||
// @public
|
||||
export class PeriskopClient implements PeriskopApi {
|
||||
constructor(options: PeriskopApiOptions);
|
||||
// (undocumented)
|
||||
getErrorInstanceUrl(
|
||||
@@ -92,18 +118,6 @@ export class PeriskopApi {
|
||||
getInstanceNames(): string[];
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export type PeriskopApiOptions = {
|
||||
discoveryApi: DiscoveryApi;
|
||||
configApi: ConfigApi;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export const periskopApiRef: ApiRef<PeriskopApi>;
|
||||
|
||||
// @public (undocumented)
|
||||
export const EntityPeriskopErrorsCard: () => JSX.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export const periskopPlugin: BackstagePlugin<{}, {}>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user