yamchart 0.5.3 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{dev-7SWSX2X7.js → dev-37GFXLDB.js} +18 -2
- package/dist/dev-37GFXLDB.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/public/assets/{LoginPage-BhzP7Hkq.js → LoginPage-NNsbTBPo.js} +1 -1
- package/dist/public/assets/{PublicViewer-owhT_M21.js → PublicViewer-DDsvIFas.js} +1 -1
- package/dist/public/assets/{SetupWizard-BbV-9haQ.js → SetupWizard-CY-o51--.js} +1 -1
- package/dist/public/assets/{ShareManagement-BWDdV-hd.js → ShareManagement-B-Kz0tT8.js} +1 -1
- package/dist/public/assets/{UserManagement-DGGk6XAr.js → UserManagement-B6LjBcOb.js} +1 -1
- package/dist/public/assets/{index-Ce_q4or4.js → index-IDI-DDZi.js} +11 -11
- package/dist/public/assets/{index.es-DZ9bSPjd.js → index.es-DK8yr16j.js} +1 -1
- package/dist/public/assets/{jspdf.es.min-BZhCusuH.js → jspdf.es.min-CDLoTXR9.js} +3 -3
- package/dist/public/index.html +1 -1
- package/dist/templates/default/docs/yamchart-reference.md +2 -0
- package/package.json +3 -3
- package/dist/dev-7SWSX2X7.js.map +0 -1
|
@@ -13748,9 +13748,25 @@ async function createServer(options) {
|
|
|
13748
13748
|
version: VERSION,
|
|
13749
13749
|
project: configLoader.getProject().name,
|
|
13750
13750
|
environment: process.env.NODE_ENV || "development",
|
|
13751
|
-
connection: currentConnection ? buildConnectionInfo(currentConnection) : void 0
|
|
13751
|
+
connection: currentConnection ? buildConnectionInfo(currentConnection) : void 0,
|
|
13752
|
+
connectionStatus: connector.isConnected() ? "connected" : "disconnected",
|
|
13753
|
+
authType: defaultConnection.type === "snowflake" && defaultConnection.auth ? defaultConnection.auth.type : void 0
|
|
13752
13754
|
};
|
|
13753
13755
|
});
|
|
13756
|
+
fastify.post("/api/connections/reconnect", async (_request2, reply) => {
|
|
13757
|
+
try {
|
|
13758
|
+
try {
|
|
13759
|
+
await connector.disconnect();
|
|
13760
|
+
} catch {
|
|
13761
|
+
}
|
|
13762
|
+
await connector.connect();
|
|
13763
|
+
return { success: true };
|
|
13764
|
+
} catch (err) {
|
|
13765
|
+
return reply.status(500).send({
|
|
13766
|
+
error: err instanceof Error ? err.message : "Reconnection failed"
|
|
13767
|
+
});
|
|
13768
|
+
}
|
|
13769
|
+
});
|
|
13754
13770
|
if (authDb) {
|
|
13755
13771
|
const secureCookies = process.env.NODE_ENV === "production";
|
|
13756
13772
|
const sessionTtlMs = options.localAuth.sessionTtlMs;
|
|
@@ -14007,4 +14023,4 @@ async function runDevServer(projectDir, options) {
|
|
|
14007
14023
|
export {
|
|
14008
14024
|
runDevServer
|
|
14009
14025
|
};
|
|
14010
|
-
//# sourceMappingURL=dev-
|
|
14026
|
+
//# sourceMappingURL=dev-37GFXLDB.js.map
|