@lunora/studio 1.0.0-alpha.26 → 1.0.0-alpha.28
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 +9 -4
- package/dist/index.js +28 -28
- package/dist/mount.d.ts +1 -1
- package/dist/mount.js +1 -1
- package/dist/packem_shared/{ApiDocsPanel-BgrN4kml.js → ApiDocsPanel-BSSgtcVf.js} +1 -1
- package/dist/packem_shared/{ApiReferencePanel-1vubqG5s.js → ApiReferencePanel-D24xOjCw.js} +1 -1
- package/dist/packem_shared/{ApiTab-CHkX49o_.js → ApiTab-vo8uhE29.js} +3 -3
- package/dist/packem_shared/{AuditPanel-CP9HM9nq.js → AuditPanel-CBjYR6S5.js} +3 -3
- package/dist/packem_shared/{CommandPalette-BtgkBzZI.js → CommandPalette-L-CuSRUc.js} +1 -1
- package/dist/packem_shared/{DataBrowser-Bb1gTQ6c.js → DataBrowser-DBKOIVKS.js} +23 -6
- package/dist/packem_shared/{ExportImportPanel-Dj87tRa5.js → ExportImportPanel-DtDEy4OD.js} +2 -2
- package/dist/packem_shared/{FileBrowser-CWvxp_is.js → FileBrowser-DqLRjqsM.js} +3 -3
- package/dist/packem_shared/{FunctionRunner-DlWApMCH.js → FunctionRunner-BmRkCvT4.js} +1 -1
- package/dist/packem_shared/{FunctionStatsPanel-CuO2Tmw-.js → FunctionStatsPanel-Bi3kyQvu.js} +3 -3
- package/dist/packem_shared/{GlobalDataBrowser-3X9uRfdO.js → GlobalDataBrowser-DOjhvhKa.js} +4 -4
- package/dist/packem_shared/{HealthPanel-Dj0GRo5P.js → HealthPanel-C7IPO6Ts.js} +2 -2
- package/dist/packem_shared/HomePanel-dJIkHY_i.js +14 -0
- package/dist/packem_shared/{InsightsPanel-y_Q-xdPY.js → InsightsPanel-BD29GXXd.js} +3 -3
- package/dist/packem_shared/{LogsPanel-C7crgYoS.js → LogsPanel-2JhE1qep.js} +1 -1
- package/dist/packem_shared/{MailPanel-PILidruz.js → MailPanel-DwNsuFJC.js} +2 -2
- package/dist/packem_shared/MetricsPanel-CRa4ITlq.js +19 -0
- package/dist/packem_shared/{MigrationsPanel-DkIcRoE5.js → MigrationsPanel-Z1DmSSzf.js} +3 -3
- package/dist/packem_shared/{OpenRpcReferencePanel-vbcYbv3V.js → OpenRpcReferencePanel-Dq0yyVWz.js} +1 -1
- package/dist/packem_shared/{PitrPanel-yKJ1JPPk.js → PitrPanel-3mec0LTF.js} +1 -1
- package/dist/packem_shared/{ScheduledJobs-BWNwIN3I.js → ScheduledJobs--Z9GTmKb.js} +3 -3
- package/dist/packem_shared/{SchemaViewer-CNr8Wame.js → SchemaViewer-nxDV7dZJ.js} +1 -1
- package/dist/packem_shared/{SecurityAdvisorPanel-BBzv7L3c.js → SecurityAdvisorPanel-5tYrJdvn.js} +2 -2
- package/dist/packem_shared/{SettingsPanel-BKSKl8tl.js → SettingsPanel-SijRekVc.js} +2 -2
- package/dist/packem_shared/{SqlEditorPanel-CkemCQvy.js → SqlEditorPanel-DI4obotI.js} +5 -5
- package/dist/packem_shared/Studio-B_L5Q2-X.js +33 -0
- package/dist/packem_shared/{StudioApp-sRWTipvw.js → StudioApp-wxioPfiP.js} +1 -1
- package/dist/packem_shared/{TableEditor-JS3sXYgS.js → TableEditor-1T-5KYtr.js} +4 -4
- package/dist/packem_shared/{advisor-view-CGcfMiPq.js → advisor-view-DzqyvUU3.js} +1 -1
- package/dist/packem_shared/{app.d-Cnij4Zp5.d.ts → app.d-B6MyY_al.d.ts} +1 -1
- package/dist/packem_shared/{data-grid-B5CaV3wS.js → data-grid-CrapHxR-.js} +1 -1
- package/dist/packem_shared/{grid-features-CzUfqgsM.js → grid-features-DnTbXXNb.js} +1 -1
- package/dist/packem_shared/{HomePanel-BewOCuag.js → home-panel-VdQI_8oX.js} +504 -138
- package/dist/packem_shared/{internal-rXJEAhXS.js → internal-CvMZCVd6.js} +1 -1
- package/dist/packem_shared/{MetricsPanel-DioILzgf.js → metrics-panel-3FSfzgEX.js} +4 -4
- package/dist/packem_shared/{reference-view-B4E49Lip.js → reference-view-DVyk5kXj.js} +1 -1
- package/dist/packem_shared/{sql-editor-panel-CUJoYF1Z.js → sql-editor-panel-DBuIpCXk.js} +4 -4
- package/dist/packem_shared/{studio-r7cJPJ__.js → studio-Dm6H5DHS.js} +2459 -606
- package/dist/packem_shared/{table-_RzNvy3R.js → table-DsCa9Qp9.js} +1 -1
- package/dist/packem_shared/{table-editor-9fhJ4hMJ.js → table-editor-7iSgi3te.js} +3 -3
- package/dist/packem_shared/{table-list-sidebar-Bg7uzbvC.js → table-list-sidebar-BbSgfLJ2.js} +1 -1
- package/dist/packem_shared/{use-admin-query-BkbdNFNz.js → use-admin-query-CFl5GUg_.js} +1 -1
- package/dist/standalone/studio.js +171 -171
- package/dist/styles.css +1 -1
- package/package.json +5 -5
- package/dist/packem_shared/Studio-CkKjUl2u.js +0 -33
package/dist/packem_shared/{OpenRpcReferencePanel-vbcYbv3V.js → OpenRpcReferencePanel-Dq0yyVWz.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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
|
-
import { u as useAdminSpec, S as Skeleton, R as ReferenceView } from './reference-view-
|
|
4
|
+
import { u as useAdminSpec, S as Skeleton, R as ReferenceView } from './reference-view-DVyk5kXj.js';
|
|
5
5
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
6
6
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
7
7
|
|
|
@@ -8,7 +8,7 @@ import { L as Label } from './label-D8ykjn5J.js';
|
|
|
8
8
|
import { useAutoRefresh } from './DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
9
9
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
10
10
|
import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-CdaxLGkE.js';
|
|
11
|
-
import { c as callOptions, e as errorMessage, f as fireAndForget, a as adminRef } from './internal-
|
|
11
|
+
import { c as callOptions, e as errorMessage, f as fireAndForget, a as adminRef } from './internal-CvMZCVd6.js';
|
|
12
12
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
13
13
|
|
|
14
14
|
const GET_BOOKMARK = adminRef(ADMIN_FUNCTIONS.getPitrBookmark);
|
|
@@ -4,11 +4,11 @@ import { useState, useEffect } from 'react';
|
|
|
4
4
|
import { ConfirmButton } from './ConfirmButton-C2eVi2Qv.js';
|
|
5
5
|
import { C as Card, a as CardContent } from './card-DURq3ElK.js';
|
|
6
6
|
import { E as EmptyState } from './empty-state-DY_oe0k6.js';
|
|
7
|
-
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from './table-
|
|
8
|
-
import { b as useClientQuery } from './use-admin-query-
|
|
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 { b as useClientQuery } from './use-admin-query-CFl5GUg_.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, b as formatTimestamp, e as errorMessage } from './internal-
|
|
11
|
+
import { f as fireAndForget, b as formatTimestamp, e as errorMessage } from './internal-CvMZCVd6.js';
|
|
12
12
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
13
13
|
|
|
14
14
|
const formatScheduledFor = (value) => Number.isFinite(value) ? formatTimestamp(value, "—") : "—";
|
|
@@ -12,7 +12,7 @@ import { I as Input } from './input-XH4r1Pt1.js';
|
|
|
12
12
|
import useDebounced from './useDebounced-Dxncpg6z.js';
|
|
13
13
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
14
14
|
import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-CdaxLGkE.js';
|
|
15
|
-
import { f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from './internal-
|
|
15
|
+
import { f as fireAndForget, c as callOptions, e as errorMessage, a as adminRef } from './internal-CvMZCVd6.js';
|
|
16
16
|
import { r as recordShard } from './shard-history-DyebH1R5.js';
|
|
17
17
|
import { c as cn } from './utils-B05Dmz_H.js';
|
|
18
18
|
import { Download01Icon } from '@hugeicons/core-free-icons';
|
package/dist/packem_shared/{SecurityAdvisorPanel-BBzv7L3c.js → SecurityAdvisorPanel-5tYrJdvn.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
|
-
import { u as useAdminQuery } from './use-admin-query-
|
|
2
|
+
import { u as useAdminQuery } from './use-admin-query-CFl5GUg_.js';
|
|
3
3
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
4
4
|
import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-CdaxLGkE.js';
|
|
5
|
-
import { A as AdvisorView } from './advisor-view-
|
|
5
|
+
import { A as AdvisorView } from './advisor-view-DzqyvUU3.js';
|
|
6
6
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
7
7
|
|
|
8
8
|
const findingTitle = (t, finding) => ({
|
|
@@ -2,8 +2,8 @@ import { c } from 'react/compiler-runtime';
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import { B as Badge } from './badge-B2PKA1-5.js';
|
|
4
4
|
import { C as Card, a as CardContent } from './card-DURq3ElK.js';
|
|
5
|
-
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from './table-
|
|
6
|
-
import { u as useAdminQuery } from './use-admin-query-
|
|
5
|
+
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from './table-DsCa9Qp9.js';
|
|
6
|
+
import { u as useAdminQuery } from './use-admin-query-CFl5GUg_.js';
|
|
7
7
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
8
8
|
import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-CdaxLGkE.js';
|
|
9
9
|
import { a as CLOUDFLARE_WORKERS_URL } from './cf-links-2cktDedA.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import 'react/compiler-runtime';
|
|
2
2
|
import '@lunora/react';
|
|
3
3
|
import 'react';
|
|
4
|
-
export { S as SqlEditorPanel } from './sql-editor-panel-
|
|
4
|
+
export { S as SqlEditorPanel } from './sql-editor-panel-DBuIpCXk.js';
|
|
5
5
|
import './ShardInput-gx_DZXXn.js';
|
|
6
|
-
import './table-
|
|
6
|
+
import './table-DsCa9Qp9.js';
|
|
7
7
|
import './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
8
8
|
import './ADMIN_FUNCTIONS-CdaxLGkE.js';
|
|
9
|
-
import './internal-
|
|
9
|
+
import './internal-CvMZCVd6.js';
|
|
10
10
|
import './shard-history-DyebH1R5.js';
|
|
11
|
-
import './data-grid-
|
|
12
|
-
import './grid-features-
|
|
11
|
+
import './data-grid-CrapHxR-.js';
|
|
12
|
+
import './grid-features-DnTbXXNb.js';
|
|
13
13
|
import 'react/jsx-dev-runtime';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import 'react/compiler-runtime';
|
|
2
|
+
import '@tanstack/react-router';
|
|
3
|
+
import 'react';
|
|
4
|
+
export { S as Studio } from './studio-Dm6H5DHS.js';
|
|
5
|
+
import './ErrorBoundary-BzAApI7J.js';
|
|
6
|
+
import './badge-B2PKA1-5.js';
|
|
7
|
+
import './input-XH4r1Pt1.js';
|
|
8
|
+
import './reference-view-DVyk5kXj.js';
|
|
9
|
+
import './InsightsPanel-BD29GXXd.js';
|
|
10
|
+
import './SecurityAdvisorPanel-5tYrJdvn.js';
|
|
11
|
+
import './ApiTab-vo8uhE29.js';
|
|
12
|
+
import './table-editor-7iSgi3te.js';
|
|
13
|
+
import './ExportImportPanel-DtDEy4OD.js';
|
|
14
|
+
import './MigrationsPanel-Z1DmSSzf.js';
|
|
15
|
+
import './PitrPanel-3mec0LTF.js';
|
|
16
|
+
import './FunctionRunner-BmRkCvT4.js';
|
|
17
|
+
import './FunctionStatsPanel-Bi3kyQvu.js';
|
|
18
|
+
import './home-panel-VdQI_8oX.js';
|
|
19
|
+
import './AuditPanel-CBjYR6S5.js';
|
|
20
|
+
import './LogsPanel-2JhE1qep.js';
|
|
21
|
+
import './MailPanel-DwNsuFJC.js';
|
|
22
|
+
import './HealthPanel-C7IPO6Ts.js';
|
|
23
|
+
import './metrics-panel-3FSfzgEX.js';
|
|
24
|
+
import './SchemaViewer-nxDV7dZJ.js';
|
|
25
|
+
import './SettingsPanel-SijRekVc.js';
|
|
26
|
+
import './sql-editor-panel-DBuIpCXk.js';
|
|
27
|
+
import './FileBrowser-DqLRjqsM.js';
|
|
28
|
+
import './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
29
|
+
import './StudioI18nProvider-B-tDCZIi.js';
|
|
30
|
+
import './internal-CvMZCVd6.js';
|
|
31
|
+
import './utils-B05Dmz_H.js';
|
|
32
|
+
import './CommandPalette-L-CuSRUc.js';
|
|
33
|
+
import 'react/jsx-dev-runtime';
|
|
@@ -3,7 +3,7 @@ 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-Dm6H5DHS.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';
|
|
@@ -4,8 +4,8 @@ import '@tanstack/react-router';
|
|
|
4
4
|
import 'react';
|
|
5
5
|
import './storage-tier-CL98eOvn.js';
|
|
6
6
|
import './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
7
|
-
export { T as TableEditor } from './table-editor-
|
|
8
|
-
import './internal-
|
|
9
|
-
import './DataBrowser-
|
|
10
|
-
import './GlobalDataBrowser-
|
|
7
|
+
export { T as TableEditor } from './table-editor-7iSgi3te.js';
|
|
8
|
+
import './internal-CvMZCVd6.js';
|
|
9
|
+
import './DataBrowser-DBKOIVKS.js';
|
|
10
|
+
import './GlobalDataBrowser-DOjhvhKa.js';
|
|
11
11
|
import 'react/jsx-dev-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState, useMemo } from 'react';
|
|
2
2
|
import { C as Card, a as CardContent } from './card-DURq3ElK.js';
|
|
3
|
-
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from './table-
|
|
3
|
+
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from './table-DsCa9Qp9.js';
|
|
4
4
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
5
5
|
import { c as cn } from './utils-B05Dmz_H.js';
|
|
6
6
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
@@ -115,7 +115,7 @@ interface FunctionDescriptor {
|
|
|
115
115
|
/** Outcome of a single `FunctionRunner` invocation. */
|
|
116
116
|
type RunStatus = "error" | "idle" | "running" | "success";
|
|
117
117
|
/** Identifier for each built-in studio tab. */
|
|
118
|
-
type StudioTab = "analytics" | "api" | "audit" | "authConfig" | "authSessions" | "dashboards" | "data" | "drains" | "export" | "fanout" | "files" | "flags" | "functions" | "health" | "home" | "insights" | "logs" | "mail" | "metrics" | "migrations" | "organizations" | "payments" | "permissions" | "pitr" | "queues" | "realtime" | "rls" | "schedule" | "schema" | "security" | "settings" | "sql" | "storageRules" | "users" | "vectors" | "workflows";
|
|
118
|
+
type StudioTab = "analytics" | "api" | "audit" | "authConfig" | "authSessions" | "dashboards" | "data" | "drains" | "export" | "fanout" | "files" | "flags" | "functions" | "health" | "home" | "insights" | "kv" | "logs" | "mail" | "metrics" | "migrations" | "organizations" | "payments" | "permissions" | "pitr" | "queues" | "realtime" | "rls" | "schedule" | "schema" | "security" | "settings" | "sql" | "storageRules" | "users" | "vectors" | "workflows";
|
|
119
119
|
interface StudioProps {
|
|
120
120
|
/**
|
|
121
121
|
* 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 {
|
|
3
|
+
import { g as formatCell } from './internal-CvMZCVd6.js';
|
|
4
4
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
5
5
|
|
|
6
6
|
const CellValue = (t0) => {
|
|
@@ -5,7 +5,7 @@ import { D as DropdownMenuTrigger, a as DropdownMenuLabel, b as DropdownMenuItem
|
|
|
5
5
|
import { c as cn } from './utils-B05Dmz_H.js';
|
|
6
6
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
7
7
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
8
|
-
import {
|
|
8
|
+
import { g as formatCell, f as fireAndForget } from './internal-CvMZCVd6.js';
|
|
9
9
|
|
|
10
10
|
const OVERLAY_BY_VARIANT = {
|
|
11
11
|
dialog: "fixed inset-0 z-[1000] flex justify-center bg-black/20 pt-[10vh]",
|