2023-07-30 08:17:30 +03:00
|
|
|
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
|
|
|
|
|
|
|
const widget = {
|
|
|
|
api: "https://dev.azure.com/{organization}/{project}/_apis/{endpoint}",
|
|
|
|
proxyHandler: credentialedProxyHandler,
|
|
|
|
|
|
|
|
mappings: {
|
|
|
|
pr: {
|
2023-10-17 23:26:55 -07:00
|
|
|
endpoint: "git/repositories/{repositoryId}/pullrequests",
|
2023-07-30 08:17:30 +03:00
|
|
|
},
|
2023-10-17 23:26:55 -07:00
|
|
|
|
2023-07-30 08:17:30 +03:00
|
|
|
pipeline: {
|
2023-10-17 23:26:55 -07:00
|
|
|
endpoint: "build/Builds?branchName={branchName}&definitions={definitionId}",
|
2023-07-30 08:17:30 +03:00
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
export default widget;
|