From 8d19e3f241ee9bc814e930bba62d0780870944da Mon Sep 17 00:00:00 2001 From: Juan Denis Date: Mon, 19 Jan 2026 10:23:18 -0500 Subject: [PATCH] feat(11): Add testDatabaseConnection API method for external DB validation --- frontend/src/services/api.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/services/api.js b/frontend/src/services/api.js index 169ba66b..9e262e2d 100644 --- a/frontend/src/services/api.js +++ b/frontend/src/services/api.js @@ -1470,6 +1470,13 @@ class ApiService { }); } + async testDatabaseConnection(config) { + return this.request('/templates/test-db-connection', { + method: 'POST', + body: config + }); + } + async checkAppUpdate(appId) { return this.request(`/templates/apps/${appId}/check-update`); }