@databrainhq/plugin 0.16.17 → 0.16.18

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.
@@ -137890,7 +137890,7 @@ const P90 = new m50({
137890
137890
  data: void 0,
137891
137891
  token: void 0,
137892
137892
  refetch: void 0
137893
- }), mO = () => G0.useContext(Yh2), bO = "http://localhost:3000", GA = "/api/v2/dashboard", qy = "/api/v2/metric", lh = "/api/v3/metric", z90 = "dashboardData", G90 = `${GA}/embeddedMetric`, Y90 = "embeddedMetric", W90 = `${qy}/layout`, Wh2 = "dashboardLayout", _90 = `${GA}/scheduledReportV2`, X90 = "dashboardScheduledReportV2", K90 = `${qy}/saveLayout`, J90 = "saveLayout", q90 = `${GA}/saveScheduleReport`, $90 = "saveScheduleReport", e80 = `${GA}/deleteScheduleReport`, t80 = "deleteScheduleReport", r80 = `${GA}/createMetric`, n80 = "createMetric", i80 = `${GA}/updateMetric`, a80 = "updateMetric", o80 = `${GA}/updateAdminMetric`, s80 = "updateAdminMetric", C80 = `${GA}/generateMetric`, l80 = "generateMetric", A80 = `${GA}/datasetMetricCreation`, u80 = "datasetMetricCreation", c80 = `${GA}/previewTable`, f80 = "previewTable", d80 = `${GA}/generatetMetricData`, g80 = "/generatetMetricData", h80 = `${GA}/getOpenaiChatResponse`, E80 = "getOpenaiChatResponse", p80 = `${GA}/getDashboardScreenshot`, v80 = `${GA}/createDashboardFilterView`, I80 = "createDashboardFilterView", m80 = `${GA}/getDashboardFilterView`, b80 = "getDashboardFilterView", B80 = `${GA}/getTheme`, y80 = "getTheme", L80 = `${lh}/query`, w80 = "query", Q80 = `${lh}/datasetMetricCreation`, M80 = "newDatasetMetricCreation", T80 = `${lh}/generateDataReport`, x80 = "generateDataReport", R80 = `${lh}/chatQuery`, H80 = "chatQuery", D80 = `${qy}/rawDownloadSettings`, S80 = "rawDownloadSettings", N80 = `${qy}/column`, V80 = "column", k80 = `${qy}/underlyingData`, O80 = "underlyingData", P80 = `${qy}/invokeShareCsv`, Z80 = "invokeShareCsv", F80 = `${lh}/markArchived`, U80 = "markArchived", j80 = `${lh}/publishMetrics`, z80 = "publishMetrics", G80 = `${lh}/download-csv`, Y80 = `${lh}/downloadDashboardMetrics`, W80 = "IS_LOADING", _80 = "DATA_LOADED", X80 = `${lh}/summarizeMetric`, K80 = "summarizeMetric", J80 = `${lh}/createGuestTokenUsageLog`, q80 = "createGuestTokenUsageLog", $80 = "ENTER_FULL_SCREEN_MODE", Cn2 = "EXIT_FULL_SCREEN_MODE", e40 = "ENTER_SCHEDULED_REPORT_MODE", t40 = "SAVE_SCHEDULED_REPORT", ln2 = "EXIT_SCHEDULED_REPORT_MODE", r40 = "ENTER_CUSTOMIZE_LAYOUT_MODE", An2 = "EXIT_CUSTOMIZE_LAYOUT_MODE", un2 = "SAVE_LAYOUT", n40 = "ENTER_MANAGE_METRICS_MODE", cn2 = "EXIT_MANAGE_METRICS_MODE", i40 = "SAVE_MANAGE_METRICS", a40 = "ARCHIVE_METRIC", fn2 = "DOWNLOAD_METRIC", dn2 = "DOWNLOAD_METRIC_WITHOUT_FILTERS", o40 = "SAVE_METRIC_PNG", s40 = "METRIC_FILTER_APPLIED", C40 = "DASHBOARD_FILTER_APPLIED", l40 = "CREATE_METRIC", gn2 = "UPDATE_METRIC", Vq = () => localStorage.getItem(NL2), BO = () => {
137893
+ }), mO = () => G0.useContext(Yh2), bO = "https://api.usedatabrain.com", GA = "/api/v2/dashboard", qy = "/api/v2/metric", lh = "/api/v3/metric", z90 = "dashboardData", G90 = `${GA}/embeddedMetric`, Y90 = "embeddedMetric", W90 = `${qy}/layout`, Wh2 = "dashboardLayout", _90 = `${GA}/scheduledReportV2`, X90 = "dashboardScheduledReportV2", K90 = `${qy}/saveLayout`, J90 = "saveLayout", q90 = `${GA}/saveScheduleReport`, $90 = "saveScheduleReport", e80 = `${GA}/deleteScheduleReport`, t80 = "deleteScheduleReport", r80 = `${GA}/createMetric`, n80 = "createMetric", i80 = `${GA}/updateMetric`, a80 = "updateMetric", o80 = `${GA}/updateAdminMetric`, s80 = "updateAdminMetric", C80 = `${GA}/generateMetric`, l80 = "generateMetric", A80 = `${GA}/datasetMetricCreation`, u80 = "datasetMetricCreation", c80 = `${GA}/previewTable`, f80 = "previewTable", d80 = `${GA}/generatetMetricData`, g80 = "/generatetMetricData", h80 = `${GA}/getOpenaiChatResponse`, E80 = "getOpenaiChatResponse", p80 = `${GA}/getDashboardScreenshot`, v80 = `${GA}/createDashboardFilterView`, I80 = "createDashboardFilterView", m80 = `${GA}/getDashboardFilterView`, b80 = "getDashboardFilterView", B80 = `${GA}/getTheme`, y80 = "getTheme", L80 = `${lh}/query`, w80 = "query", Q80 = `${lh}/datasetMetricCreation`, M80 = "newDatasetMetricCreation", T80 = `${lh}/generateDataReport`, x80 = "generateDataReport", R80 = `${lh}/chatQuery`, H80 = "chatQuery", D80 = `${qy}/rawDownloadSettings`, S80 = "rawDownloadSettings", N80 = `${qy}/column`, V80 = "column", k80 = `${qy}/underlyingData`, O80 = "underlyingData", P80 = `${qy}/invokeShareCsv`, Z80 = "invokeShareCsv", F80 = `${lh}/markArchived`, U80 = "markArchived", j80 = `${lh}/publishMetrics`, z80 = "publishMetrics", G80 = `${lh}/download-csv`, Y80 = `${lh}/downloadDashboardMetrics`, W80 = "IS_LOADING", _80 = "DATA_LOADED", X80 = `${lh}/summarizeMetric`, K80 = "summarizeMetric", J80 = `${lh}/createGuestTokenUsageLog`, q80 = "createGuestTokenUsageLog", $80 = "ENTER_FULL_SCREEN_MODE", Cn2 = "EXIT_FULL_SCREEN_MODE", e40 = "ENTER_SCHEDULED_REPORT_MODE", t40 = "SAVE_SCHEDULED_REPORT", ln2 = "EXIT_SCHEDULED_REPORT_MODE", r40 = "ENTER_CUSTOMIZE_LAYOUT_MODE", An2 = "EXIT_CUSTOMIZE_LAYOUT_MODE", un2 = "SAVE_LAYOUT", n40 = "ENTER_MANAGE_METRICS_MODE", cn2 = "EXIT_MANAGE_METRICS_MODE", i40 = "SAVE_MANAGE_METRICS", a40 = "ARCHIVE_METRIC", fn2 = "DOWNLOAD_METRIC", dn2 = "DOWNLOAD_METRIC_WITHOUT_FILTERS", o40 = "SAVE_METRIC_PNG", s40 = "METRIC_FILTER_APPLIED", C40 = "DASHBOARD_FILTER_APPLIED", l40 = "CREATE_METRIC", gn2 = "UPDATE_METRIC", Vq = () => localStorage.getItem(NL2), BO = () => {
137894
137894
  var a, o, s;
137895
137895
  const t = ((a = window == null ? void 0 : window.dbn) == null ? void 0 : a.proxyAuthUrl) || "", n = ((o = window == null ? void 0 : window.dbn) == null ? void 0 : o.proxyAuthKey) || "";
137896
137896
  return ((s = window == null ? void 0 : window.dbn) == null ? void 0 : s.isEnableProxyAuth) || !1 ? { "X-Proxy-Auth-key": n, "X-Proxy-Auth-Url": t } : null;