mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-05 23:13:40 +01:00
19 lines
452 B
JavaScript
19 lines
452 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}&$top=1"
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default widget;
|