azure-devops-extension-api 4.246.0 → 4.248.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (559) hide show
  1. package/SECURITY.md +41 -0
  2. package/{AdvancedSecurity.Reporting → bin/AdvancedSecurity.Reporting}/Reporting.d.ts +48 -0
  3. package/bin/AdvancedSecurity.Reporting/Reporting.js +32 -0
  4. package/bin/AdvancedSecurity.Reporting/Reporting.min.js +1 -0
  5. package/{Alert → bin/Alert}/Alert.d.ts +8 -8
  6. package/{Contributions → bin/Contributions}/ContributionsClient.js +2 -2
  7. package/{Contributions → bin/Contributions}/ContributionsClient.min.js +1 -1
  8. package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagementClient.js +7 -7
  9. package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagementClient.min.js +1 -1
  10. package/{Git → bin/Git}/Git.d.ts +4 -0
  11. package/bin/LICENSE +21 -0
  12. package/{Management → bin/Management}/Management.d.ts +4 -0
  13. package/bin/README.md +2 -0
  14. package/{TaskAgent → bin/TaskAgent}/TaskAgent.d.ts +8 -0
  15. package/{Test → bin/Test}/Test.d.ts +31 -7
  16. package/{TestPlan → bin/TestPlan}/TestPlan.d.ts +6 -2
  17. package/{TestResults → bin/TestResults}/TestResultsClient.d.ts +24 -1
  18. package/{TestResults → bin/TestResults}/TestResultsClient.js +79 -1
  19. package/bin/TestResults/TestResultsClient.min.js +1 -0
  20. package/bin/package.json +37 -0
  21. package/buildpackage.js +80 -0
  22. package/package.json +1 -1
  23. package/src/Accounts/Accounts.ts +134 -0
  24. package/src/Accounts/AccountsClient.ts +83 -0
  25. package/src/Accounts/index.ts +2 -0
  26. package/src/AdvancedSecurity.Reporting/Reporting.ts +180 -0
  27. package/src/AdvancedSecurity.Reporting/ReportingClient.ts +47 -0
  28. package/src/Alert/Alert.ts +1037 -0
  29. package/src/Alert/AlertClient.ts +330 -0
  30. package/src/Boards/Boards.ts +684 -0
  31. package/src/Boards/BoardsClient.ts +593 -0
  32. package/src/Boards/index.ts +2 -0
  33. package/src/Build/Build.ts +3416 -0
  34. package/src/Build/BuildClient.ts +2740 -0
  35. package/src/Build/BuildServices.ts +39 -0
  36. package/src/Build/index.ts +3 -0
  37. package/src/Comments/Comments.ts +330 -0
  38. package/src/Comments/index.ts +1 -0
  39. package/src/Common/Client.ts +37 -0
  40. package/src/Common/CommonServices.ts +853 -0
  41. package/src/Common/Context.d.ts +46 -0
  42. package/src/Common/Fetch.ts +239 -0
  43. package/src/Common/RestClientBase.ts +186 -0
  44. package/src/Common/System.ts +36 -0
  45. package/src/Common/SystemData.ts +135 -0
  46. package/src/Common/Util/Serialization.ts +59 -0
  47. package/src/Common/Util/Url.ts +773 -0
  48. package/src/Common/index.ts +3 -0
  49. package/src/Contributions/Contributions.ts +708 -0
  50. package/src/Contributions/ContributionsClient.ts +109 -0
  51. package/src/Contributions/index.ts +2 -0
  52. package/src/Core/Core.ts +579 -0
  53. package/src/Core/CoreClient.ts +765 -0
  54. package/src/Core/index.ts +2 -0
  55. package/src/Dashboard/Dashboard.ts +419 -0
  56. package/src/Dashboard/DashboardClient.ts +370 -0
  57. package/src/Dashboard/WidgetConfigHelpers.ts +43 -0
  58. package/src/Dashboard/WidgetContracts.ts +226 -0
  59. package/src/Dashboard/WidgetHelpers.ts +145 -0
  60. package/src/Dashboard/index.ts +5 -0
  61. package/src/DistributedTaskCommon/DistributedTaskCommon.ts +108 -0
  62. package/src/DistributedTaskCommon/index.ts +1 -0
  63. package/src/ExtensionManagement/ExtensionManagement.ts +1205 -0
  64. package/src/ExtensionManagement/ExtensionManagementClient.ts +646 -0
  65. package/src/ExtensionManagement/index.ts +2 -0
  66. package/src/Favorite/Favorite.ts +136 -0
  67. package/src/Favorite/FavoriteClient.ts +301 -0
  68. package/src/FeatureAvailability/FeatureAvailability.ts +20 -0
  69. package/src/FeatureAvailability/FeatureAvailabilityClient.ts +153 -0
  70. package/src/FeatureAvailability/index.ts +2 -0
  71. package/src/FeatureManagement/FeatureManagement.ts +166 -0
  72. package/src/FeatureManagement/FeatureManagementClient.ts +246 -0
  73. package/src/FeatureManagement/index.ts +2 -0
  74. package/src/FileContainer/FileContainer.ts +205 -0
  75. package/src/FileContainer/FileContainerClient.ts +154 -0
  76. package/src/FileContainer/index.ts +2 -0
  77. package/src/FormInput/FormInput.ts +288 -0
  78. package/src/FormInput/index.ts +1 -0
  79. package/src/Gallery/Gallery.ts +1977 -0
  80. package/src/Gallery/GalleryClient.ts +2251 -0
  81. package/src/Gallery/index.ts +2 -0
  82. package/src/Git/CodeEditorTypes.ts +335 -0
  83. package/src/Git/Git.ts +4062 -0
  84. package/src/Git/GitClient.ts +4750 -0
  85. package/src/Git/GitServices.ts +18 -0
  86. package/src/Git/index.ts +4 -0
  87. package/src/Graph/Graph.ts +572 -0
  88. package/src/Graph/GraphClient.ts +846 -0
  89. package/src/Graph/index.ts +2 -0
  90. package/src/Identities/Identities.ts +261 -0
  91. package/src/Identities/IdentityProvider.ts +90 -0
  92. package/src/Identities/IdentityService.ts +89 -0
  93. package/src/Identities/index.ts +3 -0
  94. package/src/Locations/Locations.ts +165 -0
  95. package/src/Locations/LocationsClient.ts +220 -0
  96. package/src/Locations/index.ts +2 -0
  97. package/src/Management/Management.ts +176 -0
  98. package/src/Management/ManagementClient.ts +348 -0
  99. package/src/Notification/Notification.ts +1460 -0
  100. package/src/Notification/NotificationClient.ts +477 -0
  101. package/src/Notification/index.ts +2 -0
  102. package/src/Operations/Operations.ts +86 -0
  103. package/src/Operations/OperationsClient.ts +42 -0
  104. package/src/Operations/index.ts +2 -0
  105. package/src/Pipelines/Pipelines.ts +354 -0
  106. package/src/Pipelines/PipelinesClient.ts +306 -0
  107. package/src/Policy/Policy.ts +173 -0
  108. package/src/Policy/PolicyClient.ts +315 -0
  109. package/src/Policy/index.ts +2 -0
  110. package/src/Profile/Profile.ts +187 -0
  111. package/src/Profile/ProfileClient.ts +328 -0
  112. package/src/Profile/index.ts +2 -0
  113. package/src/ProjectAnalysis/ProjectAnalysis.ts +74 -0
  114. package/src/ProjectAnalysis/ProjectAnalysisClient.ts +124 -0
  115. package/src/ProjectAnalysis/index.ts +2 -0
  116. package/src/Release/Release.ts +4237 -0
  117. package/src/Release/ReleaseClient.ts +2450 -0
  118. package/src/Release/index.ts +2 -0
  119. package/src/ResourceUsage/ResourceUsage.ts +19 -0
  120. package/src/ResourceUsage/ResourceUsageClient.ts +48 -0
  121. package/src/ServiceEndpoint/ServiceEndpoint.ts +930 -0
  122. package/src/ServiceEndpoint/ServiceEndpointClient.ts +617 -0
  123. package/src/ServiceEndpoint/index.ts +2 -0
  124. package/src/ServiceHooks/ServiceHooks.ts +759 -0
  125. package/src/ServiceHooks/ServiceHooksClient.ts +499 -0
  126. package/src/ServiceHooks/index.ts +2 -0
  127. package/src/TaskAgent/TaskAgent.ts +3896 -0
  128. package/src/TaskAgent/TaskAgentClient.ts +3918 -0
  129. package/src/TaskAgent/index.ts +2 -0
  130. package/src/Test/Test.ts +5853 -0
  131. package/src/Test/TestClient.ts +2201 -0
  132. package/src/Test/index.ts +2 -0
  133. package/src/TestPlan/TestPlan.ts +1384 -0
  134. package/src/TestPlan/TestPlanClient.ts +1367 -0
  135. package/src/TestPlan/index.ts +2 -0
  136. package/{AdvancedSecurity.Reporting/Reporting.js → src/TestResults/TestResults.ts} +7 -5
  137. package/src/TestResults/TestResultsClient.ts +3506 -0
  138. package/src/TestResults/index.ts +2 -0
  139. package/src/Tfvc/Tfvc.ts +770 -0
  140. package/src/Tfvc/TfvcClient.ts +757 -0
  141. package/src/Tfvc/index.ts +2 -0
  142. package/src/WebApi/WebApi.ts +452 -0
  143. package/src/WebApi/index.ts +1 -0
  144. package/src/Wiki/Wiki.ts +352 -0
  145. package/src/Wiki/WikiClient.ts +712 -0
  146. package/src/Wiki/index.ts +2 -0
  147. package/src/Work/Work.ts +1367 -0
  148. package/src/Work/WorkClient.ts +1489 -0
  149. package/src/Work/index.ts +2 -0
  150. package/src/WorkItemTracking/WorkItemTracking.ts +2215 -0
  151. package/src/WorkItemTracking/WorkItemTrackingClient.ts +2032 -0
  152. package/src/WorkItemTracking/WorkItemTrackingServices.ts +329 -0
  153. package/src/WorkItemTracking/index.ts +3 -0
  154. package/src/WorkItemTrackingProcess/WorkItemTrackingProcess.ts +1295 -0
  155. package/src/WorkItemTrackingProcess/WorkItemTrackingProcessClient.ts +1455 -0
  156. package/src/WorkItemTrackingProcess/index.ts +2 -0
  157. package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.ts +606 -0
  158. package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.ts +1175 -0
  159. package/src/WorkItemTrackingProcessDefinitions/index.ts +2 -0
  160. package/src/index.ts +1 -0
  161. package/tsconfig.json +21 -0
  162. package/AdvancedSecurity.Reporting/Reporting.min.js +0 -1
  163. package/TestResults/TestResultsClient.min.js +0 -1
  164. /package/{Accounts → bin/Accounts}/Accounts.d.ts +0 -0
  165. /package/{Accounts → bin/Accounts}/Accounts.js +0 -0
  166. /package/{Accounts → bin/Accounts}/Accounts.min.js +0 -0
  167. /package/{Accounts → bin/Accounts}/AccountsClient.d.ts +0 -0
  168. /package/{Accounts → bin/Accounts}/AccountsClient.js +0 -0
  169. /package/{Accounts → bin/Accounts}/AccountsClient.min.js +0 -0
  170. /package/{Accounts → bin/Accounts}/index.d.ts +0 -0
  171. /package/{Accounts → bin/Accounts}/index.js +0 -0
  172. /package/{Accounts → bin/Accounts}/index.min.js +0 -0
  173. /package/{AdvancedSecurity.Reporting → bin/AdvancedSecurity.Reporting}/ReportingClient.d.ts +0 -0
  174. /package/{AdvancedSecurity.Reporting → bin/AdvancedSecurity.Reporting}/ReportingClient.js +0 -0
  175. /package/{AdvancedSecurity.Reporting → bin/AdvancedSecurity.Reporting}/ReportingClient.min.js +0 -0
  176. /package/{Alert → bin/Alert}/Alert.js +0 -0
  177. /package/{Alert → bin/Alert}/Alert.min.js +0 -0
  178. /package/{Alert → bin/Alert}/AlertClient.d.ts +0 -0
  179. /package/{Alert → bin/Alert}/AlertClient.js +0 -0
  180. /package/{Alert → bin/Alert}/AlertClient.min.js +0 -0
  181. /package/{Boards → bin/Boards}/Boards.d.ts +0 -0
  182. /package/{Boards → bin/Boards}/Boards.js +0 -0
  183. /package/{Boards → bin/Boards}/Boards.min.js +0 -0
  184. /package/{Boards → bin/Boards}/BoardsClient.d.ts +0 -0
  185. /package/{Boards → bin/Boards}/BoardsClient.js +0 -0
  186. /package/{Boards → bin/Boards}/BoardsClient.min.js +0 -0
  187. /package/{Boards → bin/Boards}/index.d.ts +0 -0
  188. /package/{Boards → bin/Boards}/index.js +0 -0
  189. /package/{Boards → bin/Boards}/index.min.js +0 -0
  190. /package/{Build → bin/Build}/Build.d.ts +0 -0
  191. /package/{Build → bin/Build}/Build.js +0 -0
  192. /package/{Build → bin/Build}/Build.min.js +0 -0
  193. /package/{Build → bin/Build}/BuildClient.d.ts +0 -0
  194. /package/{Build → bin/Build}/BuildClient.js +0 -0
  195. /package/{Build → bin/Build}/BuildClient.min.js +0 -0
  196. /package/{Build → bin/Build}/BuildServices.d.ts +0 -0
  197. /package/{Build → bin/Build}/BuildServices.js +0 -0
  198. /package/{Build → bin/Build}/BuildServices.min.js +0 -0
  199. /package/{Build → bin/Build}/index.d.ts +0 -0
  200. /package/{Build → bin/Build}/index.js +0 -0
  201. /package/{Build → bin/Build}/index.min.js +0 -0
  202. /package/{Comments → bin/Comments}/Comments.d.ts +0 -0
  203. /package/{Comments → bin/Comments}/Comments.js +0 -0
  204. /package/{Comments → bin/Comments}/Comments.min.js +0 -0
  205. /package/{Comments → bin/Comments}/index.d.ts +0 -0
  206. /package/{Comments → bin/Comments}/index.js +0 -0
  207. /package/{Comments → bin/Comments}/index.min.js +0 -0
  208. /package/{Common → bin/Common}/Client.d.ts +0 -0
  209. /package/{Common → bin/Common}/Client.js +0 -0
  210. /package/{Common → bin/Common}/Client.min.js +0 -0
  211. /package/{Common → bin/Common}/CommonServices.d.ts +0 -0
  212. /package/{Common → bin/Common}/CommonServices.js +0 -0
  213. /package/{Common → bin/Common}/CommonServices.min.js +0 -0
  214. /package/{Common → bin/Common}/Context.d.ts +0 -0
  215. /package/{Common → bin/Common}/Fetch.d.ts +0 -0
  216. /package/{Common → bin/Common}/Fetch.js +0 -0
  217. /package/{Common → bin/Common}/Fetch.min.js +0 -0
  218. /package/{Common → bin/Common}/RestClientBase.d.ts +0 -0
  219. /package/{Common → bin/Common}/RestClientBase.js +0 -0
  220. /package/{Common → bin/Common}/RestClientBase.min.js +0 -0
  221. /package/{Common → bin/Common}/System.d.ts +0 -0
  222. /package/{Common → bin/Common}/System.js +0 -0
  223. /package/{Common → bin/Common}/System.min.js +0 -0
  224. /package/{Common → bin/Common}/SystemData.d.ts +0 -0
  225. /package/{Common → bin/Common}/SystemData.js +0 -0
  226. /package/{Common → bin/Common}/SystemData.min.js +0 -0
  227. /package/{Common → bin/Common}/Util/Serialization.d.ts +0 -0
  228. /package/{Common → bin/Common}/Util/Serialization.js +0 -0
  229. /package/{Common → bin/Common}/Util/Serialization.min.js +0 -0
  230. /package/{Common → bin/Common}/Util/Url.d.ts +0 -0
  231. /package/{Common → bin/Common}/Util/Url.js +0 -0
  232. /package/{Common → bin/Common}/Util/Url.min.js +0 -0
  233. /package/{Common → bin/Common}/index.d.ts +0 -0
  234. /package/{Common → bin/Common}/index.js +0 -0
  235. /package/{Common → bin/Common}/index.min.js +0 -0
  236. /package/{Contributions → bin/Contributions}/Contributions.d.ts +0 -0
  237. /package/{Contributions → bin/Contributions}/Contributions.js +0 -0
  238. /package/{Contributions → bin/Contributions}/Contributions.min.js +0 -0
  239. /package/{Contributions → bin/Contributions}/ContributionsClient.d.ts +0 -0
  240. /package/{Contributions → bin/Contributions}/index.d.ts +0 -0
  241. /package/{Contributions → bin/Contributions}/index.js +0 -0
  242. /package/{Contributions → bin/Contributions}/index.min.js +0 -0
  243. /package/{Core → bin/Core}/Core.d.ts +0 -0
  244. /package/{Core → bin/Core}/Core.js +0 -0
  245. /package/{Core → bin/Core}/Core.min.js +0 -0
  246. /package/{Core → bin/Core}/CoreClient.d.ts +0 -0
  247. /package/{Core → bin/Core}/CoreClient.js +0 -0
  248. /package/{Core → bin/Core}/CoreClient.min.js +0 -0
  249. /package/{Core → bin/Core}/index.d.ts +0 -0
  250. /package/{Core → bin/Core}/index.js +0 -0
  251. /package/{Core → bin/Core}/index.min.js +0 -0
  252. /package/{Dashboard → bin/Dashboard}/Dashboard.d.ts +0 -0
  253. /package/{Dashboard → bin/Dashboard}/Dashboard.js +0 -0
  254. /package/{Dashboard → bin/Dashboard}/Dashboard.min.js +0 -0
  255. /package/{Dashboard → bin/Dashboard}/DashboardClient.d.ts +0 -0
  256. /package/{Dashboard → bin/Dashboard}/DashboardClient.js +0 -0
  257. /package/{Dashboard → bin/Dashboard}/DashboardClient.min.js +0 -0
  258. /package/{Dashboard → bin/Dashboard}/WidgetConfigHelpers.d.ts +0 -0
  259. /package/{Dashboard → bin/Dashboard}/WidgetConfigHelpers.js +0 -0
  260. /package/{Dashboard → bin/Dashboard}/WidgetConfigHelpers.min.js +0 -0
  261. /package/{Dashboard → bin/Dashboard}/WidgetContracts.d.ts +0 -0
  262. /package/{Dashboard → bin/Dashboard}/WidgetContracts.js +0 -0
  263. /package/{Dashboard → bin/Dashboard}/WidgetContracts.min.js +0 -0
  264. /package/{Dashboard → bin/Dashboard}/WidgetHelpers.d.ts +0 -0
  265. /package/{Dashboard → bin/Dashboard}/WidgetHelpers.js +0 -0
  266. /package/{Dashboard → bin/Dashboard}/WidgetHelpers.min.js +0 -0
  267. /package/{Dashboard → bin/Dashboard}/index.d.ts +0 -0
  268. /package/{Dashboard → bin/Dashboard}/index.js +0 -0
  269. /package/{Dashboard → bin/Dashboard}/index.min.js +0 -0
  270. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/DistributedTaskCommon.d.ts +0 -0
  271. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/DistributedTaskCommon.js +0 -0
  272. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/DistributedTaskCommon.min.js +0 -0
  273. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/index.d.ts +0 -0
  274. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/index.js +0 -0
  275. /package/{DistributedTaskCommon → bin/DistributedTaskCommon}/index.min.js +0 -0
  276. /package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagement.d.ts +0 -0
  277. /package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagement.js +0 -0
  278. /package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagement.min.js +0 -0
  279. /package/{ExtensionManagement → bin/ExtensionManagement}/ExtensionManagementClient.d.ts +0 -0
  280. /package/{ExtensionManagement → bin/ExtensionManagement}/index.d.ts +0 -0
  281. /package/{ExtensionManagement → bin/ExtensionManagement}/index.js +0 -0
  282. /package/{ExtensionManagement → bin/ExtensionManagement}/index.min.js +0 -0
  283. /package/{Favorite → bin/Favorite}/Favorite.d.ts +0 -0
  284. /package/{Favorite → bin/Favorite}/Favorite.js +0 -0
  285. /package/{Favorite → bin/Favorite}/Favorite.min.js +0 -0
  286. /package/{Favorite → bin/Favorite}/FavoriteClient.d.ts +0 -0
  287. /package/{Favorite → bin/Favorite}/FavoriteClient.js +0 -0
  288. /package/{Favorite → bin/Favorite}/FavoriteClient.min.js +0 -0
  289. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailability.d.ts +0 -0
  290. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailability.js +0 -0
  291. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailability.min.js +0 -0
  292. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailabilityClient.d.ts +0 -0
  293. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailabilityClient.js +0 -0
  294. /package/{FeatureAvailability → bin/FeatureAvailability}/FeatureAvailabilityClient.min.js +0 -0
  295. /package/{FeatureAvailability → bin/FeatureAvailability}/index.d.ts +0 -0
  296. /package/{FeatureAvailability → bin/FeatureAvailability}/index.js +0 -0
  297. /package/{FeatureAvailability → bin/FeatureAvailability}/index.min.js +0 -0
  298. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagement.d.ts +0 -0
  299. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagement.js +0 -0
  300. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagement.min.js +0 -0
  301. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagementClient.d.ts +0 -0
  302. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagementClient.js +0 -0
  303. /package/{FeatureManagement → bin/FeatureManagement}/FeatureManagementClient.min.js +0 -0
  304. /package/{FeatureManagement → bin/FeatureManagement}/index.d.ts +0 -0
  305. /package/{FeatureManagement → bin/FeatureManagement}/index.js +0 -0
  306. /package/{FeatureManagement → bin/FeatureManagement}/index.min.js +0 -0
  307. /package/{FileContainer → bin/FileContainer}/FileContainer.d.ts +0 -0
  308. /package/{FileContainer → bin/FileContainer}/FileContainer.js +0 -0
  309. /package/{FileContainer → bin/FileContainer}/FileContainer.min.js +0 -0
  310. /package/{FileContainer → bin/FileContainer}/FileContainerClient.d.ts +0 -0
  311. /package/{FileContainer → bin/FileContainer}/FileContainerClient.js +0 -0
  312. /package/{FileContainer → bin/FileContainer}/FileContainerClient.min.js +0 -0
  313. /package/{FileContainer → bin/FileContainer}/index.d.ts +0 -0
  314. /package/{FileContainer → bin/FileContainer}/index.js +0 -0
  315. /package/{FileContainer → bin/FileContainer}/index.min.js +0 -0
  316. /package/{FormInput → bin/FormInput}/FormInput.d.ts +0 -0
  317. /package/{FormInput → bin/FormInput}/FormInput.js +0 -0
  318. /package/{FormInput → bin/FormInput}/FormInput.min.js +0 -0
  319. /package/{FormInput → bin/FormInput}/index.d.ts +0 -0
  320. /package/{FormInput → bin/FormInput}/index.js +0 -0
  321. /package/{FormInput → bin/FormInput}/index.min.js +0 -0
  322. /package/{Gallery → bin/Gallery}/Gallery.d.ts +0 -0
  323. /package/{Gallery → bin/Gallery}/Gallery.js +0 -0
  324. /package/{Gallery → bin/Gallery}/Gallery.min.js +0 -0
  325. /package/{Gallery → bin/Gallery}/GalleryClient.d.ts +0 -0
  326. /package/{Gallery → bin/Gallery}/GalleryClient.js +0 -0
  327. /package/{Gallery → bin/Gallery}/GalleryClient.min.js +0 -0
  328. /package/{Gallery → bin/Gallery}/index.d.ts +0 -0
  329. /package/{Gallery → bin/Gallery}/index.js +0 -0
  330. /package/{Gallery → bin/Gallery}/index.min.js +0 -0
  331. /package/{Git → bin/Git}/CodeEditorTypes.d.ts +0 -0
  332. /package/{Git → bin/Git}/CodeEditorTypes.js +0 -0
  333. /package/{Git → bin/Git}/CodeEditorTypes.min.js +0 -0
  334. /package/{Git → bin/Git}/Git.js +0 -0
  335. /package/{Git → bin/Git}/Git.min.js +0 -0
  336. /package/{Git → bin/Git}/GitClient.d.ts +0 -0
  337. /package/{Git → bin/Git}/GitClient.js +0 -0
  338. /package/{Git → bin/Git}/GitClient.min.js +0 -0
  339. /package/{Git → bin/Git}/GitServices.d.ts +0 -0
  340. /package/{Git → bin/Git}/GitServices.js +0 -0
  341. /package/{Git → bin/Git}/GitServices.min.js +0 -0
  342. /package/{Git → bin/Git}/index.d.ts +0 -0
  343. /package/{Git → bin/Git}/index.js +0 -0
  344. /package/{Git → bin/Git}/index.min.js +0 -0
  345. /package/{Graph → bin/Graph}/Graph.d.ts +0 -0
  346. /package/{Graph → bin/Graph}/Graph.js +0 -0
  347. /package/{Graph → bin/Graph}/Graph.min.js +0 -0
  348. /package/{Graph → bin/Graph}/GraphClient.d.ts +0 -0
  349. /package/{Graph → bin/Graph}/GraphClient.js +0 -0
  350. /package/{Graph → bin/Graph}/GraphClient.min.js +0 -0
  351. /package/{Graph → bin/Graph}/index.d.ts +0 -0
  352. /package/{Graph → bin/Graph}/index.js +0 -0
  353. /package/{Graph → bin/Graph}/index.min.js +0 -0
  354. /package/{Identities → bin/Identities}/Identities.d.ts +0 -0
  355. /package/{Identities → bin/Identities}/Identities.js +0 -0
  356. /package/{Identities → bin/Identities}/Identities.min.js +0 -0
  357. /package/{Identities → bin/Identities}/IdentityProvider.d.ts +0 -0
  358. /package/{Identities → bin/Identities}/IdentityProvider.js +0 -0
  359. /package/{Identities → bin/Identities}/IdentityProvider.min.js +0 -0
  360. /package/{Identities → bin/Identities}/IdentityService.d.ts +0 -0
  361. /package/{Identities → bin/Identities}/IdentityService.js +0 -0
  362. /package/{Identities → bin/Identities}/IdentityService.min.js +0 -0
  363. /package/{Identities → bin/Identities}/index.d.ts +0 -0
  364. /package/{Identities → bin/Identities}/index.js +0 -0
  365. /package/{Identities → bin/Identities}/index.min.js +0 -0
  366. /package/{Locations → bin/Locations}/Locations.d.ts +0 -0
  367. /package/{Locations → bin/Locations}/Locations.js +0 -0
  368. /package/{Locations → bin/Locations}/Locations.min.js +0 -0
  369. /package/{Locations → bin/Locations}/LocationsClient.d.ts +0 -0
  370. /package/{Locations → bin/Locations}/LocationsClient.js +0 -0
  371. /package/{Locations → bin/Locations}/LocationsClient.min.js +0 -0
  372. /package/{Locations → bin/Locations}/index.d.ts +0 -0
  373. /package/{Locations → bin/Locations}/index.js +0 -0
  374. /package/{Locations → bin/Locations}/index.min.js +0 -0
  375. /package/{Management → bin/Management}/Management.js +0 -0
  376. /package/{Management → bin/Management}/Management.min.js +0 -0
  377. /package/{Management → bin/Management}/ManagementClient.d.ts +0 -0
  378. /package/{Management → bin/Management}/ManagementClient.js +0 -0
  379. /package/{Management → bin/Management}/ManagementClient.min.js +0 -0
  380. /package/{Notification → bin/Notification}/Notification.d.ts +0 -0
  381. /package/{Notification → bin/Notification}/Notification.js +0 -0
  382. /package/{Notification → bin/Notification}/Notification.min.js +0 -0
  383. /package/{Notification → bin/Notification}/NotificationClient.d.ts +0 -0
  384. /package/{Notification → bin/Notification}/NotificationClient.js +0 -0
  385. /package/{Notification → bin/Notification}/NotificationClient.min.js +0 -0
  386. /package/{Notification → bin/Notification}/index.d.ts +0 -0
  387. /package/{Notification → bin/Notification}/index.js +0 -0
  388. /package/{Notification → bin/Notification}/index.min.js +0 -0
  389. /package/{Operations → bin/Operations}/Operations.d.ts +0 -0
  390. /package/{Operations → bin/Operations}/Operations.js +0 -0
  391. /package/{Operations → bin/Operations}/Operations.min.js +0 -0
  392. /package/{Operations → bin/Operations}/OperationsClient.d.ts +0 -0
  393. /package/{Operations → bin/Operations}/OperationsClient.js +0 -0
  394. /package/{Operations → bin/Operations}/OperationsClient.min.js +0 -0
  395. /package/{Operations → bin/Operations}/index.d.ts +0 -0
  396. /package/{Operations → bin/Operations}/index.js +0 -0
  397. /package/{Operations → bin/Operations}/index.min.js +0 -0
  398. /package/{Pipelines → bin/Pipelines}/Pipelines.d.ts +0 -0
  399. /package/{Pipelines → bin/Pipelines}/Pipelines.js +0 -0
  400. /package/{Pipelines → bin/Pipelines}/Pipelines.min.js +0 -0
  401. /package/{Pipelines → bin/Pipelines}/PipelinesClient.d.ts +0 -0
  402. /package/{Pipelines → bin/Pipelines}/PipelinesClient.js +0 -0
  403. /package/{Pipelines → bin/Pipelines}/PipelinesClient.min.js +0 -0
  404. /package/{Policy → bin/Policy}/Policy.d.ts +0 -0
  405. /package/{Policy → bin/Policy}/Policy.js +0 -0
  406. /package/{Policy → bin/Policy}/Policy.min.js +0 -0
  407. /package/{Policy → bin/Policy}/PolicyClient.d.ts +0 -0
  408. /package/{Policy → bin/Policy}/PolicyClient.js +0 -0
  409. /package/{Policy → bin/Policy}/PolicyClient.min.js +0 -0
  410. /package/{Policy → bin/Policy}/index.d.ts +0 -0
  411. /package/{Policy → bin/Policy}/index.js +0 -0
  412. /package/{Policy → bin/Policy}/index.min.js +0 -0
  413. /package/{Profile → bin/Profile}/Profile.d.ts +0 -0
  414. /package/{Profile → bin/Profile}/Profile.js +0 -0
  415. /package/{Profile → bin/Profile}/Profile.min.js +0 -0
  416. /package/{Profile → bin/Profile}/ProfileClient.d.ts +0 -0
  417. /package/{Profile → bin/Profile}/ProfileClient.js +0 -0
  418. /package/{Profile → bin/Profile}/ProfileClient.min.js +0 -0
  419. /package/{Profile → bin/Profile}/index.d.ts +0 -0
  420. /package/{Profile → bin/Profile}/index.js +0 -0
  421. /package/{Profile → bin/Profile}/index.min.js +0 -0
  422. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysis.d.ts +0 -0
  423. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysis.js +0 -0
  424. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysis.min.js +0 -0
  425. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysisClient.d.ts +0 -0
  426. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysisClient.js +0 -0
  427. /package/{ProjectAnalysis → bin/ProjectAnalysis}/ProjectAnalysisClient.min.js +0 -0
  428. /package/{ProjectAnalysis → bin/ProjectAnalysis}/index.d.ts +0 -0
  429. /package/{ProjectAnalysis → bin/ProjectAnalysis}/index.js +0 -0
  430. /package/{ProjectAnalysis → bin/ProjectAnalysis}/index.min.js +0 -0
  431. /package/{Release → bin/Release}/Release.d.ts +0 -0
  432. /package/{Release → bin/Release}/Release.js +0 -0
  433. /package/{Release → bin/Release}/Release.min.js +0 -0
  434. /package/{Release → bin/Release}/ReleaseClient.d.ts +0 -0
  435. /package/{Release → bin/Release}/ReleaseClient.js +0 -0
  436. /package/{Release → bin/Release}/ReleaseClient.min.js +0 -0
  437. /package/{Release → bin/Release}/index.d.ts +0 -0
  438. /package/{Release → bin/Release}/index.js +0 -0
  439. /package/{Release → bin/Release}/index.min.js +0 -0
  440. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsage.d.ts +0 -0
  441. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsage.js +0 -0
  442. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsage.min.js +0 -0
  443. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsageClient.d.ts +0 -0
  444. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsageClient.js +0 -0
  445. /package/{ResourceUsage → bin/ResourceUsage}/ResourceUsageClient.min.js +0 -0
  446. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpoint.d.ts +0 -0
  447. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpoint.js +0 -0
  448. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpoint.min.js +0 -0
  449. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpointClient.d.ts +0 -0
  450. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpointClient.js +0 -0
  451. /package/{ServiceEndpoint → bin/ServiceEndpoint}/ServiceEndpointClient.min.js +0 -0
  452. /package/{ServiceEndpoint → bin/ServiceEndpoint}/index.d.ts +0 -0
  453. /package/{ServiceEndpoint → bin/ServiceEndpoint}/index.js +0 -0
  454. /package/{ServiceEndpoint → bin/ServiceEndpoint}/index.min.js +0 -0
  455. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooks.d.ts +0 -0
  456. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooks.js +0 -0
  457. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooks.min.js +0 -0
  458. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooksClient.d.ts +0 -0
  459. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooksClient.js +0 -0
  460. /package/{ServiceHooks → bin/ServiceHooks}/ServiceHooksClient.min.js +0 -0
  461. /package/{ServiceHooks → bin/ServiceHooks}/index.d.ts +0 -0
  462. /package/{ServiceHooks → bin/ServiceHooks}/index.js +0 -0
  463. /package/{ServiceHooks → bin/ServiceHooks}/index.min.js +0 -0
  464. /package/{TaskAgent → bin/TaskAgent}/TaskAgent.js +0 -0
  465. /package/{TaskAgent → bin/TaskAgent}/TaskAgent.min.js +0 -0
  466. /package/{TaskAgent → bin/TaskAgent}/TaskAgentClient.d.ts +0 -0
  467. /package/{TaskAgent → bin/TaskAgent}/TaskAgentClient.js +0 -0
  468. /package/{TaskAgent → bin/TaskAgent}/TaskAgentClient.min.js +0 -0
  469. /package/{TaskAgent → bin/TaskAgent}/index.d.ts +0 -0
  470. /package/{TaskAgent → bin/TaskAgent}/index.js +0 -0
  471. /package/{TaskAgent → bin/TaskAgent}/index.min.js +0 -0
  472. /package/{Test → bin/Test}/Test.js +0 -0
  473. /package/{Test → bin/Test}/Test.min.js +0 -0
  474. /package/{Test → bin/Test}/TestClient.d.ts +0 -0
  475. /package/{Test → bin/Test}/TestClient.js +0 -0
  476. /package/{Test → bin/Test}/TestClient.min.js +0 -0
  477. /package/{Test → bin/Test}/index.d.ts +0 -0
  478. /package/{Test → bin/Test}/index.js +0 -0
  479. /package/{Test → bin/Test}/index.min.js +0 -0
  480. /package/{TestPlan → bin/TestPlan}/TestPlan.js +0 -0
  481. /package/{TestPlan → bin/TestPlan}/TestPlan.min.js +0 -0
  482. /package/{TestPlan → bin/TestPlan}/TestPlanClient.d.ts +0 -0
  483. /package/{TestPlan → bin/TestPlan}/TestPlanClient.js +0 -0
  484. /package/{TestPlan → bin/TestPlan}/TestPlanClient.min.js +0 -0
  485. /package/{TestPlan → bin/TestPlan}/index.d.ts +0 -0
  486. /package/{TestPlan → bin/TestPlan}/index.js +0 -0
  487. /package/{TestPlan → bin/TestPlan}/index.min.js +0 -0
  488. /package/{TestResults → bin/TestResults}/TestResults.d.ts +0 -0
  489. /package/{TestResults → bin/TestResults}/TestResults.js +0 -0
  490. /package/{TestResults → bin/TestResults}/TestResults.min.js +0 -0
  491. /package/{TestResults → bin/TestResults}/index.d.ts +0 -0
  492. /package/{TestResults → bin/TestResults}/index.js +0 -0
  493. /package/{TestResults → bin/TestResults}/index.min.js +0 -0
  494. /package/{Tfvc → bin/Tfvc}/Tfvc.d.ts +0 -0
  495. /package/{Tfvc → bin/Tfvc}/Tfvc.js +0 -0
  496. /package/{Tfvc → bin/Tfvc}/Tfvc.min.js +0 -0
  497. /package/{Tfvc → bin/Tfvc}/TfvcClient.d.ts +0 -0
  498. /package/{Tfvc → bin/Tfvc}/TfvcClient.js +0 -0
  499. /package/{Tfvc → bin/Tfvc}/TfvcClient.min.js +0 -0
  500. /package/{Tfvc → bin/Tfvc}/index.d.ts +0 -0
  501. /package/{Tfvc → bin/Tfvc}/index.js +0 -0
  502. /package/{Tfvc → bin/Tfvc}/index.min.js +0 -0
  503. /package/{WebApi → bin/WebApi}/WebApi.d.ts +0 -0
  504. /package/{WebApi → bin/WebApi}/WebApi.js +0 -0
  505. /package/{WebApi → bin/WebApi}/WebApi.min.js +0 -0
  506. /package/{WebApi → bin/WebApi}/index.d.ts +0 -0
  507. /package/{WebApi → bin/WebApi}/index.js +0 -0
  508. /package/{WebApi → bin/WebApi}/index.min.js +0 -0
  509. /package/{Wiki → bin/Wiki}/Wiki.d.ts +0 -0
  510. /package/{Wiki → bin/Wiki}/Wiki.js +0 -0
  511. /package/{Wiki → bin/Wiki}/Wiki.min.js +0 -0
  512. /package/{Wiki → bin/Wiki}/WikiClient.d.ts +0 -0
  513. /package/{Wiki → bin/Wiki}/WikiClient.js +0 -0
  514. /package/{Wiki → bin/Wiki}/WikiClient.min.js +0 -0
  515. /package/{Wiki → bin/Wiki}/index.d.ts +0 -0
  516. /package/{Wiki → bin/Wiki}/index.js +0 -0
  517. /package/{Wiki → bin/Wiki}/index.min.js +0 -0
  518. /package/{Work → bin/Work}/Work.d.ts +0 -0
  519. /package/{Work → bin/Work}/Work.js +0 -0
  520. /package/{Work → bin/Work}/Work.min.js +0 -0
  521. /package/{Work → bin/Work}/WorkClient.d.ts +0 -0
  522. /package/{Work → bin/Work}/WorkClient.js +0 -0
  523. /package/{Work → bin/Work}/WorkClient.min.js +0 -0
  524. /package/{Work → bin/Work}/index.d.ts +0 -0
  525. /package/{Work → bin/Work}/index.js +0 -0
  526. /package/{Work → bin/Work}/index.min.js +0 -0
  527. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTracking.d.ts +0 -0
  528. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTracking.js +0 -0
  529. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTracking.min.js +0 -0
  530. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingClient.d.ts +0 -0
  531. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingClient.js +0 -0
  532. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingClient.min.js +0 -0
  533. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingServices.d.ts +0 -0
  534. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingServices.js +0 -0
  535. /package/{WorkItemTracking → bin/WorkItemTracking}/WorkItemTrackingServices.min.js +0 -0
  536. /package/{WorkItemTracking → bin/WorkItemTracking}/index.d.ts +0 -0
  537. /package/{WorkItemTracking → bin/WorkItemTracking}/index.js +0 -0
  538. /package/{WorkItemTracking → bin/WorkItemTracking}/index.min.js +0 -0
  539. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcess.d.ts +0 -0
  540. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcess.js +0 -0
  541. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcess.min.js +0 -0
  542. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcessClient.d.ts +0 -0
  543. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcessClient.js +0 -0
  544. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/WorkItemTrackingProcessClient.min.js +0 -0
  545. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/index.d.ts +0 -0
  546. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/index.js +0 -0
  547. /package/{WorkItemTrackingProcess → bin/WorkItemTrackingProcess}/index.min.js +0 -0
  548. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.d.ts +0 -0
  549. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.js +0 -0
  550. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.min.js +0 -0
  551. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.d.ts +0 -0
  552. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.js +0 -0
  553. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.min.js +0 -0
  554. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/index.d.ts +0 -0
  555. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/index.js +0 -0
  556. /package/{WorkItemTrackingProcessDefinitions → bin/WorkItemTrackingProcessDefinitions}/index.min.js +0 -0
  557. /package/{index.d.ts → bin/index.d.ts} +0 -0
  558. /package/{index.js → bin/index.js} +0 -0
  559. /package/{index.min.js → bin/index.min.js} +0 -0
@@ -0,0 +1,853 @@
1
+ /**
2
+ * Contribution ids of core DevOps services which can be obtained from DevOps.getService
3
+ */
4
+ export const enum CommonServiceIds {
5
+
6
+ /**
7
+ * Service for interacting with the extension data service
8
+ */
9
+ ExtensionDataService = "ms.vss-features.extension-data-service",
10
+
11
+ /**
12
+ * Service for showing global message banners at the top of the page
13
+ */
14
+ GlobalMessagesService = "ms.vss-tfs-web.tfs-global-messages-service",
15
+
16
+ /**
17
+ * Service for interacting with the host window's navigation (URLs, new windows, etc.)
18
+ */
19
+ HostNavigationService = "ms.vss-features.host-navigation-service",
20
+
21
+ /**
22
+ * Service for interacting with the layout of the page: managing full-screen mode,
23
+ * opening dialogs and panels
24
+ */
25
+ HostPageLayoutService = "ms.vss-features.host-page-layout-service",
26
+
27
+ /**
28
+ * Service for getting URLs/locations from the host context
29
+ */
30
+ LocationService = "ms.vss-features.location-service",
31
+
32
+ /**
33
+ * Exposes project-related information from the current page
34
+ */
35
+ ProjectPageService = "ms.vss-tfs-web.tfs-page-data-service"
36
+ }
37
+
38
+ /**
39
+ * Route information for the current page
40
+ */
41
+ export interface IPageRoute {
42
+ /**
43
+ * Id of the contributed route
44
+ */
45
+ id: string;
46
+
47
+ /**
48
+ * The route values that were specified in the request
49
+ */
50
+ routeValues: { [key: string]: string };
51
+ }
52
+
53
+ /**
54
+ * Information about a displayed navigation element
55
+ */
56
+ export interface INavigationElement {
57
+ /**
58
+ * Unique id of the displayed navigation
59
+ */
60
+ id: string;
61
+
62
+ /**
63
+ * Name of the displayed navigation
64
+ */
65
+ name?: string;
66
+
67
+ /**
68
+ * Type of the navigation element
69
+ */
70
+ type: string;
71
+ }
72
+
73
+ /**
74
+ * Service for interacting with the host window's navigation (URLs, new windows, etc.)
75
+ */
76
+ export interface IHostNavigationService {
77
+
78
+ /**
79
+ * Gets the current hash.
80
+ */
81
+ getHash(): Promise<string>;
82
+
83
+ /**
84
+ * Gets the set of navigation elements (like hubs and hub groups) selected on the current page.
85
+ */
86
+ getPageNavigationElements(): Promise<INavigationElement[]>;
87
+
88
+ /**
89
+ * Gets information about the route that was matched for the current page
90
+ */
91
+ getPageRoute(): Promise<IPageRoute>;
92
+
93
+ /**
94
+ * Gets the current set of query parameters in the host page's URL.
95
+ */
96
+ getQueryParams(): Promise<{ [key: string]: string }>;
97
+
98
+ /**
99
+ * Navigate the parent page to the specified url
100
+ *
101
+ * @param url Url to navigate to
102
+ */
103
+ navigate(url: string): void;
104
+
105
+ /**
106
+ * Add a callback to be invoked each time the hash navigation has changed
107
+ *
108
+ * @param callback Method invoked on each navigation hash change
109
+ */
110
+ onHashChanged(callback: (hash: string) => void): void;
111
+
112
+ /**
113
+ * Open a new window to the specified url
114
+ *
115
+ * @param url Url of the new window
116
+ * @param features Comma-separated list of features/specs sent as the 3rd parameter to window.open. For example: "height=400,width=400".
117
+ */
118
+ openNewWindow(url: string, features: string): void;
119
+
120
+ /**
121
+ * Reloads the parent frame
122
+ */
123
+ reload(): void;
124
+
125
+ /**
126
+ * Replace existing hash with the provided hash from the hosted content.
127
+ */
128
+ replaceHash(hash: string): void;
129
+
130
+ /**
131
+ * Update the host document's title (appears as the browser tab title).
132
+ *
133
+ * @param title The new title of the window
134
+ */
135
+ setDocumentTitle(title: string): void;
136
+
137
+ /**
138
+ * Sets the provided hash from the hosted content.
139
+ */
140
+ setHash(hash: string): void;
141
+
142
+ /**
143
+ * Sets one or more query parameters on the host page
144
+ *
145
+ * @param parameters Dictionary of query string parameters to add, update, or remove (pass an empty value to remove)
146
+ */
147
+ setQueryParams(parameters: { [key: string]: string }): void;
148
+ }
149
+
150
+ /**
151
+ * Host level for a VSS service
152
+ */
153
+ export const enum TeamFoundationHostType {
154
+ /**
155
+ * The Deployment host
156
+ */
157
+ Deployment = 1,
158
+
159
+ /**
160
+ * The Enterprise host
161
+ */
162
+ Enterprise = 2,
163
+
164
+ /**
165
+ * The organization/project collection host
166
+ */
167
+ Organization = 4
168
+ }
169
+
170
+ /**
171
+ * Service for external content to get locations
172
+ */
173
+ export interface ILocationService {
174
+
175
+ /**
176
+ * Gets the URL for the given REST resource area
177
+ *
178
+ * @param resourceAreaId - Id of the resource area
179
+ */
180
+ getResourceAreaLocation(resourceAreaId: string): Promise<string>;
181
+
182
+ /**
183
+ * Gets the location of a remote service at a given host type.
184
+ *
185
+ * @param serviceInstanceType - The GUID of the service instance type to lookup
186
+ * @param hostType - The host type to lookup (defaults to the host type of the current page data)
187
+ */
188
+ getServiceLocation(serviceInstanceType?: string, hostType?: TeamFoundationHostType): Promise<string>;
189
+
190
+ /**
191
+ * Attemps to create a url for the specified route template and paramaters. The url will include host path.
192
+ * For example, if the page url is https://dev.azure.com/foo and you try to create admin settings url for project "bar",
193
+ * the output will be /foo/bar/_admin.
194
+ *
195
+ * This will asynchronously fetch a route contribution if it has not been included in page data.
196
+ *
197
+ * @param routeId - Id of the route contribution
198
+ * @param routeValues - Route value replacements
199
+ * @param hostPath - Optional host path to use rather than the default host path for the page.
200
+ */
201
+ routeUrl(routeId: string, routeValues?: { [key: string]: string }, hostPath?: string): Promise<string>;
202
+ }
203
+
204
+ /**
205
+ * Options for showing host dialogs
206
+ */
207
+ export interface IDialogOptions<TResult> {
208
+
209
+ /**
210
+ * Dialog title
211
+ */
212
+ title?: string;
213
+
214
+ /**
215
+ * Callback invoked when the dialog is closed
216
+ */
217
+ onClose?: (result: TResult | undefined) => void;
218
+
219
+ /**
220
+ * Optional initial configuration for the dialog content
221
+ */
222
+ configuration?: any;
223
+
224
+ /**
225
+ * If true, clicking outside the dialog closes it
226
+ * @default true
227
+ */
228
+ lightDismiss?: boolean;
229
+ }
230
+
231
+ /**
232
+ * Options for showing a message dialog
233
+ */
234
+ export interface IMessageDialogOptions extends IDialogOptions<boolean> {
235
+
236
+ /**
237
+ * If true, show the cancel button
238
+ */
239
+ showCancel?: boolean;
240
+
241
+ /**
242
+ * Custom text for the OK button
243
+ */
244
+ okText?: string;
245
+
246
+ /**
247
+ * Custom text for the Cancel button
248
+ */
249
+ cancelText?: string;
250
+ }
251
+
252
+ /**
253
+ * Size (width) options for panel
254
+ */
255
+ export const enum PanelSize {
256
+ Small = 0,
257
+ Medium = 1,
258
+ Large = 2,
259
+ }
260
+
261
+ /**
262
+ * Options for showing panels
263
+ */
264
+ export interface IPanelOptions<TResult> {
265
+
266
+ /**
267
+ * Callback invoked when the dialog is closed
268
+ */
269
+ onClose?: (result: TResult | undefined) => void;
270
+
271
+ /**
272
+ * The panel title you want to display.
273
+ */
274
+ title?: string;
275
+
276
+ /**
277
+ * Optional, description of panel.
278
+ */
279
+ description?: string;
280
+
281
+ /**
282
+ * Size of the panel. (defaults to PanelSize.Medium)
283
+ */
284
+ size?: PanelSize;
285
+
286
+ /**
287
+ * Optional initial configuration for the panel content
288
+ */
289
+ configuration?: any;
290
+ }
291
+
292
+ /**
293
+ * Service for interacting with the layout of the page: managing full-screen mode,
294
+ * opening dialogs and panels
295
+ */
296
+ export interface IHostPageLayoutService {
297
+
298
+ /**
299
+ * Gets whether the page is currently in full screen mode
300
+ */
301
+ getFullScreenMode(): Promise<boolean>;
302
+
303
+ /**
304
+ * Open a dialog in the host frame, showing custom external content
305
+ *
306
+ * @param contentContributionId - Id of the dialog content contribution that specifies the content to display in the dialog.
307
+ * @param options - Dialog options
308
+ */
309
+ openCustomDialog: <TResult>(contentContributionId: string, options?: IDialogOptions<TResult>) => void;
310
+
311
+ /**
312
+ * Open a dialog in the host frame, showing the specified text message, an OK and optional Cancel button
313
+ *
314
+ * @param message - Dialog message text
315
+ * @param options - Dialog options
316
+ */
317
+ openMessageDialog: (message: string, options?: IMessageDialogOptions) => void;
318
+
319
+ /**
320
+ * Open a panel in the host frame, showing custom external content
321
+ *
322
+ * @param contentContributionId - Id of the panel content contribution that specifies the content to display in the panel.
323
+ * @param options - Panel display options
324
+ */
325
+ openPanel: <TResult>(contentContributionId: string, options: IPanelOptions<TResult>) => void;
326
+
327
+ /**
328
+ * Enter or exit full screen mode
329
+ *
330
+ * @param fullScreenMode True to enter full-screen mode, false to exit.
331
+ */
332
+ setFullScreenMode(fullScreenMode: boolean): void;
333
+ }
334
+
335
+ /**
336
+ * Interface for options that can be supplied with document actions
337
+ */
338
+ export interface IDocumentOptions {
339
+
340
+ /**
341
+ * The scope of where the document is stored. Can be Default or User.
342
+ */
343
+ scopeType?: string;
344
+
345
+ /**
346
+ * The value of the scope where the document is stored. Can be Current or Me.
347
+ */
348
+ scopeValue?: string;
349
+
350
+ /**
351
+ * The default value to return when using getValue(). If the document has no value,
352
+ * this value will be used instead.
353
+ */
354
+ defaultValue?: any;
355
+ }
356
+
357
+ /**
358
+ * Represents a single collection for extension data documents
359
+ */
360
+ export interface ExtensionDataCollection {
361
+ /**
362
+ * The name of the collection
363
+ */
364
+ collectionName: string;
365
+ /**
366
+ * A list of documents belonging to the collection
367
+ */
368
+ documents: any[];
369
+ /**
370
+ * The type of the collection's scope, such as Default or User
371
+ */
372
+ scopeType: string;
373
+ /**
374
+ * The value of the collection's scope, such as Current or Me
375
+ */
376
+ scopeValue: string;
377
+ }
378
+
379
+ export interface IExtensionDataManager {
380
+
381
+ /**
382
+ * Returns a promise for retrieving a setting at the provided key and scope
383
+ *
384
+ * @param key - The key to retrieve a value for
385
+ * @param documentOptions - Extension document options, the default scope value is account-wide
386
+ */
387
+ getValue<T>(key: string, documentOptions?: IDocumentOptions): Promise<T>;
388
+
389
+ /**
390
+ * Returns a promise for saving a setting at the provided key and scope
391
+ *
392
+ * @param key - The key to save a value for
393
+ * @param value - The value to save
394
+ * @param documentOptions - Extension document options, the default scope value is account-wide
395
+ */
396
+ setValue<T>(key: string, value: T, documentOptions?: IDocumentOptions): Promise<T>;
397
+
398
+ /**
399
+ * Returns a promise for getting a document with the provided id in the provided collection
400
+ *
401
+ * @param collectionName - The name of the collection where the document lives
402
+ * @param id - The id of the document in the collection
403
+ * @param documentOptions - Extension document options, the default scope value is account-wide
404
+ */
405
+ getDocument(collectionName: string, id: string, documentOptions?: IDocumentOptions): Promise<any>;
406
+
407
+ /**
408
+ * Returns a promise for getting all of the documents in the provided collection
409
+ *
410
+ * @param collectionName - The name of the collection where the document lives
411
+ * @param documentOptions - Extension document options, the default scope value is account-wide
412
+ */
413
+ getDocuments(collectionName: string, documentOptions?: IDocumentOptions): Promise<any[]>;
414
+
415
+ /**
416
+ * Returns a promise for creating a document in the provided collection
417
+ *
418
+ * @param collectionName - The name of the collection where the document lives
419
+ * @param doc - The document to store
420
+ * @param documentOptions - Extension document options, the default scope value is account-wide
421
+ */
422
+ createDocument(collectionName: string, doc: any, documentOptions?: IDocumentOptions): Promise<any>;
423
+
424
+ /**
425
+ * Returns a promise for setting a document in the provided collection
426
+ * Creates the document if it does not exist, otherwise updates the existing document with the id provided
427
+ *
428
+ * @param collectionName - The name of the collection where the document lives
429
+ * @param doc - The document to store
430
+ * @param documentOptions - Extension document options, the default scope value is account-wide
431
+ */
432
+ setDocument(collectionName: string, doc: any, documentOptions?: IDocumentOptions): Promise<any>;
433
+
434
+ /**
435
+ * Returns a promise for updating a document in the provided collection
436
+ * A document with the id provided must exist
437
+ *
438
+ * @param collectionName - The name of the collection where the document lives
439
+ * @param doc - The document to store
440
+ * @param documentOptions - Extension document options, the default scope value is account-wide
441
+ */
442
+ updateDocument(collectionName: string, doc: any, documentOptions?: IDocumentOptions): Promise<any>;
443
+
444
+ /**
445
+ * Returns a promise for deleting the document at the provided scope, collection and id
446
+ *
447
+ * @param collectionName - The name of the collection where the document lives
448
+ * @param id - The id of the document in the collection
449
+ * @param documentOptions - Extension document options, the default scope value is account-wide
450
+ */
451
+ deleteDocument(collectionName: string, id: string, documentOptions?: IDocumentOptions): Promise<void>;
452
+
453
+ /**
454
+ * Returns a promise for querying a set of collections
455
+ *
456
+ * @param collections - The list of collections to query. Assumes Default Scope Type and Current Scope Value
457
+ */
458
+ queryCollectionsByName(collectionNames: string[]): Promise<ExtensionDataCollection[]>;
459
+
460
+ /**
461
+ * Returns a promise for querying a set of collections
462
+ *
463
+ * @param collections - The list of collections to query. Each collection will contain its collectionName, scopeType, and scopeValue
464
+ */
465
+ queryCollections(collections: ExtensionDataCollection[]): Promise<ExtensionDataCollection[]>;
466
+ }
467
+
468
+ export interface IExtensionDataService {
469
+
470
+ /**
471
+ * Gets a class that can be used to manage extension data.
472
+ *
473
+ * @param extensionId - Id of the extension (publisher.extension)
474
+ * @param accessToken - Access token to use for the extension
475
+ */
476
+ getExtensionDataManager(extensionId: string, accessToken: string): Promise<IExtensionDataManager>;
477
+ }
478
+
479
+ export interface IProjectInfo {
480
+
481
+ /**
482
+ * Unique identifier (GUID) of the project
483
+ */
484
+ id: string;
485
+
486
+ /**
487
+ * Name of the project
488
+ */
489
+ name: string;
490
+ }
491
+
492
+ export interface IProjectPageService {
493
+
494
+ /**
495
+ * Gets the project associated with the current page
496
+ */
497
+ getProject(): Promise<IProjectInfo | undefined>;
498
+ }
499
+
500
+ /**
501
+ * Definition which can be specified in a contributions "icon" property which can specify a set of values for different themes.
502
+ */
503
+ export interface IContributedIconDefinition {
504
+ /**
505
+ * Icon property (absolute url or relative asset path) to use when the current theme is a "light" theme.
506
+ */
507
+ light: string;
508
+
509
+ /**
510
+ * Icon property (absolute url or relative asset path) to use when the current theme is a "dark" theme.
511
+ */
512
+ dark: string;
513
+ }
514
+
515
+ /**
516
+ * Defines a button from a first- or third- party contribution
517
+ */
518
+ export interface IContributedButton {
519
+ /**
520
+ * The id of a command contribution to execute when the button is clicked
521
+ */
522
+ command?: string;
523
+
524
+ /**
525
+ * Optional arugments to pass when invoking the supplied command
526
+ */
527
+ commandArguments?: any[];
528
+
529
+ /**
530
+ * Id of the contribution that the button was defined in (optional, used to resolve relative icon URLs)
531
+ */
532
+ contributionId?: string;
533
+
534
+ /**
535
+ * If true, the button cannot be interacted with.
536
+ */
537
+ disabled?: boolean;
538
+
539
+ /**
540
+ * Href to navigate to when the button is clicked. Pass in if this is a link button.
541
+ */
542
+ href?: string;
543
+
544
+ /**
545
+ * Either a url (relative or fully qualified) or an IContributedIconDefinition with
546
+ * urls for light and dark themes. This allows the caller to use different styles of
547
+ * icons based on the theme type.
548
+ */
549
+ icon?: string | IContributedIconDefinition;
550
+
551
+ /**
552
+ * Set to true if this button should be styled with a primary color.
553
+ */
554
+ primary?: boolean;
555
+
556
+ /**
557
+ * Optional,context in which the linked resource will open.
558
+ */
559
+ target?: string;
560
+
561
+ /**
562
+ * Text to render inside the button.
563
+ */
564
+ text?: string;
565
+
566
+ /**
567
+ * Optional value to use as an aria-label and tooltip for the button.
568
+ */
569
+ tooltip?: string;
570
+ }
571
+
572
+ /**
573
+ * Message links that will be formatted into the message.
574
+ */
575
+ export interface IGlobalMessageLink {
576
+
577
+ /**
578
+ * Hyperlink text
579
+ */
580
+ name: string;
581
+
582
+ /**
583
+ * Url of the link target
584
+ */
585
+ href: string;
586
+ }
587
+
588
+ /**
589
+ * Optional help icon info to show after global message text
590
+ */
591
+ export interface IGlobalMessageHelpInfo {
592
+ /**
593
+ * If supplied the help icon will act as a hyperlink to the specified target href
594
+ */
595
+ href?: string;
596
+
597
+ /**
598
+ * If supplied, hovering/focusing the help icon will show the given tooltip text
599
+ */
600
+ tooltip?: string;
601
+ }
602
+
603
+ /**
604
+ * The severity of the message.
605
+ */
606
+ export const enum MessageBannerLevel {
607
+ info = 0,
608
+ warning = 1,
609
+ error = 2,
610
+ success = 3
611
+ }
612
+
613
+ /**
614
+ * Banner Props specifying how it will be rendered by the service
615
+ */
616
+ export interface IGlobalMessageBanner {
617
+ /**
618
+ * Buttons to display after the message
619
+ */
620
+ buttons?: IContributedButton[];
621
+
622
+ /**
623
+ * Custom icon name. Must be an icon in the Azure DevOps icon font.
624
+ */
625
+ customIcon?: string;
626
+
627
+ /**
628
+ * Whether or not the message banner is dismissable. If false, do not show the close (X) icon.
629
+ * @default true
630
+ */
631
+ dismissable?: boolean;
632
+
633
+ /**
634
+ * Optional "?" icon to show after the message that has a tooltip with more information and/or a hyperlink.
635
+ */
636
+ helpInfo?: IGlobalMessageHelpInfo;
637
+
638
+ /**
639
+ * banner level (controls the background and icon of the banner)
640
+ */
641
+ level?: MessageBannerLevel;
642
+
643
+ /**
644
+ * Banner message. Ignored if messageFormat is also provided
645
+ */
646
+ message?: string;
647
+
648
+ /**
649
+ * Banner message format string. Arguments (like \{0\}, \{1\} are filled in with hyperlinks supplied in messageLinks)
650
+ */
651
+ messageFormat?: string;
652
+
653
+ /**
654
+ * Links to supply to the format arguments in `messageFormat`
655
+ */
656
+ messageLinks?: IGlobalMessageLink[];
657
+ }
658
+
659
+ /**
660
+ * Dialog Props specifying how it will be rendered by the service
661
+ */
662
+ export interface IGlobalDialog {
663
+ /**
664
+ * Props to pass to buttons in the footer.
665
+ */
666
+ buttonProps?: Array<Object>;
667
+
668
+ /**
669
+ * Props to pass to the close button.
670
+ */
671
+ closeButtonProps?: Object;
672
+
673
+ /**
674
+ * Props (type: ICustomDialogProps) to pass to the custom contribution.
675
+ */
676
+ contentProperties?: Object;
677
+
678
+ /**
679
+ * The id of the custom contribution to host in the dialog. Used to render a customized dialog.
680
+ */
681
+ contributionId?: string;
682
+
683
+ /**
684
+ * Optional initial configuration for the contributed content. Used in pair with contributionId.
685
+ */
686
+ contributionConfiguration?: Object;
687
+
688
+ /**
689
+ * The text of the dialog message. Ignored if contributionId is specified.
690
+ */
691
+ message?: string;
692
+
693
+ /**
694
+ * The format to use to replace links within the message.
695
+ */
696
+ messageFormat?: string;
697
+
698
+ /**
699
+ * Links to be formatted into the message.
700
+ */
701
+ messageLinks?: IGlobalMessageLink[];
702
+
703
+ /**
704
+ * Method that is called when the dialog is dismissed.
705
+ */
706
+ onDismiss?: () => void;
707
+
708
+ /**
709
+ * The priority of the dialog determines if it will be shown over others.
710
+ */
711
+ priority?: number;
712
+
713
+ /**
714
+ * The id used to check if the dialog has been dismissed.
715
+ */
716
+ settingId?: string;
717
+
718
+ /**
719
+ * The title of the dialog.
720
+ */
721
+ title?: string;
722
+ }
723
+
724
+ /**
725
+ * Toast Props with metadata to specify how it will be rendered by the service
726
+ */
727
+ export interface IToast {
728
+ /**
729
+ * Optional text for the Call to Action
730
+ */
731
+ callToAction?: string;
732
+
733
+ /**
734
+ * Duration in ms the toast will appear for
735
+ */
736
+ duration: number;
737
+
738
+ /**
739
+ * If true, we'll immediately take down any existing toast and display this instead
740
+ * Otherwise, it adds it to an internal queue in the GlobalToast and will display after others in the queue
741
+ */
742
+ forceOverrideExisting?: boolean;
743
+
744
+ /**
745
+ * Message to display on the Toast
746
+ */
747
+ message: string;
748
+
749
+ /**
750
+ * Optional handler for when the Call to Action is clicked
751
+ */
752
+ onCallToActionClick?: () => void;
753
+ }
754
+
755
+ export interface IGlobalMessagesService {
756
+ /**
757
+ * Adds a new message banner to the displayed banners
758
+ * @param banner - The message banner to display
759
+ */
760
+ addBanner(banner: IGlobalMessageBanner): void;
761
+
762
+ /**
763
+ * Adds a new dialog to the displayed dialogs. CornerDialog or CustomDialog can be added
764
+ * @param dialog - The dialog to display
765
+ */
766
+ addDialog(dialog: IGlobalDialog): void;
767
+
768
+ /**
769
+ * Displays or queues a Toast to display at the bottom of the page
770
+ * @param toast - The toast to display
771
+ */
772
+ addToast(toast: IToast): void;
773
+
774
+ /**
775
+ * Closes the currently active global message banner
776
+ */
777
+ closeBanner(): void;
778
+
779
+ /**
780
+ * Closes the currently active global dialog
781
+ */
782
+ closeDialog(): void;
783
+ }
784
+
785
+ /**
786
+ * Color used in some UI components
787
+ */
788
+ export interface IColor {
789
+ /**
790
+ * Red coordinate: 0-255
791
+ */
792
+ red: number;
793
+
794
+ /**
795
+ * Blue coordinate: 0-255
796
+ */
797
+ blue: number;
798
+
799
+ /**
800
+ * Green coordinate: 0-255
801
+ */
802
+ green: number;
803
+
804
+ /**
805
+ * Optional color name; may or may not be used by various controls
806
+ */
807
+ name?: string;
808
+ }
809
+
810
+ /**
811
+ * Defines a pill from a contribution
812
+ */
813
+ export interface IContributedPill {
814
+ /**
815
+ * Background color for the pill
816
+ * Ignored unless variant is set to Colored
817
+ * If variant is set to Colored and this is not provided, we'll render as Standard and emit a warning to the console
818
+ */
819
+ color?: IColor;
820
+
821
+ /**
822
+ * Id of the contribution that the button was defined in (optional, used to resolve relative icon URLs)
823
+ */
824
+ contributionId?: string;
825
+
826
+ /**
827
+ * Either a url (relative or fully qualified) or an IContributedIconDefinition with
828
+ * urls for light and dark themes. This allows the caller to use different styles of
829
+ * icons based on the theme type.
830
+ */
831
+ icon?: string | IContributedIconDefinition;
832
+
833
+ /**
834
+ * onClick handler for the pill itself
835
+ */
836
+ onClick?: () => void;
837
+
838
+ /**
839
+ * Renders the remove button if provided
840
+ * Handler to remove the pill
841
+ */
842
+ onRemoveClick?: () => void;
843
+
844
+ /**
845
+ * The text to render inside the pill.
846
+ */
847
+ text: string;
848
+
849
+ /**
850
+ * Optional value to use as an aria-label and tooltip for the pill.
851
+ */
852
+ tooltip?: string;
853
+ }