@hot-updater/console 1.0.0-rc.0 → 1.0.0-rc.2
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/.output/nitro.json +1 -1
- package/.output/public/assets/HashValueDisplay-CB0Eskit.js +1 -0
- package/.output/public/assets/InsightsPageHeader-Car5LNiZ.js +1 -0
- package/.output/public/assets/api-keys-BzKocqRy.js +1 -0
- package/.output/public/assets/api-keys-api-BHcODB7q.js +1 -0
- package/.output/public/assets/card-Dhr_eFYj.js +1 -0
- package/.output/public/assets/{chart-no-axes-combined-FaYMGmQS.js → chart-no-axes-combined-Dy4WJv2U.js} +1 -1
- package/.output/public/assets/composite-Bp98A0Ld.js +1 -0
- package/.output/public/assets/createServerFn-CA8fs7QD.js +3 -0
- package/.output/public/assets/dialog-CUTrcPlB.js +1 -0
- package/.output/public/assets/{dist-DspNKfMj.js → dist-C_NydL0e.js} +1 -1
- package/.output/public/assets/index-DdAz-CXv.js +10 -0
- package/.output/public/assets/input-group-cSOG4wh_.js +1 -0
- package/.output/public/assets/insights-C0PBSZ-n.js +1 -0
- package/.output/public/assets/installations-CE33wgbY.js +2 -0
- package/.output/public/assets/installations-CStZja8x.js +1 -0
- package/.output/public/assets/lazyRouteComponent-Ccp3bwBY.js +1 -0
- package/.output/public/assets/link-CI8idAUi.js +1 -0
- package/.output/public/assets/loader-circle-BoxLrsOu.js +1 -0
- package/.output/public/assets/refresh-cw-Bqc72UZG.js +1 -0
- package/.output/public/assets/{routes-DcQnVajO.js → routes-DGVXdzpw.js} +2 -2
- package/.output/public/assets/routes-DTlwOr8I.js +1 -0
- package/.output/public/assets/{shield-check-DE_hVuHu.js → shield-check-uK3MHWJZ.js} +1 -1
- package/.output/public/assets/signing-CMf4aqDO.js +1 -0
- package/.output/public/assets/styles-BCvbtKsm.css +2 -0
- package/.output/public/assets/table-2vcV89QB.js +1 -0
- package/.output/public/assets/useCompositeListItem-CHLITE_4.js +1 -0
- package/.output/public/assets/x-DCd0j8c6.js +1 -0
- package/.output/server/{__23tanstack-start-server-fn-resolver-DBP9TQ7K.mjs → __23tanstack-start-server-fn-resolver-B7ioJhtE.mjs} +44 -52
- package/.output/server/_libs/@base-ui/react+[...].mjs +1906 -4040
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +52 -4
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +2 -2
- package/.output/server/_libs/lucide-react.mjs +36 -3
- package/.output/server/_libs/next-themes.mjs +2 -2
- package/.output/server/_libs/sonner.mjs +2 -2
- package/.output/server/_libs/tanstack__react-query.mjs +2 -2
- package/.output/server/_libs/verkit.mjs +20 -15
- package/.output/server/_runtime.mjs +1 -10
- package/.output/server/_ssr/HashValueDisplay-DwpGLfrl.mjs +55 -0
- package/.output/server/_ssr/InsightsPageHeader-Df4Brj8u.mjs +484 -0
- package/.output/server/_ssr/{api-keys-BnM_o2nS.mjs → api-keys-CZeTPQys.mjs} +11 -13
- package/.output/server/_ssr/{api-keys-api-CIywsSF5.mjs → api-keys-api-BUPQVSpk.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-rpc-BSp1wkIV.mjs → api-keys-rpc-Cs7tS5_j.mjs} +5 -5
- package/.output/server/_ssr/{api-rpc-cG5wd_tO.mjs → api-rpc-tAupfGQm.mjs} +73 -142
- package/.output/server/_ssr/{auth-rpc-BrJ6obHJ.mjs → auth-rpc-DUaeOWKK.mjs} +4 -4
- package/.output/server/_ssr/{auth.server-DwKoZoQM.mjs → auth.server-DW71WzsD.mjs} +2 -5
- package/.output/server/_ssr/{bundle-signing-rpc-COoQhW8E.mjs → bundle-signing-rpc-BhnBw0-d.mjs} +2 -2
- package/.output/server/_ssr/bundle-signing.server-C4NW5mWx.mjs +12 -0
- package/.output/server/_ssr/{alert-Dim3MGY5.mjs → card-BRiPmi0C.mjs} +61 -39
- package/.output/server/_ssr/{config.server-DEiLhKmy.mjs → config.server-afDuAwaG.mjs} +15 -8
- package/.output/server/_ssr/{createSsrRpc-9P0S0lJ3.mjs → createSsrRpc-DjWNJ0uc.mjs} +6 -6
- package/.output/server/_ssr/databaseJsonValue-d6I3nAS4.mjs +45 -0
- package/.output/server/_ssr/{databaseRows-CwbNwYSl.mjs → databaseRows-5bCRTxm-.mjs} +4 -44
- package/.output/server/_ssr/{deleteBundle-Cu_XOMt0.mjs → deleteBundle-BTGwBgzx.mjs} +2 -2
- package/.output/server/_ssr/{dialog-CQuRMNZ4.mjs → dialog-DS-nw-pA.mjs} +2 -2
- package/.output/server/_ssr/{dist-BVSLTpoP.mjs → dist-CyzPaI5v.mjs} +2 -2
- package/.output/server/_ssr/{getBundleChildren-BcRMFoDF.mjs → getBundleChildren-C0vh4ZvE.mjs} +2 -2
- package/.output/server/_ssr/input-group-BpsnmvZw.mjs +70 -0
- package/.output/server/_ssr/insights-BdS364Xu.mjs +460 -0
- package/.output/server/_ssr/insights-rpc-38DujK0G.mjs +57 -0
- package/.output/server/_ssr/insightsContract-fjJDBeEE.mjs +303 -0
- package/.output/server/_ssr/installations-CtA59MQG.mjs +29 -0
- package/.output/server/_ssr/installations-DiVKEF5T.mjs +627 -0
- package/.output/server/_ssr/{router-C-KUBfOi.mjs → router-B9wG_9f8.mjs} +37 -46
- package/.output/server/_ssr/{routes-Z7TwC6nC.mjs → routes-CKrrS2q2.mjs} +3 -3
- package/.output/server/_ssr/{routes-BM4ht9jb.mjs → routes-D7Yh_jfj.mjs} +402 -390
- package/.output/server/_ssr/runtime.server-DacU1TBV.mjs +438 -0
- package/.output/server/_ssr/{server-BjzmvXnO.mjs → server-D_C2rMzf.mjs} +5 -5
- package/.output/server/_ssr/{signing-k8GxyBDF.mjs → signing-Dz1WkZOf.mjs} +16 -85
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{field-DRIXKjZG.mjs → table-CnZmon_Z.mjs} +51 -5
- package/.output/server/_ssr/{uuidv7-BbJ-9D_I.mjs → uuidv7-D0QFkPL_.mjs} +3 -3
- package/.output/server/_tanstack-start-manifest_v-2MjTyxil.mjs +97 -0
- package/.output/server/index.mjs +168 -203
- package/lib/index.d.mts +4 -4
- package/lib/vite-internal.mjs +1 -1
- package/lib/vite.d.mts +0 -1
- package/package.json +8 -8
- package/src/components/AppSidebar.tsx +12 -16
- package/src/components/ConsoleAccessPage.tsx +1 -1
- package/src/components/HashValueDisplay.tsx +11 -2
- package/src/components/features/api-keys/ApiKeysPage.tsx +1 -1
- package/src/components/features/bundles/BundleChildrenPanel.tsx +7 -6
- package/src/components/features/bundles/BundleMetadata.tsx +1 -20
- package/src/components/features/channels/ChannelManagementDialog.tsx +1 -1
- package/src/components/features/insights/EventDetails.tsx +151 -0
- package/src/components/features/insights/EventHistoryCard.tsx +245 -0
- package/src/components/features/insights/EventHistoryList.tsx +63 -0
- package/src/components/features/insights/InsightsBundleReports.tsx +51 -0
- package/src/components/features/insights/InsightsControls.tsx +121 -0
- package/src/components/features/{analytics/AnalyticsErrorAlert.tsx → insights/InsightsErrorAlert.tsx} +6 -6
- package/src/components/features/insights/InsightsOverview.tsx +203 -0
- package/src/components/features/insights/InsightsPageHeader.tsx +48 -0
- package/src/components/features/insights/InsightsPagination.tsx +52 -0
- package/src/components/features/insights/InstallationHistoryCard.tsx +250 -0
- package/src/components/features/insights/InstallationMatchesCard.tsx +178 -0
- package/src/components/features/insights/InstallationPageHeader.tsx +90 -0
- package/src/components/features/releases/ReleaseEditorSheet.tsx +24 -24
- package/src/components/features/signing/BundleSigningPage.tsx +18 -126
- package/src/components/ui/badge.tsx +2 -0
- package/src/components/ui/combobox.tsx +1 -0
- package/src/components/ui/skeleton.tsx +4 -1
- package/src/components/ui/tooltip.tsx +1 -1
- package/src/index.ts +7 -3
- package/src/lib/api-rpc.ts +19 -90
- package/src/lib/api.ts +0 -99
- package/src/lib/insights-api.ts +100 -0
- package/src/lib/insights-rpc.ts +88 -0
- package/src/lib/insights-view.ts +15 -0
- package/src/lib/public-bundle-error.ts +19 -0
- package/src/lib/server/bundle-signing.server.ts +5 -82
- package/src/lib/server/console-runtime.server.ts +0 -9
- package/src/lib/server/releaseReachability.ts +1 -4
- package/src/lib/server/runtime.server.ts +6 -142
- package/src/routeTree.gen.ts +21 -21
- package/src/router.tsx +3 -0
- package/src/routes/-installations-search.ts +25 -12
- package/src/routes/__root.tsx +6 -16
- package/src/routes/api-keys.tsx +1 -1
- package/src/routes/index.tsx +21 -81
- package/src/routes/insights.tsx +84 -0
- package/src/routes/installations.tsx +294 -142
- package/src/styles.css +6 -0
- package/.output/public/assets/AnalyticsCapabilityContext-BCke57-7.js +0 -1
- package/.output/public/assets/BundleActivityChart-CnsBe_1J.js +0 -42
- package/.output/public/assets/BundleIdDisplay-Dky75zLU.js +0 -1
- package/.output/public/assets/alert-C-1KvDW8.js +0 -1
- package/.output/public/assets/analytics-Bqz0c-BT.js +0 -1
- package/.output/public/assets/analytics-api-CJdrTLLO.js +0 -1
- package/.output/public/assets/api-B_Rh-uzC.js +0 -1
- package/.output/public/assets/api-keys-BurCFhzH.js +0 -1
- package/.output/public/assets/api-keys-api-BEDJdQg3.js +0 -1
- package/.output/public/assets/badge-Bf0fZ-Gx.js +0 -1
- package/.output/public/assets/createServerFn-gM2-LFBy.js +0 -3
- package/.output/public/assets/dialog-BS60BRr2.js +0 -1
- package/.output/public/assets/download-O-yNBc9H.js +0 -1
- package/.output/public/assets/field-Buq148-A.js +0 -1
- package/.output/public/assets/index-kFhd2S78.js +0 -10
- package/.output/public/assets/installations-BrQ-od41.js +0 -2
- package/.output/public/assets/installations-CGlZ3ROz.js +0 -1
- package/.output/public/assets/lazyRouteComponent-rPzgA7S-.js +0 -1
- package/.output/public/assets/loader-circle-DCYF-wJl.js +0 -1
- package/.output/public/assets/refresh-cw-n8XYbPPj.js +0 -1
- package/.output/public/assets/routes-CrdokJ80.js +0 -1
- package/.output/public/assets/search-DLhbWw3W.js +0 -1
- package/.output/public/assets/signing-HRexfjsH.js +0 -1
- package/.output/public/assets/styles-eB4EtvFS.css +0 -2
- package/.output/public/assets/table-D8CLieHX.js +0 -1
- package/.output/public/assets/textarea-YJLTVAoq.js +0 -1
- package/.output/public/assets/useMutation-JsGVjQMY.js +0 -1
- package/.output/public/assets/useOpenInteractionType-4cRD5xO0.js +0 -1
- package/.output/server/_libs/@reduxjs/toolkit+[...].mjs +0 -1554
- package/.output/server/_libs/d3-array.mjs +0 -231
- package/.output/server/_libs/d3-color.mjs +0 -330
- package/.output/server/_libs/d3-format.mjs +0 -252
- package/.output/server/_libs/d3-interpolate.mjs +0 -207
- package/.output/server/_libs/d3-path.mjs +0 -77
- package/.output/server/_libs/d3-scale+[...].mjs +0 -1907
- package/.output/server/_libs/d3-shape.mjs +0 -818
- package/.output/server/_libs/decimal.js-light.mjs +0 -884
- package/.output/server/_libs/es-toolkit.mjs +0 -1134
- package/.output/server/_libs/eventemitter3.mjs +0 -236
- package/.output/server/_libs/immer.mjs +0 -532
- package/.output/server/_libs/react-redux+[...].mjs +0 -205
- package/.output/server/_libs/recharts+[...].mjs +0 -14117
- package/.output/server/_ssr/AnalyticsCapabilityContext-ui4DX8GO.mjs +0 -15
- package/.output/server/_ssr/BundleActivityChart-BiB9ZORH.mjs +0 -288
- package/.output/server/_ssr/BundleIdDisplay-Czk6iR6p.mjs +0 -13
- package/.output/server/_ssr/analytics-DtMTn8fn.mjs +0 -858
- package/.output/server/_ssr/analytics-api-Cg1M5v_H.mjs +0 -71
- package/.output/server/_ssr/analytics-input-fRRRn0uA.mjs +0 -96
- package/.output/server/_ssr/analytics-rpc-DY5uXvHT.mjs +0 -155
- package/.output/server/_ssr/api-BTSv1tZb.mjs +0 -282
- package/.output/server/_ssr/badge-DCxbEeof.mjs +0 -26
- package/.output/server/_ssr/bundle-signing.server-D5u8KkMp.mjs +0 -51
- package/.output/server/_ssr/installations-B-azgAvX.mjs +0 -19
- package/.output/server/_ssr/installations-Ctvzp2JH.mjs +0 -535
- package/.output/server/_ssr/runtime.server-awTLiiXW.mjs +0 -527
- package/.output/server/_ssr/table-v1yCvYo7.mjs +0 -53
- package/.output/server/_ssr/textarea-DYHnskhb.mjs +0 -14
- package/.output/server/_tanstack-start-manifest_v-CH4StzJu.mjs +0 -108
- package/src/components/features/analytics/ActivityChart.tsx +0 -150
- package/src/components/features/analytics/AnalyticsCapabilityContext.tsx +0 -24
- package/src/components/features/analytics/AnalyticsControls.tsx +0 -115
- package/src/components/features/analytics/AnalyticsOverview.tsx +0 -208
- package/src/components/features/analytics/BundleDistribution.tsx +0 -133
- package/src/components/features/analytics/BundleSelector.tsx +0 -114
- package/src/components/features/analytics/InstallationHistoryCard.tsx +0 -248
- package/src/components/features/analytics/InstallationMatchesCard.tsx +0 -132
- package/src/components/features/analytics/InstallationPageHeader.tsx +0 -138
- package/src/components/features/analytics/InstallationPagination.tsx +0 -48
- package/src/components/features/analytics/InstallationSearch.tsx +0 -230
- package/src/components/features/analytics/UpdateOutcomes.tsx +0 -147
- package/src/components/features/bundles/BundleActivityChart.tsx +0 -193
- package/src/components/features/bundles/BundleAnalyticsSummary.tsx +0 -123
- package/src/lib/analytics-api.ts +0 -145
- package/src/lib/analytics-error.ts +0 -19
- package/src/lib/analytics-input.ts +0 -187
- package/src/lib/analytics-overview.ts +0 -170
- package/src/lib/analytics-rpc.ts +0 -218
- package/src/lib/server/releaseActivity.ts +0 -27
- package/src/routes/analytics.tsx +0 -139
- /package/.output/public/assets/{preload-helper-TKOBYGYD.js → preload-helper-CQ36nxok.js} +0 -0
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { at as require_react, it as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
-
import { n as useAnalyticsCapability, t as AnalyticsCapabilityProvider } from "./AnalyticsCapabilityContext-ui4DX8GO.mjs";
|
|
1
|
+
import { r as __toESM } from "../_runtime.mjs";
|
|
4
2
|
import { c as createServerFn } from "./createServerFn-B2hcXoPM.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { a as
|
|
3
|
+
import { J as require_react, q as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
|
+
import { F as ChartNoAxesCombined, S as Info, _ as Moon, c as ShieldCheck, g as OctagonX, k as CircleCheck, m as Package, n as TriangleAlert, o as Sun, x as KeyRound, y as LoaderCircle } from "../_libs/lucide-react.mjs";
|
|
5
|
+
import { S as buttonVariants, a as SidebarContent, b as TooltipProvider, c as SidebarGroupContent, d as SidebarInset, f as SidebarMenu, h as SidebarProvider, i as Sidebar, l as SidebarGroupLabel, m as SidebarMenuItem, o as SidebarFooter, p as SidebarMenuButton, s as SidebarGroup, t as Button$1, u as SidebarHeader, w as createSsrRpc } from "./createSsrRpc-DjWNJ0uc.mjs";
|
|
6
|
+
import { a as HeadContent, d as lazyRouteComponent, f as createFileRoute, i as Scripts, l as createRouter, m as Link, o as useRouterState, p as createRootRouteWithContext, u as Outlet } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
8
7
|
import { t as QueryClient } from "../_libs/tanstack__query-core.mjs";
|
|
9
|
-
import {
|
|
10
|
-
import { n as useApiKeyCapabilityQuery, t as ensureApiKeyRouteAccess } from "./api-keys-api-CIywsSF5.mjs";
|
|
8
|
+
import { n as useApiKeyCapabilityQuery, t as ensureApiKeyRouteAccess } from "./api-keys-api-BUPQVSpk.mjs";
|
|
11
9
|
import { t as Toaster } from "../_libs/sonner.mjs";
|
|
12
|
-
import { t as Route$6 } from "./installations-
|
|
13
|
-
import { t as Route$7 } from "./routes-
|
|
10
|
+
import { n as getInsightsScrollRestorationKey, t as Route$6 } from "./installations-CtA59MQG.mjs";
|
|
11
|
+
import { t as Route$7 } from "./routes-CKrrS2q2.mjs";
|
|
14
12
|
import { t as setupRouterSsrQueryIntegration } from "../_libs/@tanstack/react-router-ssr-query+[...].mjs";
|
|
15
13
|
import { t as z } from "../_libs/next-themes.mjs";
|
|
16
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/router-
|
|
14
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/router-B9wG_9f8.js
|
|
17
15
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
18
16
|
var import_jsx_runtime = require_jsx_runtime();
|
|
19
17
|
function HotUpdaterLogo({ className }) {
|
|
@@ -111,12 +109,11 @@ function useTheme$1() {
|
|
|
111
109
|
return context;
|
|
112
110
|
}
|
|
113
111
|
function AppSidebar() {
|
|
114
|
-
const analyticsCapability = useAnalyticsCapability();
|
|
115
112
|
const apiKeyCapability = useApiKeyCapabilityQuery();
|
|
116
113
|
const { theme, setTheme } = useTheme$1();
|
|
117
114
|
const currentPath = useRouterState().location.pathname;
|
|
118
115
|
const isBundlesActive = currentPath === "/";
|
|
119
|
-
const
|
|
116
|
+
const isInsightsActive = currentPath === "/insights" || currentPath === "/installations";
|
|
120
117
|
const isApiKeysActive = currentPath === "/api-keys";
|
|
121
118
|
const isSigningActive = currentPath === "/signing";
|
|
122
119
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Sidebar, {
|
|
@@ -170,12 +167,12 @@ function AppSidebar() {
|
|
|
170
167
|
tooltip: "Bundles",
|
|
171
168
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Package, {}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Bundles" })]
|
|
172
169
|
}) }),
|
|
173
|
-
|
|
174
|
-
isActive:
|
|
175
|
-
render: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, { to: "/
|
|
176
|
-
tooltip: "
|
|
177
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChartNoAxesCombined, {}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "
|
|
178
|
-
}) })
|
|
170
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SidebarMenuButton, {
|
|
171
|
+
isActive: isInsightsActive,
|
|
172
|
+
render: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, { to: "/insights" }),
|
|
173
|
+
tooltip: "Insights",
|
|
174
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChartNoAxesCombined, {}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Insights" })]
|
|
175
|
+
}) }),
|
|
179
176
|
apiKeyCapability.data?.apiKeys ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SidebarMenuButton, {
|
|
180
177
|
isActive: isApiKeysActive,
|
|
181
178
|
render: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, { to: "/api-keys" }),
|
|
@@ -248,7 +245,7 @@ function ConsoleAccessPage({ access, providers }) {
|
|
|
248
245
|
children: "Hot Updater Console"
|
|
249
246
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
|
|
250
247
|
className: "text-muted-foreground text-sm",
|
|
251
|
-
children: "Sign in to manage OTA
|
|
248
|
+
children: "Sign in to manage OTA bundles."
|
|
252
249
|
})] })]
|
|
253
250
|
}),
|
|
254
251
|
access.status === "forbidden" ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
@@ -348,7 +345,7 @@ var Toaster$1 = ({ ...props }) => {
|
|
|
348
345
|
};
|
|
349
346
|
var getConsoleAccessRpc = createServerFn({ method: "GET" }).handler(createSsrRpc("c504696e68ba764b48c48aa8a40275938640941e473cf9cfdd7b2322d99f9d13"));
|
|
350
347
|
var getConsoleAuthProvidersRpc = createServerFn({ method: "GET" }).handler(createSsrRpc("fa8c48f0489d97c62b9b68fd0caf0a61b15bad25a42b3866ec36264b4b30bb74"));
|
|
351
|
-
var styles_default = "/assets/styles-
|
|
348
|
+
var styles_default = "/assets/styles-BCvbtKsm.css";
|
|
352
349
|
var Route$5 = createRootRouteWithContext()({
|
|
353
350
|
head: () => ({
|
|
354
351
|
meta: [
|
|
@@ -414,30 +411,23 @@ function RootLayout() {
|
|
|
414
411
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AuthorizedConsole, {});
|
|
415
412
|
}
|
|
416
413
|
function AuthorizedConsole() {
|
|
417
|
-
const capability = getAnalyticsCapabilityState(useAnalyticsCapabilitiesQuery());
|
|
418
414
|
(0, import_react.useEffect)(() => {}, []);
|
|
419
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
420
|
-
|
|
421
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.
|
|
422
|
-
|
|
423
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Outlet, {})
|
|
424
|
-
})] })
|
|
425
|
-
});
|
|
415
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SidebarProvider, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(AppSidebar, {}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarInset, {
|
|
416
|
+
className: "min-h-0 min-w-0 overflow-hidden",
|
|
417
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Outlet, {})
|
|
418
|
+
})] });
|
|
426
419
|
}
|
|
427
|
-
var $$splitComponentImporter$2 = () => import("./signing-
|
|
420
|
+
var $$splitComponentImporter$2 = () => import("./signing-Dz1WkZOf.mjs");
|
|
428
421
|
var Route$4 = createFileRoute("/signing")({ component: lazyRouteComponent($$splitComponentImporter$2, "component") });
|
|
429
|
-
var $$splitComponentImporter$1 = () => import("./
|
|
430
|
-
var Route$3 = createFileRoute("/
|
|
422
|
+
var $$splitComponentImporter$1 = () => import("./insights-BdS364Xu.mjs");
|
|
423
|
+
var Route$3 = createFileRoute("/insights")({ component: lazyRouteComponent($$splitComponentImporter$1, "component") });
|
|
424
|
+
var $$splitComponentImporter = () => import("./api-keys-CZeTPQys.mjs");
|
|
425
|
+
var Route$2 = createFileRoute("/api-keys")({
|
|
431
426
|
beforeLoad: ({ context }) => ensureApiKeyRouteAccess(context.queryClient),
|
|
432
|
-
component: lazyRouteComponent($$splitComponentImporter$1, "component")
|
|
433
|
-
});
|
|
434
|
-
var $$splitComponentImporter = () => import("./analytics-DtMTn8fn.mjs");
|
|
435
|
-
var Route$2 = createFileRoute("/analytics")({
|
|
436
|
-
beforeLoad: ({ context }) => ensureAnalyticsRouteAccess(context.queryClient),
|
|
437
427
|
component: lazyRouteComponent($$splitComponentImporter, "component")
|
|
438
428
|
});
|
|
439
429
|
var handleAuthRequest = async ({ request }) => {
|
|
440
|
-
const { handleConsoleAuth } = await import("./auth.server-
|
|
430
|
+
const { handleConsoleAuth } = await import("./auth.server-DW71WzsD.mjs");
|
|
441
431
|
return handleConsoleAuth(request);
|
|
442
432
|
};
|
|
443
433
|
var Route$1 = createFileRoute("/api/auth/$")({ server: { handlers: {
|
|
@@ -445,7 +435,7 @@ var Route$1 = createFileRoute("/api/auth/$")({ server: { handlers: {
|
|
|
445
435
|
POST: handleAuthRequest
|
|
446
436
|
} } });
|
|
447
437
|
var Route = createFileRoute("/api/bundles/$bundleId/download")({ server: { handlers: { GET: async ({ params, request }) => {
|
|
448
|
-
const { prepareConfig } = await import("./config.server-
|
|
438
|
+
const { prepareConfig } = await import("./config.server-afDuAwaG.mjs");
|
|
449
439
|
const { downloadBundle } = await import("./downloadBundle-CNnYxYO2.mjs");
|
|
450
440
|
const { databaseClient, storagePlugin } = await prepareConfig(request);
|
|
451
441
|
return downloadBundle(params.bundleId, {
|
|
@@ -463,14 +453,14 @@ var InstallationsRoute = Route$6.update({
|
|
|
463
453
|
path: "/installations",
|
|
464
454
|
getParentRoute: () => Route$5
|
|
465
455
|
});
|
|
466
|
-
var
|
|
467
|
-
id: "/
|
|
468
|
-
path: "/
|
|
456
|
+
var InsightsRoute = Route$3.update({
|
|
457
|
+
id: "/insights",
|
|
458
|
+
path: "/insights",
|
|
469
459
|
getParentRoute: () => Route$5
|
|
470
460
|
});
|
|
471
|
-
var
|
|
472
|
-
id: "/
|
|
473
|
-
path: "/
|
|
461
|
+
var ApiKeysRoute = Route$2.update({
|
|
462
|
+
id: "/api-keys",
|
|
463
|
+
path: "/api-keys",
|
|
474
464
|
getParentRoute: () => Route$5
|
|
475
465
|
});
|
|
476
466
|
var rootRouteChildren = {
|
|
@@ -479,8 +469,8 @@ var rootRouteChildren = {
|
|
|
479
469
|
path: "/",
|
|
480
470
|
getParentRoute: () => Route$5
|
|
481
471
|
}),
|
|
482
|
-
AnalyticsRoute,
|
|
483
472
|
ApiKeysRoute,
|
|
473
|
+
InsightsRoute,
|
|
484
474
|
InstallationsRoute,
|
|
485
475
|
SigningRoute,
|
|
486
476
|
ApiAuthSplatRoute: Route$1.update({
|
|
@@ -501,6 +491,7 @@ var getRouter = () => {
|
|
|
501
491
|
routeTree,
|
|
502
492
|
context: { queryClient },
|
|
503
493
|
scrollRestoration: true,
|
|
494
|
+
getScrollRestorationKey: getInsightsScrollRestorationKey,
|
|
504
495
|
defaultPreloadStaleTime: 0
|
|
505
496
|
});
|
|
506
497
|
setupRouterSsrQueryIntegration({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/routes-
|
|
1
|
+
import { d as lazyRouteComponent, f as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/routes-CKrrS2q2.js
|
|
3
3
|
var optionalString = (value) => typeof value === "string" && value.trim().length > 0 ? value.trim() : void 0;
|
|
4
4
|
function validateReleaseSearch(search) {
|
|
5
5
|
const parsedPage = typeof search.page === "number" ? search.page : typeof search.page === "string" ? Number(search.page) : void 0;
|
|
@@ -28,7 +28,7 @@ function updateReleaseFilters(current, filters) {
|
|
|
28
28
|
releaseId: void 0
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
var $$splitComponentImporter = () => import("./routes-
|
|
31
|
+
var $$splitComponentImporter = () => import("./routes-D7Yh_jfj.mjs");
|
|
32
32
|
var Route = createFileRoute("/")({
|
|
33
33
|
component: lazyRouteComponent($$splitComponentImporter, "component"),
|
|
34
34
|
validateSearch: validateReleaseSearch
|