@lunora/studio 1.0.0-alpha.30 → 1.0.0-alpha.32
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/index.d.ts +3 -3
- package/dist/index.js +10 -10
- package/dist/mount.d.ts +1 -1
- package/dist/mount.js +3 -2
- package/dist/packem_chunks/ApiTab.js +3 -3
- package/dist/packem_chunks/AuditPanel.js +7 -7
- package/dist/packem_chunks/ExportImportPanel.js +5 -4
- package/dist/packem_chunks/FileBrowser.js +2 -2
- package/dist/packem_chunks/FunctionRunner.js +1 -1
- package/dist/packem_chunks/FunctionStatsPanel.js +72 -70
- package/dist/packem_chunks/HealthPanel.js +3 -3
- package/dist/packem_chunks/InsightsPanel.js +4 -3
- package/dist/packem_chunks/LogsPanel.js +6 -6
- package/dist/packem_chunks/MailPanel.js +8 -7
- package/dist/packem_chunks/MetricsPanel.js +3 -3
- package/dist/packem_chunks/MigrationsPanel.js +7 -7
- package/dist/packem_chunks/PitrPanel.js +1 -1
- package/dist/packem_chunks/SchemaViewer.js +3 -2
- package/dist/packem_chunks/SecurityAdvisorPanel.js +11 -8
- package/dist/packem_chunks/SettingsPanel.js +50 -49
- package/dist/packem_chunks/SqlEditorPanel.js +5 -4
- package/dist/packem_chunks/TableEditor.js +3 -3
- package/dist/packem_chunks/analytics-panel.js +1 -1
- package/dist/packem_chunks/auth-config-panel.js +1 -1
- package/dist/packem_chunks/auth-sessions-panel.js +2 -2
- package/dist/packem_chunks/containers-panel.js +247 -0
- package/dist/packem_chunks/dashboards-panel.js +3 -2
- package/dist/packem_chunks/fanout-panel.js +31 -30
- package/dist/packem_chunks/flags-panel.js +6 -6
- package/dist/packem_chunks/kv-browser.js +2 -2
- package/dist/packem_chunks/log-drains-panel.js +1 -1
- package/dist/packem_chunks/organizations-panel.js +3 -3
- package/dist/packem_chunks/payments-panel.js +6 -5
- package/dist/packem_chunks/permissions-panel.js +12 -11
- package/dist/packem_chunks/queues-panel.js +32 -31
- package/dist/packem_chunks/rls-panel.js +86 -84
- package/dist/packem_chunks/schedule-panel.js +3 -3
- package/dist/packem_chunks/sparkline.js +1 -1
- package/dist/packem_chunks/storage-rules-panel.js +27 -25
- package/dist/packem_chunks/subscriptions-panel.js +33 -31
- package/dist/packem_chunks/users-panel.js +3 -3
- package/dist/packem_chunks/vector-browser.js +1 -1
- package/dist/packem_chunks/workflows-panel.js +2 -2
- package/dist/packem_shared/{ApiDocsPanel-B6u_wnz-.js → ApiDocsPanel-Cu6mD4u7.js} +1 -1
- package/dist/packem_shared/{ApiReferencePanel-Drz4UO0a.js → ApiReferencePanel-Co_wpRF2.js} +1 -1
- package/dist/packem_shared/{CommandPalette-B5BertvU.js → CommandPalette-BUPpbpMc.js} +1 -1
- package/dist/packem_shared/{DataBrowser-ANTHLWWh.js → DataBrowser-DSNK1tPg.js} +5 -5
- package/dist/packem_shared/{GlobalDataBrowser-CjgTG_wa.js → GlobalDataBrowser-ErfvIs1S.js} +3 -3
- package/dist/packem_shared/{HomePanel-c2FodE9t.js → HomePanel-DQk3P8xX.js} +3 -3
- package/dist/packem_shared/{OpenRpcReferencePanel-CspFdbUT.js → OpenRpcReferencePanel-DLWzrIx9.js} +1 -1
- package/dist/packem_shared/{ScheduledJobs-BEJXtsBn.js → ScheduledJobs-ClaNpZsg.js} +2 -2
- package/dist/packem_shared/{Studio-CVTtA_sB.js → Studio-CFTYGEUt.js} +4 -4
- package/dist/packem_shared/{StudioApp-BSYV2fz6.js → StudioApp-Cy9vUwVl.js} +1 -1
- package/dist/packem_shared/{advisor-view-DzqyvUU3.js → advisor-view-D3-U4kRR.js} +5 -5
- package/dist/packem_shared/alert-CdAET2K_.js +68 -0
- package/dist/packem_shared/{app.d-B6MyY_al.d.ts → app.d-CNLRTrWw.d.ts} +1 -1
- package/dist/packem_shared/{bar-chart-Bb__F5-u.js → bar-chart-DSwcWIRy.js} +4 -3
- package/dist/packem_shared/{browser-storage-d03UsV7v.js → browser-storage-tLOxkIHd.js} +3 -67
- package/dist/packem_shared/{data-grid-Dsg6nRjo.js → data-grid-Jz8FqQ2C.js} +1 -1
- package/dist/packem_shared/error-alert-BBT6D22d.js +114 -0
- package/dist/packem_shared/{grid-features-D7nNzBYm.js → grid-features-CUr8Z1_O.js} +1 -1
- package/dist/packem_shared/{home-panel-aOR_drVv.js → home-panel-Bo-Mgrkn.js} +4 -2
- package/dist/packem_shared/{internal-FcNZ3beb.js → internal-DTsYVn-g.js} +30 -1
- package/dist/packem_shared/{reference-view-Doy1XlQq.js → reference-view-CSKyUyPl.js} +3 -2
- package/dist/packem_shared/{sparkline-KgMPHS4u.js → sparkline-BnA1kC9X.js} +1 -1
- package/dist/packem_shared/{studio-dMTJ-kRR.js → studio-Dg2e-dsR.js} +587 -560
- package/dist/packem_shared/{table-list-sidebar-VMo0ftxD.js → table-list-sidebar-B5psdSV1.js} +1 -1
- package/dist/packem_shared/{use-admin-query-BViPA3US.js → use-admin-query-BHPKmPuj.js} +2 -1
- package/dist/packem_shared/{use-auth-capabilities-BHkoBnbZ.js → use-auth-capabilities-C-VH0oJJ.js} +1 -1
- package/dist/standalone/{chunk-N4JI6VQD.js → chunk-25VHPD2I.js} +1 -1
- package/dist/standalone/chunk-2GGMGPEP.js +1 -0
- package/dist/standalone/{chunk-BHTPZS7L.js → chunk-3CJW6NWG.js} +1 -1
- package/dist/standalone/chunk-4H2OJBXO.js +1 -0
- package/dist/standalone/chunk-4MLAVZP4.js +1 -0
- package/dist/standalone/chunk-55YA7ZZI.js +76 -0
- package/dist/standalone/chunk-5OH3VPZF.js +1 -0
- package/dist/standalone/chunk-6GFEVKJP.js +1 -0
- package/dist/standalone/{chunk-ITLLHEVG.js → chunk-764T6X6X.js} +1 -1
- package/dist/standalone/chunk-7M3F6U4L.js +1 -0
- package/dist/standalone/{chunk-KGS7KM4A.js → chunk-7VF3IAAW.js} +1 -1
- package/dist/standalone/chunk-AJIUI7DD.js +1 -0
- package/dist/standalone/{chunk-5NSZVXCS.js → chunk-BACPICH6.js} +1 -1
- package/dist/standalone/chunk-BET2625I.js +1 -0
- package/dist/standalone/chunk-BQUQS7QN.js +1 -0
- package/dist/standalone/chunk-CKSHCYGC.js +2 -0
- package/dist/standalone/chunk-DCECRP45.js +1 -0
- package/dist/standalone/chunk-DFP2DADO.js +1 -0
- package/dist/standalone/chunk-DORBUITF.js +1 -0
- package/dist/standalone/chunk-DVKPRFIJ.js +1 -0
- package/dist/standalone/chunk-E6WUCLSI.js +1 -0
- package/dist/standalone/chunk-E7WLF6IU.js +1 -0
- package/dist/standalone/chunk-EVPLBWUT.js +8 -0
- package/dist/standalone/chunk-FCSPAJW4.js +1 -0
- package/dist/standalone/chunk-G2ICR3DL.js +1 -0
- package/dist/standalone/{chunk-2DS7JLWL.js → chunk-GJ6PGSES.js} +5 -5
- package/dist/standalone/chunk-GMSGZDDH.js +13 -0
- package/dist/standalone/chunk-GVRM4U6W.js +2 -0
- package/dist/standalone/chunk-GZDWDDXN.js +1 -0
- package/dist/standalone/chunk-ISJAJWYI.js +1 -0
- package/dist/standalone/{chunk-G2TFEWEQ.js → chunk-JIDZFLTB.js} +1 -1
- package/dist/standalone/{chunk-RMYA7NAH.js → chunk-K3GNLVYK.js} +1 -1
- package/dist/standalone/chunk-K4ZDRTQM.js +1 -0
- package/dist/standalone/{chunk-ASLGNHAX.js → chunk-LI43EKM6.js} +1 -1
- package/dist/standalone/chunk-MFPTVCJ6.js +1 -0
- package/dist/standalone/chunk-MPYFGAOW.js +1 -0
- package/dist/standalone/{chunk-TICVNLPM.js → chunk-O3NAGRTR.js} +1 -1
- package/dist/standalone/chunk-OV2WFAJX.js +1 -0
- package/dist/standalone/chunk-PA3LN4XJ.js +1 -0
- package/dist/standalone/chunk-PD6WPVYU.js +1 -0
- package/dist/standalone/{chunk-7PBZKXYA.js → chunk-PN5NCZDX.js} +1 -1
- package/dist/standalone/{chunk-YJGANMU7.js → chunk-PVZI3CXP.js} +10 -9
- package/dist/standalone/chunk-PZ7HD5T2.js +1 -0
- package/dist/standalone/{chunk-UGMRUEBU.js → chunk-QAFAJBAW.js} +1 -1
- package/dist/standalone/{chunk-6VTGE3WJ.js → chunk-QBAT52GB.js} +1 -1
- package/dist/standalone/chunk-QHIIRFG7.js +1 -0
- package/dist/standalone/chunk-RSEEHNFI.js +1 -0
- package/dist/standalone/chunk-SFJ5F4DX.js +1 -0
- package/dist/standalone/{chunk-3BP4BTLR.js → chunk-SGDQIWAR.js} +3 -3
- package/dist/standalone/chunk-SYEIXTEU.js +1 -0
- package/dist/standalone/chunk-T5HRXUSY.js +1 -0
- package/dist/standalone/{chunk-OD2POGPJ.js → chunk-TDL7NEWA.js} +1 -1
- package/dist/standalone/chunk-TM7CMA7X.js +1 -0
- package/dist/standalone/chunk-U4OAQPBT.js +1 -0
- package/dist/standalone/chunk-UDSVXA42.js +1 -0
- package/dist/standalone/chunk-UK64ZSUW.js +1 -0
- package/dist/standalone/chunk-VEZO7G5Q.js +3 -0
- package/dist/standalone/chunk-VSHUSN6T.js +1 -0
- package/dist/standalone/chunk-VYMCCC6O.js +1 -0
- package/dist/standalone/{chunk-7RYIQKZA.js → chunk-WXPWVBIY.js} +1 -1
- package/dist/standalone/chunk-X72PYOEW.js +1 -0
- package/dist/standalone/chunk-X7MMBSNW.js +1 -0
- package/dist/standalone/{chunk-6RC6L33K.js → chunk-XIGIWZLO.js} +3 -3
- package/dist/standalone/chunk-XNJNSCLM.js +1 -0
- package/dist/standalone/{chunk-NNISYDNI.js → chunk-XUGSA2NG.js} +1 -1
- package/dist/standalone/{chunk-VXBZQIGY.js → chunk-Y2ZPNDL7.js} +1 -1
- package/dist/standalone/chunk-YM6BBZDN.js +1 -0
- package/dist/standalone/chunk-ZHVTQ37P.js +1 -0
- package/dist/standalone/chunk-ZPP2KOR4.js +1 -0
- package/dist/standalone/studio.js +30 -30
- package/dist/styles.css +1 -1
- package/package.json +6 -5
- package/dist/standalone/chunk-2PDQ4KZ6.js +0 -1
- package/dist/standalone/chunk-57LYXHXH.js +0 -1
- package/dist/standalone/chunk-63XKJQTQ.js +0 -1
- package/dist/standalone/chunk-7POIIWC5.js +0 -3
- package/dist/standalone/chunk-AB6QGMBF.js +0 -1
- package/dist/standalone/chunk-D7HKX4DI.js +0 -1
- package/dist/standalone/chunk-DGWTR4G7.js +0 -1
- package/dist/standalone/chunk-DSX53PBM.js +0 -1
- package/dist/standalone/chunk-DV2MNASX.js +0 -1
- package/dist/standalone/chunk-E7AVZZKO.js +0 -1
- package/dist/standalone/chunk-EGJX34WM.js +0 -1
- package/dist/standalone/chunk-FCR3HKFV.js +0 -1
- package/dist/standalone/chunk-FQKNJSRA.js +0 -76
- package/dist/standalone/chunk-GABMIICA.js +0 -1
- package/dist/standalone/chunk-GZXPPJVK.js +0 -1
- package/dist/standalone/chunk-HFBRE65A.js +0 -1
- package/dist/standalone/chunk-HFMQNUBC.js +0 -1
- package/dist/standalone/chunk-HG7Q5B3H.js +0 -1
- package/dist/standalone/chunk-HTQL7AXU.js +0 -1
- package/dist/standalone/chunk-KG3QTFWE.js +0 -1
- package/dist/standalone/chunk-KODWGUAB.js +0 -1
- package/dist/standalone/chunk-MGFEVTRI.js +0 -1
- package/dist/standalone/chunk-N2QDG3MW.js +0 -1
- package/dist/standalone/chunk-O4PXDNR3.js +0 -1
- package/dist/standalone/chunk-OXCK3ZUG.js +0 -1
- package/dist/standalone/chunk-P7DSVO4U.js +0 -1
- package/dist/standalone/chunk-PKAM3N5C.js +0 -1
- package/dist/standalone/chunk-QGXGBHQO.js +0 -1
- package/dist/standalone/chunk-QHA3TAEJ.js +0 -1
- package/dist/standalone/chunk-QQWC62X7.js +0 -1
- package/dist/standalone/chunk-S53RUBW5.js +0 -1
- package/dist/standalone/chunk-SB4GT6PK.js +0 -1
- package/dist/standalone/chunk-SHIOUDOT.js +0 -1
- package/dist/standalone/chunk-SIDRSX7Y.js +0 -1
- package/dist/standalone/chunk-VJPQUBN6.js +0 -8
- package/dist/standalone/chunk-VMJKJWG6.js +0 -1
- package/dist/standalone/chunk-VPDPN5RR.js +0 -2
- package/dist/standalone/chunk-VSEGZA3J.js +0 -1
- package/dist/standalone/chunk-W7PCVQTE.js +0 -1
- package/dist/standalone/chunk-XLILSHPE.js +0 -1
- package/dist/standalone/chunk-XURNGQSS.js +0 -1
- package/dist/standalone/chunk-YQQJ4N6U.js +0 -1
- package/dist/standalone/chunk-ZH7UES4T.js +0 -2
- package/dist/standalone/chunk-ZQCVDXDL.js +0 -1
|
@@ -5,14 +5,14 @@ import ConnectionBadge from '../packem_shared/ConnectionBadge-B2DDM2Tn.js';
|
|
|
5
5
|
import { L as LiveError } from '../packem_shared/live-status-FZ0psC1z.js';
|
|
6
6
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
7
7
|
import { C as Card } from '../packem_shared/card-DURq3ElK.js';
|
|
8
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
8
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BHPKmPuj.js';
|
|
9
9
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
10
10
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
|
|
11
|
-
import { f as fireAndForget,
|
|
11
|
+
import { f as fireAndForget, i as formatTimestamp, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-DTsYVn-g.js';
|
|
12
12
|
import { l as loadRecentShards } from '../packem_shared/shard-history-DyebH1R5.js';
|
|
13
13
|
import { c as cn } from '../packem_shared/utils-B05Dmz_H.js';
|
|
14
14
|
import { shardsToAggregate } from '../packem_shared/aggregateMetrics-D4nUHEKU.js';
|
|
15
|
-
import { S as Sparkline } from '../packem_shared/sparkline-
|
|
15
|
+
import { S as Sparkline } from '../packem_shared/sparkline-BnA1kC9X.js';
|
|
16
16
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
17
17
|
|
|
18
18
|
const STATUS_RANK = {
|
|
@@ -4,13 +4,13 @@ import { useNavigate } from '@tanstack/react-router';
|
|
|
4
4
|
import { useState, useRef, useCallback, useEffect, useMemo } from 'react';
|
|
5
5
|
import { ShardInput } from '../packem_shared/ShardInput-gx_DZXXn.js';
|
|
6
6
|
import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
7
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
7
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BHPKmPuj.js';
|
|
8
8
|
import useDebounced from '../packem_shared/useDebounced-Dxncpg6z.js';
|
|
9
9
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
10
10
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
|
|
11
|
-
import { f as fireAndForget, c as callOptions, a as adminRef } from '../packem_shared/internal-
|
|
11
|
+
import { f as fireAndForget, c as callOptions, a as adminRef } from '../packem_shared/internal-DTsYVn-g.js';
|
|
12
12
|
import { r as recordShard } from '../packem_shared/shard-history-DyebH1R5.js';
|
|
13
|
-
import { a as advisoryRow, A as AdvisorView } from '../packem_shared/advisor-view-
|
|
13
|
+
import { a as advisoryRow, A as AdvisorView } from '../packem_shared/advisor-view-D3-U4kRR.js';
|
|
14
14
|
import { ConfirmButton } from '../packem_shared/ConfirmButton-C2eVi2Qv.js';
|
|
15
15
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
16
16
|
import { deriveInsights } from '../packem_shared/DEFAULT_INSIGHT_THRESHOLDS-DjF0h-gA.js';
|
|
@@ -452,6 +452,7 @@ const InsightsPanel = ({
|
|
|
452
452
|
}, void 0, false);
|
|
453
453
|
return /* @__PURE__ */ jsxDEV(AdvisorView, {
|
|
454
454
|
error,
|
|
455
|
+
errorSource: error === null ? void 0 : metricsQuery.errorSource,
|
|
455
456
|
rows,
|
|
456
457
|
testId: "lunora-insights",
|
|
457
458
|
toolbar
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { useVirtualizer } from '@tanstack/react-virtual';
|
|
3
3
|
import { useState, useEffect, useMemo, useRef } from 'react';
|
|
4
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-BBT6D22d.js';
|
|
4
5
|
import { L as LiveError } from '../packem_shared/live-status-FZ0psC1z.js';
|
|
5
6
|
import { ShardInput } from '../packem_shared/ShardInput-gx_DZXXn.js';
|
|
6
7
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
7
8
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
8
9
|
import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
|
|
9
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
10
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BHPKmPuj.js';
|
|
10
11
|
import useDebounced from '../packem_shared/useDebounced-Dxncpg6z.js';
|
|
11
12
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
12
13
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
|
|
@@ -516,6 +517,7 @@ const LogsPanel = ({
|
|
|
516
517
|
const activeQuery = view === "requests" ? requestsQuery : errorsQuery;
|
|
517
518
|
const {
|
|
518
519
|
error,
|
|
520
|
+
errorSource,
|
|
519
521
|
isLoading: activeLoading,
|
|
520
522
|
liveError
|
|
521
523
|
} = activeQuery;
|
|
@@ -743,11 +745,9 @@ const LogsPanel = ({
|
|
|
743
745
|
children: t("error")
|
|
744
746
|
}, void 0, false)]
|
|
745
747
|
}, void 0, true)]
|
|
746
|
-
}, void 0, true), readout === "error" && /* @__PURE__ */ jsxDEV(
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
role: "alert",
|
|
750
|
-
children: error
|
|
748
|
+
}, void 0, true), readout === "error" && /* @__PURE__ */ jsxDEV(ErrorAlert, {
|
|
749
|
+
error: errorSource,
|
|
750
|
+
testId: "lg-error"
|
|
751
751
|
}, void 0, false), readout === "empty" && /* @__PURE__ */ jsxDEV(EmptyState, {
|
|
752
752
|
description: t("Function and request logs for this shard show up here as your app handles traffic."),
|
|
753
753
|
icon: /* @__PURE__ */ jsxDEV("svg", {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { useLunora } from '@lunora/react';
|
|
3
3
|
import { useState, useMemo } from 'react';
|
|
4
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-BBT6D22d.js';
|
|
4
5
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
5
6
|
import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
6
7
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
@@ -10,11 +11,11 @@ import { ScrollArea as ScrollArea$1 } from '@base-ui/react/scroll-area';
|
|
|
10
11
|
import { c as cn } from '../packem_shared/utils-B05Dmz_H.js';
|
|
11
12
|
import { jsxDEV, Fragment } from 'react/jsx-dev-runtime';
|
|
12
13
|
import { Separator as Separator$1 } from '@base-ui/react/separator';
|
|
13
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
14
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BHPKmPuj.js';
|
|
14
15
|
import { useAutoRefresh } from '../packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
15
16
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
16
17
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
|
|
17
|
-
import {
|
|
18
|
+
import { i as formatTimestamp, f as fireAndForget, g as copyToClipboard, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-DTsYVn-g.js';
|
|
18
19
|
|
|
19
20
|
function Separator({
|
|
20
21
|
className,
|
|
@@ -147,6 +148,7 @@ const MailPanel = ({
|
|
|
147
148
|
const {
|
|
148
149
|
data,
|
|
149
150
|
error: readError,
|
|
151
|
+
errorSource: readErrorSource,
|
|
150
152
|
isLoading,
|
|
151
153
|
refetch
|
|
152
154
|
} = useAdminQuery(ADMIN_FUNCTIONS.getCapturedMail, {
|
|
@@ -158,6 +160,7 @@ const MailPanel = ({
|
|
|
158
160
|
const [filter, setFilter] = useState("");
|
|
159
161
|
const entries = useMemo(() => data?.entries ?? [], [data]);
|
|
160
162
|
const error = readError ?? actionError;
|
|
163
|
+
const errorSource = readError === null ? actionError : readErrorSource;
|
|
161
164
|
const clearInbox = async () => {
|
|
162
165
|
setActionError(null);
|
|
163
166
|
try {
|
|
@@ -264,11 +267,9 @@ const MailPanel = ({
|
|
|
264
267
|
count: entries.length
|
|
265
268
|
})
|
|
266
269
|
}, void 0, false)]
|
|
267
|
-
}, void 0, true), error !== null && /* @__PURE__ */ jsxDEV(
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
role: "alert",
|
|
271
|
-
children: error
|
|
270
|
+
}, void 0, true), error !== null && /* @__PURE__ */ jsxDEV(ErrorAlert, {
|
|
271
|
+
error: errorSource,
|
|
272
|
+
testId: "mail-error"
|
|
272
273
|
}, void 0, false), error === null && !isLoading && entries.length === 0 && /* @__PURE__ */ jsxDEV(EmptyState, {
|
|
273
274
|
description: t("Email your app sends in dev is captured here — nothing is delivered."),
|
|
274
275
|
icon: /* @__PURE__ */ jsxDEV("svg", {
|
|
@@ -6,18 +6,18 @@ import { ShardInput } from '../packem_shared/ShardInput-gx_DZXXn.js';
|
|
|
6
6
|
import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
7
7
|
import { a as CardContent, C as Card, b as CardHeader, c as CardTitle, d as CardDescription } from '../packem_shared/card-DURq3ElK.js';
|
|
8
8
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
9
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
9
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BHPKmPuj.js';
|
|
10
10
|
import useDebounced from '../packem_shared/useDebounced-Dxncpg6z.js';
|
|
11
11
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
12
12
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
|
|
13
13
|
import { c as CLOUDFLARE_DURABLE_OBJECTS_URL } from '../packem_shared/cf-links-BZfRdxSE.js';
|
|
14
|
-
import {
|
|
14
|
+
import { j as formatBytes, f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-DTsYVn-g.js';
|
|
15
15
|
import { r as recordShard, l as loadRecentShards } from '../packem_shared/shard-history-DyebH1R5.js';
|
|
16
16
|
import { aggregateMetrics, computeLatencyPercentiles, enrichQueryStats, shardsToAggregate } from '../packem_shared/aggregateMetrics-D4nUHEKU.js';
|
|
17
17
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
18
18
|
import { S as SelectValue, a as SelectTrigger, b as SelectItem, c as SelectContent, d as Select } from '../packem_shared/select-UkNYCT3s.js';
|
|
19
19
|
import { jsxDEV, Fragment } from 'react/jsx-dev-runtime';
|
|
20
|
-
import { S as Sparkline } from '../packem_shared/sparkline-
|
|
20
|
+
import { S as Sparkline } from '../packem_shared/sparkline-BnA1kC9X.js';
|
|
21
21
|
|
|
22
22
|
const performanceLevel = (avgMs) => {
|
|
23
23
|
if (avgMs >= 100) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { useLunora } from '@lunora/react';
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
3
|
import { ConfirmButton } from '../packem_shared/ConfirmButton-C2eVi2Qv.js';
|
|
4
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-BBT6D22d.js';
|
|
4
5
|
import { L as LiveError } from '../packem_shared/live-status-FZ0psC1z.js';
|
|
5
6
|
import { ShardInput } from '../packem_shared/ShardInput-gx_DZXXn.js';
|
|
6
7
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
@@ -10,11 +11,11 @@ import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
|
10
11
|
import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
|
|
11
12
|
import { L as Label } from '../packem_shared/label-D8ykjn5J.js';
|
|
12
13
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
13
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
14
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BHPKmPuj.js';
|
|
14
15
|
import useDebounced from '../packem_shared/useDebounced-Dxncpg6z.js';
|
|
15
16
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
16
17
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
|
|
17
|
-
import {
|
|
18
|
+
import { i as formatTimestamp, f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-DTsYVn-g.js';
|
|
18
19
|
import { r as recordShard } from '../packem_shared/shard-history-DyebH1R5.js';
|
|
19
20
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
20
21
|
|
|
@@ -40,6 +41,7 @@ const MigrationsPanel = ({
|
|
|
40
41
|
const rows = statusQuery.data?.migrations ?? null;
|
|
41
42
|
const statusError = statusQuery.error;
|
|
42
43
|
const {
|
|
44
|
+
errorSource: statusErrorSource,
|
|
43
45
|
liveError
|
|
44
46
|
} = statusQuery;
|
|
45
47
|
useEffect(() => {
|
|
@@ -96,11 +98,9 @@ const MigrationsPanel = ({
|
|
|
96
98
|
message: liveError,
|
|
97
99
|
prefix: "mg"
|
|
98
100
|
}, void 0, false)]
|
|
99
|
-
}, void 0, true), statusError !== null && /* @__PURE__ */ jsxDEV(
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
role: "alert",
|
|
103
|
-
children: statusError
|
|
101
|
+
}, void 0, true), statusError !== null && /* @__PURE__ */ jsxDEV(ErrorAlert, {
|
|
102
|
+
error: statusErrorSource,
|
|
103
|
+
testId: "mg-status-error"
|
|
104
104
|
}, void 0, false), rows !== null && rows.length === 0 && /* @__PURE__ */ jsxDEV(EmptyState, {
|
|
105
105
|
description: t("Data migrations you run against this shard will be tracked here."),
|
|
106
106
|
icon: /* @__PURE__ */ jsxDEV("svg", {
|
|
@@ -8,7 +8,7 @@ import { L as Label } from '../packem_shared/label-D8ykjn5J.js';
|
|
|
8
8
|
import { useAutoRefresh } from '../packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
9
9
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
10
10
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
|
|
11
|
-
import { c as callOptions, e as errorMessage, f as fireAndForget, a as adminRef } from '../packem_shared/internal-
|
|
11
|
+
import { c as callOptions, e as errorMessage, f as fireAndForget, a as adminRef } from '../packem_shared/internal-DTsYVn-g.js';
|
|
12
12
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
13
13
|
|
|
14
14
|
const GET_BOOKMARK = adminRef(ADMIN_FUNCTIONS.getPitrBookmark);
|
|
@@ -12,7 +12,7 @@ import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
|
|
|
12
12
|
import useDebounced from '../packem_shared/useDebounced-Dxncpg6z.js';
|
|
13
13
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
14
14
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
|
|
15
|
-
import { f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-
|
|
15
|
+
import { f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-DTsYVn-g.js';
|
|
16
16
|
import { r as recordShard } from '../packem_shared/shard-history-DyebH1R5.js';
|
|
17
17
|
import { c as cn } from '../packem_shared/utils-B05Dmz_H.js';
|
|
18
18
|
import { Download01Icon } from '@hugeicons/core-free-icons';
|
|
@@ -20,6 +20,7 @@ import { HugeiconsIcon } from '@hugeicons/react';
|
|
|
20
20
|
import { Handle, Position, getNodesBounds, getViewportForBounds, useNodesState, useEdgesState, Background, Panel, Controls, MiniMap, ReactFlow, useNodes, useReactFlow } from '@xyflow/react';
|
|
21
21
|
import { d as DropdownMenu, D as DropdownMenuTrigger, c as DropdownMenuContent, b as DropdownMenuItem } from '../packem_shared/dropdown-menu-WY4B_eJO.js';
|
|
22
22
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
23
|
+
import { LunoraError } from '@lunora/errors';
|
|
23
24
|
import { toBlob, toSvg } from 'html-to-image';
|
|
24
25
|
import { useNavigate } from '@tanstack/react-router';
|
|
25
26
|
import { L as Label } from '../packem_shared/label-D8ykjn5J.js';
|
|
@@ -340,7 +341,7 @@ const exportDiagramAsPng = async (viewportElement, nodes, filename = "schema-dia
|
|
|
340
341
|
width: IMAGE_WIDTH
|
|
341
342
|
});
|
|
342
343
|
if (blob === null) {
|
|
343
|
-
throw new
|
|
344
|
+
throw new LunoraError("INTERNAL", "html-to-image produced no blob");
|
|
344
345
|
}
|
|
345
346
|
const url = globalThis.URL.createObjectURL(blob);
|
|
346
347
|
triggerDownload(url, filename);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
2
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BHPKmPuj.js';
|
|
3
3
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
4
4
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
|
|
5
|
-
import { A as AdvisorView } from '../packem_shared/advisor-view-
|
|
5
|
+
import { A as AdvisorView } from '../packem_shared/advisor-view-D3-U4kRR.js';
|
|
6
6
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
7
7
|
|
|
8
8
|
const findingTitle = (t, finding) => ({
|
|
@@ -43,7 +43,7 @@ const findingDetail = (t, finding) => ({
|
|
|
43
43
|
"ws-gate-open": t("LUNORA_WS_BEARER is unset, so the WebSocket upgrade gate is open: live admin subscriptions need no credential. Set it to gate them like the HTTP admin RPCs.")
|
|
44
44
|
})[finding.kind];
|
|
45
45
|
const SecurityAdvisorPanel = () => {
|
|
46
|
-
const $ = c(
|
|
46
|
+
const $ = c(8);
|
|
47
47
|
const t = useT();
|
|
48
48
|
let t0;
|
|
49
49
|
if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -54,7 +54,8 @@ const SecurityAdvisorPanel = () => {
|
|
|
54
54
|
}
|
|
55
55
|
const {
|
|
56
56
|
data,
|
|
57
|
-
error
|
|
57
|
+
error,
|
|
58
|
+
errorSource
|
|
58
59
|
} = useAdminQuery(ADMIN_FUNCTIONS.getSecurityAudit, t0);
|
|
59
60
|
let t1;
|
|
60
61
|
if ($[1] !== data || $[2] !== t) {
|
|
@@ -74,17 +75,19 @@ const SecurityAdvisorPanel = () => {
|
|
|
74
75
|
}
|
|
75
76
|
const rows = t1;
|
|
76
77
|
let t2;
|
|
77
|
-
if ($[4] !== error || $[5] !== rows) {
|
|
78
|
+
if ($[4] !== error || $[5] !== errorSource || $[6] !== rows) {
|
|
78
79
|
t2 = /* @__PURE__ */ jsxDEV(AdvisorView, {
|
|
79
80
|
error,
|
|
81
|
+
errorSource,
|
|
80
82
|
rows,
|
|
81
83
|
testId: "lunora-security-advisor"
|
|
82
84
|
}, void 0, false);
|
|
83
85
|
$[4] = error;
|
|
84
|
-
$[5] =
|
|
85
|
-
$[6] =
|
|
86
|
+
$[5] = errorSource;
|
|
87
|
+
$[6] = rows;
|
|
88
|
+
$[7] = t2;
|
|
86
89
|
} else {
|
|
87
|
-
t2 = $[
|
|
90
|
+
t2 = $[7];
|
|
88
91
|
}
|
|
89
92
|
return t2;
|
|
90
93
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-BBT6D22d.js';
|
|
3
4
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
4
5
|
import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
5
6
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
6
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
7
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BHPKmPuj.js';
|
|
7
8
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
8
9
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
|
|
9
10
|
import { b as CLOUDFLARE_WORKERS_URL } from '../packem_shared/cf-links-BZfRdxSE.js';
|
|
@@ -15,7 +16,7 @@ const KIND_VARIANT = {
|
|
|
15
16
|
var: "secondary"
|
|
16
17
|
};
|
|
17
18
|
const SettingsPanel = (t0) => {
|
|
18
|
-
const $ = c(
|
|
19
|
+
const $ = c(68);
|
|
19
20
|
const {
|
|
20
21
|
initialShardKey
|
|
21
22
|
} = t0;
|
|
@@ -41,6 +42,7 @@ const SettingsPanel = (t0) => {
|
|
|
41
42
|
const {
|
|
42
43
|
data: result,
|
|
43
44
|
error,
|
|
45
|
+
errorSource,
|
|
44
46
|
isLoading: loading
|
|
45
47
|
} = useAdminQuery(ADMIN_FUNCTIONS.getSettings, t1, t3);
|
|
46
48
|
let t4;
|
|
@@ -220,20 +222,19 @@ const SettingsPanel = (t0) => {
|
|
|
220
222
|
t9 = $[39];
|
|
221
223
|
}
|
|
222
224
|
let t10;
|
|
223
|
-
if ($[40] !== error) {
|
|
224
|
-
t10 = error !== null && /* @__PURE__ */ jsxDEV(
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
role: "alert",
|
|
228
|
-
children: error
|
|
225
|
+
if ($[40] !== error || $[41] !== errorSource) {
|
|
226
|
+
t10 = error !== null && /* @__PURE__ */ jsxDEV(ErrorAlert, {
|
|
227
|
+
error: errorSource,
|
|
228
|
+
testId: "set-error"
|
|
229
229
|
}, void 0, false);
|
|
230
230
|
$[40] = error;
|
|
231
|
-
$[41] =
|
|
231
|
+
$[41] = errorSource;
|
|
232
|
+
$[42] = t10;
|
|
232
233
|
} else {
|
|
233
|
-
t10 = $[
|
|
234
|
+
t10 = $[42];
|
|
234
235
|
}
|
|
235
236
|
let t11;
|
|
236
|
-
if ($[
|
|
237
|
+
if ($[43] !== deployRows || $[44] !== t) {
|
|
237
238
|
t11 = deployRows.length > 0 && /* @__PURE__ */ jsxDEV(Card, {
|
|
238
239
|
className: "py-0",
|
|
239
240
|
"data-testid": "set-deploy",
|
|
@@ -251,22 +252,22 @@ const SettingsPanel = (t0) => {
|
|
|
251
252
|
}, void 0, false)
|
|
252
253
|
}, void 0, false)]
|
|
253
254
|
}, void 0, true);
|
|
254
|
-
$[
|
|
255
|
-
$[
|
|
256
|
-
$[
|
|
255
|
+
$[43] = deployRows;
|
|
256
|
+
$[44] = t;
|
|
257
|
+
$[45] = t11;
|
|
257
258
|
} else {
|
|
258
|
-
t11 = $[
|
|
259
|
+
t11 = $[45];
|
|
259
260
|
}
|
|
260
261
|
let t12;
|
|
261
|
-
if ($[
|
|
262
|
+
if ($[46] !== t) {
|
|
262
263
|
t12 = t("Environment & bindings");
|
|
263
|
-
$[
|
|
264
|
-
$[
|
|
264
|
+
$[46] = t;
|
|
265
|
+
$[47] = t12;
|
|
265
266
|
} else {
|
|
266
|
-
t12 = $[
|
|
267
|
+
t12 = $[47];
|
|
267
268
|
}
|
|
268
269
|
let t13;
|
|
269
|
-
if ($[
|
|
270
|
+
if ($[48] !== t12) {
|
|
270
271
|
t13 = /* @__PURE__ */ jsxDEV("header", {
|
|
271
272
|
className: "border-b border-border px-4 py-3",
|
|
272
273
|
children: /* @__PURE__ */ jsxDEV("span", {
|
|
@@ -274,28 +275,28 @@ const SettingsPanel = (t0) => {
|
|
|
274
275
|
children: t12
|
|
275
276
|
}, void 0, false)
|
|
276
277
|
}, void 0, false);
|
|
277
|
-
$[
|
|
278
|
-
$[
|
|
278
|
+
$[48] = t12;
|
|
279
|
+
$[49] = t13;
|
|
279
280
|
} else {
|
|
280
|
-
t13 = $[
|
|
281
|
+
t13 = $[49];
|
|
281
282
|
}
|
|
282
283
|
let t14;
|
|
283
|
-
if ($[
|
|
284
|
+
if ($[50] !== error || $[51] !== loading || $[52] !== settings.length || $[53] !== t) {
|
|
284
285
|
t14 = error === null && !loading && settings.length === 0 && /* @__PURE__ */ jsxDEV("p", {
|
|
285
286
|
className: "px-4 py-8 text-center text-sm text-muted-foreground",
|
|
286
287
|
"data-testid": "set-empty",
|
|
287
288
|
children: t("No environment variables or bindings.")
|
|
288
289
|
}, void 0, false);
|
|
289
|
-
$[
|
|
290
|
-
$[
|
|
291
|
-
$[
|
|
292
|
-
$[
|
|
293
|
-
$[
|
|
290
|
+
$[50] = error;
|
|
291
|
+
$[51] = loading;
|
|
292
|
+
$[52] = settings.length;
|
|
293
|
+
$[53] = t;
|
|
294
|
+
$[54] = t14;
|
|
294
295
|
} else {
|
|
295
|
-
t14 = $[
|
|
296
|
+
t14 = $[54];
|
|
296
297
|
}
|
|
297
298
|
let t15;
|
|
298
|
-
if ($[
|
|
299
|
+
if ($[55] !== settings || $[56] !== t) {
|
|
299
300
|
t15 = settings.length > 0 && /* @__PURE__ */ jsxDEV(CardContent, {
|
|
300
301
|
className: "px-0 py-0",
|
|
301
302
|
children: /* @__PURE__ */ jsxDEV(Table, {
|
|
@@ -315,40 +316,40 @@ const SettingsPanel = (t0) => {
|
|
|
315
316
|
}, void 0, false)]
|
|
316
317
|
}, void 0, true)
|
|
317
318
|
}, void 0, false);
|
|
318
|
-
$[
|
|
319
|
-
$[
|
|
320
|
-
$[
|
|
319
|
+
$[55] = settings;
|
|
320
|
+
$[56] = t;
|
|
321
|
+
$[57] = t15;
|
|
321
322
|
} else {
|
|
322
|
-
t15 = $[
|
|
323
|
+
t15 = $[57];
|
|
323
324
|
}
|
|
324
325
|
let t16;
|
|
325
|
-
if ($[
|
|
326
|
+
if ($[58] !== t13 || $[59] !== t14 || $[60] !== t15) {
|
|
326
327
|
t16 = /* @__PURE__ */ jsxDEV(Card, {
|
|
327
328
|
className: "py-0",
|
|
328
329
|
children: [t13, t14, t15]
|
|
329
330
|
}, void 0, true);
|
|
330
|
-
$[
|
|
331
|
-
$[
|
|
332
|
-
$[
|
|
333
|
-
$[
|
|
331
|
+
$[58] = t13;
|
|
332
|
+
$[59] = t14;
|
|
333
|
+
$[60] = t15;
|
|
334
|
+
$[61] = t16;
|
|
334
335
|
} else {
|
|
335
|
-
t16 = $[
|
|
336
|
+
t16 = $[61];
|
|
336
337
|
}
|
|
337
338
|
let t17;
|
|
338
|
-
if ($[
|
|
339
|
+
if ($[62] !== t10 || $[63] !== t11 || $[64] !== t16 || $[65] !== t7 || $[66] !== t9) {
|
|
339
340
|
t17 = /* @__PURE__ */ jsxDEV("div", {
|
|
340
341
|
className: "flex flex-col gap-4",
|
|
341
342
|
"data-testid": "lunora-settings",
|
|
342
343
|
children: [t7, t9, t10, t11, t16]
|
|
343
344
|
}, void 0, true);
|
|
344
|
-
$[
|
|
345
|
-
$[
|
|
346
|
-
$[
|
|
347
|
-
$[
|
|
348
|
-
$[
|
|
349
|
-
$[
|
|
345
|
+
$[62] = t10;
|
|
346
|
+
$[63] = t11;
|
|
347
|
+
$[64] = t16;
|
|
348
|
+
$[65] = t7;
|
|
349
|
+
$[66] = t9;
|
|
350
|
+
$[67] = t17;
|
|
350
351
|
} else {
|
|
351
|
-
t17 = $[
|
|
352
|
+
t17 = $[67];
|
|
352
353
|
}
|
|
353
354
|
return t17;
|
|
354
355
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { useLunora } from '@lunora/react';
|
|
3
3
|
import { useState, useRef, useEffect, useId } from 'react';
|
|
4
|
-
import { u as usePersistedList, n as newId,
|
|
4
|
+
import { u as usePersistedList, n as newId, S as SqlResultChart } from '../packem_shared/browser-storage-tLOxkIHd.js';
|
|
5
5
|
import { ShardInput } from '../packem_shared/ShardInput-gx_DZXXn.js';
|
|
6
|
+
import { A as Alert } from '../packem_shared/alert-CdAET2K_.js';
|
|
6
7
|
import { c as TableHead, a as TableHeader, b as TableRow, e as TableCell, d as TableBody, T as Table } from '../packem_shared/table-DsCa9Qp9.js';
|
|
7
8
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
8
9
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-CdaxLGkE.js';
|
|
9
|
-
import { f as fireAndForget, c as callOptions, a as adminRef, e as errorMessage } from '../packem_shared/internal-
|
|
10
|
+
import { f as fireAndForget, c as callOptions, a as adminRef, e as errorMessage } from '../packem_shared/internal-DTsYVn-g.js';
|
|
10
11
|
import { r as recordShard } from '../packem_shared/shard-history-DyebH1R5.js';
|
|
11
|
-
import { C as CellValue } from '../packem_shared/data-grid-
|
|
12
|
-
import { E as ExportMenu } from '../packem_shared/grid-features-
|
|
12
|
+
import { C as CellValue } from '../packem_shared/data-grid-Jz8FqQ2C.js';
|
|
13
|
+
import { E as ExportMenu } from '../packem_shared/grid-features-CUr8Z1_O.js';
|
|
13
14
|
import { c as cn } from '../packem_shared/utils-B05Dmz_H.js';
|
|
14
15
|
import { jsxDEV, Fragment } from 'react/jsx-dev-runtime';
|
|
15
16
|
|
|
@@ -5,9 +5,9 @@ import { useRef, useState, useEffect } from 'react';
|
|
|
5
5
|
import { T as TIER_META } from '../packem_shared/storage-tier-CL98eOvn.js';
|
|
6
6
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
7
7
|
import { s as searchToDataView, d as dataViewToSearch } from '../packem_shared/data-view-params-Cd6yRVbv.js';
|
|
8
|
-
import { f as fireAndForget } from '../packem_shared/internal-
|
|
9
|
-
import { DataBrowser } from '../packem_shared/DataBrowser-
|
|
10
|
-
import { GlobalDataBrowser } from '../packem_shared/GlobalDataBrowser-
|
|
8
|
+
import { f as fireAndForget } from '../packem_shared/internal-DTsYVn-g.js';
|
|
9
|
+
import { DataBrowser } from '../packem_shared/DataBrowser-DSNK1tPg.js';
|
|
10
|
+
import { GlobalDataBrowser } from '../packem_shared/GlobalDataBrowser-ErfvIs1S.js';
|
|
11
11
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
12
12
|
|
|
13
13
|
const STORAGE_KEY = "lunora-studio-saved-queries";
|
|
@@ -5,7 +5,7 @@ import { C as Card } from '../packem_shared/card-DURq3ElK.js';
|
|
|
5
5
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
6
6
|
import { T as Table, a as TableHeader, b as TableRow, d as TableBody, e as TableCell, c as TableHead } from '../packem_shared/table-DsCa9Qp9.js';
|
|
7
7
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
8
|
-
import { e as errorMessage, f as fireAndForget,
|
|
8
|
+
import { e as errorMessage, f as fireAndForget, h as formatCell } from '../packem_shared/internal-DTsYVn-g.js';
|
|
9
9
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
10
10
|
|
|
11
11
|
const DEFAULT_DATASET = "ANALYTICS";
|
|
@@ -2,7 +2,7 @@ import { c } from 'react/compiler-runtime';
|
|
|
2
2
|
import { useLunora } from '@lunora/react';
|
|
3
3
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
4
4
|
import { a as CardContent, C as Card } from '../packem_shared/card-DURq3ElK.js';
|
|
5
|
-
import { a as useClientQuery } from '../packem_shared/use-admin-query-
|
|
5
|
+
import { a as useClientQuery } from '../packem_shared/use-admin-query-BHPKmPuj.js';
|
|
6
6
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
7
7
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
8
8
|
|
|
@@ -4,10 +4,10 @@ import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
|
4
4
|
import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
5
5
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
6
6
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
7
|
-
import { a as useClientQuery } from '../packem_shared/use-admin-query-
|
|
7
|
+
import { a as useClientQuery } from '../packem_shared/use-admin-query-BHPKmPuj.js';
|
|
8
8
|
import { useAutoRefresh } from '../packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
9
9
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
10
|
-
import {
|
|
10
|
+
import { i as formatTimestamp, f as fireAndForget } from '../packem_shared/internal-DTsYVn-g.js';
|
|
11
11
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
12
12
|
|
|
13
13
|
const SESSION_LIMIT = 200;
|