All files have been added to the repo

This commit is contained in:
TFS MiniLab Admin 2023-07-06 20:06:25 +00:00
Родитель 9f6f363955
Коммит 7652d8e9d5
4 изменённых файлов: 37 добавлений и 9 удалений

Просмотреть файл

@ -2299,7 +2299,7 @@ export class GitRestClient extends RestClientBase {
}
/**
* Create a label for a specified pull request. The only required field is the name of the new label.
* Create a tag (if that does not exists yet) and add that as a label (tag) for a specified pull request. The only required field is the name of the new label (tag).
*
* @param label - Label to assign to the pull request.
* @param repositoryId - The repository ID of the pull requests target branch.
@ -2334,7 +2334,7 @@ export class GitRestClient extends RestClientBase {
}
/**
* Removes a label from the set of those assigned to the pull request.
* Removes a label (tag) from the set of those assigned to the pull request. The tag itself will not be deleted.
*
* @param repositoryId - The repository ID of the pull requests target branch.
* @param pullRequestId - ID of the pull request.
@ -2369,7 +2369,7 @@ export class GitRestClient extends RestClientBase {
}
/**
* Retrieves a single label that has been assigned to a pull request.
* Retrieves a single label (tag) that has been assigned to a pull request.
*
* @param repositoryId - The repository ID of the pull requests target branch.
* @param pullRequestId - ID of the pull request.
@ -2403,7 +2403,7 @@ export class GitRestClient extends RestClientBase {
}
/**
* Get all the labels assigned to a pull request.
* Get all the labels (tags) assigned to a pull request.
*
* @param repositoryId - The repository ID of the pull requests target branch.
* @param pullRequestId - ID of the pull request.

Просмотреть файл

@ -2774,6 +2774,10 @@ export interface TaskCommandRestrictions {
}
export interface TaskCompletedEvent extends TaskEvent {
/**
* The api request was no delivered successfully
*/
deliveryFailed: boolean;
/**
* The result of the task.
*/

Просмотреть файл

@ -3884,6 +3884,30 @@ export interface TestResultFailuresAnalysis {
newFailures: TestFailureDetails;
}
/**
* The test failure type resource
*/
export interface TestResultFailureType {
/**
* ID of the test failure type
*/
id: number;
/**
* Name of the test failure type
*/
name: string;
}
/**
* The test failure type request model
*/
export interface TestResultFailureTypeRequestModel {
/**
* Name of the test failure type
*/
name: string;
}
/**
* Group by for results
*/

Просмотреть файл

@ -2164,11 +2164,11 @@ export class TestResultsRestClient extends RestClientBase {
* @param project - Project ID or project name
*/
public async createFailureType(
testResultFailureType: Test.TestFailureType,
testResultFailureType: Test.TestResultFailureTypeRequestModel,
project: string
): Promise<Test.TestFailureType> {
): Promise<Test.TestResultFailureType> {
return this.beginRequest<Test.TestFailureType>({
return this.beginRequest<Test.TestResultFailureType>({
apiVersion: "7.1-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/testfailuretype/{failureTypeId}",
@ -2208,9 +2208,9 @@ export class TestResultsRestClient extends RestClientBase {
*/
public async getFailureTypes(
project: string
): Promise<Test.TestFailureType[]> {
): Promise<Test.TestResultFailureType[]> {
return this.beginRequest<Test.TestFailureType[]>({
return this.beginRequest<Test.TestResultFailureType[]>({
apiVersion: "7.1-preview.1",
routeTemplate: "{project}/_apis/testresults/testfailuretype/{failureTypeId}",
routeValues: {