plugins: generate api reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -0,0 +1,100 @@
|
||||
## API Report File for "@backstage/plugin-sentry"
|
||||
|
||||
> 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 { InfoCardVariants } from '@backstage/core';
|
||||
import { RouteRef } from '@backstage/core';
|
||||
|
||||
// @public (undocumented)
|
||||
export const EntitySentryCard: () => JSX.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export const EntitySentryContent: () => JSX.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export class MockSentryApi implements SentryApi {
|
||||
// (undocumented)
|
||||
fetchIssues(): Promise<SentryIssue[]>;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export class ProductionSentryApi implements SentryApi {
|
||||
constructor(discoveryApi: DiscoveryApi, organization: string);
|
||||
// (undocumented)
|
||||
fetchIssues(project: string, statsFor: string): Promise<SentryIssue[]>;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export const Router: ({ entity }: {
|
||||
entity: Entity;
|
||||
}) => JSX.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface SentryApi {
|
||||
// (undocumented)
|
||||
fetchIssues(project: string, statsFor: string): Promise<SentryIssue[]>;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export const sentryApiRef: ApiRef<SentryApi>;
|
||||
|
||||
// @public (undocumented)
|
||||
export type SentryIssue = {
|
||||
platform: SentryPlatform;
|
||||
lastSeen: string;
|
||||
numComments: number;
|
||||
userCount: number;
|
||||
stats: {
|
||||
'24h'?: EventPoint[];
|
||||
'12h'?: EventPoint[];
|
||||
};
|
||||
culprit: string;
|
||||
title: string;
|
||||
id: string;
|
||||
assignedTo: any;
|
||||
logger: any;
|
||||
type: string;
|
||||
annotations: any[];
|
||||
metadata: SentryIssueMetadata;
|
||||
status: string;
|
||||
subscriptionDetails: any;
|
||||
isPublic: boolean;
|
||||
hasSeen: boolean;
|
||||
shortId: string;
|
||||
shareId: string | null;
|
||||
firstSeen: string;
|
||||
count: string;
|
||||
permalink: string;
|
||||
level: string;
|
||||
isSubscribed: boolean;
|
||||
isBookmarked: boolean;
|
||||
project: SentryProject;
|
||||
statusDetails: any;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export const SentryIssuesWidget: ({ entity, statsFor, variant, }: {
|
||||
entity: Entity;
|
||||
statsFor?: "12h" | "24h" | undefined;
|
||||
variant?: InfoCardVariants | undefined;
|
||||
}) => JSX.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
const sentryPlugin: BackstagePlugin<{
|
||||
root: RouteRef<undefined>;
|
||||
}, {}>;
|
||||
|
||||
export { sentryPlugin as plugin }
|
||||
|
||||
export { sentryPlugin }
|
||||
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user