@lunora/studio 1.0.0-alpha.56 → 1.0.0-alpha.58
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 +61 -4
- package/dist/index.js +13 -11
- package/dist/mount.d.ts +1 -1
- 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/DeploymentHealthPanel.js +664 -0
- package/dist/packem_chunks/ExportImportPanel.js +3 -3
- package/dist/packem_chunks/FileBrowser.js +3 -3
- package/dist/packem_chunks/FunctionRunner.js +2 -2
- package/dist/packem_chunks/FunctionStatsPanel.js +4 -4
- package/dist/packem_chunks/HealthPanel.js +3 -3
- package/dist/packem_chunks/InsightsPanel.js +4 -4
- package/dist/packem_chunks/LogsPanel.js +537 -89
- package/dist/packem_chunks/MailPanel.js +4 -4
- package/dist/packem_chunks/MetricsPanel.js +475 -244
- package/dist/packem_chunks/MigrationsPanel.js +4 -4
- package/dist/packem_chunks/NotificationsPanel.js +306 -0
- package/dist/packem_chunks/PitrPanel.js +2 -2
- package/dist/packem_chunks/SchemaViewer.js +2 -2
- package/dist/packem_chunks/SecurityAdvisorPanel.js +3 -3
- package/dist/packem_chunks/SettingsPanel.js +3 -3
- package/dist/packem_chunks/SqlEditorPanel.js +5 -5
- package/dist/packem_chunks/TableEditor.js +3 -3
- package/dist/packem_chunks/agents-panel.js +4 -4
- package/dist/packem_chunks/analytics-panel.js +1 -1
- package/dist/packem_chunks/auth-audit-panel.js +247 -0
- 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 +2 -2
- package/dist/packem_chunks/dashboards-panel.js +3 -3
- package/dist/packem_chunks/fanout-panel.js +3 -3
- package/dist/packem_chunks/flags-panel.js +3 -3
- package/dist/packem_chunks/issues-panel.js +3 -3
- 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 +31 -4
- package/dist/packem_chunks/permissions-panel.js +4 -4
- package/dist/packem_chunks/queues-panel.js +4 -4
- package/dist/packem_chunks/rls-panel.js +3 -3
- package/dist/packem_chunks/schedule-panel.js +3 -3
- package/dist/packem_chunks/storage-rules-panel.js +3 -3
- package/dist/packem_chunks/subscriptions-panel.js +3 -3
- package/dist/packem_chunks/traces-panel.js +128 -115
- 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 +3 -3
- package/dist/packem_shared/{ADMIN_FUNCTIONS-C1LXrovV.js → ADMIN_FUNCTIONS-P2UzJscH.js} +3 -0
- package/dist/packem_shared/{ApiDocsPanel-cYkYKjK3.js → ApiDocsPanel-DNDpeR5O.js} +2 -2
- package/dist/packem_shared/{ApiReferencePanel-Dd8pcswz.js → ApiReferencePanel-ChlRsAXU.js} +1 -1
- package/dist/packem_shared/{CommandPalette-BXV4eKf5.js → CommandPalette-BpkopP5f.js} +1 -1
- package/dist/packem_shared/{DataBrowser-CowupumK.js → DataBrowser-obTn4sKX.js} +6 -6
- package/dist/packem_shared/{GlobalDataBrowser-D8h1fTL1.js → GlobalDataBrowser-BCaohHZ5.js} +3 -3
- package/dist/packem_shared/{HomePanel-B12QgvIn.js → HomePanel-DCRj3hGB.js} +4 -4
- package/dist/packem_shared/{OpenRpcReferencePanel-CWaf0ZtX.js → OpenRpcReferencePanel-CIeQE1aE.js} +1 -1
- package/dist/packem_shared/{ScheduledJobs-Cz5Tr-M6.js → ScheduledJobs-BQzQo84k.js} +2 -2
- package/dist/packem_shared/{Studio-DV1PhCIl.js → Studio-DnlPCbID.js} +4 -4
- package/dist/packem_shared/{StudioApp-BF2rK77z.js → StudioApp-CzqlB4zO.js} +2 -2
- package/dist/packem_shared/{advisor-view-1RaDWED7.js → advisor-view-D95sN-wO.js} +1 -1
- package/dist/packem_shared/{app.d-C-kxb-1T.d.ts → app.d-bRPJhby-.d.ts} +1 -1
- package/dist/packem_shared/{data-grid-C9I16KWr.js → data-grid-BywzWfek.js} +1 -1
- package/dist/packem_shared/{error-alert-vIPQoN3Y.js → error-alert-D9uIFJUS.js} +1 -1
- package/dist/packem_shared/{grid-features-B_fZH4iQ.js → grid-features-ZOLhHKrR.js} +1 -1
- package/dist/packem_shared/{home-panel-DDo_fi19.js → home-panel-BRAA2UlM.js} +3 -3
- package/dist/packem_shared/{internal-zwBoOv24.js → internal-DzHCc2Rq.js} +10 -1
- package/dist/packem_shared/{reference-view-DUULLuOi.js → reference-view-DfXN7oWP.js} +1 -1
- package/dist/packem_shared/{result-chart-DZradBAS.js → result-chart-Bf9mbCIo.js} +1 -1
- package/dist/packem_shared/{studio-CuNuEnSJ.js → studio-8QSXbZ98.js} +684 -609
- package/dist/packem_shared/{table-list-sidebar-huX4VmgI.js → table-list-sidebar-gCE17v9B.js} +1 -1
- package/dist/packem_shared/trace-handoff-CGolF3KS.js +38 -0
- package/dist/packem_shared/{use-admin-query-BGJ010yZ.js → use-admin-query-C7JNuQp-.js} +1 -1
- package/dist/packem_shared/{use-async-submit-DGCtuDyz.js → use-async-submit-rnSk_jXl.js} +2 -2
- package/dist/standalone/{chunk-WOYQG5AM.js → chunk-2YTF6LJ6.js} +1 -1
- package/dist/standalone/chunk-3LJEGSMK.js +11 -0
- package/dist/standalone/{chunk-OOLK6C5I.js → chunk-56XQYNUJ.js} +1 -1
- package/dist/standalone/chunk-5QT5JRXD.js +3 -0
- package/dist/standalone/{chunk-VC2VDAUO.js → chunk-6RLPR7PL.js} +1 -1
- package/dist/standalone/{chunk-XFINDIAB.js → chunk-6V74EUPK.js} +1 -1
- package/dist/standalone/{chunk-RCSULEDU.js → chunk-7EE33WLB.js} +1 -1
- package/dist/standalone/{chunk-XCNYUUD6.js → chunk-AN4RKMKW.js} +1 -1
- package/dist/standalone/{chunk-S7BCXJWD.js → chunk-AXNGWSBM.js} +1 -1
- package/dist/standalone/{chunk-4A7VE2UO.js → chunk-AXZILWRM.js} +1 -1
- package/dist/standalone/{chunk-EGANQQLW.js → chunk-C7RHEBOH.js} +1 -1
- package/dist/standalone/chunk-CSWIYOB3.js +1 -0
- package/dist/standalone/{chunk-AL5UKM6M.js → chunk-D3VAON25.js} +1 -1
- package/dist/standalone/{chunk-HNIDN3RX.js → chunk-DDLQN67F.js} +1 -1
- package/dist/standalone/chunk-DGHW5JG5.js +1 -0
- package/dist/standalone/{chunk-6RW37KKD.js → chunk-DMCSOTAE.js} +1 -1
- package/dist/standalone/{chunk-E5Z2TAAR.js → chunk-E3BKETAS.js} +1 -1
- package/dist/standalone/{chunk-LJE6PGHD.js → chunk-E3OXNN6O.js} +1 -1
- package/dist/standalone/chunk-E6BOGDIS.js +1 -0
- package/dist/standalone/{chunk-FDWXYXOM.js → chunk-F2YMCQ6B.js} +1 -1
- package/dist/standalone/{chunk-D73WYMRU.js → chunk-F7GE4X2U.js} +1 -1
- package/dist/standalone/{chunk-3W4CSGDO.js → chunk-FAVUOGJR.js} +1 -1
- package/dist/standalone/{chunk-YS7NUMAN.js → chunk-FXP6256Q.js} +1 -1
- package/dist/standalone/{chunk-RVVADT2N.js → chunk-G6CTAYHJ.js} +1 -1
- package/dist/standalone/chunk-H42W62SE.js +1 -0
- package/dist/standalone/{chunk-5XO36X4C.js → chunk-HBGS4SEX.js} +8 -8
- package/dist/standalone/{chunk-25CDYYNE.js → chunk-HTF5ZX4I.js} +1 -1
- package/dist/standalone/{chunk-6ZGXWDSY.js → chunk-I2PS4L74.js} +1 -1
- package/dist/standalone/{chunk-LJ3KEIPO.js → chunk-J7OGP4NN.js} +1 -1
- package/dist/standalone/{chunk-3BYY75EO.js → chunk-L2LN3MK4.js} +1 -1
- package/dist/standalone/{chunk-2U3KE6IP.js → chunk-LT3FH6MW.js} +1 -1
- package/dist/standalone/{chunk-ZXLEXF4X.js → chunk-LXULVPEM.js} +3 -3
- package/dist/standalone/{chunk-XTOCLVRS.js → chunk-LZUWZBPE.js} +1 -1
- package/dist/standalone/{chunk-2DCA6LV7.js → chunk-M4JM3TOY.js} +1 -1
- package/dist/standalone/{chunk-OEIBZ5AI.js → chunk-MLA5ZAEB.js} +1 -1
- package/dist/standalone/{chunk-WQC5IIF7.js → chunk-MRBI5HNQ.js} +1 -1
- package/dist/standalone/{chunk-CHNXZYAC.js → chunk-N5XX4HOL.js} +1 -1
- package/dist/standalone/{chunk-SPACAIAR.js → chunk-NKFXMDOD.js} +1 -1
- package/dist/standalone/{chunk-D54HL2MW.js → chunk-NPSNKFHE.js} +1 -1
- package/dist/standalone/{chunk-WCLFE2ZB.js → chunk-O7FVPUCO.js} +1 -1
- package/dist/standalone/{chunk-GVFODXW2.js → chunk-OKQXTLFX.js} +1 -1
- package/dist/standalone/{chunk-G4GGGHEV.js → chunk-QAIM6KWT.js} +1 -1
- package/dist/standalone/{chunk-7YGTGBP7.js → chunk-QCPMTB6W.js} +1 -1
- package/dist/standalone/{chunk-LYAWJGSH.js → chunk-QQ2LOSZL.js} +1 -1
- package/dist/standalone/{chunk-XZWFP2GI.js → chunk-QVUQXJCT.js} +1 -1
- package/dist/standalone/{chunk-6LQ3FXP2.js → chunk-R2GMHLJY.js} +1 -1
- package/dist/standalone/{chunk-4F72YCTU.js → chunk-RD5UG2YL.js} +1 -1
- package/dist/standalone/chunk-RJTIP3WF.js +1 -0
- package/dist/standalone/chunk-SOC5CY3F.js +1 -0
- package/dist/standalone/{chunk-JWCCDDLY.js → chunk-SS7JLF2I.js} +1 -1
- package/dist/standalone/{chunk-VDOUWYIZ.js → chunk-SWWYUGPL.js} +1 -1
- package/dist/standalone/chunk-TEWVD66F.js +1 -0
- package/dist/standalone/{chunk-ULOBAURC.js → chunk-TTXRHJUP.js} +1 -1
- package/dist/standalone/{chunk-BZ5BHTVF.js → chunk-UKDHGVOC.js} +1 -1
- package/dist/standalone/{chunk-5IGHDPEP.js → chunk-UPNTMJFF.js} +1 -1
- package/dist/standalone/{chunk-FQUNSQLG.js → chunk-WMDH2CIZ.js} +1 -1
- package/dist/standalone/{chunk-DOLG4V3A.js → chunk-XN6QYJQ6.js} +1 -1
- package/dist/standalone/chunk-Y4U6CC22.js +1 -0
- package/dist/standalone/{chunk-SWMBBYJU.js → chunk-Y7PD5KP4.js} +1 -1
- package/dist/standalone/chunk-YFIPHCEC.js +1 -0
- package/dist/standalone/chunk-YJXOWLFJ.js +1 -0
- package/dist/standalone/{chunk-2XJ3WRKW.js → chunk-YNN6NFRZ.js} +1 -1
- package/dist/standalone/{chunk-DBCP55V6.js → chunk-YUGHRVPD.js} +1 -1
- package/dist/standalone/studio.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +6 -6
- package/dist/standalone/chunk-5SXQWGTH.js +0 -1
- package/dist/standalone/chunk-DGWFJ3GW.js +0 -1
- package/dist/standalone/chunk-ILGPO3PK.js +0 -3
- package/dist/standalone/chunk-MHGJUKCZ.js +0 -1
- package/dist/standalone/chunk-N3V74RBP.js +0 -1
- package/dist/standalone/chunk-OBFYFJYZ.js +0 -1
- package/dist/standalone/chunk-S2G7OH5T.js +0 -11
- package/dist/standalone/chunk-VJABWVPW.js +0 -1
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
3
|
import { f as formatLogFields } from '../packem_shared/log-fields-jEH83H2G.js';
|
|
4
|
-
import { E as ErrorAlert } from '../packem_shared/error-alert-
|
|
4
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-D9uIFJUS.js';
|
|
5
5
|
import { L as LiveError } from '../packem_shared/live-status-FZ0psC1z.js';
|
|
6
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-C7JNuQp-.js';
|
|
11
11
|
import useDebounced from '../packem_shared/useDebounced-Dxncpg6z.js';
|
|
12
12
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
13
|
-
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-
|
|
14
|
-
import { i as formatTimestamp } from '../packem_shared/internal-
|
|
13
|
+
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-P2UzJscH.js';
|
|
14
|
+
import { i as formatTimestamp } from '../packem_shared/internal-DzHCc2Rq.js';
|
|
15
15
|
import { r as recordShard } from '../packem_shared/shard-history-AxiJ1WPP.js';
|
|
16
|
+
import { p as peekPendingTraceFilter, c as clearPendingTraceFilter } from '../packem_shared/trace-handoff-CGolF3KS.js';
|
|
16
17
|
import { c as cn } from '../packem_shared/utils-B05Dmz_H.js';
|
|
17
18
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
18
19
|
|
|
@@ -38,7 +39,7 @@ const filterTraces = (traces, search) => {
|
|
|
38
39
|
if (needle === "") {
|
|
39
40
|
return [...traces];
|
|
40
41
|
}
|
|
41
|
-
return traces.filter((trace) => trace.rootName.toLowerCase().includes(needle) || trace.functionPath.toLowerCase().includes(needle));
|
|
42
|
+
return traces.filter((trace) => trace.rootName.toLowerCase().includes(needle) || trace.functionPath.toLowerCase().includes(needle) || trace.traceId.toLowerCase().includes(needle));
|
|
42
43
|
};
|
|
43
44
|
const formatSpanDuration = (durationMs) => {
|
|
44
45
|
if (!Number.isFinite(durationMs)) {
|
|
@@ -490,40 +491,49 @@ const TraceRow = (t0) => {
|
|
|
490
491
|
return t20;
|
|
491
492
|
};
|
|
492
493
|
const TracesPanel = (t0) => {
|
|
493
|
-
const $ = c(
|
|
494
|
+
const $ = c(44);
|
|
494
495
|
const {
|
|
495
496
|
initialShardKey
|
|
496
497
|
} = t0;
|
|
497
498
|
const t = useT();
|
|
498
|
-
const [
|
|
499
|
-
const [
|
|
499
|
+
const [pending] = useState(peekPendingTraceFilter);
|
|
500
|
+
const [shardKey, setShardKey] = useState(pending?.shardKey !== void 0 && pending.shardKey !== "" ? pending.shardKey : initialShardKey ?? "");
|
|
501
|
+
const [search, setSearch] = useState(pending?.traceId ?? "");
|
|
500
502
|
const [expanded, setExpanded] = useState(_temp);
|
|
501
503
|
let t1;
|
|
502
|
-
if ($[0]
|
|
503
|
-
t1 =
|
|
504
|
-
$[0] =
|
|
505
|
-
$[1] = t1;
|
|
504
|
+
if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
505
|
+
t1 = [];
|
|
506
|
+
$[0] = t1;
|
|
506
507
|
} else {
|
|
507
|
-
t1 = $[
|
|
508
|
+
t1 = $[0];
|
|
508
509
|
}
|
|
509
|
-
|
|
510
|
+
useEffect(_temp2, t1);
|
|
510
511
|
let t2;
|
|
511
|
-
if ($[
|
|
512
|
-
t2 =
|
|
512
|
+
if ($[1] !== shardKey) {
|
|
513
|
+
t2 = shardKey.trim();
|
|
514
|
+
$[1] = shardKey;
|
|
513
515
|
$[2] = t2;
|
|
514
516
|
} else {
|
|
515
517
|
t2 = $[2];
|
|
516
518
|
}
|
|
519
|
+
const debouncedShard = useDebounced(t2, 400);
|
|
517
520
|
let t3;
|
|
518
|
-
if ($[3]
|
|
519
|
-
t3 = {
|
|
521
|
+
if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
522
|
+
t3 = {};
|
|
523
|
+
$[3] = t3;
|
|
524
|
+
} else {
|
|
525
|
+
t3 = $[3];
|
|
526
|
+
}
|
|
527
|
+
let t4;
|
|
528
|
+
if ($[4] !== debouncedShard) {
|
|
529
|
+
t4 = {
|
|
520
530
|
live: true,
|
|
521
531
|
shardKey: debouncedShard
|
|
522
532
|
};
|
|
523
|
-
$[
|
|
524
|
-
$[
|
|
533
|
+
$[4] = debouncedShard;
|
|
534
|
+
$[5] = t4;
|
|
525
535
|
} else {
|
|
526
|
-
|
|
536
|
+
t4 = $[5];
|
|
527
537
|
}
|
|
528
538
|
const {
|
|
529
539
|
data,
|
|
@@ -531,44 +541,44 @@ const TracesPanel = (t0) => {
|
|
|
531
541
|
errorSource,
|
|
532
542
|
isLoading,
|
|
533
543
|
liveError
|
|
534
|
-
} = useAdminQuery(ADMIN_FUNCTIONS.getTraces,
|
|
535
|
-
let t4;
|
|
544
|
+
} = useAdminQuery(ADMIN_FUNCTIONS.getTraces, t3, t4);
|
|
536
545
|
let t5;
|
|
537
|
-
|
|
538
|
-
|
|
546
|
+
let t6;
|
|
547
|
+
if ($[6] !== data || $[7] !== debouncedShard) {
|
|
548
|
+
t5 = () => {
|
|
539
549
|
if (data !== void 0) {
|
|
540
550
|
recordShard(debouncedShard);
|
|
541
551
|
}
|
|
542
552
|
};
|
|
543
|
-
|
|
544
|
-
$[
|
|
545
|
-
$[
|
|
546
|
-
$[7] = t4;
|
|
553
|
+
t6 = [data, debouncedShard];
|
|
554
|
+
$[6] = data;
|
|
555
|
+
$[7] = debouncedShard;
|
|
547
556
|
$[8] = t5;
|
|
557
|
+
$[9] = t6;
|
|
548
558
|
} else {
|
|
549
|
-
t4 = $[7];
|
|
550
559
|
t5 = $[8];
|
|
560
|
+
t6 = $[9];
|
|
551
561
|
}
|
|
552
|
-
useEffect(
|
|
553
|
-
let
|
|
554
|
-
if ($[
|
|
562
|
+
useEffect(t5, t6);
|
|
563
|
+
let t7;
|
|
564
|
+
if ($[10] !== data || $[11] !== error || $[12] !== errorSource || $[13] !== expanded || $[14] !== isLoading || $[15] !== liveError || $[16] !== search || $[17] !== shardKey || $[18] !== t) {
|
|
555
565
|
const traces = tracesOf(data);
|
|
556
566
|
const total = data?.total ?? traces.length;
|
|
557
567
|
const truncated = total > traces.length;
|
|
558
568
|
const filtered = filterTraces(traces, search);
|
|
559
|
-
let
|
|
560
|
-
if ($[
|
|
561
|
-
|
|
569
|
+
let t8;
|
|
570
|
+
if ($[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
571
|
+
t8 = (event) => {
|
|
562
572
|
setSearch(event.target.value);
|
|
563
573
|
};
|
|
564
|
-
$[
|
|
574
|
+
$[20] = t8;
|
|
565
575
|
} else {
|
|
566
|
-
|
|
576
|
+
t8 = $[20];
|
|
567
577
|
}
|
|
568
|
-
const onSearchChange =
|
|
569
|
-
let
|
|
570
|
-
if ($[
|
|
571
|
-
|
|
578
|
+
const onSearchChange = t8;
|
|
579
|
+
let t9;
|
|
580
|
+
if ($[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
581
|
+
t9 = (traceId) => {
|
|
572
582
|
setExpanded((previous) => {
|
|
573
583
|
const next = new Set(previous);
|
|
574
584
|
if (next.has(traceId)) {
|
|
@@ -579,96 +589,96 @@ const TracesPanel = (t0) => {
|
|
|
579
589
|
return next;
|
|
580
590
|
});
|
|
581
591
|
};
|
|
582
|
-
$[
|
|
592
|
+
$[21] = t9;
|
|
583
593
|
} else {
|
|
584
|
-
|
|
594
|
+
t9 = $[21];
|
|
585
595
|
}
|
|
586
|
-
const onToggle =
|
|
596
|
+
const onToggle = t9;
|
|
587
597
|
const showEmpty = error === null && filtered.length === 0 && !isLoading;
|
|
588
|
-
let
|
|
589
|
-
if ($[
|
|
590
|
-
|
|
598
|
+
let t10;
|
|
599
|
+
if ($[22] !== shardKey) {
|
|
600
|
+
t10 = /* @__PURE__ */ jsxDEV(ShardInput, {
|
|
591
601
|
onChange: setShardKey,
|
|
592
602
|
testId: "tr-shard-input",
|
|
593
603
|
value: shardKey
|
|
594
604
|
}, void 0, false);
|
|
595
|
-
$[
|
|
596
|
-
$[
|
|
605
|
+
$[22] = shardKey;
|
|
606
|
+
$[23] = t10;
|
|
597
607
|
} else {
|
|
598
|
-
|
|
599
|
-
}
|
|
600
|
-
let t10;
|
|
601
|
-
if ($[23] !== t) {
|
|
602
|
-
t10 = t("Search traces");
|
|
603
|
-
$[23] = t;
|
|
604
|
-
$[24] = t10;
|
|
605
|
-
} else {
|
|
606
|
-
t10 = $[24];
|
|
608
|
+
t10 = $[23];
|
|
607
609
|
}
|
|
608
610
|
let t11;
|
|
609
|
-
if ($[
|
|
610
|
-
t11 = t("
|
|
611
|
-
$[
|
|
612
|
-
$[
|
|
611
|
+
if ($[24] !== t) {
|
|
612
|
+
t11 = t("Search traces");
|
|
613
|
+
$[24] = t;
|
|
614
|
+
$[25] = t11;
|
|
613
615
|
} else {
|
|
614
|
-
t11 = $[
|
|
616
|
+
t11 = $[25];
|
|
615
617
|
}
|
|
616
618
|
let t12;
|
|
617
|
-
if ($[
|
|
618
|
-
t12 =
|
|
619
|
-
|
|
619
|
+
if ($[26] !== t) {
|
|
620
|
+
t12 = t("search trace or function");
|
|
621
|
+
$[26] = t;
|
|
622
|
+
$[27] = t12;
|
|
623
|
+
} else {
|
|
624
|
+
t12 = $[27];
|
|
625
|
+
}
|
|
626
|
+
let t13;
|
|
627
|
+
if ($[28] !== search || $[29] !== t11 || $[30] !== t12) {
|
|
628
|
+
t13 = /* @__PURE__ */ jsxDEV(Input, {
|
|
629
|
+
"aria-label": t11,
|
|
620
630
|
className: "h-8 w-56",
|
|
621
631
|
"data-testid": "tr-search",
|
|
622
632
|
onChange: onSearchChange,
|
|
623
|
-
placeholder:
|
|
633
|
+
placeholder: t12,
|
|
624
634
|
value: search
|
|
625
635
|
}, void 0, false);
|
|
626
|
-
$[
|
|
627
|
-
$[28] = t10;
|
|
636
|
+
$[28] = search;
|
|
628
637
|
$[29] = t11;
|
|
629
638
|
$[30] = t12;
|
|
639
|
+
$[31] = t13;
|
|
630
640
|
} else {
|
|
631
|
-
|
|
641
|
+
t13 = $[31];
|
|
632
642
|
}
|
|
633
|
-
let
|
|
634
|
-
if ($[
|
|
635
|
-
|
|
643
|
+
let t14;
|
|
644
|
+
if ($[32] !== liveError) {
|
|
645
|
+
t14 = /* @__PURE__ */ jsxDEV(LiveError, {
|
|
636
646
|
message: liveError,
|
|
637
647
|
prefix: "tr"
|
|
638
648
|
}, void 0, false);
|
|
639
|
-
$[
|
|
640
|
-
$[
|
|
649
|
+
$[32] = liveError;
|
|
650
|
+
$[33] = t14;
|
|
641
651
|
} else {
|
|
642
|
-
|
|
652
|
+
t14 = $[33];
|
|
643
653
|
}
|
|
644
|
-
let
|
|
645
|
-
if ($[
|
|
646
|
-
|
|
654
|
+
let t15;
|
|
655
|
+
if ($[34] !== t10 || $[35] !== t13 || $[36] !== t14) {
|
|
656
|
+
t15 = /* @__PURE__ */ jsxDEV("div", {
|
|
647
657
|
className: "flex flex-wrap items-center gap-2",
|
|
648
|
-
children: [
|
|
658
|
+
children: [t10, t13, t14]
|
|
649
659
|
}, void 0, true);
|
|
650
|
-
$[
|
|
651
|
-
$[
|
|
652
|
-
$[35] = t9;
|
|
660
|
+
$[34] = t10;
|
|
661
|
+
$[35] = t13;
|
|
653
662
|
$[36] = t14;
|
|
663
|
+
$[37] = t15;
|
|
654
664
|
} else {
|
|
655
|
-
|
|
665
|
+
t15 = $[37];
|
|
656
666
|
}
|
|
657
|
-
let
|
|
658
|
-
if ($[
|
|
659
|
-
|
|
667
|
+
let t16;
|
|
668
|
+
if ($[38] !== error || $[39] !== errorSource) {
|
|
669
|
+
t16 = error !== null && /* @__PURE__ */ jsxDEV(ErrorAlert, {
|
|
660
670
|
error: errorSource,
|
|
661
671
|
testId: "tr-error"
|
|
662
672
|
}, void 0, false);
|
|
663
|
-
$[
|
|
664
|
-
$[
|
|
665
|
-
$[
|
|
673
|
+
$[38] = error;
|
|
674
|
+
$[39] = errorSource;
|
|
675
|
+
$[40] = t16;
|
|
666
676
|
} else {
|
|
667
|
-
|
|
677
|
+
t16 = $[40];
|
|
668
678
|
}
|
|
669
|
-
let
|
|
670
|
-
if ($[
|
|
671
|
-
|
|
679
|
+
let t17;
|
|
680
|
+
if ($[41] !== showEmpty || $[42] !== t) {
|
|
681
|
+
t17 = showEmpty && /* @__PURE__ */ jsxDEV(EmptyState, {
|
|
672
682
|
description: t("Traces recorded with ctx.trace show up here as your app handles traffic. The span buffer resets when the shard hibernates."),
|
|
673
683
|
icon: /* @__PURE__ */ jsxDEV("svg", {
|
|
674
684
|
"aria-hidden": "true",
|
|
@@ -685,16 +695,16 @@ const TracesPanel = (t0) => {
|
|
|
685
695
|
testId: "tr-empty",
|
|
686
696
|
title: t("No traces")
|
|
687
697
|
}, void 0, false);
|
|
688
|
-
$[
|
|
689
|
-
$[
|
|
690
|
-
$[
|
|
698
|
+
$[41] = showEmpty;
|
|
699
|
+
$[42] = t;
|
|
700
|
+
$[43] = t17;
|
|
691
701
|
} else {
|
|
692
|
-
|
|
702
|
+
t17 = $[43];
|
|
693
703
|
}
|
|
694
|
-
|
|
704
|
+
t7 = /* @__PURE__ */ jsxDEV("div", {
|
|
695
705
|
className: "flex flex-col gap-4",
|
|
696
706
|
"data-testid": "lunora-traces-panel",
|
|
697
|
-
children: [
|
|
707
|
+
children: [t15, t16, t17, error === null && truncated && /* @__PURE__ */ jsxDEV("p", {
|
|
698
708
|
className: "text-xs text-muted-foreground",
|
|
699
709
|
"data-testid": "tr-truncated",
|
|
700
710
|
children: t("Showing the {shown} most recent of {total} traces in the buffer.", {
|
|
@@ -712,23 +722,26 @@ const TracesPanel = (t0) => {
|
|
|
712
722
|
}, trace.traceId, false))
|
|
713
723
|
}, void 0, false)]
|
|
714
724
|
}, void 0, true);
|
|
715
|
-
$[
|
|
716
|
-
$[
|
|
717
|
-
$[
|
|
718
|
-
$[
|
|
719
|
-
$[
|
|
720
|
-
$[
|
|
721
|
-
$[
|
|
722
|
-
$[
|
|
723
|
-
$[
|
|
724
|
-
$[
|
|
725
|
-
} else {
|
|
726
|
-
|
|
727
|
-
}
|
|
728
|
-
return
|
|
725
|
+
$[10] = data;
|
|
726
|
+
$[11] = error;
|
|
727
|
+
$[12] = errorSource;
|
|
728
|
+
$[13] = expanded;
|
|
729
|
+
$[14] = isLoading;
|
|
730
|
+
$[15] = liveError;
|
|
731
|
+
$[16] = search;
|
|
732
|
+
$[17] = shardKey;
|
|
733
|
+
$[18] = t;
|
|
734
|
+
$[19] = t7;
|
|
735
|
+
} else {
|
|
736
|
+
t7 = $[19];
|
|
737
|
+
}
|
|
738
|
+
return t7;
|
|
729
739
|
};
|
|
730
740
|
function _temp() {
|
|
731
741
|
return /* @__PURE__ */ new Set();
|
|
732
742
|
}
|
|
743
|
+
function _temp2() {
|
|
744
|
+
clearPendingTraceFilter();
|
|
745
|
+
}
|
|
733
746
|
|
|
734
747
|
export { TracesPanel };
|
|
@@ -6,13 +6,13 @@ import { C as Card, a as CardContent } from '../packem_shared/card-F2vH_aj2.js';
|
|
|
6
6
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
7
7
|
import { I as Input } from '../packem_shared/input-XH4r1Pt1.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 { a as useClientQuery } from '../packem_shared/use-admin-query-
|
|
9
|
+
import { a as useClientQuery } from '../packem_shared/use-admin-query-C7JNuQp-.js';
|
|
10
10
|
import { c } from 'react/compiler-runtime';
|
|
11
|
-
import { a as useAuthConfig, u as useAsyncSubmit } from '../packem_shared/use-async-submit-
|
|
11
|
+
import { a as useAuthConfig, u as useAsyncSubmit } from '../packem_shared/use-async-submit-rnSk_jXl.js';
|
|
12
12
|
import { useAutoRefresh } from '../packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
13
13
|
import useDebounced from '../packem_shared/useDebounced-Dxncpg6z.js';
|
|
14
14
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
15
|
-
import { i as formatTimestamp, h as formatCell, f as fireAndForget, e as errorMessage } from '../packem_shared/internal-
|
|
15
|
+
import { i as formatTimestamp, h as formatCell, f as fireAndForget, e as errorMessage } from '../packem_shared/internal-DzHCc2Rq.js';
|
|
16
16
|
import { C as Checkbox } from '../packem_shared/checkbox-UNkzAxl-.js';
|
|
17
17
|
import { L as Label } from '../packem_shared/label-D8ykjn5J.js';
|
|
18
18
|
import { M as ModalShell } from '../packem_shared/modal-shell-hyaJvIJ6.js';
|
|
@@ -7,7 +7,7 @@ import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
|
7
7
|
import { I as Input } from '../packem_shared/input-XH4r1Pt1.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
9
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
10
|
-
import { f as fireAndForget, e as errorMessage, h as formatCell } from '../packem_shared/internal-
|
|
10
|
+
import { f as fireAndForget, e as errorMessage, h as formatCell } from '../packem_shared/internal-DzHCc2Rq.js';
|
|
11
11
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
12
12
|
|
|
13
13
|
const DEFAULT_TOP_K = 10;
|
|
@@ -6,10 +6,10 @@ import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
|
6
6
|
import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
|
|
7
7
|
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';
|
|
8
8
|
import { T as Textarea } from '../packem_shared/textarea-D3gaCU_-.js';
|
|
9
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
9
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-C7JNuQp-.js';
|
|
10
10
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
11
|
-
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-
|
|
12
|
-
import { f as fireAndForget, e as errorMessage, c as callOptions, a as adminRef } from '../packem_shared/internal-
|
|
11
|
+
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-P2UzJscH.js';
|
|
12
|
+
import { f as fireAndForget, e as errorMessage, c as callOptions, a as adminRef } from '../packem_shared/internal-DzHCc2Rq.js';
|
|
13
13
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
14
14
|
|
|
15
15
|
const STATUS_FILTERS = ["queued", "running", "paused", "waiting", "complete", "errored", "terminated"];
|
|
@@ -12,17 +12,20 @@ const ADMIN_FUNCTIONS = {
|
|
|
12
12
|
facetColumn: "__lunora_admin__:facetColumn",
|
|
13
13
|
getAdvisories: "__lunora_admin__:getAdvisories",
|
|
14
14
|
getAuditLog: "__lunora_admin__:getAuditLog",
|
|
15
|
+
getAuthAuditLog: "__lunora_admin__:getAuthAuditLog",
|
|
15
16
|
getAuthMetrics: "__lunora_admin__:getAuthMetrics",
|
|
16
17
|
getCapturedMail: "__lunora_admin__:getCapturedMail",
|
|
17
18
|
getFanoutMetrics: "__lunora_admin__:getFanoutMetrics",
|
|
18
19
|
getFunctionStats: "__lunora_admin__:getFunctionStats",
|
|
19
20
|
getIssues: "__lunora_admin__:getIssues",
|
|
20
21
|
listFlags: "__lunora_admin__:listFlags",
|
|
22
|
+
listPushSubscriptions: "__lunora_admin__:listPushSubscriptions",
|
|
21
23
|
listQueues: "__lunora_admin__:listQueues",
|
|
22
24
|
listSubscriptions: "__lunora_admin__:listSubscriptions",
|
|
23
25
|
listTableIndexes: "__lunora_admin__:listTableIndexes",
|
|
24
26
|
listWorkflows: "__lunora_admin__:listWorkflows",
|
|
25
27
|
getLogs: "__lunora_admin__:getLogs",
|
|
28
|
+
getMetricHistory: "__lunora_admin__:getMetricHistory",
|
|
26
29
|
getMetricSeries: "__lunora_admin__:getMetricSeries",
|
|
27
30
|
getMetrics: "__lunora_admin__:getMetrics",
|
|
28
31
|
getPitrBookmark: "__lunora_admin__:getPitrBookmark",
|
|
@@ -4,8 +4,8 @@ import { useState, useEffect } from 'react';
|
|
|
4
4
|
import { B as Button } from './button-BhsN2uZH.js';
|
|
5
5
|
import { E as EmptyState } from './empty-state-DY_oe0k6.js';
|
|
6
6
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
7
|
-
import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-
|
|
8
|
-
import { c as callOptions, a as adminRef, g as copyToClipboard } from './internal-
|
|
7
|
+
import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-P2UzJscH.js';
|
|
8
|
+
import { c as callOptions, a as adminRef, g as copyToClipboard } from './internal-DzHCc2Rq.js';
|
|
9
9
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
10
10
|
|
|
11
11
|
const LIST_TABLES = adminRef(ADMIN_FUNCTIONS.listTables);
|
|
@@ -2,7 +2,7 @@ import { c } from 'react/compiler-runtime';
|
|
|
2
2
|
import { useLunora } from '@lunora/react';
|
|
3
3
|
import { E as EmptyState } from './empty-state-DY_oe0k6.js';
|
|
4
4
|
import { S as Skeleton } from './skeleton-CGhL0p20.js';
|
|
5
|
-
import { u as useAdminSpec, R as ReferenceView } from './reference-view-
|
|
5
|
+
import { u as useAdminSpec, R as ReferenceView } from './reference-view-DfXN7oWP.js';
|
|
6
6
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
7
7
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
8
8
|
|
|
@@ -3,7 +3,7 @@ import { Dialog } from '@base-ui/react/dialog';
|
|
|
3
3
|
import { useNavigate } from '@tanstack/react-router';
|
|
4
4
|
import { useState, useRef, useEffect } from 'react';
|
|
5
5
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
6
|
-
import { f as fireAndForget } from './internal-
|
|
6
|
+
import { f as fireAndForget } from './internal-DzHCc2Rq.js';
|
|
7
7
|
import { c as cn } from './utils-B05Dmz_H.js';
|
|
8
8
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
9
9
|
|
|
@@ -5,20 +5,20 @@ import { ConfirmButton } from './ConfirmButton-C2eVi2Qv.js';
|
|
|
5
5
|
import { ShardInput } from './ShardInput-CZnpHILL.js';
|
|
6
6
|
import { E as EmptyState } from './empty-state-DY_oe0k6.js';
|
|
7
7
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
8
|
-
import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-
|
|
9
|
-
import { h as formatCell, f as fireAndForget, c as callOptions, a as adminRef, i as formatTimestamp } from './internal-
|
|
8
|
+
import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-P2UzJscH.js';
|
|
9
|
+
import { h as formatCell, f as fireAndForget, c as callOptions, a as adminRef, i as formatTimestamp } from './internal-DzHCc2Rq.js';
|
|
10
10
|
import { useReactTable, getSortedRowModel, getCoreRowModel, flexRender } from '@tanstack/react-table';
|
|
11
11
|
import { useVirtualizer } from '@tanstack/react-virtual';
|
|
12
12
|
import { C as Checkbox } from './checkbox-UNkzAxl-.js';
|
|
13
13
|
import { c as cn } from './utils-B05Dmz_H.js';
|
|
14
14
|
import { f as flooredRectObserver } from './virtual-rect-CVMUskSm.js';
|
|
15
|
-
import { G as GridContainer, C as CellValue, T as TransposedTable } from './data-grid-
|
|
15
|
+
import { G as GridContainer, C as CellValue, T as TransposedTable } from './data-grid-BywzWfek.js';
|
|
16
16
|
import { jsxDEV, Fragment } from 'react/jsx-dev-runtime';
|
|
17
|
-
import { u as useFacets, T as TableListSidebar, G as GridPagination, D as DataFacets } from './table-list-sidebar-
|
|
17
|
+
import { u as useFacets, T as TableListSidebar, G as GridPagination, D as DataFacets } from './table-list-sidebar-gCE17v9B.js';
|
|
18
18
|
import { toFilterClauses, DataFilters } from './DataFilters-B1Q7mrt7.js';
|
|
19
19
|
import { M as ModalShell } from './modal-shell-hyaJvIJ6.js';
|
|
20
|
-
import { G as GridActionsBar, C as CellDetailDialog } from './grid-features-
|
|
21
|
-
import { u as useAdminQuery } from './use-admin-query-
|
|
20
|
+
import { G as GridActionsBar, C as CellDetailDialog } from './grid-features-ZOLhHKrR.js';
|
|
21
|
+
import { u as useAdminQuery } from './use-admin-query-C7JNuQp-.js';
|
|
22
22
|
import useDebounced from './useDebounced-Dxncpg6z.js';
|
|
23
23
|
import { r as recordShard, l as loadRecentShards } from './shard-history-AxiJ1WPP.js';
|
|
24
24
|
|
|
@@ -2,12 +2,12 @@ import { useLunora } from '@lunora/react';
|
|
|
2
2
|
import { useState, useRef, useCallback, useEffect } from 'react';
|
|
3
3
|
import { E as EmptyState } from './empty-state-DY_oe0k6.js';
|
|
4
4
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from './table-DsCa9Qp9.js';
|
|
5
|
-
import { a as useClientQuery } from './use-admin-query-
|
|
5
|
+
import { a as useClientQuery } from './use-admin-query-C7JNuQp-.js';
|
|
6
6
|
import { useAutoRefresh } from './DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
7
7
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
8
8
|
import { C as CLOUDFLARE_D1_URL } from './cf-links-SIbyi4Y1.js';
|
|
9
|
-
import { u as useFacets, T as TableListSidebar, G as GridPagination, D as DataFacets } from './table-list-sidebar-
|
|
10
|
-
import { G as GridContainer, C as CellValue } from './data-grid-
|
|
9
|
+
import { u as useFacets, T as TableListSidebar, G as GridPagination, D as DataFacets } from './table-list-sidebar-gCE17v9B.js';
|
|
10
|
+
import { G as GridContainer, C as CellValue } from './data-grid-BywzWfek.js';
|
|
11
11
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
12
12
|
|
|
13
13
|
const DEFAULT_PAGE_SIZE = 50;
|
|
@@ -4,11 +4,11 @@ import 'react';
|
|
|
4
4
|
import './badge-B2PKA1-5.js';
|
|
5
5
|
import './card-F2vH_aj2.js';
|
|
6
6
|
import './empty-state-DY_oe0k6.js';
|
|
7
|
-
import './use-admin-query-
|
|
7
|
+
import './use-admin-query-C7JNuQp-.js';
|
|
8
8
|
import './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
9
|
-
import './ADMIN_FUNCTIONS-
|
|
10
|
-
import './internal-
|
|
9
|
+
import './ADMIN_FUNCTIONS-P2UzJscH.js';
|
|
10
|
+
import './internal-DzHCc2Rq.js';
|
|
11
11
|
import './utils-B05Dmz_H.js';
|
|
12
12
|
import './DEFAULT_INSIGHT_THRESHOLDS-DjF0h-gA.js';
|
|
13
|
-
export { H as HomePanel } from './home-panel-
|
|
13
|
+
export { H as HomePanel } from './home-panel-BRAA2UlM.js';
|
|
14
14
|
import 'react/jsx-dev-runtime';
|
package/dist/packem_shared/{OpenRpcReferencePanel-CWaf0ZtX.js → OpenRpcReferencePanel-CIeQE1aE.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { c } from 'react/compiler-runtime';
|
|
|
2
2
|
import { useLunora } from '@lunora/react';
|
|
3
3
|
import { E as EmptyState } from './empty-state-DY_oe0k6.js';
|
|
4
4
|
import { S as Skeleton } from './skeleton-CGhL0p20.js';
|
|
5
|
-
import { u as useAdminSpec, R as ReferenceView } from './reference-view-
|
|
5
|
+
import { u as useAdminSpec, R as ReferenceView } from './reference-view-DfXN7oWP.js';
|
|
6
6
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
7
7
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
8
8
|
|
|
@@ -5,10 +5,10 @@ import { ConfirmButton } from './ConfirmButton-C2eVi2Qv.js';
|
|
|
5
5
|
import { C as Card, a as CardContent } from './card-F2vH_aj2.js';
|
|
6
6
|
import { E as EmptyState } from './empty-state-DY_oe0k6.js';
|
|
7
7
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from './table-DsCa9Qp9.js';
|
|
8
|
-
import { a as useClientQuery } from './use-admin-query-
|
|
8
|
+
import { a as useClientQuery } from './use-admin-query-C7JNuQp-.js';
|
|
9
9
|
import { useAutoRefresh } from './DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
10
10
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
11
|
-
import { f as fireAndForget, i as formatTimestamp, e as errorMessage } from './internal-
|
|
11
|
+
import { f as fireAndForget, i as formatTimestamp, e as errorMessage } from './internal-DzHCc2Rq.js';
|
|
12
12
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
13
13
|
|
|
14
14
|
const formatScheduledFor = (value) => Number.isFinite(value) ? formatTimestamp(value, "—") : "—";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import 'react/compiler-runtime';
|
|
2
2
|
import '@tanstack/react-router';
|
|
3
3
|
import 'react';
|
|
4
|
-
export { S as Studio } from './studio-
|
|
4
|
+
export { S as Studio } from './studio-8QSXbZ98.js';
|
|
5
5
|
import './ErrorBoundary-BzAApI7J.js';
|
|
6
6
|
import './badge-B2PKA1-5.js';
|
|
7
7
|
import './input-XH4r1Pt1.js';
|
|
8
8
|
import './skeleton-CGhL0p20.js';
|
|
9
|
-
import './home-panel-
|
|
9
|
+
import './home-panel-BRAA2UlM.js';
|
|
10
10
|
import './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
11
11
|
import './StudioI18nProvider-B-tDCZIi.js';
|
|
12
12
|
import './data-view-params-Cd6yRVbv.js';
|
|
13
|
-
import './internal-
|
|
13
|
+
import './internal-DzHCc2Rq.js';
|
|
14
14
|
import './utils-B05Dmz_H.js';
|
|
15
|
-
import './CommandPalette-
|
|
15
|
+
import './CommandPalette-BpkopP5f.js';
|
|
16
16
|
import 'react/jsx-dev-runtime';
|
|
@@ -3,11 +3,11 @@ import { LunoraClient } from '@lunora/client';
|
|
|
3
3
|
import { LunoraProvider } from '@lunora/react';
|
|
4
4
|
import { useState, useEffect } from 'react';
|
|
5
5
|
import { ErrorBoundary } from './ErrorBoundary-BzAApI7J.js';
|
|
6
|
-
import { u as useTheme, B as BrandMark, T as ThemeProvider, a as TooltipProvider, S as Studio } from './studio-
|
|
6
|
+
import { u as useTheme, B as BrandMark, T as ThemeProvider, a as TooltipProvider, S as Studio } from './studio-8QSXbZ98.js';
|
|
7
7
|
import useDebounced from './useDebounced-Dxncpg6z.js';
|
|
8
8
|
import { useT, createStudioI18n } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
9
9
|
import { StudioI18nProvider } from './StudioI18nProvider-B-tDCZIi.js';
|
|
10
|
-
import { r as resolveOrigin } from './internal-
|
|
10
|
+
import { r as resolveOrigin } from './internal-DzHCc2Rq.js';
|
|
11
11
|
import STUDIO_ROOT_CLASS from './STUDIO_ROOT_CLASS-D12gX2dV.js';
|
|
12
12
|
import { a as storageOf } from './browser-storage-L4gOP5gJ.js';
|
|
13
13
|
import { c as cn } from './utils-B05Dmz_H.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState, useMemo } from 'react';
|
|
2
|
-
import { E as ErrorAlert } from './error-alert-
|
|
2
|
+
import { E as ErrorAlert } from './error-alert-D9uIFJUS.js';
|
|
3
3
|
import { C as Card, a as CardContent } from './card-F2vH_aj2.js';
|
|
4
4
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from './table-DsCa9Qp9.js';
|
|
5
5
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
@@ -92,7 +92,7 @@ interface FunctionDescriptor {
|
|
|
92
92
|
/** Outcome of a single `FunctionRunner` invocation. */
|
|
93
93
|
type RunStatus = "error" | "idle" | "running" | "success";
|
|
94
94
|
/** Identifier for each built-in studio tab. */
|
|
95
|
-
type StudioTab = "agents" | "analytics" | "api" | "audit" | "authConfig" | "authSessions" | "containers" | "dashboards" | "data" | "drains" | "export" | "fanout" | "files" | "flags" | "functions" | "health" | "home" | "insights" | "issues" | "kv" | "logs" | "mail" | "metrics" | "migrations" | "organizations" | "payments" | "permissions" | "pitr" | "queues" | "realtime" | "rls" | "schedule" | "schema" | "security" | "settings" | "sql" | "storageRules" | "traces" | "users" | "vectors" | "workflows";
|
|
95
|
+
type StudioTab = "agents" | "analytics" | "api" | "audit" | "authAudit" | "authConfig" | "authSessions" | "containers" | "dashboards" | "data" | "deploymentHealth" | "drains" | "export" | "fanout" | "files" | "flags" | "functions" | "health" | "home" | "insights" | "issues" | "kv" | "logs" | "mail" | "metrics" | "migrations" | "notifications" | "organizations" | "payments" | "permissions" | "pitr" | "queues" | "realtime" | "rls" | "schedule" | "schema" | "security" | "settings" | "sql" | "storageRules" | "traces" | "users" | "vectors" | "workflows";
|
|
96
96
|
interface StudioProps {
|
|
97
97
|
/**
|
|
98
98
|
* URL path prefix the studio is mounted under, passed to the router as its
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
3
|
-
import { h as formatCell } from './internal-
|
|
3
|
+
import { h as formatCell } from './internal-DzHCc2Rq.js';
|
|
4
4
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
5
5
|
|
|
6
6
|
const CellValue = (t0) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { flattenHint } from '@lunora/errors';
|
|
3
|
-
import { b as errorHint, d as errorDocumentationUrl, e as errorMessage } from './internal-
|
|
3
|
+
import { b as errorHint, d as errorDocumentationUrl, e as errorMessage } from './internal-DzHCc2Rq.js';
|
|
4
4
|
import { A as Alert } from './alert-CdAET2K_.js';
|
|
5
5
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
6
6
|
|