@hot-updater/console 1.0.0-rc.34 → 1.0.0-rc.35
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/server/{__23tanstack-start-server-fn-resolver-CMzN45LR.mjs → __23tanstack-start-server-fn-resolver-DAzLrMhP.mjs} +36 -36
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-BePOaYdQ.mjs → ConsoleFeatureUnavailable-7uUMRt3h.mjs} +5 -5
- package/.output/server/_ssr/{EventDetails-DHw6vvc1.mjs → EventDetails-BYeVTKpq.mjs} +5 -5
- package/.output/server/_ssr/{InsightsInfo-rickLIKC.mjs → InsightsInfo-B7rb9vj1.mjs} +2 -2
- package/.output/server/_ssr/{InsightsPageHeader-D2QKR4NE.mjs → InsightsPageHeader-DKkiNgry.mjs} +4 -4
- package/.output/server/_ssr/{NotFoundPage-7kgnOYoZ.mjs → NotFoundPage-B3OhQ-N_.mjs} +2 -2
- package/.output/server/_ssr/{alert-dialog-Cy5oW1OK.mjs → alert-dialog-DOmfwmP4.mjs} +1 -1
- package/.output/server/_ssr/{api-BEifWU1L.mjs → api-BhTVH65V.mjs} +3 -3
- package/.output/server/_ssr/{api-keys-9IA3wKzT.mjs → api-keys-CC62Yk75.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-CIuDzLRa.mjs → api-keys-CIxfIBHh.mjs} +8 -8
- package/.output/server/_ssr/{api-keys-rpc-BlL8omBQ.mjs → api-keys-rpc-BXsMLx7c.mjs} +3 -3
- package/.output/server/_ssr/{api-rpc-A8RuhFqA.mjs → api-rpc-DLvfpxNO.mjs} +4 -4
- package/.output/server/_ssr/{auth-rpc-jn0QR6Qc.mjs → auth-rpc-BqYBLl4s.mjs} +4 -4
- package/.output/server/_ssr/{auth.server-LG-3XNtU.mjs → auth.server-jF8dC6Yc.mjs} +2 -2
- package/.output/server/_ssr/{card-DufjUCUf.mjs → card-UYQ1cBHO.mjs} +1 -1
- package/.output/server/_ssr/{config.server-mXq2F40L.mjs → config.server-DW00oqkP.mjs} +3 -3
- package/.output/server/_ssr/{console-access-Bsfu4-wI.mjs → console-access-HEQ735_N.mjs} +2 -2
- package/.output/server/_ssr/{console-features-api-BIoKQpjV.mjs → console-features-api-Q0EbfMiO.mjs} +3 -3
- package/.output/server/_ssr/{console-features-rpc-Cr7xATte.mjs → console-features-rpc-CwDJXPAd.mjs} +3 -3
- package/.output/server/_ssr/{dialog-BcR3TaRn.mjs → dialog-BVua56Ah.mjs} +1 -1
- package/.output/server/_ssr/{empty-7eCFbUR1.mjs → empty-DNHkm0S9.mjs} +2 -2
- package/.output/server/_ssr/{field-CftUuRGT.mjs → field-C1qwI-eP.mjs} +2 -2
- package/.output/server/_ssr/{input-group-B8NgjfnY.mjs → input-group-Co7eO8Cg.mjs} +1 -1
- package/.output/server/_ssr/{insights-CyIHTm2V.mjs → insights-1w6PeNii.mjs} +5 -5
- package/.output/server/_ssr/{insights-C1DauJsA.mjs → insights-D-tH_sSx.mjs} +17 -17
- package/.output/server/_ssr/{insights-BErfy6gb.mjs → insights-VWERfT0m.mjs} +2 -2
- package/.output/server/_ssr/{insights-api-BjpBb5RH.mjs → insights-api-RJ4TvUkm.mjs} +3 -3
- package/.output/server/_ssr/{insights-failures-rpc-CGbfcqA_.mjs → insights-failures-rpc-DiixSQGS.mjs} +4 -4
- package/.output/server/_ssr/{insights-recovery-rpc-kJB2Lm7d.mjs → insights-recovery-rpc-Dwrr9-RU.mjs} +3 -3
- package/.output/server/_ssr/{insights-rpc-Bp37kTUO.mjs → insights-rpc-CAn1DWh7.mjs} +3 -3
- package/.output/server/_ssr/{insights-usage-rpc-wK4V10_L.mjs → insights-usage-rpc-Br3L5ePL.mjs} +3 -3
- package/.output/server/_ssr/{insights-usage-rpc-BQj6zT4P.mjs → insights-usage-rpc-DxJS_zJ8.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-Do43tP1z.mjs → insights_.distribution-Br8QlgS9.mjs} +5 -5
- package/.output/server/_ssr/{insights_.distribution-CMiAe-4s.mjs → insights_.distribution-CKMSlA2b.mjs} +11 -11
- package/.output/server/_ssr/{insights_.distribution-BPbcLkNH.mjs → insights_.distribution-DH8ZOjPG.mjs} +2 -2
- package/.output/server/_ssr/{installations-v2fxmirr.mjs → installations-DE-IT_EJ.mjs} +2 -2
- package/.output/server/_ssr/{installations-BzGjXeDk.mjs → installations-DPSR7diL.mjs} +10 -10
- package/.output/server/_ssr/{installations-C1sWyxHQ.mjs → installations-MOJuIeKm.mjs} +4 -4
- package/.output/server/_ssr/{release-adoption-rpc-CGb5YaUb.mjs → release-adoption-rpc-CcmmAJnw.mjs} +5 -5
- package/.output/server/_ssr/{router-BTBus5eb.mjs → router-D312Prhz.mjs} +12 -12
- package/.output/server/_ssr/{routes-B90daKJt.mjs → routes-DtqmWsZw.mjs} +11 -11
- package/.output/server/_ssr/{routes-D3HLaV-d.mjs → routes-KFCEXs5M.mjs} +8 -8
- package/.output/server/_ssr/{select-B1pr-XlQ.mjs → select-CXT2QQUy.mjs} +1 -1
- package/.output/server/_ssr/{server-5yoamCil.mjs → server-DERPzU-I.mjs} +17 -13
- package/.output/server/_ssr/{sidebar-C6sFGsND.mjs → sidebar-ovKUZy4y.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{table-C5JYQkoQ.mjs → table-BMDoPxPa.mjs} +1 -1
- package/.output/server/index.mjs +88 -88
- package/package.json +7 -7
|
@@ -2,32 +2,32 @@ import { i as __toESM } from "../_runtime.mjs";
|
|
|
2
2
|
import { u as createServerFn } from "./createMiddleware-BdBf_ezN.mjs";
|
|
3
3
|
import { C as ScrollAreaRoot, S as ScrollAreaViewport, _ as ComboboxInput$1, b as ScrollAreaThumb, c as ComboboxItemIndicator, d as ComboboxItem$1, f as ComboboxPopup, g as ComboboxClear$1, h as ComboboxList$1, ht as require_react, l as ComboboxRoot, m as ComboboxPortal, mt as require_jsx_runtime, p as ComboboxPositioner, u as ComboboxEmpty$1, v as ComboboxTrigger$1, x as ScrollAreaScrollbar, y as ScrollAreaCorner } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
4
|
import { B as ArrowUpRight, I as ChevronDown, L as Check, O as Copy, P as ChevronRight, V as ArrowRight, d as RotateCcw, f as RefreshCw, n as Undo2, r as TriangleAlert, t as X, u as RotateCw, x as List } from "../_libs/lucide-react.mjs";
|
|
5
|
-
import { A as createSsrRpc, C as Skeleton, O as buttonVariants, a as SheetContent, c as SheetTitle, i as Sheet, k as cn, l as SheetTrigger, n as Input, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-
|
|
6
|
-
import { t as consoleAccess } from "./console-access-
|
|
5
|
+
import { A as createSsrRpc, C as Skeleton, O as buttonVariants, a as SheetContent, c as SheetTitle, i as Sheet, k as cn, l as SheetTrigger, n as Input, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-ovKUZy4y.mjs";
|
|
6
|
+
import { t as consoleAccess } from "./console-access-HEQ735_N.mjs";
|
|
7
7
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
8
8
|
import { a as useQueries, i as useQuery, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
9
|
-
import { a as EmptyTitle, i as EmptyHeader, n as EmptyContent, r as EmptyDescription, t as Empty } from "./empty-
|
|
10
|
-
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-
|
|
11
|
-
import { a as Badge, i as AlertTitle, l as FieldGroup, o as Field, r as AlertDescription, t as Alert, u as FieldLabel } from "./field-
|
|
12
|
-
import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-
|
|
13
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-
|
|
9
|
+
import { a as EmptyTitle, i as EmptyHeader, n as EmptyContent, r as EmptyDescription, t as Empty } from "./empty-DNHkm0S9.mjs";
|
|
10
|
+
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-UYQ1cBHO.mjs";
|
|
11
|
+
import { a as Badge, i as AlertTitle, l as FieldGroup, o as Field, r as AlertDescription, t as Alert, u as FieldLabel } from "./field-C1qwI-eP.mjs";
|
|
12
|
+
import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-DOmfwmP4.mjs";
|
|
13
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BMDoPxPa.mjs";
|
|
14
14
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
15
15
|
import { r as recoveryWindows, t as insightsPeriodEnd } from "./insights-recovery-Dpk6Mfb9.mjs";
|
|
16
16
|
import { a as failureReasonLabel, c as patchFallbackRate, i as failureRate, o as failureStageLabel, r as failureDetailParts, s as formatRate, t as checkFailureRate } from "./insights-failures-BZaGNNij.mjs";
|
|
17
17
|
import { t as groupFailureReports } from "./insights-errors-F-7hOApm.mjs";
|
|
18
18
|
import { n as usageMetrics } from "./insights-usage-CLUWjUFz.mjs";
|
|
19
19
|
import { a as readBundleEventsInput, i as readAdoptionReleasesInput, n as crashRateOf, o as recommendsRollback, r as readAdoptionReleaseInput, t as CRASH_RATE_THRESHOLD } from "./release-adoption-Bv_8IAo6.mjs";
|
|
20
|
-
import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-
|
|
21
|
-
import { r as comparedBundleIds, t as InsightsInfo } from "./InsightsInfo-
|
|
22
|
-
import { t as Route } from "./insights-
|
|
23
|
-
import { a as useChannelsQuery, h as useUpdateReleaseMutation, t as BundleIdDisplay, u as usePreflightReleaseMutation } from "./api-
|
|
24
|
-
import { a as InputGroupInput, i as InputGroupButton, n as InputGroup, r as InputGroupAddon } from "./input-group-
|
|
25
|
-
import { a as SelectItem, i as SelectGroup, n as Select$1, o as SelectTrigger, r as SelectContent, s as SelectValue, t as PlatformIcon } from "./select-
|
|
26
|
-
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-
|
|
27
|
-
import { a as Tabs$1, c as TabsTrigger, l as UsagePeriodSelector, n as InsightsPageHeader, o as TabsContent, r as InsightsPeriodSelector, s as TabsList, t as InsightsErrorAlert } from "./InsightsPageHeader-
|
|
28
|
-
import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-
|
|
20
|
+
import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-RJ4TvUkm.mjs";
|
|
21
|
+
import { r as comparedBundleIds, t as InsightsInfo } from "./InsightsInfo-B7rb9vj1.mjs";
|
|
22
|
+
import { t as Route } from "./insights-1w6PeNii.mjs";
|
|
23
|
+
import { a as useChannelsQuery, h as useUpdateReleaseMutation, t as BundleIdDisplay, u as usePreflightReleaseMutation } from "./api-BhTVH65V.mjs";
|
|
24
|
+
import { a as InputGroupInput, i as InputGroupButton, n as InputGroup, r as InputGroupAddon } from "./input-group-Co7eO8Cg.mjs";
|
|
25
|
+
import { a as SelectItem, i as SelectGroup, n as Select$1, o as SelectTrigger, r as SelectContent, s as SelectValue, t as PlatformIcon } from "./select-CXT2QQUy.mjs";
|
|
26
|
+
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-DxJS_zJ8.mjs";
|
|
27
|
+
import { a as Tabs$1, c as TabsTrigger, l as UsagePeriodSelector, n as InsightsPageHeader, o as TabsContent, r as InsightsPeriodSelector, s as TabsList, t as InsightsErrorAlert } from "./InsightsPageHeader-DKkiNgry.mjs";
|
|
28
|
+
import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-BYeVTKpq.mjs";
|
|
29
29
|
import { a as CartesianGrid, i as Line, l as ResponsiveContainer, n as YAxis, o as ReferenceLine, r as XAxis, s as Tooltip, t as LineChart } from "../_libs/recharts+[...].mjs";
|
|
30
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-
|
|
30
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-D-tH_sSx.js
|
|
31
31
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
32
32
|
var import_jsx_runtime = require_jsx_runtime();
|
|
33
33
|
var THEMES = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-7uUMRt3h.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-VWERfT0m.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { u as createServerFn } from "./createMiddleware-BdBf_ezN.mjs";
|
|
2
|
-
import { A as createSsrRpc } from "./sidebar-
|
|
3
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { A as createSsrRpc } from "./sidebar-ovKUZy4y.mjs";
|
|
3
|
+
import { t as consoleAccess } from "./console-access-HEQ735_N.mjs";
|
|
4
4
|
import { i as useQuery, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
|
|
5
5
|
import { l as readUpdateFailuresInput } from "./insights-failures-BZaGNNij.mjs";
|
|
6
6
|
import { n as readFailureReportsInput } from "./insights-errors-F-7hOApm.mjs";
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-api-
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-api-RJ4TvUkm.js
|
|
8
8
|
var getUpdateFailuresRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readUpdateFailuresInput).handler(createSsrRpc("0d1dacdd1e5ee6b100e5c142fb9af03602b6f2c6fe6af79312b36c223d7f8f97"));
|
|
9
9
|
var listFailureReportsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readFailureReportsInput).handler(createSsrRpc("b4388826a9b515fb4d2113270aa8ded1c50ba13d7f07ac2b268c41396e87d0a3"));
|
|
10
10
|
/** `insights()`'s defaults, for a server that does not report its periods. */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { u as createServerFn } from "./createMiddleware-BdBf_ezN.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-HEQ735_N.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-B_y2lrwA.mjs";
|
|
4
4
|
import { l as readUpdateFailuresInput } from "./insights-failures-BZaGNNij.mjs";
|
|
5
5
|
import { n as readFailureReportsInput } from "./insights-errors-F-7hOApm.mjs";
|
|
6
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-failures-rpc-
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-failures-rpc-DiixSQGS.js
|
|
7
7
|
var getUpdateFailuresRpc_createServerFn_handler = createServerRpc({
|
|
8
8
|
id: "0d1dacdd1e5ee6b100e5c142fb9af03602b6f2c6fe6af79312b36c223d7f8f97",
|
|
9
9
|
name: "getUpdateFailuresRpc",
|
|
@@ -11,7 +11,7 @@ var getUpdateFailuresRpc_createServerFn_handler = createServerRpc({
|
|
|
11
11
|
}, (opts) => getUpdateFailuresRpc.__executeServer(opts));
|
|
12
12
|
var getUpdateFailuresRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readUpdateFailuresInput).handler(getUpdateFailuresRpc_createServerFn_handler, async ({ data }) => {
|
|
13
13
|
const [{ prepareConfig }, { getUpdateFailuresReport }, { requireFeature }] = await Promise.all([
|
|
14
|
-
import("./config.server-
|
|
14
|
+
import("./config.server-DW00oqkP.mjs"),
|
|
15
15
|
import("./updateFailures-BP-A8Ppr.mjs"),
|
|
16
16
|
import("./runtime.server-CjFHKMDC.mjs")
|
|
17
17
|
]);
|
|
@@ -25,7 +25,7 @@ var listFailureReportsRpc_createServerFn_handler = createServerRpc({
|
|
|
25
25
|
}, (opts) => listFailureReportsRpc.__executeServer(opts));
|
|
26
26
|
var listFailureReportsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readFailureReportsInput).handler(listFailureReportsRpc_createServerFn_handler, async ({ data }) => {
|
|
27
27
|
const [{ prepareConfig }, { listFailureReports }, { requireFeature }] = await Promise.all([
|
|
28
|
-
import("./config.server-
|
|
28
|
+
import("./config.server-DW00oqkP.mjs"),
|
|
29
29
|
import("./failureReports-CRYHdQBQ.mjs"),
|
|
30
30
|
import("./runtime.server-CjFHKMDC.mjs")
|
|
31
31
|
]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { u as createServerFn } from "./createMiddleware-BdBf_ezN.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-HEQ735_N.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-B_y2lrwA.mjs";
|
|
4
4
|
import { n as readRecoveryInput } from "./insights-recovery-Dpk6Mfb9.mjs";
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-recovery-rpc-
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-recovery-rpc-Dwrr9-RU.js
|
|
6
6
|
function readBundleActivityInput(inputs) {
|
|
7
7
|
if (!Array.isArray(inputs) || inputs.length > 20) throw new Error("Choose up to 20 bundles.");
|
|
8
8
|
return inputs.map((input) => {
|
|
@@ -21,7 +21,7 @@ var getBundleActivityRpc_createServerFn_handler = createServerRpc({
|
|
|
21
21
|
}, (opts) => getBundleActivityRpc.__executeServer(opts));
|
|
22
22
|
var getBundleActivityRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readBundleActivityInput).handler(getBundleActivityRpc_createServerFn_handler, async ({ data }) => {
|
|
23
23
|
const [{ prepareConfig }, { getBundleActivity }, { requireFeature }] = await Promise.all([
|
|
24
|
-
import("./config.server-
|
|
24
|
+
import("./config.server-DW00oqkP.mjs"),
|
|
25
25
|
import("./bundleActivity-B7AMLhz2.mjs"),
|
|
26
26
|
import("./runtime.server-CjFHKMDC.mjs")
|
|
27
27
|
]);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { u as createServerFn } from "./createMiddleware-BdBf_ezN.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-HEQ735_N.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-B_y2lrwA.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-rpc-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-rpc-CAn1DWh7.js
|
|
5
5
|
/** The Insights reads, once the console's access check and the feature guard pass. */
|
|
6
6
|
var insightsReads = async () => {
|
|
7
|
-
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-
|
|
7
|
+
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-DW00oqkP.mjs"), import("./runtime.server-CjFHKMDC.mjs")]);
|
|
8
8
|
const { runtime } = await prepareConfig();
|
|
9
9
|
return requireFeature(runtime, "insights");
|
|
10
10
|
};
|
package/.output/server/_ssr/{insights-usage-rpc-wK4V10_L.mjs → insights-usage-rpc-Br3L5ePL.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { u as createServerFn } from "./createMiddleware-BdBf_ezN.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-HEQ735_N.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-B_y2lrwA.mjs";
|
|
4
4
|
import { t as readAppUsageInput } from "./insights-usage-CLUWjUFz.mjs";
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-Br3L5ePL.js
|
|
6
6
|
var getAppUsageReportRpc_createServerFn_handler = createServerRpc({
|
|
7
7
|
id: "8a98cd9c178e4a54185d62c25a95f09d3d59850c43d3f5baa1563e1614ad942e",
|
|
8
8
|
name: "getAppUsageReportRpc",
|
|
@@ -18,7 +18,7 @@ var getAppUsageReportRpc = createServerFn({ method: "GET" }).middleware([console
|
|
|
18
18
|
};
|
|
19
19
|
}).handler(getAppUsageReportRpc_createServerFn_handler, async ({ data }) => {
|
|
20
20
|
const [{ prepareConfig }, { getAppUsageReport }, { requireFeature }] = await Promise.all([
|
|
21
|
-
import("./config.server-
|
|
21
|
+
import("./config.server-DW00oqkP.mjs"),
|
|
22
22
|
import("./insightsUsage-9X2sp3ja.mjs"),
|
|
23
23
|
import("./runtime.server-CjFHKMDC.mjs")
|
|
24
24
|
]);
|
package/.output/server/_ssr/{insights-usage-rpc-BQj6zT4P.mjs → insights-usage-rpc-DxJS_zJ8.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { u as createServerFn } from "./createMiddleware-BdBf_ezN.mjs";
|
|
2
2
|
import { A as ProgressRoot, O as ProgressIndicator$1, k as ProgressTrack$1, mt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
-
import { A as createSsrRpc, k as cn } from "./sidebar-
|
|
4
|
-
import { t as consoleAccess } from "./console-access-
|
|
3
|
+
import { A as createSsrRpc, k as cn } from "./sidebar-ovKUZy4y.mjs";
|
|
4
|
+
import { t as consoleAccess } from "./console-access-HEQ735_N.mjs";
|
|
5
5
|
import { t as readAppUsageInput } from "./insights-usage-CLUWjUFz.mjs";
|
|
6
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-DxJS_zJ8.js
|
|
7
7
|
var import_jsx_runtime = require_jsx_runtime();
|
|
8
8
|
function Progress$1({ className, children, value, ...props }) {
|
|
9
9
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ProgressRoot, {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
|
-
import { r as requireConsoleFeature } from "./console-features-api-
|
|
3
|
-
import { i as validateDistributionSearch } from "./InsightsInfo-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-
|
|
5
|
-
var $$splitComponentImporter = () => import("./insights_.distribution-
|
|
6
|
-
var $$splitNotFoundComponentImporter = () => import("./insights_.distribution-
|
|
2
|
+
import { r as requireConsoleFeature } from "./console-features-api-Q0EbfMiO.mjs";
|
|
3
|
+
import { i as validateDistributionSearch } from "./InsightsInfo-B7rb9vj1.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-Br8QlgS9.js
|
|
5
|
+
var $$splitComponentImporter = () => import("./insights_.distribution-CKMSlA2b.mjs");
|
|
6
|
+
var $$splitNotFoundComponentImporter = () => import("./insights_.distribution-DH8ZOjPG.mjs");
|
|
7
7
|
var Route = createFileRoute("/insights_/distribution")({
|
|
8
8
|
beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "insightsAnalytics"),
|
|
9
9
|
notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "notFoundComponent"),
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { mt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
2
|
import { B as ArrowUpRight, H as ArrowLeft, u as RotateCw } from "../_libs/lucide-react.mjs";
|
|
3
|
-
import { C as Skeleton, O as buttonVariants, t as Button$1 } from "./sidebar-
|
|
3
|
+
import { C as Skeleton, O as buttonVariants, t as Button$1 } from "./sidebar-ovKUZy4y.mjs";
|
|
4
4
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
5
5
|
import { i as useQuery } from "../_libs/tanstack__react-query.mjs";
|
|
6
|
-
import { a as EmptyTitle, i as EmptyHeader, r as EmptyDescription, t as Empty } from "./empty-
|
|
7
|
-
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, t as Card } from "./card-
|
|
8
|
-
import { a as Badge, i as AlertTitle, o as Field, r as AlertDescription, t as Alert, u as FieldLabel } from "./field-
|
|
9
|
-
import { l as useInsightsRetention, r as keepsTwelveMonths } from "./insights-api-
|
|
10
|
-
import { a as validateInsightsSearch, t as InsightsInfo } from "./InsightsInfo-
|
|
11
|
-
import { a as SelectItem, i as SelectGroup, n as Select$1, o as SelectTrigger, r as SelectContent, s as SelectValue, t as PlatformIcon } from "./select-
|
|
12
|
-
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-
|
|
13
|
-
import { l as UsagePeriodSelector, n as InsightsPageHeader, t as InsightsErrorAlert } from "./InsightsPageHeader-
|
|
14
|
-
import { t as Route } from "./insights_.distribution-
|
|
15
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-
|
|
6
|
+
import { a as EmptyTitle, i as EmptyHeader, r as EmptyDescription, t as Empty } from "./empty-DNHkm0S9.mjs";
|
|
7
|
+
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, t as Card } from "./card-UYQ1cBHO.mjs";
|
|
8
|
+
import { a as Badge, i as AlertTitle, o as Field, r as AlertDescription, t as Alert, u as FieldLabel } from "./field-C1qwI-eP.mjs";
|
|
9
|
+
import { l as useInsightsRetention, r as keepsTwelveMonths } from "./insights-api-RJ4TvUkm.mjs";
|
|
10
|
+
import { a as validateInsightsSearch, t as InsightsInfo } from "./InsightsInfo-B7rb9vj1.mjs";
|
|
11
|
+
import { a as SelectItem, i as SelectGroup, n as Select$1, o as SelectTrigger, r as SelectContent, s as SelectValue, t as PlatformIcon } from "./select-CXT2QQUy.mjs";
|
|
12
|
+
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-DxJS_zJ8.mjs";
|
|
13
|
+
import { l as UsagePeriodSelector, n as InsightsPageHeader, t as InsightsErrorAlert } from "./InsightsPageHeader-DKkiNgry.mjs";
|
|
14
|
+
import { t as Route } from "./insights_.distribution-Br8QlgS9.mjs";
|
|
15
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-CKMSlA2b.js
|
|
16
16
|
var import_jsx_runtime = require_jsx_runtime();
|
|
17
17
|
var PAGE_SIZE = 20;
|
|
18
18
|
var dates = new Intl.DateTimeFormat("en", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-7uUMRt3h.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-DH8ZOjPG.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/installations-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-7uUMRt3h.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/installations-DE-IT_EJ.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { ht as require_react, mt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { B as ArrowUpRight, H as ArrowLeft, I as ChevronDown, L as Check, f as RefreshCw, l as Search, t as X } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { C as Skeleton, O as buttonVariants, k as cn, r as Separator$1, t as Button$1 } from "./sidebar-
|
|
4
|
+
import { C as Skeleton, O as buttonVariants, k as cn, r as Separator$1, t as Button$1 } from "./sidebar-ovKUZy4y.mjs";
|
|
5
5
|
import { c as useElementScrollRestoration, h as Link, o as useLocation } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
6
|
-
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-
|
|
7
|
-
import { o as Field, u as FieldLabel } from "./field-
|
|
8
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-
|
|
9
|
-
import { a as useInsightsEventsQuery, c as useInsightsInstallationsQuery, l as useInsightsRetention, n as formatDays, o as useInsightsInstallationEventsQuery, s as useInsightsInstallationQuery, t as DEFAULT_INSIGHTS_RETENTION } from "./insights-api-
|
|
10
|
-
import { a as InputGroupInput, c as shortenIdentifier, i as InputGroupButton, n as InputGroup, r as InputGroupAddon, t as HashValueDisplay } from "./input-group-
|
|
11
|
-
import { i as PeriodSelector, n as InsightsPageHeader, t as InsightsErrorAlert } from "./InsightsPageHeader-
|
|
12
|
-
import { a as HttpResponseDetails, n as EventTimestamp, o as useInsightsTimeFormat, r as EventTypeDetails, t as EventBundleTransition } from "./EventDetails-
|
|
13
|
-
import { a as installationsScrollRestorationKey, i as eventRanges, n as Route, o as widerEventRange, r as eventRangeBounds, t as EVENT_RANGES } from "./installations-
|
|
14
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/installations-
|
|
6
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-UYQ1cBHO.mjs";
|
|
7
|
+
import { o as Field, u as FieldLabel } from "./field-C1qwI-eP.mjs";
|
|
8
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BMDoPxPa.mjs";
|
|
9
|
+
import { a as useInsightsEventsQuery, c as useInsightsInstallationsQuery, l as useInsightsRetention, n as formatDays, o as useInsightsInstallationEventsQuery, s as useInsightsInstallationQuery, t as DEFAULT_INSIGHTS_RETENTION } from "./insights-api-RJ4TvUkm.mjs";
|
|
10
|
+
import { a as InputGroupInput, c as shortenIdentifier, i as InputGroupButton, n as InputGroup, r as InputGroupAddon, t as HashValueDisplay } from "./input-group-Co7eO8Cg.mjs";
|
|
11
|
+
import { i as PeriodSelector, n as InsightsPageHeader, t as InsightsErrorAlert } from "./InsightsPageHeader-DKkiNgry.mjs";
|
|
12
|
+
import { a as HttpResponseDetails, n as EventTimestamp, o as useInsightsTimeFormat, r as EventTypeDetails, t as EventBundleTransition } from "./EventDetails-BYeVTKpq.mjs";
|
|
13
|
+
import { a as installationsScrollRestorationKey, i as eventRanges, n as Route, o as widerEventRange, r as eventRangeBounds, t as EVENT_RANGES } from "./installations-MOJuIeKm.mjs";
|
|
14
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/installations-DPSR7diL.js
|
|
15
15
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
16
16
|
var import_jsx_runtime = require_jsx_runtime();
|
|
17
17
|
function EventHistoryList({ events, formatter, renderIdentity }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
|
-
import { r as requireConsoleFeature } from "./console-features-api-
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/installations-
|
|
2
|
+
import { r as requireConsoleFeature } from "./console-features-api-Q0EbfMiO.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/installations-MOJuIeKm.js
|
|
4
4
|
var DAY_MS = 864e5;
|
|
5
5
|
/** The time ranges an event list reads, shortest first. */
|
|
6
6
|
var eventRanges = {
|
|
@@ -56,8 +56,8 @@ function validateInstallationsSearch(search) {
|
|
|
56
56
|
historyBefore: readTimestamp(search.historyBefore)
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
var $$splitComponentImporter = () => import("./installations-
|
|
60
|
-
var $$splitNotFoundComponentImporter = () => import("./installations-
|
|
59
|
+
var $$splitComponentImporter = () => import("./installations-DPSR7diL.mjs");
|
|
60
|
+
var $$splitNotFoundComponentImporter = () => import("./installations-DE-IT_EJ.mjs");
|
|
61
61
|
var Route = createFileRoute("/installations")({
|
|
62
62
|
beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "insights"),
|
|
63
63
|
notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "notFoundComponent"),
|
package/.output/server/_ssr/{release-adoption-rpc-CGb5YaUb.mjs → release-adoption-rpc-CcmmAJnw.mjs}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { u as createServerFn } from "./createMiddleware-BdBf_ezN.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-HEQ735_N.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-B_y2lrwA.mjs";
|
|
4
4
|
import { a as readBundleEventsInput, i as readAdoptionReleasesInput, r as readAdoptionReleaseInput } from "./release-adoption-Bv_8IAo6.mjs";
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/release-adoption-rpc-
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/release-adoption-rpc-CcmmAJnw.js
|
|
6
6
|
var listAdoptionReleasesRpc_createServerFn_handler = createServerRpc({
|
|
7
7
|
id: "d11a48f7251928b7819e2376aed4902fa66277bf6d30312d87ca53468332f256",
|
|
8
8
|
name: "listAdoptionReleasesRpc",
|
|
9
9
|
filename: "src/lib/release-adoption-rpc.ts"
|
|
10
10
|
}, (opts) => listAdoptionReleasesRpc.__executeServer(opts));
|
|
11
11
|
var listAdoptionReleasesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readAdoptionReleasesInput).handler(listAdoptionReleasesRpc_createServerFn_handler, async ({ data }) => {
|
|
12
|
-
const [{ prepareConfig }, { listAdoptionReleases }] = await Promise.all([import("./config.server-
|
|
12
|
+
const [{ prepareConfig }, { listAdoptionReleases }] = await Promise.all([import("./config.server-DW00oqkP.mjs"), import("./releaseAdoption-VEQNxG5G.mjs")]);
|
|
13
13
|
const { core } = await prepareConfig();
|
|
14
14
|
return listAdoptionReleases(core, data);
|
|
15
15
|
});
|
|
@@ -19,7 +19,7 @@ var getAdoptionReleaseRpc_createServerFn_handler = createServerRpc({
|
|
|
19
19
|
filename: "src/lib/release-adoption-rpc.ts"
|
|
20
20
|
}, (opts) => getAdoptionReleaseRpc.__executeServer(opts));
|
|
21
21
|
var getAdoptionReleaseRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readAdoptionReleaseInput).handler(getAdoptionReleaseRpc_createServerFn_handler, async ({ data }) => {
|
|
22
|
-
const [{ prepareConfig }, { getAdoptionRelease }] = await Promise.all([import("./config.server-
|
|
22
|
+
const [{ prepareConfig }, { getAdoptionRelease }] = await Promise.all([import("./config.server-DW00oqkP.mjs"), import("./releaseAdoption-VEQNxG5G.mjs")]);
|
|
23
23
|
const { core } = await prepareConfig();
|
|
24
24
|
return getAdoptionRelease(core, data);
|
|
25
25
|
});
|
|
@@ -30,7 +30,7 @@ var getBundleEventsRpc_createServerFn_handler = createServerRpc({
|
|
|
30
30
|
}, (opts) => getBundleEventsRpc.__executeServer(opts));
|
|
31
31
|
var getBundleEventsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readBundleEventsInput).handler(getBundleEventsRpc_createServerFn_handler, async ({ data }) => {
|
|
32
32
|
const [{ prepareConfig }, { getBundleEvents }, { requireFeature }] = await Promise.all([
|
|
33
|
-
import("./config.server-
|
|
33
|
+
import("./config.server-DW00oqkP.mjs"),
|
|
34
34
|
import("./releaseAdoption-VEQNxG5G.mjs"),
|
|
35
35
|
import("./runtime.server-CjFHKMDC.mjs")
|
|
36
36
|
]);
|
|
@@ -2,19 +2,19 @@ import { i as __toESM } from "../_runtime.mjs";
|
|
|
2
2
|
import { u as createServerFn } from "./createMiddleware-BdBf_ezN.mjs";
|
|
3
3
|
import { ht as require_react, mt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
4
|
import { C as Info, _ as Moon, b as LoaderCircle, g as OctagonX, h as Package, j as CircleCheck, r as TriangleAlert, s as Sun, y as LogOut } from "../_libs/lucide-react.mjs";
|
|
5
|
-
import { A as createSsrRpc, E as TooltipProvider, M as useSidebar, _ as SidebarInset, b as SidebarMenuItem, d as SidebarContent, f as SidebarFooter, g as SidebarHeader, h as SidebarGroupLabel, m as SidebarGroupContent, p as SidebarGroup, t as Button$1, u as Sidebar, v as SidebarMenu, x as SidebarProvider, y as SidebarMenuButton } from "./sidebar-
|
|
5
|
+
import { A as createSsrRpc, E as TooltipProvider, M as useSidebar, _ as SidebarInset, b as SidebarMenuItem, d as SidebarContent, f as SidebarFooter, g as SidebarHeader, h as SidebarGroupLabel, m as SidebarGroupContent, p as SidebarGroup, t as Button$1, u as Sidebar, v as SidebarMenu, x as SidebarProvider, y as SidebarMenuButton } from "./sidebar-ovKUZy4y.mjs";
|
|
6
6
|
import { a as HeadContent, d as Outlet, f as lazyRouteComponent, h as Link, i as Scripts, m as createRootRouteWithContext, p as createFileRoute, s as useRouterState, u as createRouter } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
7
7
|
import { t as QueryClient } from "../_libs/tanstack__query-core.mjs";
|
|
8
|
-
import { r as requireConsoleFeature, t as consoleFeaturesQueryOptions } from "./console-features-api-
|
|
9
|
-
import { t as NotFoundPage } from "./NotFoundPage-
|
|
8
|
+
import { r as requireConsoleFeature, t as consoleFeaturesQueryOptions } from "./console-features-api-Q0EbfMiO.mjs";
|
|
9
|
+
import { t as NotFoundPage } from "./NotFoundPage-B3OhQ-N_.mjs";
|
|
10
10
|
import { n as toast, t as Toaster } from "../_libs/sonner.mjs";
|
|
11
|
-
import { t as Route$4 } from "./insights-
|
|
12
|
-
import { t as Route$5 } from "./insights_.distribution-
|
|
13
|
-
import { n as Route$6 } from "./installations-
|
|
14
|
-
import { n as Route$7, o as useFeatureUi } from "./routes-
|
|
11
|
+
import { t as Route$4 } from "./insights-1w6PeNii.mjs";
|
|
12
|
+
import { t as Route$5 } from "./insights_.distribution-Br8QlgS9.mjs";
|
|
13
|
+
import { n as Route$6 } from "./installations-MOJuIeKm.mjs";
|
|
14
|
+
import { n as Route$7, o as useFeatureUi } from "./routes-KFCEXs5M.mjs";
|
|
15
15
|
import { t as setupRouterSsrQueryIntegration } from "../_libs/@tanstack/react-router-ssr-query+[...].mjs";
|
|
16
16
|
import { t as z } from "../_libs/next-themes.mjs";
|
|
17
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/router-
|
|
17
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/router-D312Prhz.js
|
|
18
18
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
19
19
|
var import_jsx_runtime = require_jsx_runtime();
|
|
20
20
|
function HotUpdaterLogo({ className }) {
|
|
@@ -413,15 +413,15 @@ function AuthorizedConsole({ canSignOut }) {
|
|
|
413
413
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Outlet, {})
|
|
414
414
|
})] });
|
|
415
415
|
}
|
|
416
|
-
var $$splitComponentImporter = () => import("./api-keys-
|
|
417
|
-
var $$splitNotFoundComponentImporter = () => import("./api-keys-
|
|
416
|
+
var $$splitComponentImporter = () => import("./api-keys-CIxfIBHh.mjs");
|
|
417
|
+
var $$splitNotFoundComponentImporter = () => import("./api-keys-CC62Yk75.mjs");
|
|
418
418
|
var Route$2 = createFileRoute("/api-keys")({
|
|
419
419
|
beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "apiKeys"),
|
|
420
420
|
notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "notFoundComponent"),
|
|
421
421
|
component: lazyRouteComponent($$splitComponentImporter, "component")
|
|
422
422
|
});
|
|
423
423
|
var handleAuthRequest = async ({ request }) => {
|
|
424
|
-
const { handleConsoleAuth } = await import("./auth.server-
|
|
424
|
+
const { handleConsoleAuth } = await import("./auth.server-jF8dC6Yc.mjs");
|
|
425
425
|
return handleConsoleAuth(request);
|
|
426
426
|
};
|
|
427
427
|
var Route$1 = createFileRoute("/api/auth/$")({ server: { handlers: {
|
|
@@ -429,7 +429,7 @@ var Route$1 = createFileRoute("/api/auth/$")({ server: { handlers: {
|
|
|
429
429
|
POST: handleAuthRequest
|
|
430
430
|
} } });
|
|
431
431
|
var Route = createFileRoute("/api/bundles/$bundleId/download")({ server: { handlers: { GET: async ({ params, request }) => {
|
|
432
|
-
const { prepareConfig } = await import("./config.server-
|
|
432
|
+
const { prepareConfig } = await import("./config.server-DW00oqkP.mjs");
|
|
433
433
|
const { downloadBundle } = await import("./downloadBundle-D10vIrle.mjs");
|
|
434
434
|
const { core, storage } = await prepareConfig(request);
|
|
435
435
|
return downloadBundle(params.bundleId, {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { a as SliderTrack, ht as require_react, i as SliderThumb, mt as require_jsx_runtime, n as SwitchRoot, o as SliderControl, r as SliderIndicator, s as SliderRoot, t as SwitchThumb } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { A as CircleOff, D as Download, E as ExternalLink, F as ChevronLeft, I as ChevronDown, L as Check, P as ChevronRight, T as FingerprintPattern, V as ArrowRight, a as Tags, b as LoaderCircle, d as RotateCcw, h as Package, i as Trash2, o as Tag, p as Plus, r as TriangleAlert, t as X, v as Minus, w as Funnel, x as List } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, a as SheetContent, c as SheetTitle, i as Sheet, j as useIsMobile, k as cn, n as Input, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-
|
|
4
|
+
import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, a as SheetContent, c as SheetTitle, i as Sheet, j as useIsMobile, k as cn, n as Input, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-ovKUZy4y.mjs";
|
|
5
5
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
6
|
-
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-
|
|
7
|
-
import { a as Badge, c as FieldError, d as Label, i as AlertTitle, l as FieldGroup, o as Field, r as AlertDescription, s as FieldDescription, t as Alert, u as FieldLabel } from "./field-
|
|
8
|
-
import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-
|
|
9
|
-
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, s as DialogTrigger, t as Dialog$1 } from "./dialog-
|
|
10
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-
|
|
6
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-UYQ1cBHO.mjs";
|
|
7
|
+
import { a as Badge, c as FieldError, d as Label, i as AlertTitle, l as FieldGroup, o as Field, r as AlertDescription, s as FieldDescription, t as Alert, u as FieldLabel } from "./field-C1qwI-eP.mjs";
|
|
8
|
+
import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-DOmfwmP4.mjs";
|
|
9
|
+
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, s as DialogTrigger, t as Dialog$1 } from "./dialog-BVua56Ah.mjs";
|
|
10
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BMDoPxPa.mjs";
|
|
11
11
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
12
12
|
import { E as normalizeRolloutCohortCount, T as normalizeCohortValue, _ as getPatchBaseBundleId, h as getNumericCohortRolloutPosition, i as NUMERIC_COHORT_SIZE, t as INVALID_COHORT_ERROR_MESSAGE, v as getPatchBaseFileHash, w as isValidCohort, y as getPatchFileHash } from "./dist-Cxo9ghYv.mjs";
|
|
13
13
|
import { r as extractTimestampFromUUIDv7 } from "./uuidv7-C8bwiZr8.mjs";
|
|
14
14
|
import { t as normalizeRange } from "../_libs/verkit.mjs";
|
|
15
|
-
import { a as useChannelsQuery, c as useDeleteChannelMutation, d as usePromoteReleaseMutation, f as useReleaseCatalogDiagnosticsQuery, h as useUpdateReleaseMutation, i as useBundleQuery, l as useDeleteReleaseMutation, m as useReleasesQuery, n as useBundleChildCountsQuery, o as useConfigQuery, p as useReleaseQuery, r as useBundleChildrenQuery, s as useCreateChannelMutation, t as BundleIdDisplay, u as usePreflightReleaseMutation } from "./api-
|
|
16
|
-
import { a as InputGroupInput, n as InputGroup, o as InputGroupText, r as InputGroupAddon, s as Textarea, t as HashValueDisplay } from "./input-group-
|
|
17
|
-
import { a as SelectItem, i as SelectGroup, n as Select$1, o as SelectTrigger, r as SelectContent, s as SelectValue, t as PlatformIcon } from "./select-
|
|
18
|
-
import { a as updateReleaseFilters, i as releaseFilterOf, n as Route, r as hasReleaseFilters, s as useReleaseColumns, t as ReleaseSections } from "./routes-
|
|
15
|
+
import { a as useChannelsQuery, c as useDeleteChannelMutation, d as usePromoteReleaseMutation, f as useReleaseCatalogDiagnosticsQuery, h as useUpdateReleaseMutation, i as useBundleQuery, l as useDeleteReleaseMutation, m as useReleasesQuery, n as useBundleChildCountsQuery, o as useConfigQuery, p as useReleaseQuery, r as useBundleChildrenQuery, s as useCreateChannelMutation, t as BundleIdDisplay, u as usePreflightReleaseMutation } from "./api-BhTVH65V.mjs";
|
|
16
|
+
import { a as InputGroupInput, n as InputGroup, o as InputGroupText, r as InputGroupAddon, s as Textarea, t as HashValueDisplay } from "./input-group-Co7eO8Cg.mjs";
|
|
17
|
+
import { a as SelectItem, i as SelectGroup, n as Select$1, o as SelectTrigger, r as SelectContent, s as SelectValue, t as PlatformIcon } from "./select-CXT2QQUy.mjs";
|
|
18
|
+
import { a as updateReleaseFilters, i as releaseFilterOf, n as Route, r as hasReleaseFilters, s as useReleaseColumns, t as ReleaseSections } from "./routes-KFCEXs5M.mjs";
|
|
19
19
|
import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
|
|
20
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/routes-
|
|
20
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/routes-DtqmWsZw.js
|
|
21
21
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
22
22
|
var import_jsx_runtime = require_jsx_runtime();
|
|
23
23
|
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
@@ -2,17 +2,17 @@ import { n as consoleFeatures } from "./console-features-AGV2b_l5.mjs";
|
|
|
2
2
|
import { u as createServerFn } from "./createMiddleware-BdBf_ezN.mjs";
|
|
3
3
|
import { mt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
4
|
import { R as ChartNoAxesCombined, S as KeyRound, z as ChartLine } from "../_libs/lucide-react.mjs";
|
|
5
|
-
import { A as createSsrRpc, C as Skeleton, O as buttonVariants, k as cn, r as Separator$1 } from "./sidebar-
|
|
6
|
-
import { t as consoleAccess } from "./console-access-
|
|
5
|
+
import { A as createSsrRpc, C as Skeleton, O as buttonVariants, k as cn, r as Separator$1 } from "./sidebar-ovKUZy4y.mjs";
|
|
6
|
+
import { t as consoleAccess } from "./console-access-HEQ735_N.mjs";
|
|
7
7
|
import { f as lazyRouteComponent, h as Link, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
8
8
|
import { i as useQuery } from "../_libs/tanstack__react-query.mjs";
|
|
9
|
-
import { a as useConsoleFeatures, i as useConsoleFeature } from "./console-features-api-
|
|
10
|
-
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, t as Card } from "./card-
|
|
9
|
+
import { a as useConsoleFeatures, i as useConsoleFeature } from "./console-features-api-Q0EbfMiO.mjs";
|
|
10
|
+
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, t as Card } from "./card-UYQ1cBHO.mjs";
|
|
11
11
|
import { n as readRecoveryInput } from "./insights-recovery-Dpk6Mfb9.mjs";
|
|
12
12
|
import { i as failureRate, s as formatRate } from "./insights-failures-BZaGNNij.mjs";
|
|
13
|
-
import { u as useUpdateFailuresQuery } from "./insights-api-
|
|
14
|
-
import { n as adoptionWindow, t as InsightsInfo } from "./InsightsInfo-
|
|
15
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/routes-
|
|
13
|
+
import { u as useUpdateFailuresQuery } from "./insights-api-RJ4TvUkm.mjs";
|
|
14
|
+
import { n as adoptionWindow, t as InsightsInfo } from "./InsightsInfo-B7rb9vj1.mjs";
|
|
15
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/routes-KFCEXs5M.js
|
|
16
16
|
var import_jsx_runtime = require_jsx_runtime();
|
|
17
17
|
/** What API key management adds: its navigation item. */
|
|
18
18
|
var apiKeysFeatureUi = { apiKeys: { navigation: {
|
|
@@ -360,7 +360,7 @@ function updateReleaseFilters(current, filters) {
|
|
|
360
360
|
scopeKey: next.scopeKey
|
|
361
361
|
});
|
|
362
362
|
}
|
|
363
|
-
var $$splitComponentImporter = () => import("./routes-
|
|
363
|
+
var $$splitComponentImporter = () => import("./routes-DtqmWsZw.mjs");
|
|
364
364
|
var Route = createFileRoute("/")({
|
|
365
365
|
component: lazyRouteComponent($$splitComponentImporter, "component"),
|
|
366
366
|
validateSearch: validateReleaseSearch
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { B as SelectPortal, F as SelectItemIndicator, H as SelectValue$1, I as SelectItem$1, L as SelectList, M as SelectScrollUpArrow, N as SelectScrollDownArrow, P as SelectItemText, R as SelectPopup, U as SelectTrigger$1, V as SelectIcon, W as SelectRoot, ht as require_react, j as SelectGroup$1, mt as require_jsx_runtime, z as SelectPositioner } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { I as ChevronDown, L as Check, N as ChevronUp } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { k as cn } from "./sidebar-
|
|
4
|
+
import { k as cn } from "./sidebar-ovKUZy4y.mjs";
|
|
5
5
|
require_react();
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
7
|
function AppleIcon({ className }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { _ as safeObjectMerge, a as TSS_SERVER_FUNCTION, c as createMiddleware, d as flattenMiddlewares, f as getStartContext, g as runWithStartContext, h as mergeHeaders, i as TSS_FORMDATA_CONTEXT, l as createNullProtoObject, m as isRedirect, n as MAX_FRAME_PAYLOAD_SIZE, o as X_TSS_RAW_RESPONSE, p as getStartOptions, r as TSS_CONTENT_TYPE_FRAMED_VERSIONED, s as X_TSS_SERIALIZED, t as MAX_FRAMED_STREAMS } from "./createMiddleware-BdBf_ezN.mjs";
|
|
3
|
-
import { t as getServerFnById } from "../__23tanstack-start-server-fn-resolver-
|
|
3
|
+
import { t as getServerFnById } from "../__23tanstack-start-server-fn-resolver-DAzLrMhP.mjs";
|
|
4
4
|
import { ht as require_react, mt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
5
5
|
import { l as RouterProvider, n as renderRouterToString, r as defineHandlerCallback, t as renderRouterToStream } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
6
6
|
import { PassThrough, Readable } from "node:stream";
|
|
@@ -62,7 +62,8 @@ function lazyInherit(target, source, sourceKey) {
|
|
|
62
62
|
if (modified) Object.defineProperty(target, key, desc);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var _needsNormRE = /(?:(?:^|\/)(?:\.|\.\.|%2e|%2e\.|\.%2e|%2e%2e)(?:\/|$))|[
|
|
65
|
+
var _needsNormRE = /(?:(?:^|\/)(?:\.|\.\.|%2e|%2e\.|\.%2e|%2e%2e)(?:\/|$))|[\\^#"<>{}`\x80-\uffff]/i;
|
|
66
|
+
var _searchNeedsNormRE = /[#"'<>]/;
|
|
66
67
|
var FastURL = /* @__PURE__ */ (() => {
|
|
67
68
|
const NativeURL = globalThis.URL;
|
|
68
69
|
const FastURL = class URL {
|
|
@@ -75,9 +76,11 @@ var FastURL = /* @__PURE__ */ (() => {
|
|
|
75
76
|
#searchParams;
|
|
76
77
|
#pos;
|
|
77
78
|
constructor(url) {
|
|
78
|
-
if (typeof url === "string")
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
if (typeof url === "string") {
|
|
80
|
+
const isOriginForm = url[0] === "/";
|
|
81
|
+
if (isOriginForm && !_searchNeedsNormRE.test(url)) this.#href = url;
|
|
82
|
+
else this.#url = new NativeURL(isOriginForm ? `http://localhost${url}` : url);
|
|
83
|
+
} else if (_needsNormRE.test(url.pathname) || url.search && _searchNeedsNormRE.test(url.search)) this.#url = new NativeURL(`${url.protocol || "http:"}//${url.host || "localhost"}${url.pathname}${url.search || ""}`);
|
|
81
84
|
else {
|
|
82
85
|
this.#protocol = url.protocol;
|
|
83
86
|
this.#host = url.host;
|
|
@@ -243,17 +246,18 @@ var NodeResponse = /* @__PURE__ */ (() => {
|
|
|
243
246
|
else body = this._response.body;
|
|
244
247
|
const headers = [];
|
|
245
248
|
const initHeaders = this.#init?.headers;
|
|
246
|
-
const headerEntries = this.#response?.headers || this.#headers || (initHeaders ? Array.isArray(initHeaders) ? initHeaders : initHeaders?.entries ? initHeaders.entries() : Object.entries(initHeaders)
|
|
249
|
+
const headerEntries = this.#response?.headers || this.#headers || (initHeaders ? Array.isArray(initHeaders) ? initHeaders : initHeaders?.entries ? initHeaders.entries() : Object.entries(initHeaders) : void 0);
|
|
247
250
|
let hasContentTypeHeader;
|
|
248
251
|
let hasContentLength;
|
|
249
252
|
if (headerEntries) for (const [key, value] of headerEntries) {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
253
|
+
const lowerKey = typeof key === "string" ? key.toLowerCase() : String(key);
|
|
254
|
+
if (Array.isArray(value)) for (const v of value) headers.push(lowerKey, v);
|
|
255
|
+
else headers.push(lowerKey, value);
|
|
256
|
+
if (lowerKey === "content-type") hasContentTypeHeader = true;
|
|
257
|
+
else if (lowerKey === "content-length") hasContentLength = true;
|
|
254
258
|
}
|
|
255
|
-
if (contentType && !hasContentTypeHeader) headers.push(
|
|
256
|
-
if (contentLength && !hasContentLength) headers.push(
|
|
259
|
+
if (contentType && !hasContentTypeHeader) headers.push("content-type", contentType);
|
|
260
|
+
if (contentLength && !hasContentLength) headers.push("content-length", String(contentLength));
|
|
257
261
|
this.#init = void 0;
|
|
258
262
|
this.#headers = void 0;
|
|
259
263
|
this.#response = void 0;
|
|
@@ -7813,7 +7817,7 @@ var getBaseManifest = getProdBaseManifest;
|
|
|
7813
7817
|
var createEarlyHintsForRequest = createEarlyHintsCollector;
|
|
7814
7818
|
async function loadEntries() {
|
|
7815
7819
|
const [routerEntry, startEntry, pluginAdapters] = await Promise.all([
|
|
7816
|
-
import("./router-
|
|
7820
|
+
import("./router-D312Prhz.mjs"),
|
|
7817
7821
|
import("./start-BXUOv_n8.mjs"),
|
|
7818
7822
|
import("./empty-plugin-adapters-CYdinE-i.mjs")
|
|
7819
7823
|
]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { a as TSS_SERVER_FUNCTION } from "./createMiddleware-BdBf_ezN.mjs";
|
|
3
|
-
import { t as getServerFnById } from "../__23tanstack-start-server-fn-resolver-
|
|
3
|
+
import { t as getServerFnById } from "../__23tanstack-start-server-fn-resolver-DAzLrMhP.mjs";
|
|
4
4
|
import { $ as DialogClose, J as DialogTitle, Q as DialogDescription, X as DialogPortal, Y as DialogRoot, Z as DialogPopup, at as TooltipPositioner, ct as TooltipRoot, dt as Separator, et as DialogBackdrop, ft as Button, ht as require_react, it as TooltipPopup, mt as require_jsx_runtime, nt as TooltipProvider$1, ot as TooltipPortal, pt as mergeProps, q as DialogTrigger, rt as TooltipArrow, st as TooltipTrigger$1, tt as useRender } from "../_libs/@base-ui/react+[...].mjs";
|
|
5
5
|
import { m as PanelLeft, t as X } from "../_libs/lucide-react.mjs";
|
|
6
6
|
import { n as clsx, t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
7
7
|
import { t as twMerge } from "../_libs/tailwind-merge.mjs";
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/sidebar-
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/sidebar-ovKUZy4y.js
|
|
9
9
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
10
10
|
var import_jsx_runtime = require_jsx_runtime();
|
|
11
11
|
var createSsrRpc = (functionId) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as defaultStreamHandler, n as createStartHandler } from "./server-
|
|
1
|
+
import { i as defaultStreamHandler, n as createStartHandler } from "./server-DERPzU-I.mjs";
|
|
2
2
|
//#region node_modules/.nitro/vite/services/ssr/index.js
|
|
3
3
|
var fetch = createStartHandler(defaultStreamHandler);
|
|
4
4
|
function createServerEntry(entry) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { ht as require_react, mt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
-
import { k as cn } from "./sidebar-
|
|
3
|
+
import { k as cn } from "./sidebar-ovKUZy4y.mjs";
|
|
4
4
|
require_react();
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
function Table({ className, ...props }) {
|