Refactored to provide better API for Builds

Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
This commit is contained in:
Andre Wanlin
2021-11-13 11:25:46 -06:00
parent a77526afcd
commit 868f1dae99
7 changed files with 801 additions and 406 deletions
+23
View File
@@ -14,6 +14,29 @@ export enum BuildResult {
Succeeded = 2,
}
// Warning: (ae-missing-release-tag) "BuildRun" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type BuildRun = {
id?: number;
title: string;
link?: string;
status?: BuildStatus;
result?: BuildResult;
queueTime?: string;
startTime?: string;
finishTime?: string;
source: string;
uniqueName?: string;
};
// Warning: (ae-missing-release-tag) "BuildRunOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type BuildRunOptions = {
top?: number;
};
// Warning: (ae-missing-release-tag) "BuildStatus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
+16
View File
@@ -251,3 +251,19 @@ export enum PullRequestVoteStatus {
WaitingForAuthor = -5,
Rejected = -10,
}
export type BuildRun = {
id?: number;
title: string;
link?: string;
status?: BuildStatus;
result?: BuildResult;
queueTime?: string;
startTime?: string;
finishTime?: string;
source: string;
uniqueName?: string;
};
export type BuildRunOptions = {
top?: number;
};