azure-devops-extension-api
Advanced tools
Comparing version 0.141.11 to 0.141.12
@@ -1,2 +0,2 @@ | ||
import { BuildDefinitionReference } from "../types/Build"; | ||
import { BuildDefinitionReference, BuildReference } from "../types/Build"; | ||
@@ -9,16 +9,32 @@ /** | ||
/** | ||
* Service for getting information about the current build definition on a build definition page | ||
* Service for getting contextual information when on a builds page | ||
*/ | ||
BuildDefinitionPageDataService = "ms.vss-build-web.definitions-page-data-service" | ||
BuildPageDataService = "ms.vss-build-web.build-page-data-service" | ||
} | ||
/** | ||
* Service for getting information about the current build definition on a build definition page | ||
* Contextual information for a build page | ||
*/ | ||
export interface IBuildDefinitionPageDataService { | ||
export interface IBuildPageData { | ||
/** | ||
* Gets information about the build definition if on a build definition page. | ||
* The currently selected build result when on a build page | ||
*/ | ||
getDefinition(): BuildDefinitionReference | undefined; | ||
build?: BuildReference; | ||
/** | ||
* The currently selected build definition when on a build page | ||
*/ | ||
definition?: BuildDefinitionReference; | ||
} | ||
/** | ||
* Service for getting contextual information when on a builds page | ||
*/ | ||
export interface IBuildPageDataService { | ||
/** | ||
* Gets contextual information for a build page | ||
*/ | ||
getBuildPageData(): IBuildPageData | undefined; | ||
} |
{ | ||
"name": "azure-devops-extension-api", | ||
"version": "0.141.11", | ||
"version": "0.141.12", | ||
"description": "REST client libraries and contracts for Azure DevOps web extension developers.", | ||
@@ -5,0 +5,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3202982
67393
2