From 67fd4f894bc76e38b9aa3f21a027e85b636fdade Mon Sep 17 00:00:00 2001 From: saravmajestic Date: Tue, 24 Sep 2024 07:47:11 +0530 Subject: [PATCH] fix: ts error and update lib --- src/webview_provider/newLineagePanel.ts | 2 +- .../src/lib/altimate/altimate-components.d.ts | 18 ++++++++++++++++++ .../src/lib/altimate/altimate-components.js | 2 +- webview_panels/src/lib/altimate/main.js | 4 ++-- 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/src/webview_provider/newLineagePanel.ts b/src/webview_provider/newLineagePanel.ts index 1dc4c65d3..df2dca195 100644 --- a/src/webview_provider/newLineagePanel.ts +++ b/src/webview_provider/newLineagePanel.ts @@ -617,7 +617,7 @@ export class NewLineagePanel return true; }); const bulkCompiledSql = await project.getBulkCompiledSql( - event, + event.event, modelsToCompile.filter((m) => !mappedCompiledSql[m]), ); for (const key of modelsToFetch) { diff --git a/webview_panels/src/lib/altimate/altimate-components.d.ts b/webview_panels/src/lib/altimate/altimate-components.d.ts index 535b6f478..11e6ec17a 100644 --- a/webview_panels/src/lib/altimate/altimate-components.d.ts +++ b/webview_panels/src/lib/altimate/altimate-components.d.ts @@ -303,3 +303,21 @@ declare global { } } +export declare namespace Identifiers { + const GeneratedThemeName = "ipython-theme"; + const MatplotLibDefaultParams = "_VSCode_defaultMatplotlib_Params"; + const MatplotLibFigureFormats = "_VSCode_matplotLib_FigureFormats"; + const DefaultCodeCellMarker = "# %%"; + const DefaultCommTarget = "jupyter.widget"; + const ALL_VARIABLES = "ALL_VARIABLES"; + const KERNEL_VARIABLES = "KERNEL_VARIABLES"; + const DEBUGGER_VARIABLES = "DEBUGGER_VARIABLES"; + const PYTHON_VARIABLES_REQUESTER = "PYTHON_VARIABLES_REQUESTER"; + const MULTIPLEXING_DEBUGSERVICE = "MULTIPLEXING_DEBUGSERVICE"; + const RUN_BY_LINE_DEBUGSERVICE = "RUN_BY_LINE_DEBUGSERVICE"; + const REMOTE_URI = "https://remote/"; + const REMOTE_URI_ID_PARAM = "id"; + const REMOTE_URI_HANDLE_PARAM = "uriHandle"; + const REMOTE_URI_EXTENSION_ID_PARAM = "extensionId"; +} + diff --git a/webview_panels/src/lib/altimate/altimate-components.js b/webview_panels/src/lib/altimate/altimate-components.js index 8b7ed5969..3c9059a5e 100644 --- a/webview_panels/src/lib/altimate/altimate-components.js +++ b/webview_panels/src/lib/altimate/altimate-components.js @@ -1,4 +1,4 @@ -import { A as a, m as e, l as r, C as n, k as i, i as t, h as C, D as l, L as p } from "./main.js"; +import { A as a, l as e, m as r, C as n, k as i, i as t, h as C, D as l, L as p } from "./main.js"; export { a as ApiHelper, e as CLL, diff --git a/webview_panels/src/lib/altimate/main.js b/webview_panels/src/lib/altimate/main.js index 4579f672f..97ed739fb 100644 --- a/webview_panels/src/lib/altimate/main.js +++ b/webview_panels/src/lib/altimate/main.js @@ -25014,8 +25014,8 @@ export { td as i, h as j, vh as k, - av as l, - Re as m, + Re as l, + av as m, CC as s, st as u };