angles-javascript-client
Version:
This is the javascript client for the Angles Dashboard. It allows you to store your test results.
25 lines • 923 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExecutionRequests = void 0;
const BaseRequests_1 = require("./BaseRequests");
class ExecutionRequests extends BaseRequests_1.BaseRequests {
constructor(axiosInstance) {
super(axiosInstance);
}
saveExecution(saveExecutionRequest) {
return this.post(`execution/`, saveExecutionRequest);
}
// TODO: Get executions (with buildId or executionIds)
getExecution(executionId) {
return this.get(`execution/${executionId}`);
}
deleteExecution(executionId) {
return this.delete(`execution/${executionId}`);
}
// TODO: Update execution
getExecutionHistory(executionId, skip, limit) {
return this.get(`execution/${executionId}/history?&skip=${skip}&limit=${limit}`);
}
}
exports.ExecutionRequests = ExecutionRequests;
//# sourceMappingURL=ExecutionRequests.js.map