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';
|
||||
@@ -13,12 +12,12 @@ import { RouteRef } from '@backstage/core-plugin-api';
|
||||
|
||||
// @public (undocumented)
|
||||
export type GcpApi = {
|
||||
listProjects(): Promise<Project[]>;
|
||||
getProject(projectId: string): Promise<Project>;
|
||||
createProject(options: {
|
||||
projectId: string;
|
||||
projectName: string;
|
||||
}): Promise<Operation>;
|
||||
listProjects(): Promise<Project[]>;
|
||||
getProject(projectId: string): Promise<Project>;
|
||||
createProject(options: {
|
||||
projectId: string;
|
||||
projectName: string;
|
||||
}): Promise<Operation>;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
@@ -26,60 +25,62 @@ export const gcpApiRef: ApiRef<GcpApi>;
|
||||
|
||||
// @public (undocumented)
|
||||
export class GcpClient implements GcpApi {
|
||||
constructor(googleAuthApi: OAuthApi);
|
||||
// (undocumented)
|
||||
createProject(options: {
|
||||
projectId: string;
|
||||
projectName: string;
|
||||
}): Promise<Operation>;
|
||||
// (undocumented)
|
||||
getProject(projectId: string): Promise<Project>;
|
||||
// (undocumented)
|
||||
getToken(): Promise<string>;
|
||||
// (undocumented)
|
||||
listProjects(): Promise<Project[]>;
|
||||
constructor(googleAuthApi: OAuthApi);
|
||||
// (undocumented)
|
||||
createProject(options: {
|
||||
projectId: string;
|
||||
projectName: string;
|
||||
}): Promise<Operation>;
|
||||
// (undocumented)
|
||||
getProject(projectId: string): Promise<Project>;
|
||||
// (undocumented)
|
||||
getToken(): Promise<string>;
|
||||
// (undocumented)
|
||||
listProjects(): Promise<Project[]>;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export const GcpProjectsPage: () => JSX.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
const gcpProjectsPlugin: BackstagePlugin< {
|
||||
root: RouteRef<undefined>;
|
||||
}, {}>;
|
||||
export { gcpProjectsPlugin }
|
||||
export { gcpProjectsPlugin as plugin }
|
||||
const gcpProjectsPlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
},
|
||||
{}
|
||||
>;
|
||||
export { gcpProjectsPlugin };
|
||||
export { gcpProjectsPlugin as plugin };
|
||||
|
||||
// @public (undocumented)
|
||||
export type Operation = {
|
||||
name: string;
|
||||
metadata: string;
|
||||
done: boolean;
|
||||
error: Status;
|
||||
response: string;
|
||||
name: string;
|
||||
metadata: string;
|
||||
done: boolean;
|
||||
error: Status;
|
||||
response: string;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export type Project = {
|
||||
name: string;
|
||||
projectNumber?: string;
|
||||
projectId: string;
|
||||
lifecycleState?: string;
|
||||
createTime?: string;
|
||||
name: string;
|
||||
projectNumber?: string;
|
||||
projectId: string;
|
||||
lifecycleState?: string;
|
||||
createTime?: string;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export type ProjectDetails = {
|
||||
details: string;
|
||||
details: string;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export type Status = {
|
||||
code: number;
|
||||
message: string;
|
||||
details: string[];
|
||||
code: number;
|
||||
message: string;
|
||||
details: string[];
|
||||
};
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user