mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-09 01:44:24 +08:00
* fix pr-votes for approved with suggestions counts * remove top1 result top1 result prevent from running pipeline to show in request * Update src/widgets/azuredevops/component.jsx Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com> --------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
19 lines
445 B
JavaScript
19 lines
445 B
JavaScript
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
|
|
|
const widget = {
|
|
api: "https://dev.azure.com/{organization}/{project}/_apis/{endpoint}",
|
|
proxyHandler: credentialedProxyHandler,
|
|
|
|
mappings: {
|
|
pr: {
|
|
endpoint: "git/repositories/{repositoryId}/pullrequests"
|
|
},
|
|
|
|
pipeline: {
|
|
endpoint: "build/Builds?branchName={branchName}&definitions={definitionId}"
|
|
},
|
|
},
|
|
};
|
|
|
|
export default widget;
|