@lunora/studio 1.0.0-alpha.45 → 1.0.0-alpha.47
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 +5 -3
- package/dist/index.js +12 -12
- package/dist/mount.js +1 -1
- package/dist/packem_chunks/ApiTab.js +3 -3
- package/dist/packem_chunks/AuditPanel.js +4 -4
- package/dist/packem_chunks/ExportImportPanel.js +4 -4
- package/dist/packem_chunks/FileBrowser.js +43 -20
- package/dist/packem_chunks/FunctionRunner.js +8 -25
- package/dist/packem_chunks/FunctionStatsPanel.js +4 -4
- package/dist/packem_chunks/HealthPanel.js +3 -3
- package/dist/packem_chunks/InsightsPanel.js +5 -5
- package/dist/packem_chunks/LogsPanel.js +4 -4
- package/dist/packem_chunks/MailPanel.js +3 -3
- package/dist/packem_chunks/MetricsPanel.js +4 -4
- package/dist/packem_chunks/MigrationsPanel.js +5 -5
- package/dist/packem_chunks/PitrPanel.js +1 -1
- package/dist/packem_chunks/SchemaViewer.js +3 -3
- package/dist/packem_chunks/SecurityAdvisorPanel.js +2 -2
- package/dist/packem_chunks/SettingsPanel.js +2 -2
- package/dist/packem_chunks/SqlEditorPanel.js +7 -6
- package/dist/packem_chunks/TableEditor.js +6 -29
- 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 +1 -1
- package/dist/packem_chunks/dashboards-panel.js +3 -2
- package/dist/packem_chunks/fanout-panel.js +3 -3
- package/dist/packem_chunks/flags-panel.js +2 -2
- 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 +3 -3
- package/dist/packem_chunks/permissions-panel.js +4 -4
- package/dist/packem_chunks/queues-panel.js +3 -3
- package/dist/packem_chunks/rls-panel.js +2 -2
- package/dist/packem_chunks/schedule-panel.js +3 -3
- package/dist/packem_chunks/storage-rules-panel.js +2 -2
- package/dist/packem_chunks/subscriptions-panel.js +3 -3
- 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-CBma-lnp.js → ApiDocsPanel-B2Rc7nOF.js} +1 -1
- package/dist/packem_shared/{ApiReferencePanel-CQM3pPN7.js → ApiReferencePanel-Dd8pcswz.js} +1 -1
- package/dist/packem_shared/{CommandPalette-X2tkbyHk.js → CommandPalette-BXV4eKf5.js} +1 -1
- package/dist/packem_shared/{DataBrowser-D2ywrdId.js → DataBrowser-Cc197zke.js} +8 -8
- package/dist/packem_shared/{DataFilters-FNquMaiu.js → DataFilters-B1Q7mrt7.js} +6 -2
- package/dist/packem_shared/{GlobalDataBrowser-BkTPLzAY.js → GlobalDataBrowser-CxJxRRf2.js} +3 -3
- package/dist/packem_shared/{HomePanel-D1Q9LZgK.js → HomePanel-CjDlJzzs.js} +3 -3
- package/dist/packem_shared/{OpenRpcReferencePanel-Dno-hfDb.js → OpenRpcReferencePanel-CWaf0ZtX.js} +1 -1
- package/dist/packem_shared/{ScheduledJobs-Ctw4jYtU.js → ScheduledJobs-dHMgnJbx.js} +2 -2
- package/dist/packem_shared/{ShardInput-gx_DZXXn.js → ShardInput-CZnpHILL.js} +1 -1
- package/dist/packem_shared/{Studio-lJhzDAze.js → Studio-sfBFghzO.js} +4 -4
- package/dist/packem_shared/{StudioApp-DiMkupvZ.js → StudioApp-Ism1gXfJ.js} +5 -11
- package/dist/packem_shared/{advisor-view-BX8OhG0w.js → advisor-view-Cx21PS_T.js} +1 -1
- package/dist/packem_shared/browser-storage-L4gOP5gJ.js +105 -0
- package/dist/packem_shared/{data-grid-CdXztApG.js → data-grid-C9I16KWr.js} +1 -1
- package/dist/packem_shared/{error-alert-CXjqyGw9.js → error-alert-vIPQoN3Y.js} +1 -1
- package/dist/packem_shared/{grid-features-BF-KBDFz.js → grid-features-B_fZH4iQ.js} +3 -2
- package/dist/packem_shared/{home-panel-TFcRf9Ui.js → home-panel-BohxdqDb.js} +2 -2
- package/dist/packem_shared/{internal-CYcbqMjX.js → internal-zwBoOv24.js} +14 -1
- package/dist/packem_shared/{reference-view-DUiJcILV.js → reference-view-DUULLuOi.js} +3 -17
- package/dist/packem_shared/{browser-storage-BTrX4y3B.js → result-chart-DZradBAS.js} +2 -98
- package/dist/packem_shared/shard-history-AxiJ1WPP.js +16 -0
- package/dist/packem_shared/{studio-Dh9UlaF_.js → studio-CFC_pv0f.js} +3 -3
- package/dist/packem_shared/{table-list-sidebar-UVIXQJdU.js → table-list-sidebar-huX4VmgI.js} +19 -9
- package/dist/packem_shared/{use-admin-query-CfHYWx5n.js → use-admin-query-BGJ010yZ.js} +1 -1
- package/dist/packem_shared/{use-async-submit-DJQiPc-_.js → use-async-submit-DGCtuDyz.js} +2 -2
- package/dist/standalone/{chunk-J75M4LTW.js → chunk-22C6COGE.js} +4 -4
- package/dist/standalone/{chunk-7XTR7BWT.js → chunk-2CQ2YNER.js} +1 -1
- package/dist/standalone/chunk-2MLA6WFH.js +1 -0
- package/dist/standalone/{chunk-2BBENYBY.js → chunk-37HPVOYP.js} +1 -1
- package/dist/standalone/{chunk-B4TTGYIX.js → chunk-3HS3ZXFB.js} +1 -1
- package/dist/standalone/{chunk-T4XWXBKR.js → chunk-3OZDR3RM.js} +1 -1
- package/dist/standalone/chunk-4KSX53SI.js +4 -0
- package/dist/standalone/chunk-4PC7IXNY.js +1 -0
- package/dist/standalone/{chunk-7KR346F4.js → chunk-5UKRVDFD.js} +1 -1
- package/dist/standalone/{chunk-4WGGEF73.js → chunk-ADP5UEHQ.js} +1 -1
- package/dist/standalone/{chunk-WKWKAU22.js → chunk-AITOCPML.js} +1 -1
- package/dist/standalone/{chunk-ZSNXQT4N.js → chunk-AYANIT5P.js} +1 -1
- package/dist/standalone/chunk-BIBCC7EE.js +6 -0
- package/dist/standalone/{chunk-XFPHUG7M.js → chunk-CGGZAYGG.js} +1 -1
- package/dist/standalone/chunk-CJTT4TBP.js +1 -0
- package/dist/standalone/{chunk-73BV73BI.js → chunk-CLMGPTAI.js} +1 -1
- package/dist/standalone/{chunk-MP5MTWY5.js → chunk-CTPCJNOP.js} +1 -1
- package/dist/standalone/chunk-DDE62TRL.js +1 -0
- package/dist/standalone/{chunk-ATG3655M.js → chunk-DH4K2OLM.js} +1 -1
- package/dist/standalone/{chunk-KMNEQEHM.js → chunk-EEWKIQUE.js} +1 -1
- package/dist/standalone/{chunk-3JO76DWI.js → chunk-EYSL7KEQ.js} +1 -1
- package/dist/standalone/{chunk-I4RSHYDW.js → chunk-F4HDP4XW.js} +1 -1
- package/dist/standalone/chunk-F5I22A4W.js +1 -0
- package/dist/standalone/chunk-FKVCHCYV.js +4 -0
- package/dist/standalone/{chunk-6HW2RKAX.js → chunk-FNQQ3B5G.js} +1 -1
- package/dist/standalone/{chunk-PXR5E7AX.js → chunk-GSCV2N3F.js} +5 -5
- package/dist/standalone/{chunk-ICIQ2GWQ.js → chunk-H27CRIP3.js} +1 -1
- package/dist/standalone/{chunk-YSF43KIJ.js → chunk-HROXYAZT.js} +1 -1
- package/dist/standalone/{chunk-EOSXQTSQ.js → chunk-HVRDZZHL.js} +1 -1
- package/dist/standalone/{chunk-245TEXSO.js → chunk-IRSIK3HT.js} +2 -2
- package/dist/standalone/{chunk-2GMEK2W3.js → chunk-ITQKVEP7.js} +9 -9
- package/dist/standalone/{chunk-34B5ECBI.js → chunk-IZN4TYMN.js} +1 -1
- package/dist/standalone/{chunk-7JOVXGO4.js → chunk-JM7XBQVK.js} +1 -1
- package/dist/standalone/{chunk-S6JKSFSO.js → chunk-JPILGFXT.js} +1 -1
- package/dist/standalone/{chunk-QQH2YTBW.js → chunk-JQ4WOPMF.js} +1 -1
- package/dist/standalone/chunk-K2CB2CHL.js +1 -0
- package/dist/standalone/{chunk-3IJLM4GF.js → chunk-KCMKEMUL.js} +1 -1
- package/dist/standalone/{chunk-WKUGR7ER.js → chunk-KKD46QVN.js} +1 -1
- package/dist/standalone/chunk-L7WR3C4Z.js +1 -0
- package/dist/standalone/chunk-LRYLU6EY.js +1 -0
- package/dist/standalone/{chunk-I34RPZ7P.js → chunk-MDTNVR3G.js} +1 -1
- package/dist/standalone/chunk-PL2KY6IG.js +1 -0
- package/dist/standalone/{chunk-KFNNMXUZ.js → chunk-S3Q6R7BA.js} +1 -1
- package/dist/standalone/chunk-SDQE2IUJ.js +1 -0
- package/dist/standalone/chunk-SEQ43UW2.js +1 -0
- package/dist/standalone/{chunk-5KUKYIU6.js → chunk-SHK6RAFG.js} +1 -1
- package/dist/standalone/chunk-TXTJPS5F.js +1 -0
- package/dist/standalone/chunk-V4ECZI2R.js +1 -0
- package/dist/standalone/{chunk-6CRKDJNL.js → chunk-WD2LBHJZ.js} +1 -1
- package/dist/standalone/{chunk-PBXQ5QS4.js → chunk-WMWDJLRO.js} +4 -4
- package/dist/standalone/{chunk-ZTOATVB7.js → chunk-WOXVMXSQ.js} +1 -1
- package/dist/standalone/{chunk-JEVKZIHN.js → chunk-WUFVFVHJ.js} +1 -1
- package/dist/standalone/{chunk-ERUIC6WI.js → chunk-X4QFAAZ5.js} +1 -1
- package/dist/standalone/{chunk-P7AMKXU2.js → chunk-XVR74IFC.js} +1 -1
- package/dist/standalone/chunk-Y2GJJVS5.js +1 -0
- package/dist/standalone/chunk-YFA7NUCL.js +1 -0
- package/dist/standalone/chunk-YSPZSTDI.js +1 -0
- package/dist/standalone/studio.js +43 -43
- package/package.json +6 -6
- package/dist/packem_shared/shard-history-DyebH1R5.js +0 -38
- package/dist/standalone/chunk-3SKIYIBN.js +0 -1
- package/dist/standalone/chunk-AFCBRDRQ.js +0 -1
- package/dist/standalone/chunk-AX7GYUQC.js +0 -1
- package/dist/standalone/chunk-BGHGKAOM.js +0 -1
- package/dist/standalone/chunk-BL45HXOJ.js +0 -1
- package/dist/standalone/chunk-ERXJPMCU.js +0 -1
- package/dist/standalone/chunk-GNMTLLGB.js +0 -1
- package/dist/standalone/chunk-M5OMEMQ3.js +0 -1
- package/dist/standalone/chunk-O4YNKFCZ.js +0 -1
- package/dist/standalone/chunk-OLUEBOHS.js +0 -1
- package/dist/standalone/chunk-OOETIPAO.js +0 -1
- package/dist/standalone/chunk-OQPT2BEZ.js +0 -6
- package/dist/standalone/chunk-PKIPNNRD.js +0 -4
- package/dist/standalone/chunk-QB3QUTSJ.js +0 -1
- package/dist/standalone/chunk-TBMYIZIO.js +0 -1
- package/dist/standalone/chunk-TU5ZNEZ4.js +0 -1
- package/dist/standalone/chunk-WATFBATD.js +0 -1
- package/dist/standalone/chunk-WSMZLZWM.js +0 -4
package/dist/index.d.ts
CHANGED
|
@@ -832,9 +832,11 @@ interface EditableFilter {
|
|
|
832
832
|
}
|
|
833
833
|
/**
|
|
834
834
|
* Convert the UI's string-valued filter rows into wire {@link FilterClause}s:
|
|
835
|
-
* drops rows with no column, and coerces a numeric string to a number for
|
|
836
|
-
* comparison
|
|
837
|
-
* `
|
|
835
|
+
* drops rows with no column, and coerces a canonical numeric string to a number for
|
|
836
|
+
* every comparison operator (so `age > 18` compares numerically, not lexically, and
|
|
837
|
+
* an `eq` on a numeric column still matches — see {@link coerceFilterValue} for why a
|
|
838
|
+
* numeric-looking but non-canonical string like a zip code stays text). `contains`
|
|
839
|
+
* always stays a string.
|
|
838
840
|
*/
|
|
839
841
|
declare const toFilterClauses: (filters: ReadonlyArray<EditableFilter>) => FilterClause[];
|
|
840
842
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export { StudioApp } from './packem_shared/StudioApp-
|
|
2
|
-
export { CommandPalette, openCommandPalette } from './packem_shared/CommandPalette-
|
|
3
|
-
export { S as Studio } from './packem_shared/studio-
|
|
1
|
+
export { StudioApp } from './packem_shared/StudioApp-Ism1gXfJ.js';
|
|
2
|
+
export { CommandPalette, openCommandPalette } from './packem_shared/CommandPalette-BXV4eKf5.js';
|
|
3
|
+
export { S as Studio } from './packem_shared/studio-CFC_pv0f.js';
|
|
4
4
|
export { ConfirmButton } from './packem_shared/ConfirmButton-C2eVi2Qv.js';
|
|
5
5
|
export { default as ConnectionBadge } from './packem_shared/ConnectionBadge-B2DDM2Tn.js';
|
|
6
6
|
export { ErrorBoundary } from './packem_shared/ErrorBoundary-BzAApI7J.js';
|
|
7
|
-
export { ShardInput } from './packem_shared/ShardInput-
|
|
7
|
+
export { ShardInput } from './packem_shared/ShardInput-CZnpHILL.js';
|
|
8
8
|
export { DEFAULT_INSIGHT_THRESHOLDS, deriveInsights } from './packem_shared/DEFAULT_INSIGHT_THRESHOLDS-DjF0h-gA.js';
|
|
9
9
|
export { InsightsPanel } from './packem_chunks/InsightsPanel.js';
|
|
10
10
|
export { default as SecurityAdvisorPanel } from './packem_chunks/SecurityAdvisorPanel.js';
|
|
11
|
-
export { default as ApiDocsPanel } from './packem_shared/ApiDocsPanel-
|
|
12
|
-
export { default as ApiReferencePanel } from './packem_shared/ApiReferencePanel-
|
|
11
|
+
export { default as ApiDocsPanel } from './packem_shared/ApiDocsPanel-B2Rc7nOF.js';
|
|
12
|
+
export { default as ApiReferencePanel } from './packem_shared/ApiReferencePanel-Dd8pcswz.js';
|
|
13
13
|
export { default as ApiTab } from './packem_chunks/ApiTab.js';
|
|
14
|
-
export { default as OpenRpcReferencePanel } from './packem_shared/OpenRpcReferencePanel-
|
|
15
|
-
export { DataBrowser } from './packem_shared/DataBrowser-
|
|
16
|
-
export { DataFilters, toFilterClauses } from './packem_shared/DataFilters-
|
|
17
|
-
export { GlobalDataBrowser } from './packem_shared/GlobalDataBrowser-
|
|
14
|
+
export { default as OpenRpcReferencePanel } from './packem_shared/OpenRpcReferencePanel-CWaf0ZtX.js';
|
|
15
|
+
export { DataBrowser } from './packem_shared/DataBrowser-Cc197zke.js';
|
|
16
|
+
export { DataFilters, toFilterClauses } from './packem_shared/DataFilters-B1Q7mrt7.js';
|
|
17
|
+
export { GlobalDataBrowser } from './packem_shared/GlobalDataBrowser-CxJxRRf2.js';
|
|
18
18
|
export { TableEditor } from './packem_chunks/TableEditor.js';
|
|
19
19
|
export { ExportImportPanel } from './packem_chunks/ExportImportPanel.js';
|
|
20
20
|
export { MigrationsPanel } from './packem_chunks/MigrationsPanel.js';
|
|
21
21
|
export { PitrPanel } from './packem_chunks/PitrPanel.js';
|
|
22
22
|
export { FunctionRunner } from './packem_chunks/FunctionRunner.js';
|
|
23
23
|
export { FunctionStatsPanel } from './packem_chunks/FunctionStatsPanel.js';
|
|
24
|
-
export { H as HomePanel } from './packem_shared/home-panel-
|
|
24
|
+
export { H as HomePanel } from './packem_shared/home-panel-BohxdqDb.js';
|
|
25
25
|
export { AuditPanel } from './packem_chunks/AuditPanel.js';
|
|
26
26
|
export { LogsPanel } from './packem_chunks/LogsPanel.js';
|
|
27
27
|
export { MailPanel } from './packem_chunks/MailPanel.js';
|
|
28
|
-
export { ScheduledJobs } from './packem_shared/ScheduledJobs-
|
|
28
|
+
export { ScheduledJobs } from './packem_shared/ScheduledJobs-dHMgnJbx.js';
|
|
29
29
|
export { HealthPanel } from './packem_chunks/HealthPanel.js';
|
|
30
30
|
export { aggregateMetrics, shardsToAggregate } from './packem_shared/aggregateMetrics-D4nUHEKU.js';
|
|
31
31
|
export { MetricsPanel } from './packem_chunks/MetricsPanel.js';
|
package/dist/mount.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LunoraError } from '@lunora/errors';
|
|
2
2
|
import { createRoot } from 'react-dom/client';
|
|
3
|
-
import { StudioApp } from './packem_shared/StudioApp-
|
|
3
|
+
import { StudioApp } from './packem_shared/StudioApp-Ism1gXfJ.js';
|
|
4
4
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
5
5
|
|
|
6
6
|
const mountStudio = (options = {}) => {
|
|
@@ -2,9 +2,9 @@ import { c } from 'react/compiler-runtime';
|
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
4
4
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
5
|
-
import ApiDocsPanel from '../packem_shared/ApiDocsPanel-
|
|
6
|
-
import ApiReferencePanel from '../packem_shared/ApiReferencePanel-
|
|
7
|
-
import OpenRpcReferencePanel from '../packem_shared/OpenRpcReferencePanel-
|
|
5
|
+
import ApiDocsPanel from '../packem_shared/ApiDocsPanel-B2Rc7nOF.js';
|
|
6
|
+
import ApiReferencePanel from '../packem_shared/ApiReferencePanel-Dd8pcswz.js';
|
|
7
|
+
import OpenRpcReferencePanel from '../packem_shared/OpenRpcReferencePanel-CWaf0ZtX.js';
|
|
8
8
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
9
9
|
|
|
10
10
|
const VIEW_KEYS = ["reference", "snippets"];
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { useVirtualizer, observeElementRect } from '@tanstack/react-virtual';
|
|
2
2
|
import { useState, useMemo, useRef } from 'react';
|
|
3
|
-
import { E as ErrorAlert } from '../packem_shared/error-alert-
|
|
3
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-vIPQoN3Y.js';
|
|
4
4
|
import { L as LiveError } from '../packem_shared/live-status-FZ0psC1z.js';
|
|
5
|
-
import { ShardInput } from '../packem_shared/ShardInput-
|
|
5
|
+
import { ShardInput } from '../packem_shared/ShardInput-CZnpHILL.js';
|
|
6
6
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
7
7
|
import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
8
8
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
9
9
|
import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
|
|
10
10
|
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';
|
|
11
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
11
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BGJ010yZ.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-BHHJi3Gb.js';
|
|
15
|
-
import { i as formatTimestamp } from '../packem_shared/internal-
|
|
15
|
+
import { i as formatTimestamp } from '../packem_shared/internal-zwBoOv24.js';
|
|
16
16
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
17
17
|
|
|
18
18
|
const DETAIL_MAX = 80;
|
|
@@ -2,15 +2,15 @@ import { LunoraError } from '@lunora/errors';
|
|
|
2
2
|
import { useLunora } from '@lunora/react';
|
|
3
3
|
import { useState } from 'react';
|
|
4
4
|
import { ConfirmButton } from '../packem_shared/ConfirmButton-C2eVi2Qv.js';
|
|
5
|
-
import { ShardInput } from '../packem_shared/ShardInput-
|
|
5
|
+
import { ShardInput } from '../packem_shared/ShardInput-CZnpHILL.js';
|
|
6
6
|
import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
7
7
|
import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
8
8
|
import { T as Textarea } from '../packem_shared/textarea-D3gaCU_-.js';
|
|
9
|
-
import { b as useInvalidateAdmin } from '../packem_shared/use-admin-query-
|
|
9
|
+
import { b as useInvalidateAdmin } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
10
10
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
11
11
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
12
|
-
import { f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-
|
|
13
|
-
import { r as recordShard } from '../packem_shared/shard-history-
|
|
12
|
+
import { f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-zwBoOv24.js';
|
|
13
|
+
import { r as recordShard } from '../packem_shared/shard-history-AxiJ1WPP.js';
|
|
14
14
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
15
15
|
|
|
16
16
|
const EXPORT_SHARD = adminRef(ADMIN_FUNCTIONS.exportShard);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
|
-
import { useState, useEffect, useMemo, useCallback
|
|
3
|
-
import { ShardInput } from '../packem_shared/ShardInput-
|
|
2
|
+
import { useState, useEffect, useRef, useMemo, useCallback } from 'react';
|
|
3
|
+
import { ShardInput } from '../packem_shared/ShardInput-CZnpHILL.js';
|
|
4
4
|
import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
5
5
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
6
6
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
7
|
-
import { S as SelectionBar } from '../packem_shared/grid-features-
|
|
7
|
+
import { S as SelectionBar } from '../packem_shared/grid-features-B_fZH4iQ.js';
|
|
8
8
|
import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
9
9
|
import { C as Checkbox } from '../packem_shared/checkbox-UNkzAxl-.js';
|
|
10
10
|
import { c as TableHead, a as TableHeader, b as TableRow, d as TableBody, T as Table, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
11
|
-
import {
|
|
11
|
+
import { k as formatBytes, f as fireAndForget, e as errorMessage, c as callOptions, a as adminRef, g as copyToClipboard } from '../packem_shared/internal-zwBoOv24.js';
|
|
12
12
|
import { ConfirmButton } from '../packem_shared/ConfirmButton-C2eVi2Qv.js';
|
|
13
13
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
14
14
|
import { jsxDEV, Fragment } from 'react/jsx-dev-runtime';
|
|
@@ -2285,11 +2285,6 @@ const triggerDownload = (url, filename) => {
|
|
|
2285
2285
|
anchor.click();
|
|
2286
2286
|
anchor.remove();
|
|
2287
2287
|
};
|
|
2288
|
-
const copyToClipboard = async (text) => {
|
|
2289
|
-
if ("navigator" in globalThis && "clipboard" in globalThis.navigator) {
|
|
2290
|
-
await globalThis.navigator.clipboard.writeText(text);
|
|
2291
|
-
}
|
|
2292
|
-
};
|
|
2293
2288
|
const useFileBrowser = ({
|
|
2294
2289
|
initialPrefix,
|
|
2295
2290
|
pageSize
|
|
@@ -2315,6 +2310,8 @@ const useFileBrowser = ({
|
|
|
2315
2310
|
const [danglingTruncated, setDanglingTruncated] = useState(false);
|
|
2316
2311
|
const [buckets, setBuckets] = useState([]);
|
|
2317
2312
|
const [bucket, setBucket] = useState("");
|
|
2313
|
+
const listSeq = useRef(0);
|
|
2314
|
+
const orphanSeq = useRef(0);
|
|
2318
2315
|
useEffect(() => {
|
|
2319
2316
|
const token = {
|
|
2320
2317
|
cancelled: false
|
|
@@ -2356,6 +2353,8 @@ const useFileBrowser = ({
|
|
|
2356
2353
|
};
|
|
2357
2354
|
}, [bucket, client]);
|
|
2358
2355
|
const list = useCallback(async (searchPrefix, cursor, append) => {
|
|
2356
|
+
listSeq.current += 1;
|
|
2357
|
+
const seq = listSeq.current;
|
|
2359
2358
|
setError(void 0);
|
|
2360
2359
|
setBusy(true);
|
|
2361
2360
|
try {
|
|
@@ -2364,15 +2363,23 @@ const useFileBrowser = ({
|
|
|
2364
2363
|
limit: pageSize,
|
|
2365
2364
|
prefix: searchPrefix
|
|
2366
2365
|
});
|
|
2366
|
+
if (seq !== listSeq.current) {
|
|
2367
|
+
return;
|
|
2368
|
+
}
|
|
2367
2369
|
setObjects((previous) => append && previous !== void 0 ? [...previous, ...page.objects] : page.objects);
|
|
2368
2370
|
setNextCursor(page.cursor);
|
|
2369
2371
|
} catch (error_) {
|
|
2372
|
+
if (seq !== listSeq.current) {
|
|
2373
|
+
return;
|
|
2374
|
+
}
|
|
2370
2375
|
if (!append) {
|
|
2371
2376
|
setObjects(void 0);
|
|
2372
2377
|
}
|
|
2373
2378
|
setError(errorMessage(error_));
|
|
2374
2379
|
} finally {
|
|
2375
|
-
|
|
2380
|
+
if (seq === listSeq.current) {
|
|
2381
|
+
setBusy(false);
|
|
2382
|
+
}
|
|
2376
2383
|
}
|
|
2377
2384
|
}, [pageSize, storageApi]);
|
|
2378
2385
|
useEffect(() => {
|
|
@@ -2497,8 +2504,9 @@ const useFileBrowser = ({
|
|
|
2497
2504
|
const url = await storageApi.signedUrl(key_5, {
|
|
2498
2505
|
expiresInSeconds: expiry
|
|
2499
2506
|
});
|
|
2500
|
-
|
|
2501
|
-
|
|
2507
|
+
if (copyToClipboard(url)) {
|
|
2508
|
+
setCopiedKey(key_5);
|
|
2509
|
+
}
|
|
2502
2510
|
} catch (error__1) {
|
|
2503
2511
|
setError(errorMessage(error__1));
|
|
2504
2512
|
}
|
|
@@ -2564,10 +2572,13 @@ const useFileBrowser = ({
|
|
|
2564
2572
|
})());
|
|
2565
2573
|
};
|
|
2566
2574
|
useEffect(() => {
|
|
2575
|
+
orphanSeq.current += 1;
|
|
2567
2576
|
setDanglingReferences(void 0);
|
|
2568
2577
|
setDanglingTruncated(false);
|
|
2569
2578
|
}, [referenceShard]);
|
|
2570
2579
|
const checkOrphans = () => {
|
|
2580
|
+
orphanSeq.current += 1;
|
|
2581
|
+
const seq_0 = orphanSeq.current;
|
|
2571
2582
|
setError(void 0);
|
|
2572
2583
|
setDanglingBusy(true);
|
|
2573
2584
|
fireAndForget((async () => {
|
|
@@ -2586,29 +2597,41 @@ const useFileBrowser = ({
|
|
|
2586
2597
|
} while (cursor_0 !== void 0);
|
|
2587
2598
|
const enumTruncated = liveKeys.length >= ORPHAN_LIVE_KEY_CAP;
|
|
2588
2599
|
if (enumTruncated) {
|
|
2589
|
-
|
|
2590
|
-
|
|
2600
|
+
if (seq_0 === orphanSeq.current) {
|
|
2601
|
+
setDanglingReferences([]);
|
|
2602
|
+
setDanglingTruncated(true);
|
|
2603
|
+
}
|
|
2591
2604
|
} else {
|
|
2592
2605
|
const result_0 = await client.query(STORAGE_ORPHANS, {
|
|
2593
2606
|
liveKeys
|
|
2594
2607
|
}, callOptions(referenceShard));
|
|
2595
|
-
|
|
2596
|
-
|
|
2608
|
+
if (seq_0 === orphanSeq.current) {
|
|
2609
|
+
setDanglingReferences(result_0.references ?? []);
|
|
2610
|
+
setDanglingTruncated(result_0.truncated === true);
|
|
2611
|
+
}
|
|
2597
2612
|
}
|
|
2598
2613
|
} catch (error__5) {
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2614
|
+
if (seq_0 === orphanSeq.current) {
|
|
2615
|
+
setDanglingReferences([]);
|
|
2616
|
+
setDanglingTruncated(false);
|
|
2617
|
+
setError(errorMessage(error__5));
|
|
2618
|
+
}
|
|
2602
2619
|
} finally {
|
|
2603
|
-
|
|
2620
|
+
if (seq_0 === orphanSeq.current) {
|
|
2621
|
+
setDanglingBusy(false);
|
|
2622
|
+
}
|
|
2604
2623
|
}
|
|
2605
2624
|
})());
|
|
2606
2625
|
};
|
|
2607
2626
|
const selectBucket = (name_0) => {
|
|
2627
|
+
listSeq.current += 1;
|
|
2628
|
+
orphanSeq.current += 1;
|
|
2608
2629
|
setBucket(name_0);
|
|
2609
2630
|
setPrefix(initialPrefix ?? "");
|
|
2610
2631
|
setDraftPrefix(initialPrefix ?? "");
|
|
2611
2632
|
setObjects(void 0);
|
|
2633
|
+
setDanglingReferences(void 0);
|
|
2634
|
+
setDanglingTruncated(false);
|
|
2612
2635
|
clearSelection();
|
|
2613
2636
|
};
|
|
2614
2637
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useLunora } from '@lunora/react';
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
|
-
import { ShardInput } from '../packem_shared/ShardInput-
|
|
3
|
+
import { ShardInput } from '../packem_shared/ShardInput-CZnpHILL.js';
|
|
4
4
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
5
5
|
import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
6
6
|
import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
|
|
@@ -8,8 +8,8 @@ import { L as Label } from '../packem_shared/label-D8ykjn5J.js';
|
|
|
8
8
|
import { T as Textarea } from '../packem_shared/textarea-D3gaCU_-.js';
|
|
9
9
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
10
10
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
11
|
-
import { e as errorMessage, i as formatTimestamp, f as fireAndForget, a as adminRef } from '../packem_shared/internal-
|
|
12
|
-
import { r as recordShard } from '../packem_shared/shard-history-
|
|
11
|
+
import { e as errorMessage, i as formatTimestamp, f as fireAndForget, j as dispatchByKind, a as adminRef } from '../packem_shared/internal-zwBoOv24.js';
|
|
12
|
+
import { r as recordShard } from '../packem_shared/shard-history-AxiJ1WPP.js';
|
|
13
13
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
14
14
|
|
|
15
15
|
const argumentType = (argument) => {
|
|
@@ -144,28 +144,11 @@ const FunctionRunner = ({
|
|
|
144
144
|
setStatus("running");
|
|
145
145
|
setError(null);
|
|
146
146
|
try {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
break;
|
|
153
|
-
}
|
|
154
|
-
case "mutation": {
|
|
155
|
-
value = await client.mutation(reference, parsedArgs, options);
|
|
156
|
-
break;
|
|
157
|
-
}
|
|
158
|
-
default: {
|
|
159
|
-
value = await client.query(reference, parsedArgs, options);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
} else {
|
|
163
|
-
value = await client.query(RUN_AS, {
|
|
164
|
-
args: parsedArgs,
|
|
165
|
-
functionPath: selected.path,
|
|
166
|
-
userId: forgedUserId
|
|
167
|
-
}, options);
|
|
168
|
-
}
|
|
147
|
+
const value = forgedUserId === "" ? await dispatchByKind(client, selected.kind, reference, parsedArgs, options) : await client.query(RUN_AS, {
|
|
148
|
+
args: parsedArgs,
|
|
149
|
+
functionPath: selected.path,
|
|
150
|
+
userId: forgedUserId
|
|
151
|
+
}, options);
|
|
169
152
|
recordShard(shardKey);
|
|
170
153
|
setResult(value);
|
|
171
154
|
setStatus("success");
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { useState } from 'react';
|
|
3
|
-
import { E as ErrorAlert } from '../packem_shared/error-alert-
|
|
3
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-vIPQoN3Y.js';
|
|
4
4
|
import { L as LiveError } from '../packem_shared/live-status-FZ0psC1z.js';
|
|
5
|
-
import { ShardInput } from '../packem_shared/ShardInput-
|
|
5
|
+
import { ShardInput } from '../packem_shared/ShardInput-CZnpHILL.js';
|
|
6
6
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
7
7
|
import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
8
8
|
import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
9
9
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
10
10
|
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';
|
|
11
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
11
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BGJ010yZ.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-BHHJi3Gb.js';
|
|
15
|
-
import { i as formatTimestamp } from '../packem_shared/internal-
|
|
15
|
+
import { i as formatTimestamp } from '../packem_shared/internal-zwBoOv24.js';
|
|
16
16
|
import { c as cn } from '../packem_shared/utils-B05Dmz_H.js';
|
|
17
17
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
18
18
|
|
|
@@ -5,11 +5,11 @@ 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-BGJ010yZ.js';
|
|
9
9
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
10
10
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
11
|
-
import { f as fireAndForget, i as formatTimestamp, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-
|
|
12
|
-
import { l as loadRecentShards } from '../packem_shared/shard-history-
|
|
11
|
+
import { f as fireAndForget, i as formatTimestamp, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-zwBoOv24.js';
|
|
12
|
+
import { l as loadRecentShards } from '../packem_shared/shard-history-AxiJ1WPP.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
15
|
import { S as Sparkline } from '../packem_shared/sparkline-BnA1kC9X.js';
|
|
@@ -2,15 +2,15 @@ import { c } from 'react/compiler-runtime';
|
|
|
2
2
|
import { useLunora } from '@lunora/react';
|
|
3
3
|
import { useNavigate } from '@tanstack/react-router';
|
|
4
4
|
import { useState, useRef, useCallback, useEffect, useMemo } from 'react';
|
|
5
|
-
import { ShardInput } from '../packem_shared/ShardInput-
|
|
5
|
+
import { ShardInput } from '../packem_shared/ShardInput-CZnpHILL.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-BGJ010yZ.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-BHHJi3Gb.js';
|
|
11
|
-
import { f as fireAndForget, c as callOptions, a as adminRef } from '../packem_shared/internal-
|
|
12
|
-
import { r as recordShard } from '../packem_shared/shard-history-
|
|
13
|
-
import { a as advisoryRow, A as AdvisorView } from '../packem_shared/advisor-view-
|
|
11
|
+
import { f as fireAndForget, c as callOptions, a as adminRef } from '../packem_shared/internal-zwBoOv24.js';
|
|
12
|
+
import { r as recordShard } from '../packem_shared/shard-history-AxiJ1WPP.js';
|
|
13
|
+
import { a as advisoryRow, A as AdvisorView } from '../packem_shared/advisor-view-Cx21PS_T.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';
|
|
@@ -1,18 +1,18 @@
|
|
|
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-
|
|
4
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-vIPQoN3Y.js';
|
|
5
5
|
import { L as LiveError } from '../packem_shared/live-status-FZ0psC1z.js';
|
|
6
|
-
import { ShardInput } from '../packem_shared/ShardInput-
|
|
6
|
+
import { ShardInput } from '../packem_shared/ShardInput-CZnpHILL.js';
|
|
7
7
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
8
8
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
9
9
|
import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
|
|
10
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
10
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
11
11
|
import useDebounced from '../packem_shared/useDebounced-Dxncpg6z.js';
|
|
12
12
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
13
13
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
14
14
|
import { a as CLOUDFLARE_OBSERVABILITY_URL } from '../packem_shared/cf-links-BZfRdxSE.js';
|
|
15
|
-
import { r as recordShard } from '../packem_shared/shard-history-
|
|
15
|
+
import { r as recordShard } from '../packem_shared/shard-history-AxiJ1WPP.js';
|
|
16
16
|
import { c as cn } from '../packem_shared/utils-B05Dmz_H.js';
|
|
17
17
|
import { f as flooredRectObserver } from '../packem_shared/virtual-rect-CVMUskSm.js';
|
|
18
18
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useLunora } from '@lunora/react';
|
|
2
2
|
import { useState, useMemo } from 'react';
|
|
3
|
-
import { E as ErrorAlert } from '../packem_shared/error-alert-
|
|
3
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-vIPQoN3Y.js';
|
|
4
4
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
5
5
|
import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
6
6
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
@@ -9,11 +9,11 @@ import { S as ScrollArea } from '../packem_shared/scroll-area-DLhcy-ml.js';
|
|
|
9
9
|
import { Separator as Separator$1 } from '@base-ui/react/separator';
|
|
10
10
|
import { c as cn } from '../packem_shared/utils-B05Dmz_H.js';
|
|
11
11
|
import { jsxDEV, Fragment } from 'react/jsx-dev-runtime';
|
|
12
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
12
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
13
13
|
import { useAutoRefresh } from '../packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
14
14
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
15
15
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
16
|
-
import { i as formatTimestamp, f as fireAndForget, g as copyToClipboard, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-
|
|
16
|
+
import { i as formatTimestamp, f as fireAndForget, g as copyToClipboard, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-zwBoOv24.js';
|
|
17
17
|
|
|
18
18
|
function Separator({
|
|
19
19
|
className,
|
|
@@ -2,17 +2,17 @@ import { c } from 'react/compiler-runtime';
|
|
|
2
2
|
import { useLunora } from '@lunora/react';
|
|
3
3
|
import { useState, useRef, useEffect, useMemo } from 'react';
|
|
4
4
|
import { L as LiveError } from '../packem_shared/live-status-FZ0psC1z.js';
|
|
5
|
-
import { ShardInput } from '../packem_shared/ShardInput-
|
|
5
|
+
import { ShardInput } from '../packem_shared/ShardInput-CZnpHILL.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-BGJ010yZ.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-BHHJi3Gb.js';
|
|
13
13
|
import { c as CLOUDFLARE_DURABLE_OBJECTS_URL } from '../packem_shared/cf-links-BZfRdxSE.js';
|
|
14
|
-
import {
|
|
15
|
-
import { r as recordShard, l as loadRecentShards } from '../packem_shared/shard-history-
|
|
14
|
+
import { k as formatBytes, f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-zwBoOv24.js';
|
|
15
|
+
import { r as recordShard, l as loadRecentShards } from '../packem_shared/shard-history-AxiJ1WPP.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';
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
4
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-vIPQoN3Y.js';
|
|
5
5
|
import { L as LiveError } from '../packem_shared/live-status-FZ0psC1z.js';
|
|
6
|
-
import { ShardInput } from '../packem_shared/ShardInput-
|
|
6
|
+
import { ShardInput } from '../packem_shared/ShardInput-CZnpHILL.js';
|
|
7
7
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
8
8
|
import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
9
9
|
import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
@@ -11,12 +11,12 @@ import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
|
11
11
|
import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
|
|
12
12
|
import { L as Label } from '../packem_shared/label-D8ykjn5J.js';
|
|
13
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';
|
|
14
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
14
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
15
15
|
import useDebounced from '../packem_shared/useDebounced-Dxncpg6z.js';
|
|
16
16
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
17
17
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
18
|
-
import { i as formatTimestamp, f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-
|
|
19
|
-
import { r as recordShard } from '../packem_shared/shard-history-
|
|
18
|
+
import { i as formatTimestamp, f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-zwBoOv24.js';
|
|
19
|
+
import { r as recordShard } from '../packem_shared/shard-history-AxiJ1WPP.js';
|
|
20
20
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
21
21
|
|
|
22
22
|
const RUN_MIGRATION = adminRef(ADMIN_FUNCTIONS.runMigration);
|
|
@@ -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-BHHJi3Gb.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-zwBoOv24.js';
|
|
12
12
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
13
13
|
|
|
14
14
|
const GET_BOOKMARK = adminRef(ADMIN_FUNCTIONS.getPitrBookmark);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { c } from 'react/compiler-runtime';
|
|
3
3
|
import { useLunora } from '@lunora/react';
|
|
4
4
|
import { useState, useRef, useEffect } from 'react';
|
|
5
|
-
import { ShardInput } from '../packem_shared/ShardInput-
|
|
5
|
+
import { ShardInput } from '../packem_shared/ShardInput-CZnpHILL.js';
|
|
6
6
|
import { S as StorageTierBadge, T as TIER_META } from '../packem_shared/storage-tier-CL98eOvn.js';
|
|
7
7
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
8
8
|
import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
@@ -12,8 +12,8 @@ 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-BHHJi3Gb.js';
|
|
15
|
-
import { f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-
|
|
16
|
-
import { r as recordShard } from '../packem_shared/shard-history-
|
|
15
|
+
import { f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from '../packem_shared/internal-zwBoOv24.js';
|
|
16
|
+
import { r as recordShard } from '../packem_shared/shard-history-AxiJ1WPP.js';
|
|
17
17
|
import { c as cn } from '../packem_shared/utils-B05Dmz_H.js';
|
|
18
18
|
import { Download01Icon } from '@hugeicons/core-free-icons';
|
|
19
19
|
import { HugeiconsIcon } from '@hugeicons/react';
|
|
@@ -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-BGJ010yZ.js';
|
|
3
3
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
4
4
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
5
|
-
import { A as AdvisorView } from '../packem_shared/advisor-view-
|
|
5
|
+
import { A as AdvisorView } from '../packem_shared/advisor-view-Cx21PS_T.js';
|
|
6
6
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
7
7
|
|
|
8
8
|
const findingTitle = (t, finding) => ({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
-
import { E as ErrorAlert } from '../packem_shared/error-alert-
|
|
3
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-vIPQoN3Y.js';
|
|
4
4
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
5
5
|
import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.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 { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
7
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
8
8
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
9
9
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
10
10
|
import { b as CLOUDFLARE_WORKERS_URL } from '../packem_shared/cf-links-BZfRdxSE.js';
|
|
@@ -1,16 +1,17 @@
|
|
|
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 {
|
|
5
|
-
import { ShardInput } from '../packem_shared/ShardInput-
|
|
4
|
+
import { S as SqlResultChart } from '../packem_shared/result-chart-DZradBAS.js';
|
|
5
|
+
import { ShardInput } from '../packem_shared/ShardInput-CZnpHILL.js';
|
|
6
6
|
import { A as Alert } from '../packem_shared/alert-CdAET2K_.js';
|
|
7
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';
|
|
8
8
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
9
9
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
10
|
+
import { u as usePersistedList, n as newId, b as usePersistedValue } from '../packem_shared/browser-storage-L4gOP5gJ.js';
|
|
11
|
+
import { f as fireAndForget, c as callOptions, a as adminRef, e as errorMessage } from '../packem_shared/internal-zwBoOv24.js';
|
|
12
|
+
import { r as recordShard } from '../packem_shared/shard-history-AxiJ1WPP.js';
|
|
13
|
+
import { C as CellValue } from '../packem_shared/data-grid-C9I16KWr.js';
|
|
14
|
+
import { E as ExportMenu } from '../packem_shared/grid-features-B_fZH4iQ.js';
|
|
14
15
|
import { c as cn } from '../packem_shared/utils-B05Dmz_H.js';
|
|
15
16
|
import { jsxDEV, Fragment } from 'react/jsx-dev-runtime';
|
|
16
17
|
|