packages: regenerate all API reports with prettier

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-07-12 11:20:25 +02:00
parent e87aa59df3
commit 602b5b59bb
78 changed files with 8153 additions and 4661 deletions
+53 -50
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 { CatalogApi } from '@backstage/catalog-client';
import { Config } from '@backstage/config';
import { Entity } from '@backstage/catalog-model';
@@ -12,65 +11,71 @@ import { PluginEndpointDiscovery } from '@backstage/backend-common';
// @public (undocumented)
export interface Badge {
color?: string;
description?: string;
kind?: 'entity';
label: string;
labelColor?: string;
link?: string;
message: string;
style?: BadgeStyle;
color?: string;
description?: string;
kind?: 'entity';
label: string;
labelColor?: string;
link?: string;
message: string;
style?: BadgeStyle;
}
// @public (undocumented)
export const BADGE_STYLES: readonly ["plastic", "flat", "flat-square", "for-the-badge", "social"];
export const BADGE_STYLES: readonly [
'plastic',
'flat',
'flat-square',
'for-the-badge',
'social',
];
// @public (undocumented)
export type BadgeBuilder = {
getBadges(): Promise<BadgeInfo[]>;
createBadgeJson(options: BadgeOptions): Promise<BadgeSpec>;
createBadgeSvg(options: BadgeOptions): Promise<string>;
getBadges(): Promise<BadgeInfo[]>;
createBadgeJson(options: BadgeOptions): Promise<BadgeSpec>;
createBadgeSvg(options: BadgeOptions): Promise<string>;
};
// @public (undocumented)
export interface BadgeContext {
// (undocumented)
badgeUrl: string;
// (undocumented)
config: Config;
// (undocumented)
entity?: Entity;
// (undocumented)
badgeUrl: string;
// (undocumented)
config: Config;
// (undocumented)
entity?: Entity;
}
// @public (undocumented)
export interface BadgeFactories {
// (undocumented)
[id: string]: BadgeFactory;
// (undocumented)
[id: string]: BadgeFactory;
}
// @public (undocumented)
export interface BadgeFactory {
// (undocumented)
createBadge(context: BadgeContext): Badge;
// (undocumented)
createBadge(context: BadgeContext): Badge;
}
// @public (undocumented)
export type BadgeInfo = {
id: string;
id: string;
};
// @public (undocumented)
export type BadgeOptions = {
badgeInfo: BadgeInfo;
context: BadgeContext;
badgeInfo: BadgeInfo;
context: BadgeContext;
};
// @public (undocumented)
export type BadgeSpec = {
id: string;
badge: Badge;
url: string;
markdown: string;
id: string;
badge: Badge;
url: string;
markdown: string;
};
// @public (undocumented)
@@ -84,30 +89,28 @@ export function createRouter(options: RouterOptions): Promise<express.Router>;
// @public (undocumented)
export class DefaultBadgeBuilder implements BadgeBuilder {
constructor(factories: BadgeFactories);
// (undocumented)
createBadgeJson(options: BadgeOptions): Promise<BadgeSpec>;
// (undocumented)
createBadgeSvg(options: BadgeOptions): Promise<string>;
// (undocumented)
getBadges(): Promise<BadgeInfo[]>;
}
constructor(factories: BadgeFactories);
// (undocumented)
createBadgeJson(options: BadgeOptions): Promise<BadgeSpec>;
// (undocumented)
createBadgeSvg(options: BadgeOptions): Promise<string>;
// (undocumented)
getBadges(): Promise<BadgeInfo[]>;
}
// @public (undocumented)
export interface RouterOptions {
// (undocumented)
badgeBuilder?: BadgeBuilder;
// (undocumented)
badgeFactories?: BadgeFactories;
// (undocumented)
catalog?: CatalogApi;
// (undocumented)
config: Config;
// (undocumented)
discovery: PluginEndpointDiscovery;
// (undocumented)
badgeBuilder?: BadgeBuilder;
// (undocumented)
badgeFactories?: BadgeFactories;
// (undocumented)
catalog?: CatalogApi;
// (undocumented)
config: Config;
// (undocumented)
discovery: PluginEndpointDiscovery;
}
// (No @packageDocumentation comment for this package)
```