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
|
||||
|
||||
/// <reference types="react" />
|
||||
|
||||
import { ApiRef } from '@backstage/core-plugin-api';
|
||||
@@ -15,22 +14,22 @@ import { RouteRef } from '@backstage/core-plugin-api';
|
||||
|
||||
// @public (undocumented)
|
||||
export type EndpointConfig = {
|
||||
id: string;
|
||||
title: string;
|
||||
url: string;
|
||||
method?: 'POST';
|
||||
headers?: {
|
||||
[name in string]: string;
|
||||
};
|
||||
id: string;
|
||||
title: string;
|
||||
url: string;
|
||||
method?: 'POST';
|
||||
headers?: {
|
||||
[name in string]: string;
|
||||
};
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export type GithubEndpointConfig = {
|
||||
id: string;
|
||||
title: string;
|
||||
url?: string;
|
||||
errorApi?: ErrorApi;
|
||||
githubAuthApi: OAuthApi;
|
||||
id: string;
|
||||
title: string;
|
||||
url?: string;
|
||||
errorApi?: ErrorApi;
|
||||
githubAuthApi: OAuthApi;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
@@ -40,16 +39,16 @@ export const GraphiQLIcon: IconComponent;
|
||||
export const GraphiQLPage: () => JSX.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
const graphiqlPlugin: BackstagePlugin< {}, {}>;
|
||||
export { graphiqlPlugin }
|
||||
export { graphiqlPlugin as plugin }
|
||||
const graphiqlPlugin: BackstagePlugin<{}, {}>;
|
||||
export { graphiqlPlugin };
|
||||
export { graphiqlPlugin as plugin };
|
||||
|
||||
// @public (undocumented)
|
||||
export const graphiQLRouteRef: RouteRef<undefined>;
|
||||
|
||||
// @public (undocumented)
|
||||
export type GraphQLBrowseApi = {
|
||||
getEndpoints(): Promise<GraphQLEndpoint[]>;
|
||||
getEndpoints(): Promise<GraphQLEndpoint[]>;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
@@ -57,25 +56,24 @@ export const graphQlBrowseApiRef: ApiRef<GraphQLBrowseApi>;
|
||||
|
||||
// @public (undocumented)
|
||||
export type GraphQLEndpoint = {
|
||||
id: string;
|
||||
title: string;
|
||||
fetcher: (body: any) => Promise<any>;
|
||||
id: string;
|
||||
title: string;
|
||||
fetcher: (body: any) => Promise<any>;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export class GraphQLEndpoints implements GraphQLBrowseApi {
|
||||
// (undocumented)
|
||||
static create(config: EndpointConfig): GraphQLEndpoint;
|
||||
// (undocumented)
|
||||
static from(endpoints: GraphQLEndpoint[]): GraphQLEndpoints;
|
||||
// (undocumented)
|
||||
getEndpoints(): Promise<GraphQLEndpoint[]>;
|
||||
static github(config: GithubEndpointConfig): GraphQLEndpoint;
|
||||
// (undocumented)
|
||||
static create(config: EndpointConfig): GraphQLEndpoint;
|
||||
// (undocumented)
|
||||
static from(endpoints: GraphQLEndpoint[]): GraphQLEndpoints;
|
||||
// (undocumented)
|
||||
getEndpoints(): Promise<GraphQLEndpoint[]>;
|
||||
static github(config: GithubEndpointConfig): GraphQLEndpoint;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export const Router: () => JSX.Element;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user