All files have been added to the repo

This commit is contained in:
TFS MiniLab Admin 2023-11-06 23:44:40 +00:00
Родитель 293e771578
Коммит ba5db38fa9
6 изменённых файлов: 91 добавлений и 1 удалений

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

@ -2134,6 +2134,10 @@ export interface PipelineGeneralSettings {
* Disable classic release pipelines creation.
*/
disableClassicReleasePipelineCreation: boolean;
/**
* Disable implied pipeline CI triggers if the trigger section in YAML is missing.
*/
disableImpliedYAMLCiTrigger: boolean;
/**
* Enable shell tasks args sanitizing.
*/

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

@ -541,6 +541,10 @@ export interface ServiceEndpoint {
* Gets or sets the identifier of this endpoint.
*/
id: string;
/**
* Indicates whether service endpoint is outdated or not.
*/
isOutdated: boolean;
/**
* EndPoint state indicator
*/

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

@ -1580,6 +1580,10 @@ export interface ResourceItem {
* Gets or sets Id of the resource.
*/
id: string;
/**
* Indicates whether resource is outdated or not.
*/
isOutdated: boolean;
/**
* Indicates whether resource is shared with other projects or not.
*/

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

@ -288,6 +288,34 @@ export class TaskAgentRestClient extends RestClientBase {
});
}
/**
* Get Permissions on Pool.
*
* @param poolId - The agent pool to use
* @param agentId - The agent id to use
* @param isCheckPermissions - To check the permissions
*/
public async getPoolPermission(
poolId: number,
agentId: number,
isCheckPermissions: boolean
): Promise<boolean> {
const queryValues: any = {
isCheckPermissions: isCheckPermissions
};
return this.beginRequest<boolean>({
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/distributedtask/pools/{poolId}/agents/{agentId}",
routeValues: {
poolId: poolId,
agentId: agentId
},
queryParams: queryValues
});
}
/**
* Replace an agent. You probably don't want to call this endpoint directly. Instead, [use the agent configuration script](https://docs.microsoft.com/azure/devops/pipelines/agents/agents) to remove and reconfigure an agent from your organization.
*

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

@ -866,6 +866,11 @@ export interface FileCoverage {
path: string;
}
export interface FileCoverageData {
coverageStatistics: CoverageStatistics;
name: string;
}
export interface FileCoverageRequest {
filePath: string;
pullRequestBaseIterationId: number;
@ -933,6 +938,13 @@ export interface FlakySettings {
manualMarkUnmarkFlaky: boolean;
}
export interface FolderCoverageData {
coverageStatistics: CoverageStatistics;
files: FileCoverageData[];
folders: FolderCoverageData[];
name: string;
}
export interface FunctionCoverage {
class: string;
name: string;
@ -2329,6 +2341,17 @@ export interface SharedStepModel {
revision: number;
}
export interface SourceViewBuildCoverage {
/**
* Build Configuration
*/
configuration: BuildConfiguration;
/**
* Folder Level CoverageDetails
*/
folderCoverageData: FolderCoverageData;
}
/**
* Stage in pipeline
*/
@ -3469,7 +3492,11 @@ export enum TestLogType {
/**
* Subresult Attachment
*/
System = 5
System = 5,
/**
* merged Coverage file
*/
MergedCoverageFile = 6
}
export interface TestMessageLog2 {

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

@ -525,6 +525,29 @@ export class TestResultsRestClient extends RestClientBase {
});
}
/**
* @param project - Project ID or project name
* @param buildId -
*/
public async fetchSourceCodeCoverageReport(
project: string,
buildId: number
): Promise<Test.SourceViewBuildCoverage[]> {
const queryValues: any = {
buildId: buildId
};
return this.beginRequest<Test.SourceViewBuildCoverage[]>({
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/codecoverage/sourceview",
routeValues: {
project: project
},
queryParams: queryValues
});
}
/**
* @param project - Project ID or project name
* @param buildId -