donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
20 lines • 606 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.VersionApi = void 0;
const MiscUtils_1 = require("../utils/MiscUtils");
/**
* API endpoint that returns the version number packaged with the application.
*/
class VersionApi {
/**
* Express route handler that returns the application version.
*
* @param req - Express request object
* @param res - Express response object
*/
async version(_req, res) {
res.send(MiscUtils_1.MiscUtils.DONOBU_VERSION);
}
}
exports.VersionApi = VersionApi;
//# sourceMappingURL=VersionApi.js.map