azure-devops-extension-api 4.247.0 → 4.248.1
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.
- package/{bin/Alert → Alert}/Alert.d.ts +12 -2
- package/{bin/Alert → Alert}/Alert.js +11 -0
- package/Alert/Alert.min.js +1 -0
- package/{bin/Alert → Alert}/AlertClient.d.ts +2 -1
- package/{bin/Alert → Alert}/AlertClient.js +3 -1
- package/Alert/AlertClient.min.js +1 -0
- package/{bin/Gallery → Gallery}/GalleryClient.d.ts +7 -5
- package/{bin/Gallery → Gallery}/GalleryClient.js +20 -19
- package/Gallery/GalleryClient.min.js +1 -0
- package/{bin/Git → Git}/Git.d.ts +4 -0
- package/{bin/Management → Management}/Management.d.ts +8 -0
- package/{bin/Release → Release}/ReleaseClient.d.ts +4 -2
- package/{bin/Release → Release}/ReleaseClient.js +8 -4
- package/Release/ReleaseClient.min.js +1 -0
- package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpoint.d.ts +4 -0
- package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpointClient.d.ts +3 -2
- package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpointClient.js +5 -3
- package/ServiceEndpoint/ServiceEndpointClient.min.js +1 -0
- package/{bin/TestResults → TestResults}/TestResultsClient.d.ts +24 -1
- package/{bin/TestResults → TestResults}/TestResultsClient.js +84 -10
- package/TestResults/TestResultsClient.min.js +1 -0
- package/package.json +1 -1
- package/SECURITY.md +0 -41
- package/bin/Alert/Alert.min.js +0 -1
- package/bin/Alert/AlertClient.min.js +0 -1
- package/bin/Gallery/GalleryClient.min.js +0 -1
- package/bin/LICENSE +0 -21
- package/bin/README.md +0 -2
- package/bin/Release/ReleaseClient.min.js +0 -1
- package/bin/ServiceEndpoint/ServiceEndpointClient.min.js +0 -1
- package/bin/TestResults/TestResultsClient.min.js +0 -1
- package/bin/package.json +0 -37
- package/buildpackage.js +0 -80
- package/src/Accounts/Accounts.ts +0 -134
- package/src/Accounts/AccountsClient.ts +0 -83
- package/src/Accounts/index.ts +0 -2
- package/src/AdvancedSecurity.Reporting/Reporting.ts +0 -180
- package/src/AdvancedSecurity.Reporting/ReportingClient.ts +0 -47
- package/src/Alert/Alert.ts +0 -1037
- package/src/Alert/AlertClient.ts +0 -330
- package/src/Boards/Boards.ts +0 -684
- package/src/Boards/BoardsClient.ts +0 -593
- package/src/Boards/index.ts +0 -2
- package/src/Build/Build.ts +0 -3416
- package/src/Build/BuildClient.ts +0 -2740
- package/src/Build/BuildServices.ts +0 -39
- package/src/Build/index.ts +0 -3
- package/src/Comments/Comments.ts +0 -330
- package/src/Comments/index.ts +0 -1
- package/src/Common/Client.ts +0 -37
- package/src/Common/CommonServices.ts +0 -853
- package/src/Common/Context.d.ts +0 -46
- package/src/Common/Fetch.ts +0 -239
- package/src/Common/RestClientBase.ts +0 -186
- package/src/Common/System.ts +0 -36
- package/src/Common/SystemData.ts +0 -135
- package/src/Common/Util/Serialization.ts +0 -59
- package/src/Common/Util/Url.ts +0 -773
- package/src/Common/index.ts +0 -3
- package/src/Contributions/Contributions.ts +0 -708
- package/src/Contributions/ContributionsClient.ts +0 -109
- package/src/Contributions/index.ts +0 -2
- package/src/Core/Core.ts +0 -579
- package/src/Core/CoreClient.ts +0 -765
- package/src/Core/index.ts +0 -2
- package/src/Dashboard/Dashboard.ts +0 -419
- package/src/Dashboard/DashboardClient.ts +0 -370
- package/src/Dashboard/WidgetConfigHelpers.ts +0 -43
- package/src/Dashboard/WidgetContracts.ts +0 -226
- package/src/Dashboard/WidgetHelpers.ts +0 -145
- package/src/Dashboard/index.ts +0 -5
- package/src/DistributedTaskCommon/DistributedTaskCommon.ts +0 -108
- package/src/DistributedTaskCommon/index.ts +0 -1
- package/src/ExtensionManagement/ExtensionManagement.ts +0 -1205
- package/src/ExtensionManagement/ExtensionManagementClient.ts +0 -646
- package/src/ExtensionManagement/index.ts +0 -2
- package/src/Favorite/Favorite.ts +0 -136
- package/src/Favorite/FavoriteClient.ts +0 -301
- package/src/FeatureAvailability/FeatureAvailability.ts +0 -20
- package/src/FeatureAvailability/FeatureAvailabilityClient.ts +0 -153
- package/src/FeatureAvailability/index.ts +0 -2
- package/src/FeatureManagement/FeatureManagement.ts +0 -166
- package/src/FeatureManagement/FeatureManagementClient.ts +0 -246
- package/src/FeatureManagement/index.ts +0 -2
- package/src/FileContainer/FileContainer.ts +0 -205
- package/src/FileContainer/FileContainerClient.ts +0 -154
- package/src/FileContainer/index.ts +0 -2
- package/src/FormInput/FormInput.ts +0 -288
- package/src/FormInput/index.ts +0 -1
- package/src/Gallery/Gallery.ts +0 -1977
- package/src/Gallery/GalleryClient.ts +0 -2251
- package/src/Gallery/index.ts +0 -2
- package/src/Git/CodeEditorTypes.ts +0 -335
- package/src/Git/Git.ts +0 -4058
- package/src/Git/GitClient.ts +0 -4750
- package/src/Git/GitServices.ts +0 -18
- package/src/Git/index.ts +0 -4
- package/src/Graph/Graph.ts +0 -572
- package/src/Graph/GraphClient.ts +0 -846
- package/src/Graph/index.ts +0 -2
- package/src/Identities/Identities.ts +0 -261
- package/src/Identities/IdentityProvider.ts +0 -90
- package/src/Identities/IdentityService.ts +0 -89
- package/src/Identities/index.ts +0 -3
- package/src/Locations/Locations.ts +0 -165
- package/src/Locations/LocationsClient.ts +0 -220
- package/src/Locations/index.ts +0 -2
- package/src/Management/Management.ts +0 -172
- package/src/Management/ManagementClient.ts +0 -348
- package/src/Notification/Notification.ts +0 -1460
- package/src/Notification/NotificationClient.ts +0 -477
- package/src/Notification/index.ts +0 -2
- package/src/Operations/Operations.ts +0 -86
- package/src/Operations/OperationsClient.ts +0 -42
- package/src/Operations/index.ts +0 -2
- package/src/Pipelines/Pipelines.ts +0 -354
- package/src/Pipelines/PipelinesClient.ts +0 -306
- package/src/Policy/Policy.ts +0 -173
- package/src/Policy/PolicyClient.ts +0 -315
- package/src/Policy/index.ts +0 -2
- package/src/Profile/Profile.ts +0 -187
- package/src/Profile/ProfileClient.ts +0 -328
- package/src/Profile/index.ts +0 -2
- package/src/ProjectAnalysis/ProjectAnalysis.ts +0 -74
- package/src/ProjectAnalysis/ProjectAnalysisClient.ts +0 -124
- package/src/ProjectAnalysis/index.ts +0 -2
- package/src/Release/Release.ts +0 -4237
- package/src/Release/ReleaseClient.ts +0 -2450
- package/src/Release/index.ts +0 -2
- package/src/ResourceUsage/ResourceUsage.ts +0 -19
- package/src/ResourceUsage/ResourceUsageClient.ts +0 -48
- package/src/ServiceEndpoint/ServiceEndpoint.ts +0 -930
- package/src/ServiceEndpoint/ServiceEndpointClient.ts +0 -617
- package/src/ServiceEndpoint/index.ts +0 -2
- package/src/ServiceHooks/ServiceHooks.ts +0 -759
- package/src/ServiceHooks/ServiceHooksClient.ts +0 -499
- package/src/ServiceHooks/index.ts +0 -2
- package/src/TaskAgent/TaskAgent.ts +0 -3896
- package/src/TaskAgent/TaskAgentClient.ts +0 -3918
- package/src/TaskAgent/index.ts +0 -2
- package/src/Test/Test.ts +0 -5853
- package/src/Test/TestClient.ts +0 -2201
- package/src/Test/index.ts +0 -2
- package/src/TestPlan/TestPlan.ts +0 -1384
- package/src/TestPlan/TestPlanClient.ts +0 -1367
- package/src/TestPlan/index.ts +0 -2
- package/src/TestResults/TestResults.ts +0 -11
- package/src/TestResults/TestResultsClient.ts +0 -3450
- package/src/TestResults/index.ts +0 -2
- package/src/Tfvc/Tfvc.ts +0 -770
- package/src/Tfvc/TfvcClient.ts +0 -757
- package/src/Tfvc/index.ts +0 -2
- package/src/WebApi/WebApi.ts +0 -452
- package/src/WebApi/index.ts +0 -1
- package/src/Wiki/Wiki.ts +0 -352
- package/src/Wiki/WikiClient.ts +0 -712
- package/src/Wiki/index.ts +0 -2
- package/src/Work/Work.ts +0 -1367
- package/src/Work/WorkClient.ts +0 -1489
- package/src/Work/index.ts +0 -2
- package/src/WorkItemTracking/WorkItemTracking.ts +0 -2215
- package/src/WorkItemTracking/WorkItemTrackingClient.ts +0 -2032
- package/src/WorkItemTracking/WorkItemTrackingServices.ts +0 -329
- package/src/WorkItemTracking/index.ts +0 -3
- package/src/WorkItemTrackingProcess/WorkItemTrackingProcess.ts +0 -1295
- package/src/WorkItemTrackingProcess/WorkItemTrackingProcessClient.ts +0 -1455
- package/src/WorkItemTrackingProcess/index.ts +0 -2
- package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.ts +0 -606
- package/src/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.ts +0 -1175
- package/src/WorkItemTrackingProcessDefinitions/index.ts +0 -2
- package/src/index.ts +0 -1
- package/tsconfig.json +0 -21
- /package/{bin/Accounts → Accounts}/Accounts.d.ts +0 -0
- /package/{bin/Accounts → Accounts}/Accounts.js +0 -0
- /package/{bin/Accounts → Accounts}/Accounts.min.js +0 -0
- /package/{bin/Accounts → Accounts}/AccountsClient.d.ts +0 -0
- /package/{bin/Accounts → Accounts}/AccountsClient.js +0 -0
- /package/{bin/Accounts → Accounts}/AccountsClient.min.js +0 -0
- /package/{bin/Accounts → Accounts}/index.d.ts +0 -0
- /package/{bin/Accounts → Accounts}/index.js +0 -0
- /package/{bin/Accounts → Accounts}/index.min.js +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/Reporting.d.ts +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/Reporting.js +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/Reporting.min.js +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/ReportingClient.d.ts +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/ReportingClient.js +0 -0
- /package/{bin/AdvancedSecurity.Reporting → AdvancedSecurity.Reporting}/ReportingClient.min.js +0 -0
- /package/{bin/Boards → Boards}/Boards.d.ts +0 -0
- /package/{bin/Boards → Boards}/Boards.js +0 -0
- /package/{bin/Boards → Boards}/Boards.min.js +0 -0
- /package/{bin/Boards → Boards}/BoardsClient.d.ts +0 -0
- /package/{bin/Boards → Boards}/BoardsClient.js +0 -0
- /package/{bin/Boards → Boards}/BoardsClient.min.js +0 -0
- /package/{bin/Boards → Boards}/index.d.ts +0 -0
- /package/{bin/Boards → Boards}/index.js +0 -0
- /package/{bin/Boards → Boards}/index.min.js +0 -0
- /package/{bin/Build → Build}/Build.d.ts +0 -0
- /package/{bin/Build → Build}/Build.js +0 -0
- /package/{bin/Build → Build}/Build.min.js +0 -0
- /package/{bin/Build → Build}/BuildClient.d.ts +0 -0
- /package/{bin/Build → Build}/BuildClient.js +0 -0
- /package/{bin/Build → Build}/BuildClient.min.js +0 -0
- /package/{bin/Build → Build}/BuildServices.d.ts +0 -0
- /package/{bin/Build → Build}/BuildServices.js +0 -0
- /package/{bin/Build → Build}/BuildServices.min.js +0 -0
- /package/{bin/Build → Build}/index.d.ts +0 -0
- /package/{bin/Build → Build}/index.js +0 -0
- /package/{bin/Build → Build}/index.min.js +0 -0
- /package/{bin/Comments → Comments}/Comments.d.ts +0 -0
- /package/{bin/Comments → Comments}/Comments.js +0 -0
- /package/{bin/Comments → Comments}/Comments.min.js +0 -0
- /package/{bin/Comments → Comments}/index.d.ts +0 -0
- /package/{bin/Comments → Comments}/index.js +0 -0
- /package/{bin/Comments → Comments}/index.min.js +0 -0
- /package/{bin/Common → Common}/Client.d.ts +0 -0
- /package/{bin/Common → Common}/Client.js +0 -0
- /package/{bin/Common → Common}/Client.min.js +0 -0
- /package/{bin/Common → Common}/CommonServices.d.ts +0 -0
- /package/{bin/Common → Common}/CommonServices.js +0 -0
- /package/{bin/Common → Common}/CommonServices.min.js +0 -0
- /package/{bin/Common → Common}/Context.d.ts +0 -0
- /package/{bin/Common → Common}/Fetch.d.ts +0 -0
- /package/{bin/Common → Common}/Fetch.js +0 -0
- /package/{bin/Common → Common}/Fetch.min.js +0 -0
- /package/{bin/Common → Common}/RestClientBase.d.ts +0 -0
- /package/{bin/Common → Common}/RestClientBase.js +0 -0
- /package/{bin/Common → Common}/RestClientBase.min.js +0 -0
- /package/{bin/Common → Common}/System.d.ts +0 -0
- /package/{bin/Common → Common}/System.js +0 -0
- /package/{bin/Common → Common}/System.min.js +0 -0
- /package/{bin/Common → Common}/SystemData.d.ts +0 -0
- /package/{bin/Common → Common}/SystemData.js +0 -0
- /package/{bin/Common → Common}/SystemData.min.js +0 -0
- /package/{bin/Common → Common}/Util/Serialization.d.ts +0 -0
- /package/{bin/Common → Common}/Util/Serialization.js +0 -0
- /package/{bin/Common → Common}/Util/Serialization.min.js +0 -0
- /package/{bin/Common → Common}/Util/Url.d.ts +0 -0
- /package/{bin/Common → Common}/Util/Url.js +0 -0
- /package/{bin/Common → Common}/Util/Url.min.js +0 -0
- /package/{bin/Common → Common}/index.d.ts +0 -0
- /package/{bin/Common → Common}/index.js +0 -0
- /package/{bin/Common → Common}/index.min.js +0 -0
- /package/{bin/Contributions → Contributions}/Contributions.d.ts +0 -0
- /package/{bin/Contributions → Contributions}/Contributions.js +0 -0
- /package/{bin/Contributions → Contributions}/Contributions.min.js +0 -0
- /package/{bin/Contributions → Contributions}/ContributionsClient.d.ts +0 -0
- /package/{bin/Contributions → Contributions}/ContributionsClient.js +0 -0
- /package/{bin/Contributions → Contributions}/ContributionsClient.min.js +0 -0
- /package/{bin/Contributions → Contributions}/index.d.ts +0 -0
- /package/{bin/Contributions → Contributions}/index.js +0 -0
- /package/{bin/Contributions → Contributions}/index.min.js +0 -0
- /package/{bin/Core → Core}/Core.d.ts +0 -0
- /package/{bin/Core → Core}/Core.js +0 -0
- /package/{bin/Core → Core}/Core.min.js +0 -0
- /package/{bin/Core → Core}/CoreClient.d.ts +0 -0
- /package/{bin/Core → Core}/CoreClient.js +0 -0
- /package/{bin/Core → Core}/CoreClient.min.js +0 -0
- /package/{bin/Core → Core}/index.d.ts +0 -0
- /package/{bin/Core → Core}/index.js +0 -0
- /package/{bin/Core → Core}/index.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/Dashboard.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/Dashboard.js +0 -0
- /package/{bin/Dashboard → Dashboard}/Dashboard.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/DashboardClient.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/DashboardClient.js +0 -0
- /package/{bin/Dashboard → Dashboard}/DashboardClient.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetConfigHelpers.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetConfigHelpers.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetConfigHelpers.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetContracts.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetContracts.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetContracts.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetHelpers.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetHelpers.js +0 -0
- /package/{bin/Dashboard → Dashboard}/WidgetHelpers.min.js +0 -0
- /package/{bin/Dashboard → Dashboard}/index.d.ts +0 -0
- /package/{bin/Dashboard → Dashboard}/index.js +0 -0
- /package/{bin/Dashboard → Dashboard}/index.min.js +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/DistributedTaskCommon.d.ts +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/DistributedTaskCommon.js +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/DistributedTaskCommon.min.js +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/index.d.ts +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/index.js +0 -0
- /package/{bin/DistributedTaskCommon → DistributedTaskCommon}/index.min.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagement.d.ts +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagement.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagement.min.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagementClient.d.ts +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagementClient.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/ExtensionManagementClient.min.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/index.d.ts +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/index.js +0 -0
- /package/{bin/ExtensionManagement → ExtensionManagement}/index.min.js +0 -0
- /package/{bin/Favorite → Favorite}/Favorite.d.ts +0 -0
- /package/{bin/Favorite → Favorite}/Favorite.js +0 -0
- /package/{bin/Favorite → Favorite}/Favorite.min.js +0 -0
- /package/{bin/Favorite → Favorite}/FavoriteClient.d.ts +0 -0
- /package/{bin/Favorite → Favorite}/FavoriteClient.js +0 -0
- /package/{bin/Favorite → Favorite}/FavoriteClient.min.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailability.d.ts +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailability.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailability.min.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailabilityClient.d.ts +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailabilityClient.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/FeatureAvailabilityClient.min.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/index.d.ts +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/index.js +0 -0
- /package/{bin/FeatureAvailability → FeatureAvailability}/index.min.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagement.d.ts +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagement.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagement.min.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagementClient.d.ts +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagementClient.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/FeatureManagementClient.min.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/index.d.ts +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/index.js +0 -0
- /package/{bin/FeatureManagement → FeatureManagement}/index.min.js +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainer.d.ts +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainer.js +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainer.min.js +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainerClient.d.ts +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainerClient.js +0 -0
- /package/{bin/FileContainer → FileContainer}/FileContainerClient.min.js +0 -0
- /package/{bin/FileContainer → FileContainer}/index.d.ts +0 -0
- /package/{bin/FileContainer → FileContainer}/index.js +0 -0
- /package/{bin/FileContainer → FileContainer}/index.min.js +0 -0
- /package/{bin/FormInput → FormInput}/FormInput.d.ts +0 -0
- /package/{bin/FormInput → FormInput}/FormInput.js +0 -0
- /package/{bin/FormInput → FormInput}/FormInput.min.js +0 -0
- /package/{bin/FormInput → FormInput}/index.d.ts +0 -0
- /package/{bin/FormInput → FormInput}/index.js +0 -0
- /package/{bin/FormInput → FormInput}/index.min.js +0 -0
- /package/{bin/Gallery → Gallery}/Gallery.d.ts +0 -0
- /package/{bin/Gallery → Gallery}/Gallery.js +0 -0
- /package/{bin/Gallery → Gallery}/Gallery.min.js +0 -0
- /package/{bin/Gallery → Gallery}/index.d.ts +0 -0
- /package/{bin/Gallery → Gallery}/index.js +0 -0
- /package/{bin/Gallery → Gallery}/index.min.js +0 -0
- /package/{bin/Git → Git}/CodeEditorTypes.d.ts +0 -0
- /package/{bin/Git → Git}/CodeEditorTypes.js +0 -0
- /package/{bin/Git → Git}/CodeEditorTypes.min.js +0 -0
- /package/{bin/Git → Git}/Git.js +0 -0
- /package/{bin/Git → Git}/Git.min.js +0 -0
- /package/{bin/Git → Git}/GitClient.d.ts +0 -0
- /package/{bin/Git → Git}/GitClient.js +0 -0
- /package/{bin/Git → Git}/GitClient.min.js +0 -0
- /package/{bin/Git → Git}/GitServices.d.ts +0 -0
- /package/{bin/Git → Git}/GitServices.js +0 -0
- /package/{bin/Git → Git}/GitServices.min.js +0 -0
- /package/{bin/Git → Git}/index.d.ts +0 -0
- /package/{bin/Git → Git}/index.js +0 -0
- /package/{bin/Git → Git}/index.min.js +0 -0
- /package/{bin/Graph → Graph}/Graph.d.ts +0 -0
- /package/{bin/Graph → Graph}/Graph.js +0 -0
- /package/{bin/Graph → Graph}/Graph.min.js +0 -0
- /package/{bin/Graph → Graph}/GraphClient.d.ts +0 -0
- /package/{bin/Graph → Graph}/GraphClient.js +0 -0
- /package/{bin/Graph → Graph}/GraphClient.min.js +0 -0
- /package/{bin/Graph → Graph}/index.d.ts +0 -0
- /package/{bin/Graph → Graph}/index.js +0 -0
- /package/{bin/Graph → Graph}/index.min.js +0 -0
- /package/{bin/Identities → Identities}/Identities.d.ts +0 -0
- /package/{bin/Identities → Identities}/Identities.js +0 -0
- /package/{bin/Identities → Identities}/Identities.min.js +0 -0
- /package/{bin/Identities → Identities}/IdentityProvider.d.ts +0 -0
- /package/{bin/Identities → Identities}/IdentityProvider.js +0 -0
- /package/{bin/Identities → Identities}/IdentityProvider.min.js +0 -0
- /package/{bin/Identities → Identities}/IdentityService.d.ts +0 -0
- /package/{bin/Identities → Identities}/IdentityService.js +0 -0
- /package/{bin/Identities → Identities}/IdentityService.min.js +0 -0
- /package/{bin/Identities → Identities}/index.d.ts +0 -0
- /package/{bin/Identities → Identities}/index.js +0 -0
- /package/{bin/Identities → Identities}/index.min.js +0 -0
- /package/{bin/Locations → Locations}/Locations.d.ts +0 -0
- /package/{bin/Locations → Locations}/Locations.js +0 -0
- /package/{bin/Locations → Locations}/Locations.min.js +0 -0
- /package/{bin/Locations → Locations}/LocationsClient.d.ts +0 -0
- /package/{bin/Locations → Locations}/LocationsClient.js +0 -0
- /package/{bin/Locations → Locations}/LocationsClient.min.js +0 -0
- /package/{bin/Locations → Locations}/index.d.ts +0 -0
- /package/{bin/Locations → Locations}/index.js +0 -0
- /package/{bin/Locations → Locations}/index.min.js +0 -0
- /package/{bin/Management → Management}/Management.js +0 -0
- /package/{bin/Management → Management}/Management.min.js +0 -0
- /package/{bin/Management → Management}/ManagementClient.d.ts +0 -0
- /package/{bin/Management → Management}/ManagementClient.js +0 -0
- /package/{bin/Management → Management}/ManagementClient.min.js +0 -0
- /package/{bin/Notification → Notification}/Notification.d.ts +0 -0
- /package/{bin/Notification → Notification}/Notification.js +0 -0
- /package/{bin/Notification → Notification}/Notification.min.js +0 -0
- /package/{bin/Notification → Notification}/NotificationClient.d.ts +0 -0
- /package/{bin/Notification → Notification}/NotificationClient.js +0 -0
- /package/{bin/Notification → Notification}/NotificationClient.min.js +0 -0
- /package/{bin/Notification → Notification}/index.d.ts +0 -0
- /package/{bin/Notification → Notification}/index.js +0 -0
- /package/{bin/Notification → Notification}/index.min.js +0 -0
- /package/{bin/Operations → Operations}/Operations.d.ts +0 -0
- /package/{bin/Operations → Operations}/Operations.js +0 -0
- /package/{bin/Operations → Operations}/Operations.min.js +0 -0
- /package/{bin/Operations → Operations}/OperationsClient.d.ts +0 -0
- /package/{bin/Operations → Operations}/OperationsClient.js +0 -0
- /package/{bin/Operations → Operations}/OperationsClient.min.js +0 -0
- /package/{bin/Operations → Operations}/index.d.ts +0 -0
- /package/{bin/Operations → Operations}/index.js +0 -0
- /package/{bin/Operations → Operations}/index.min.js +0 -0
- /package/{bin/Pipelines → Pipelines}/Pipelines.d.ts +0 -0
- /package/{bin/Pipelines → Pipelines}/Pipelines.js +0 -0
- /package/{bin/Pipelines → Pipelines}/Pipelines.min.js +0 -0
- /package/{bin/Pipelines → Pipelines}/PipelinesClient.d.ts +0 -0
- /package/{bin/Pipelines → Pipelines}/PipelinesClient.js +0 -0
- /package/{bin/Pipelines → Pipelines}/PipelinesClient.min.js +0 -0
- /package/{bin/Policy → Policy}/Policy.d.ts +0 -0
- /package/{bin/Policy → Policy}/Policy.js +0 -0
- /package/{bin/Policy → Policy}/Policy.min.js +0 -0
- /package/{bin/Policy → Policy}/PolicyClient.d.ts +0 -0
- /package/{bin/Policy → Policy}/PolicyClient.js +0 -0
- /package/{bin/Policy → Policy}/PolicyClient.min.js +0 -0
- /package/{bin/Policy → Policy}/index.d.ts +0 -0
- /package/{bin/Policy → Policy}/index.js +0 -0
- /package/{bin/Policy → Policy}/index.min.js +0 -0
- /package/{bin/Profile → Profile}/Profile.d.ts +0 -0
- /package/{bin/Profile → Profile}/Profile.js +0 -0
- /package/{bin/Profile → Profile}/Profile.min.js +0 -0
- /package/{bin/Profile → Profile}/ProfileClient.d.ts +0 -0
- /package/{bin/Profile → Profile}/ProfileClient.js +0 -0
- /package/{bin/Profile → Profile}/ProfileClient.min.js +0 -0
- /package/{bin/Profile → Profile}/index.d.ts +0 -0
- /package/{bin/Profile → Profile}/index.js +0 -0
- /package/{bin/Profile → Profile}/index.min.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysis.d.ts +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysis.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysis.min.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysisClient.d.ts +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysisClient.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/ProjectAnalysisClient.min.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/index.d.ts +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/index.js +0 -0
- /package/{bin/ProjectAnalysis → ProjectAnalysis}/index.min.js +0 -0
- /package/{bin/Release → Release}/Release.d.ts +0 -0
- /package/{bin/Release → Release}/Release.js +0 -0
- /package/{bin/Release → Release}/Release.min.js +0 -0
- /package/{bin/Release → Release}/index.d.ts +0 -0
- /package/{bin/Release → Release}/index.js +0 -0
- /package/{bin/Release → Release}/index.min.js +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsage.d.ts +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsage.js +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsage.min.js +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsageClient.d.ts +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsageClient.js +0 -0
- /package/{bin/ResourceUsage → ResourceUsage}/ResourceUsageClient.min.js +0 -0
- /package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpoint.js +0 -0
- /package/{bin/ServiceEndpoint → ServiceEndpoint}/ServiceEndpoint.min.js +0 -0
- /package/{bin/ServiceEndpoint → ServiceEndpoint}/index.d.ts +0 -0
- /package/{bin/ServiceEndpoint → ServiceEndpoint}/index.js +0 -0
- /package/{bin/ServiceEndpoint → ServiceEndpoint}/index.min.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooks.d.ts +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooks.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooks.min.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooksClient.d.ts +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooksClient.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/ServiceHooksClient.min.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/index.d.ts +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/index.js +0 -0
- /package/{bin/ServiceHooks → ServiceHooks}/index.min.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgent.d.ts +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgent.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgent.min.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgentClient.d.ts +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgentClient.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/TaskAgentClient.min.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/index.d.ts +0 -0
- /package/{bin/TaskAgent → TaskAgent}/index.js +0 -0
- /package/{bin/TaskAgent → TaskAgent}/index.min.js +0 -0
- /package/{bin/Test → Test}/Test.d.ts +0 -0
- /package/{bin/Test → Test}/Test.js +0 -0
- /package/{bin/Test → Test}/Test.min.js +0 -0
- /package/{bin/Test → Test}/TestClient.d.ts +0 -0
- /package/{bin/Test → Test}/TestClient.js +0 -0
- /package/{bin/Test → Test}/TestClient.min.js +0 -0
- /package/{bin/Test → Test}/index.d.ts +0 -0
- /package/{bin/Test → Test}/index.js +0 -0
- /package/{bin/Test → Test}/index.min.js +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlan.d.ts +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlan.js +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlan.min.js +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlanClient.d.ts +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlanClient.js +0 -0
- /package/{bin/TestPlan → TestPlan}/TestPlanClient.min.js +0 -0
- /package/{bin/TestPlan → TestPlan}/index.d.ts +0 -0
- /package/{bin/TestPlan → TestPlan}/index.js +0 -0
- /package/{bin/TestPlan → TestPlan}/index.min.js +0 -0
- /package/{bin/TestResults → TestResults}/TestResults.d.ts +0 -0
- /package/{bin/TestResults → TestResults}/TestResults.js +0 -0
- /package/{bin/TestResults → TestResults}/TestResults.min.js +0 -0
- /package/{bin/TestResults → TestResults}/index.d.ts +0 -0
- /package/{bin/TestResults → TestResults}/index.js +0 -0
- /package/{bin/TestResults → TestResults}/index.min.js +0 -0
- /package/{bin/Tfvc → Tfvc}/Tfvc.d.ts +0 -0
- /package/{bin/Tfvc → Tfvc}/Tfvc.js +0 -0
- /package/{bin/Tfvc → Tfvc}/Tfvc.min.js +0 -0
- /package/{bin/Tfvc → Tfvc}/TfvcClient.d.ts +0 -0
- /package/{bin/Tfvc → Tfvc}/TfvcClient.js +0 -0
- /package/{bin/Tfvc → Tfvc}/TfvcClient.min.js +0 -0
- /package/{bin/Tfvc → Tfvc}/index.d.ts +0 -0
- /package/{bin/Tfvc → Tfvc}/index.js +0 -0
- /package/{bin/Tfvc → Tfvc}/index.min.js +0 -0
- /package/{bin/WebApi → WebApi}/WebApi.d.ts +0 -0
- /package/{bin/WebApi → WebApi}/WebApi.js +0 -0
- /package/{bin/WebApi → WebApi}/WebApi.min.js +0 -0
- /package/{bin/WebApi → WebApi}/index.d.ts +0 -0
- /package/{bin/WebApi → WebApi}/index.js +0 -0
- /package/{bin/WebApi → WebApi}/index.min.js +0 -0
- /package/{bin/Wiki → Wiki}/Wiki.d.ts +0 -0
- /package/{bin/Wiki → Wiki}/Wiki.js +0 -0
- /package/{bin/Wiki → Wiki}/Wiki.min.js +0 -0
- /package/{bin/Wiki → Wiki}/WikiClient.d.ts +0 -0
- /package/{bin/Wiki → Wiki}/WikiClient.js +0 -0
- /package/{bin/Wiki → Wiki}/WikiClient.min.js +0 -0
- /package/{bin/Wiki → Wiki}/index.d.ts +0 -0
- /package/{bin/Wiki → Wiki}/index.js +0 -0
- /package/{bin/Wiki → Wiki}/index.min.js +0 -0
- /package/{bin/Work → Work}/Work.d.ts +0 -0
- /package/{bin/Work → Work}/Work.js +0 -0
- /package/{bin/Work → Work}/Work.min.js +0 -0
- /package/{bin/Work → Work}/WorkClient.d.ts +0 -0
- /package/{bin/Work → Work}/WorkClient.js +0 -0
- /package/{bin/Work → Work}/WorkClient.min.js +0 -0
- /package/{bin/Work → Work}/index.d.ts +0 -0
- /package/{bin/Work → Work}/index.js +0 -0
- /package/{bin/Work → Work}/index.min.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTracking.d.ts +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTracking.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTracking.min.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingClient.d.ts +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingClient.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingClient.min.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingServices.d.ts +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingServices.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/WorkItemTrackingServices.min.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/index.d.ts +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/index.js +0 -0
- /package/{bin/WorkItemTracking → WorkItemTracking}/index.min.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcess.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcess.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcess.min.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcessClient.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcessClient.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/WorkItemTrackingProcessClient.min.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/index.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/index.js +0 -0
- /package/{bin/WorkItemTrackingProcess → WorkItemTrackingProcess}/index.min.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitions.min.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/WorkItemTrackingProcessDefinitionsClient.min.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/index.d.ts +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/index.js +0 -0
- /package/{bin/WorkItemTrackingProcessDefinitions → WorkItemTrackingProcessDefinitions}/index.min.js +0 -0
- /package/{bin/index.d.ts → index.d.ts} +0 -0
- /package/{bin/index.js → index.js} +0 -0
- /package/{bin/index.min.js → index.min.js} +0 -0
package/src/Favorite/Favorite.ts
DELETED
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ---------------------------------------------------------
|
|
3
|
-
* Copyright(C) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* ---------------------------------------------------------
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import * as WebApi from "../WebApi/WebApi";
|
|
8
|
-
|
|
9
|
-
export interface ArtifactProperties {
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Describes the scope a favorited Artifact resides in. e.g. A team project.
|
|
14
|
-
*/
|
|
15
|
-
export interface ArtifactScope {
|
|
16
|
-
/**
|
|
17
|
-
* The identifier of the scope the artifact resides in. For a TFS Project, this refers to the Project GUID string. For a Collection, marked this property with an empty string.
|
|
18
|
-
*/
|
|
19
|
-
id: string;
|
|
20
|
-
/**
|
|
21
|
-
* Name of the artifact scope (e.g. Project Name) Note: This property is a read-only extension over the stored favorite model. This value cannot be overridden on writes.
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
* Type of scope the favorite artifact resides in. Known scopes include "Project" or "Collection"
|
|
26
|
-
*/
|
|
27
|
-
type: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Implementation of Favorite contract following modern storage
|
|
32
|
-
*/
|
|
33
|
-
export interface Favorite {
|
|
34
|
-
/**
|
|
35
|
-
* Links to the resources associated to the underlying artifact.
|
|
36
|
-
*/
|
|
37
|
-
_links: any;
|
|
38
|
-
/**
|
|
39
|
-
* ID of the favorited artifact, unique in context of this artifact type.
|
|
40
|
-
*/
|
|
41
|
-
artifactId: string;
|
|
42
|
-
/**
|
|
43
|
-
* Indicates if the artifact described by this favorite could not be located.
|
|
44
|
-
*/
|
|
45
|
-
artifactIsDeleted: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Last known name of the artifact.
|
|
48
|
-
*/
|
|
49
|
-
artifactName: string;
|
|
50
|
-
/**
|
|
51
|
-
* A dictionary of cached properties describing a Favorited artifact. Structure is generated by the service-side feature metadata provider handling this Artifact Type.
|
|
52
|
-
*/
|
|
53
|
-
artifactProperties: ArtifactProperties;
|
|
54
|
-
/**
|
|
55
|
-
* Artifact Scope - This object describes where an artifact is contained. e.g. Project Mandatory param for creating all favorites.
|
|
56
|
-
*/
|
|
57
|
-
artifactScope: ArtifactScope;
|
|
58
|
-
/**
|
|
59
|
-
* Type of artifact.
|
|
60
|
-
*/
|
|
61
|
-
artifactType: string;
|
|
62
|
-
/**
|
|
63
|
-
* Date and time this Favorite was created on server.
|
|
64
|
-
*/
|
|
65
|
-
creationDate: Date;
|
|
66
|
-
/**
|
|
67
|
-
* Unique Id of the favorite item, defined by server at creation time.
|
|
68
|
-
*/
|
|
69
|
-
id: string;
|
|
70
|
-
/**
|
|
71
|
-
* User identity, defined by server, based on active user context.
|
|
72
|
-
*/
|
|
73
|
-
owner: WebApi.IdentityRef;
|
|
74
|
-
/**
|
|
75
|
-
* Fully-Qualified link to this Resource
|
|
76
|
-
*/
|
|
77
|
-
url: string;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export interface FavoriteCreateParameters {
|
|
81
|
-
artifactId: string;
|
|
82
|
-
artifactName: string;
|
|
83
|
-
artifactProperties: ArtifactProperties;
|
|
84
|
-
artifactScope: ArtifactScope;
|
|
85
|
-
artifactType: string;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Exposes a provider of favorites.
|
|
90
|
-
*/
|
|
91
|
-
export interface FavoriteProvider extends FavoritesSecuredObject {
|
|
92
|
-
/**
|
|
93
|
-
* Favorite artifact type
|
|
94
|
-
*/
|
|
95
|
-
artifactType: string;
|
|
96
|
-
/**
|
|
97
|
-
* URI for retrieving favorite artifacts
|
|
98
|
-
*/
|
|
99
|
-
artifactUri: string;
|
|
100
|
-
/**
|
|
101
|
-
* contributed client side service that is available for this provider to provide dynamic associated data.
|
|
102
|
-
*/
|
|
103
|
-
clientServiceIdentifier: string;
|
|
104
|
-
/**
|
|
105
|
-
* Contribution Id
|
|
106
|
-
*/
|
|
107
|
-
contributionId: string;
|
|
108
|
-
/**
|
|
109
|
-
* Css class to be applied to the icon for the artifact.
|
|
110
|
-
*/
|
|
111
|
-
iconClass: string;
|
|
112
|
-
/**
|
|
113
|
-
* Name of the fabric icon to be applied for the artifact
|
|
114
|
-
*/
|
|
115
|
-
iconName: string;
|
|
116
|
-
/**
|
|
117
|
-
* Group of favorites will be rendered in this order, 0 is top If 2 types share order, they will be coalesced into a single group
|
|
118
|
-
*/
|
|
119
|
-
order: number;
|
|
120
|
-
/**
|
|
121
|
-
* Name used for rendering the title of each group of favorites
|
|
122
|
-
*/
|
|
123
|
-
pluralName: string;
|
|
124
|
-
/**
|
|
125
|
-
* Service identifier of the service.
|
|
126
|
-
*/
|
|
127
|
-
serviceIdentifier: string;
|
|
128
|
-
/**
|
|
129
|
-
* Base URI of the service
|
|
130
|
-
*/
|
|
131
|
-
serviceUri: string;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
export interface FavoritesSecuredObject {
|
|
135
|
-
token: string;
|
|
136
|
-
}
|
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ---------------------------------------------------------
|
|
3
|
-
* Copyright(C) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* ---------------------------------------------------------
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import { IVssRestClientOptions } from "../Common/Context";
|
|
8
|
-
import { RestClientBase } from "../Common/RestClientBase";
|
|
9
|
-
|
|
10
|
-
import * as Favorite from "../Favorite/Favorite";
|
|
11
|
-
|
|
12
|
-
export class FavoriteRestClient extends RestClientBase {
|
|
13
|
-
constructor(options: IVssRestClientOptions) {
|
|
14
|
-
super(options);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @param faultInMissingHost -
|
|
19
|
-
*/
|
|
20
|
-
public async getFavoriteProviders(
|
|
21
|
-
faultInMissingHost?: boolean
|
|
22
|
-
): Promise<Favorite.FavoriteProvider[]> {
|
|
23
|
-
|
|
24
|
-
const queryValues: any = {
|
|
25
|
-
faultInMissingHost: faultInMissingHost
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
return this.beginRequest<Favorite.FavoriteProvider[]>({
|
|
29
|
-
apiVersion: "7.2-preview.1",
|
|
30
|
-
routeTemplate: "_apis/Favorite/FavoriteProviders",
|
|
31
|
-
queryParams: queryValues
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @param favorite -
|
|
37
|
-
*/
|
|
38
|
-
public async createFavorite(
|
|
39
|
-
favorite: Favorite.FavoriteCreateParameters
|
|
40
|
-
): Promise<Favorite.Favorite> {
|
|
41
|
-
|
|
42
|
-
return this.beginRequest<Favorite.Favorite>({
|
|
43
|
-
apiVersion: "7.2-preview.1",
|
|
44
|
-
method: "POST",
|
|
45
|
-
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
|
|
46
|
-
body: favorite
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* @param favorite -
|
|
52
|
-
* @param ownerScopeType -
|
|
53
|
-
* @param ownerScopeId -
|
|
54
|
-
*/
|
|
55
|
-
public async createFavoriteOfOwner(
|
|
56
|
-
favorite: Favorite.FavoriteCreateParameters,
|
|
57
|
-
ownerScopeType: string,
|
|
58
|
-
ownerScopeId: string
|
|
59
|
-
): Promise<Favorite.Favorite> {
|
|
60
|
-
|
|
61
|
-
const queryValues: any = {
|
|
62
|
-
ownerScopeType: ownerScopeType,
|
|
63
|
-
ownerScopeId: ownerScopeId
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
return this.beginRequest<Favorite.Favorite>({
|
|
67
|
-
apiVersion: "7.2-preview.1",
|
|
68
|
-
method: "POST",
|
|
69
|
-
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
|
|
70
|
-
queryParams: queryValues,
|
|
71
|
-
body: favorite
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @param favoriteId -
|
|
77
|
-
* @param artifactType -
|
|
78
|
-
* @param artifactScopeType -
|
|
79
|
-
* @param artifactScopeId -
|
|
80
|
-
*/
|
|
81
|
-
public async deleteFavoriteById(
|
|
82
|
-
favoriteId: string,
|
|
83
|
-
artifactType: string,
|
|
84
|
-
artifactScopeType: string,
|
|
85
|
-
artifactScopeId?: string
|
|
86
|
-
): Promise<void> {
|
|
87
|
-
|
|
88
|
-
const queryValues: any = {
|
|
89
|
-
artifactType: artifactType,
|
|
90
|
-
artifactScopeType: artifactScopeType,
|
|
91
|
-
artifactScopeId: artifactScopeId
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
return this.beginRequest<void>({
|
|
95
|
-
apiVersion: "7.2-preview.1",
|
|
96
|
-
method: "DELETE",
|
|
97
|
-
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
|
|
98
|
-
routeValues: {
|
|
99
|
-
favoriteId: favoriteId
|
|
100
|
-
},
|
|
101
|
-
queryParams: queryValues
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* @param favoriteId -
|
|
107
|
-
* @param ownerScopeType -
|
|
108
|
-
* @param ownerScopeId -
|
|
109
|
-
* @param artifactType -
|
|
110
|
-
* @param artifactScopeType -
|
|
111
|
-
* @param artifactScopeId -
|
|
112
|
-
*/
|
|
113
|
-
public async deleteFavoriteOfOwnerById(
|
|
114
|
-
favoriteId: string,
|
|
115
|
-
ownerScopeType: string,
|
|
116
|
-
ownerScopeId: string,
|
|
117
|
-
artifactType: string,
|
|
118
|
-
artifactScopeType: string,
|
|
119
|
-
artifactScopeId?: string
|
|
120
|
-
): Promise<void> {
|
|
121
|
-
|
|
122
|
-
const queryValues: any = {
|
|
123
|
-
ownerScopeType: ownerScopeType,
|
|
124
|
-
ownerScopeId: ownerScopeId,
|
|
125
|
-
artifactType: artifactType,
|
|
126
|
-
artifactScopeType: artifactScopeType,
|
|
127
|
-
artifactScopeId: artifactScopeId
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
return this.beginRequest<void>({
|
|
131
|
-
apiVersion: "7.2-preview.1",
|
|
132
|
-
method: "DELETE",
|
|
133
|
-
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
|
|
134
|
-
routeValues: {
|
|
135
|
-
favoriteId: favoriteId
|
|
136
|
-
},
|
|
137
|
-
queryParams: queryValues
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* @param artifactType -
|
|
143
|
-
* @param artifactId -
|
|
144
|
-
* @param artifactScopeType -
|
|
145
|
-
* @param artifactScopeId -
|
|
146
|
-
* @param includeExtendedDetails -
|
|
147
|
-
*/
|
|
148
|
-
public async getFavoriteByArtifact(
|
|
149
|
-
artifactType: string,
|
|
150
|
-
artifactId: string,
|
|
151
|
-
artifactScopeType: string,
|
|
152
|
-
artifactScopeId?: string,
|
|
153
|
-
includeExtendedDetails?: boolean
|
|
154
|
-
): Promise<Favorite.Favorite> {
|
|
155
|
-
|
|
156
|
-
const queryValues: any = {
|
|
157
|
-
artifactType: artifactType,
|
|
158
|
-
artifactId: artifactId,
|
|
159
|
-
artifactScopeType: artifactScopeType,
|
|
160
|
-
artifactScopeId: artifactScopeId,
|
|
161
|
-
includeExtendedDetails: includeExtendedDetails
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
return this.beginRequest<Favorite.Favorite>({
|
|
165
|
-
apiVersion: "7.2-preview.1",
|
|
166
|
-
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
|
|
167
|
-
queryParams: queryValues
|
|
168
|
-
});
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* @param favoriteId -
|
|
173
|
-
* @param artifactScopeType -
|
|
174
|
-
* @param artifactType -
|
|
175
|
-
* @param artifactScopeId -
|
|
176
|
-
* @param includeExtendedDetails -
|
|
177
|
-
*/
|
|
178
|
-
public async getFavoriteById(
|
|
179
|
-
favoriteId: string,
|
|
180
|
-
artifactScopeType: string,
|
|
181
|
-
artifactType: string,
|
|
182
|
-
artifactScopeId?: string,
|
|
183
|
-
includeExtendedDetails?: boolean
|
|
184
|
-
): Promise<Favorite.Favorite> {
|
|
185
|
-
|
|
186
|
-
const queryValues: any = {
|
|
187
|
-
artifactScopeType: artifactScopeType,
|
|
188
|
-
artifactType: artifactType,
|
|
189
|
-
artifactScopeId: artifactScopeId,
|
|
190
|
-
includeExtendedDetails: includeExtendedDetails
|
|
191
|
-
};
|
|
192
|
-
|
|
193
|
-
return this.beginRequest<Favorite.Favorite>({
|
|
194
|
-
apiVersion: "7.2-preview.1",
|
|
195
|
-
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
|
|
196
|
-
routeValues: {
|
|
197
|
-
favoriteId: favoriteId
|
|
198
|
-
},
|
|
199
|
-
queryParams: queryValues
|
|
200
|
-
});
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* @param favoriteId -
|
|
205
|
-
* @param ownerScopeType -
|
|
206
|
-
* @param ownerScopeId -
|
|
207
|
-
* @param artifactScopeType -
|
|
208
|
-
* @param artifactType -
|
|
209
|
-
* @param artifactScopeId -
|
|
210
|
-
* @param includeExtendedDetails -
|
|
211
|
-
*/
|
|
212
|
-
public async getFavoriteOfOwnerById(
|
|
213
|
-
favoriteId: string,
|
|
214
|
-
ownerScopeType: string,
|
|
215
|
-
ownerScopeId: string,
|
|
216
|
-
artifactScopeType: string,
|
|
217
|
-
artifactType: string,
|
|
218
|
-
artifactScopeId?: string,
|
|
219
|
-
includeExtendedDetails?: boolean
|
|
220
|
-
): Promise<Favorite.Favorite> {
|
|
221
|
-
|
|
222
|
-
const queryValues: any = {
|
|
223
|
-
ownerScopeType: ownerScopeType,
|
|
224
|
-
ownerScopeId: ownerScopeId,
|
|
225
|
-
artifactScopeType: artifactScopeType,
|
|
226
|
-
artifactType: artifactType,
|
|
227
|
-
artifactScopeId: artifactScopeId,
|
|
228
|
-
includeExtendedDetails: includeExtendedDetails
|
|
229
|
-
};
|
|
230
|
-
|
|
231
|
-
return this.beginRequest<Favorite.Favorite>({
|
|
232
|
-
apiVersion: "7.2-preview.1",
|
|
233
|
-
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
|
|
234
|
-
routeValues: {
|
|
235
|
-
favoriteId: favoriteId
|
|
236
|
-
},
|
|
237
|
-
queryParams: queryValues
|
|
238
|
-
});
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* @param artifactType -
|
|
243
|
-
* @param artifactScopeType -
|
|
244
|
-
* @param artifactScopeId -
|
|
245
|
-
* @param includeExtendedDetails -
|
|
246
|
-
*/
|
|
247
|
-
public async getFavorites(
|
|
248
|
-
artifactType?: string,
|
|
249
|
-
artifactScopeType?: string,
|
|
250
|
-
artifactScopeId?: string,
|
|
251
|
-
includeExtendedDetails?: boolean
|
|
252
|
-
): Promise<Favorite.Favorite[]> {
|
|
253
|
-
|
|
254
|
-
const queryValues: any = {
|
|
255
|
-
artifactType: artifactType,
|
|
256
|
-
artifactScopeType: artifactScopeType,
|
|
257
|
-
artifactScopeId: artifactScopeId,
|
|
258
|
-
includeExtendedDetails: includeExtendedDetails
|
|
259
|
-
};
|
|
260
|
-
|
|
261
|
-
return this.beginRequest<Favorite.Favorite[]>({
|
|
262
|
-
apiVersion: "7.2-preview.1",
|
|
263
|
-
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
|
|
264
|
-
queryParams: queryValues
|
|
265
|
-
});
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* @param ownerScopeType -
|
|
270
|
-
* @param ownerScopeId -
|
|
271
|
-
* @param artifactType -
|
|
272
|
-
* @param artifactScopeType -
|
|
273
|
-
* @param artifactScopeId -
|
|
274
|
-
* @param includeExtendedDetails -
|
|
275
|
-
*/
|
|
276
|
-
public async getFavoritesOfOwner(
|
|
277
|
-
ownerScopeType: string,
|
|
278
|
-
ownerScopeId: string,
|
|
279
|
-
artifactType?: string,
|
|
280
|
-
artifactScopeType?: string,
|
|
281
|
-
artifactScopeId?: string,
|
|
282
|
-
includeExtendedDetails?: boolean
|
|
283
|
-
): Promise<Favorite.Favorite[]> {
|
|
284
|
-
|
|
285
|
-
const queryValues: any = {
|
|
286
|
-
ownerScopeType: ownerScopeType,
|
|
287
|
-
ownerScopeId: ownerScopeId,
|
|
288
|
-
artifactType: artifactType,
|
|
289
|
-
artifactScopeType: artifactScopeType,
|
|
290
|
-
artifactScopeId: artifactScopeId,
|
|
291
|
-
includeExtendedDetails: includeExtendedDetails
|
|
292
|
-
};
|
|
293
|
-
|
|
294
|
-
return this.beginRequest<Favorite.Favorite[]>({
|
|
295
|
-
apiVersion: "7.2-preview.1",
|
|
296
|
-
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
|
|
297
|
-
queryParams: queryValues
|
|
298
|
-
});
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ---------------------------------------------------------
|
|
3
|
-
* Copyright(C) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* ---------------------------------------------------------
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
export interface FeatureFlag {
|
|
8
|
-
description: string;
|
|
9
|
-
effectiveState: string;
|
|
10
|
-
explicitState: string;
|
|
11
|
-
name: string;
|
|
12
|
-
uri: string;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* This is passed to the FeatureFlagController to edit the status of a feature flag
|
|
17
|
-
*/
|
|
18
|
-
export interface FeatureFlagPatch {
|
|
19
|
-
state: string;
|
|
20
|
-
}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ---------------------------------------------------------
|
|
3
|
-
* Copyright(C) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* ---------------------------------------------------------
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import { IVssRestClientOptions } from "../Common/Context";
|
|
8
|
-
import { RestClientBase } from "../Common/RestClientBase";
|
|
9
|
-
|
|
10
|
-
import * as FeatureAvailability from "../FeatureAvailability/FeatureAvailability";
|
|
11
|
-
|
|
12
|
-
export class FeatureAvailabilityRestClient extends RestClientBase {
|
|
13
|
-
constructor(options: IVssRestClientOptions) {
|
|
14
|
-
super(options);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Retrieve a listing of all feature flags and their current states for a user
|
|
19
|
-
*
|
|
20
|
-
* @param userEmail - The email of the user to check
|
|
21
|
-
*/
|
|
22
|
-
public async getAllFeatureFlags(
|
|
23
|
-
userEmail?: string
|
|
24
|
-
): Promise<FeatureAvailability.FeatureFlag[]> {
|
|
25
|
-
|
|
26
|
-
const queryValues: any = {
|
|
27
|
-
userEmail: userEmail
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
return this.beginRequest<FeatureAvailability.FeatureFlag[]>({
|
|
31
|
-
apiVersion: "7.2-preview.1",
|
|
32
|
-
routeTemplate: "_apis/FeatureFlags/{name}",
|
|
33
|
-
queryParams: queryValues
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Retrieve information on a single feature flag and its current states
|
|
39
|
-
*
|
|
40
|
-
* @param name - The name of the feature to retrieve
|
|
41
|
-
* @param checkFeatureExists - Check if feature exists
|
|
42
|
-
*/
|
|
43
|
-
public async getFeatureFlagByName(
|
|
44
|
-
name: string,
|
|
45
|
-
checkFeatureExists?: boolean
|
|
46
|
-
): Promise<FeatureAvailability.FeatureFlag> {
|
|
47
|
-
|
|
48
|
-
const queryValues: any = {
|
|
49
|
-
checkFeatureExists: checkFeatureExists
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
return this.beginRequest<FeatureAvailability.FeatureFlag>({
|
|
53
|
-
apiVersion: "7.2-preview.1",
|
|
54
|
-
routeTemplate: "_apis/FeatureFlags/{name}",
|
|
55
|
-
routeValues: {
|
|
56
|
-
name: name
|
|
57
|
-
},
|
|
58
|
-
queryParams: queryValues
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Retrieve information on a single feature flag and its current states for a user
|
|
64
|
-
*
|
|
65
|
-
* @param name - The name of the feature to retrieve
|
|
66
|
-
* @param userEmail - The email of the user to check
|
|
67
|
-
* @param checkFeatureExists - Check if feature exists
|
|
68
|
-
*/
|
|
69
|
-
public async getFeatureFlagByNameAndUserEmail(
|
|
70
|
-
name: string,
|
|
71
|
-
userEmail: string,
|
|
72
|
-
checkFeatureExists?: boolean
|
|
73
|
-
): Promise<FeatureAvailability.FeatureFlag> {
|
|
74
|
-
|
|
75
|
-
const queryValues: any = {
|
|
76
|
-
userEmail: userEmail,
|
|
77
|
-
checkFeatureExists: checkFeatureExists
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
return this.beginRequest<FeatureAvailability.FeatureFlag>({
|
|
81
|
-
apiVersion: "7.2-preview.1",
|
|
82
|
-
routeTemplate: "_apis/FeatureFlags/{name}",
|
|
83
|
-
routeValues: {
|
|
84
|
-
name: name
|
|
85
|
-
},
|
|
86
|
-
queryParams: queryValues
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Retrieve information on a single feature flag and its current states for a user
|
|
92
|
-
*
|
|
93
|
-
* @param name - The name of the feature to retrieve
|
|
94
|
-
* @param userId - The id of the user to check
|
|
95
|
-
* @param checkFeatureExists - Check if feature exists
|
|
96
|
-
*/
|
|
97
|
-
public async getFeatureFlagByNameAndUserId(
|
|
98
|
-
name: string,
|
|
99
|
-
userId: string,
|
|
100
|
-
checkFeatureExists?: boolean
|
|
101
|
-
): Promise<FeatureAvailability.FeatureFlag> {
|
|
102
|
-
|
|
103
|
-
const queryValues: any = {
|
|
104
|
-
userId: userId,
|
|
105
|
-
checkFeatureExists: checkFeatureExists
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
return this.beginRequest<FeatureAvailability.FeatureFlag>({
|
|
109
|
-
apiVersion: "7.2-preview.1",
|
|
110
|
-
routeTemplate: "_apis/FeatureFlags/{name}",
|
|
111
|
-
routeValues: {
|
|
112
|
-
name: name
|
|
113
|
-
},
|
|
114
|
-
queryParams: queryValues
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Change the state of an individual feature flag for a name
|
|
120
|
-
*
|
|
121
|
-
* @param state - State that should be set
|
|
122
|
-
* @param name - The name of the feature to change
|
|
123
|
-
* @param userEmail -
|
|
124
|
-
* @param checkFeatureExists - Checks if the feature exists before setting the state
|
|
125
|
-
* @param setAtApplicationLevelAlso -
|
|
126
|
-
*/
|
|
127
|
-
public async updateFeatureFlag(
|
|
128
|
-
state: FeatureAvailability.FeatureFlagPatch,
|
|
129
|
-
name: string,
|
|
130
|
-
userEmail?: string,
|
|
131
|
-
checkFeatureExists?: boolean,
|
|
132
|
-
setAtApplicationLevelAlso?: boolean
|
|
133
|
-
): Promise<FeatureAvailability.FeatureFlag> {
|
|
134
|
-
|
|
135
|
-
const queryValues: any = {
|
|
136
|
-
userEmail: userEmail,
|
|
137
|
-
checkFeatureExists: checkFeatureExists,
|
|
138
|
-
setAtApplicationLevelAlso: setAtApplicationLevelAlso
|
|
139
|
-
};
|
|
140
|
-
|
|
141
|
-
return this.beginRequest<FeatureAvailability.FeatureFlag>({
|
|
142
|
-
apiVersion: "7.2-preview.1",
|
|
143
|
-
method: "PATCH",
|
|
144
|
-
routeTemplate: "_apis/FeatureFlags/{name}",
|
|
145
|
-
routeValues: {
|
|
146
|
-
name: name
|
|
147
|
-
},
|
|
148
|
-
queryParams: queryValues,
|
|
149
|
-
body: state
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
}
|