You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
452 B
19 lines
452 B
1 year ago
|
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;
|