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
+193 -164
View File
@@ -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';
@@ -14,62 +13,71 @@ import { RouteRef } from '@backstage/core-plugin-api';
// @public (undocumented)
export type ActionsGetWorkflowResponseData = {
id: string;
status: string;
source: Source;
createTime: string;
startTime: string;
steps: Step[];
timeout: string;
projectId: string;
logsBucket: string;
sourceProvenance: SourceProvenance;
buildTriggerId: string;
options: Options;
logUrl: string;
substitutions: Substitutions;
tags: string[];
queueTtl: string;
name: string;
finishTime: any;
results: Results;
timing: Timing2;
id: string;
status: string;
source: Source;
createTime: string;
startTime: string;
steps: Step[];
timeout: string;
projectId: string;
logsBucket: string;
sourceProvenance: SourceProvenance;
buildTriggerId: string;
options: Options;
logUrl: string;
substitutions: Substitutions;
tags: string[];
queueTtl: string;
name: string;
finishTime: any;
results: Results;
timing: Timing2;
};
// @public (undocumented)
export interface ActionsListWorkflowRunsForRepoResponseData {
// (undocumented)
builds: ActionsGetWorkflowResponseData[];
// (undocumented)
builds: ActionsGetWorkflowResponseData[];
}
// @public (undocumented)
export interface BUILD {
// (undocumented)
endTime: string;
// (undocumented)
startTime: string;
// (undocumented)
endTime: string;
// (undocumented)
startTime: string;
}
// @public (undocumented)
export const CLOUDBUILD_ANNOTATION = "google.com/cloudbuild-project-slug";
export const CLOUDBUILD_ANNOTATION = 'google.com/cloudbuild-project-slug';
// @public (undocumented)
export type CloudbuildApi = {
listWorkflowRuns: (request: {
projectId: string;
}) => Promise<ActionsListWorkflowRunsForRepoResponseData>;
getWorkflow: ({ projectId, id, }: {
projectId: string;
id: string;
}) => Promise<ActionsGetWorkflowResponseData>;
getWorkflowRun: ({ projectId, id, }: {
projectId: string;
id: string;
}) => Promise<ActionsGetWorkflowResponseData>;
reRunWorkflow: ({ projectId, runId, }: {
projectId: string;
runId: string;
}) => Promise<any>;
listWorkflowRuns: (request: {
projectId: string;
}) => Promise<ActionsListWorkflowRunsForRepoResponseData>;
getWorkflow: ({
projectId,
id,
}: {
projectId: string;
id: string;
}) => Promise<ActionsGetWorkflowResponseData>;
getWorkflowRun: ({
projectId,
id,
}: {
projectId: string;
id: string;
}) => Promise<ActionsGetWorkflowResponseData>;
reRunWorkflow: ({
projectId,
runId,
}: {
projectId: string;
runId: string;
}) => Promise<any>;
};
// @public (undocumented)
@@ -77,115 +85,137 @@ export const cloudbuildApiRef: ApiRef<CloudbuildApi>;
// @public (undocumented)
export class CloudbuildClient implements CloudbuildApi {
constructor(googleAuthApi: OAuthApi);
// (undocumented)
getToken(): Promise<string>;
// (undocumented)
getWorkflow({ projectId, id, }: {
projectId: string;
id: string;
}): Promise<ActionsGetWorkflowResponseData>;
// (undocumented)
getWorkflowRun({ projectId, id, }: {
projectId: string;
id: string;
}): Promise<ActionsGetWorkflowResponseData>;
// (undocumented)
listWorkflowRuns({ projectId, }: {
projectId: string;
}): Promise<ActionsListWorkflowRunsForRepoResponseData>;
// (undocumented)
reRunWorkflow({ projectId, runId, }: {
projectId: string;
runId: string;
}): Promise<void>;
constructor(googleAuthApi: OAuthApi);
// (undocumented)
getToken(): Promise<string>;
// (undocumented)
getWorkflow({
projectId,
id,
}: {
projectId: string;
id: string;
}): Promise<ActionsGetWorkflowResponseData>;
// (undocumented)
getWorkflowRun({
projectId,
id,
}: {
projectId: string;
id: string;
}): Promise<ActionsGetWorkflowResponseData>;
// (undocumented)
listWorkflowRuns({
projectId,
}: {
projectId: string;
}): Promise<ActionsListWorkflowRunsForRepoResponseData>;
// (undocumented)
reRunWorkflow({
projectId,
runId,
}: {
projectId: string;
runId: string;
}): Promise<void>;
}
// @public (undocumented)
const cloudbuildPlugin: BackstagePlugin< {
entityContent: RouteRef<undefined>;
}, {}>;
export { cloudbuildPlugin }
export { cloudbuildPlugin as plugin }
const cloudbuildPlugin: BackstagePlugin<
{
entityContent: RouteRef<undefined>;
},
{}
>;
export { cloudbuildPlugin };
export { cloudbuildPlugin as plugin };
// @public (undocumented)
export const EntityCloudbuildContent: (_props: {
entity?: Entity | undefined;
entity?: Entity | undefined;
}) => JSX.Element;
// @public (undocumented)
export const EntityLatestCloudbuildRunCard: ({ branch, }: {
entity?: Entity | undefined;
branch: string;
export const EntityLatestCloudbuildRunCard: ({
branch,
}: {
entity?: Entity | undefined;
branch: string;
}) => JSX.Element;
// @public (undocumented)
export const EntityLatestCloudbuildsForBranchCard: ({ branch, }: {
entity?: Entity | undefined;
branch: string;
export const EntityLatestCloudbuildsForBranchCard: ({
branch,
}: {
entity?: Entity | undefined;
branch: string;
}) => JSX.Element;
// @public (undocumented)
export interface FETCHSOURCE {
// (undocumented)
endTime: string;
// (undocumented)
startTime: string;
// (undocumented)
endTime: string;
// (undocumented)
startTime: string;
}
// @public (undocumented)
const isCloudbuildAvailable: (entity: Entity) => boolean;
export { isCloudbuildAvailable }
export { isCloudbuildAvailable as isPluginApplicableToEntity }
export { isCloudbuildAvailable };
export { isCloudbuildAvailable as isPluginApplicableToEntity };
// @public (undocumented)
export const LatestWorkflowRunCard: ({ branch, }: {
entity?: Entity | undefined;
branch: string;
export const LatestWorkflowRunCard: ({
branch,
}: {
entity?: Entity | undefined;
branch: string;
}) => JSX.Element;
// @public (undocumented)
export const LatestWorkflowsForBranchCard: ({ branch, }: {
entity?: Entity | undefined;
branch: string;
export const LatestWorkflowsForBranchCard: ({
branch,
}: {
entity?: Entity | undefined;
branch: string;
}) => JSX.Element;
// @public (undocumented)
export interface Options {
// (undocumented)
dynamicSubstitutions: boolean;
// (undocumented)
logging: string;
// (undocumented)
machineType: string;
// (undocumented)
substitutionOption: string;
// (undocumented)
dynamicSubstitutions: boolean;
// (undocumented)
logging: string;
// (undocumented)
machineType: string;
// (undocumented)
substitutionOption: string;
}
// @public (undocumented)
export interface PullTiming {
// (undocumented)
endTime: string;
// (undocumented)
startTime: string;
// (undocumented)
endTime: string;
// (undocumented)
startTime: string;
}
// @public (undocumented)
export interface ResolvedStorageSource {
// (undocumented)
bucket: string;
// (undocumented)
generation: string;
// (undocumented)
object: string;
// (undocumented)
bucket: string;
// (undocumented)
generation: string;
// (undocumented)
object: string;
}
// @public (undocumented)
export interface Results {
// (undocumented)
buildStepImages: string[];
// (undocumented)
buildStepOutputs: string[];
// (undocumented)
buildStepImages: string[];
// (undocumented)
buildStepOutputs: string[];
}
// @public (undocumented)
@@ -193,88 +223,87 @@ export const Router: (_props: Props) => JSX.Element;
// @public (undocumented)
export interface Source {
// (undocumented)
storageSource: StorageSource;
// (undocumented)
storageSource: StorageSource;
}
// @public (undocumented)
export interface SourceProvenance {
// (undocumented)
fileHashes: {};
// (undocumented)
resolvedStorageSource: {};
// (undocumented)
fileHashes: {};
// (undocumented)
resolvedStorageSource: {};
}
// @public (undocumented)
export interface Step {
// (undocumented)
args: string[];
// (undocumented)
dir: string;
// (undocumented)
entrypoint: string;
// (undocumented)
id: string;
// (undocumented)
name: string;
// (undocumented)
pullTiming: PullTiming;
// (undocumented)
status: string;
// (undocumented)
timing: Timing;
// (undocumented)
volumes: Volume[];
// (undocumented)
waitFor: string[];
// (undocumented)
args: string[];
// (undocumented)
dir: string;
// (undocumented)
entrypoint: string;
// (undocumented)
id: string;
// (undocumented)
name: string;
// (undocumented)
pullTiming: PullTiming;
// (undocumented)
status: string;
// (undocumented)
timing: Timing;
// (undocumented)
volumes: Volume[];
// (undocumented)
waitFor: string[];
}
// @public (undocumented)
export interface StorageSource {
// (undocumented)
bucket: string;
// (undocumented)
object: string;
// (undocumented)
bucket: string;
// (undocumented)
object: string;
}
// @public (undocumented)
export interface Substitutions {
// (undocumented)
BRANCH_NAME: string;
// (undocumented)
COMMIT_SHA: string;
// (undocumented)
REPO_NAME: string;
// (undocumented)
REVISION_ID: string;
// (undocumented)
SHORT_SHA: string;
// (undocumented)
BRANCH_NAME: string;
// (undocumented)
COMMIT_SHA: string;
// (undocumented)
REPO_NAME: string;
// (undocumented)
REVISION_ID: string;
// (undocumented)
SHORT_SHA: string;
}
// @public (undocumented)
export interface Timing {
// (undocumented)
endTime: string;
// (undocumented)
startTime: string;
// (undocumented)
endTime: string;
// (undocumented)
startTime: string;
}
// @public (undocumented)
export interface Timing2 {
// (undocumented)
BUILD: BUILD;
// (undocumented)
FETCHSOURCE: FETCHSOURCE;
// (undocumented)
BUILD: BUILD;
// (undocumented)
FETCHSOURCE: FETCHSOURCE;
}
// @public (undocumented)
export interface Volume {
// (undocumented)
name: string;
// (undocumented)
path: string;
// (undocumented)
name: string;
// (undocumented)
path: string;
}
// (No @packageDocumentation comment for this package)
```