@hot-updater/console 1.2.0-rc.24 → 1.2.0-rc.26
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/{EventDetails-Dcpdu7re.js → EventDetails-DZsRlDHk.js} +1 -1
- package/.output/public/assets/{InsightsPageHeader-CSas9gM0.js → InsightsPageHeader-2bTrjXln.js} +1 -1
- package/.output/public/assets/{RelativeTime-CiZ7yXNJ.js → RelativeTime-TCmpOVPg.js} +1 -1
- package/.output/public/assets/{RolloutPercentageBadge-D-tZKnX7.js → RolloutPercentageBadge-G6qt8rVb.js} +1 -1
- package/.output/public/assets/StoreSubmission-CqSg880n.js +1 -0
- package/.output/public/assets/{TargetDisplay-CoYY8Fs4.js → TargetDisplay-DwOaMOiI.js} +1 -1
- package/.output/public/assets/{api-keys-3IL4dIHe.js → api-keys-uFY8FsN9.js} +1 -1
- package/.output/public/assets/{badge-laIuYW1U.js → badge-D0NFvUY5.js} +1 -1
- package/.output/public/assets/{index-BKB82n6Y.js → index-CJclLsbG.js} +3 -3
- package/.output/public/assets/{insights-_6iMn8GR.js → insights-B75txQ_F.js} +1 -1
- package/.output/public/assets/{insights-DDRfERph.js → insights-C17Z0whn.js} +2 -2
- package/.output/public/assets/{insights_.distribution-BGAqgPi0.js → insights_.distribution-_dZi1_ay.js} +1 -1
- package/.output/public/assets/{insights_.distribution-CjYkDRA4.js → insights_.distribution-gDqNqI5E.js} +2 -2
- package/.output/public/assets/{installations-CSZfo1rG.js → installations-D0g3xvw8.js} +2 -2
- package/.output/public/assets/{installations-CwQYwQ6K.js → installations-Y_7QW_p8.js} +1 -1
- package/.output/public/assets/{native-builds-B4pD_O7E.js → native-builds-Ba6cEZfm.js} +2 -2
- package/.output/public/assets/native-builds-C3_-21we.js +1 -0
- package/.output/public/assets/native-builds_._buildId-BnP31v32.js +1 -0
- package/.output/public/assets/{native-builds_._buildId-D5tnmyu7.js → native-builds_._buildId-Cp9LJiMP.js} +2 -2
- package/.output/public/assets/{remote-config-Dwdc-sij.js → remote-config-BRdy8QFR.js} +1 -1
- package/.output/public/assets/{remote-config-ZJ_IRSKE.js → remote-config-C9p5Pcdj.js} +3 -3
- package/.output/public/assets/{routes-BUWLcUqW.js → routes-BLTF7nwe.js} +1 -1
- package/.output/public/assets/{routes-Rtz-KcQO.js → routes-gQXSzO_n.js} +2 -2
- package/.output/public/assets/styles-BdlrKlVs.css +2 -0
- package/.output/server/{__23tanstack-start-server-fn-resolver-CcDHdMzp.mjs → __23tanstack-start-server-fn-resolver-z8rr63xV.mjs} +49 -49
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
- package/.output/server/_libs/_.mjs +1 -1
- package/.output/server/_ssr/{-native-builds-search-Cl8EZ0Ud.mjs → -native-builds-search-M6t7EIt4.mjs} +1 -1
- package/.output/server/_ssr/{BundleIdDisplay-BOFw0I4S.mjs → BundleIdDisplay-DRnAzJse.mjs} +2 -2
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-CLb3FQ37.mjs → ConsoleFeatureUnavailable-BEU7r4aH.mjs} +6 -6
- package/.output/server/_ssr/{EventDetails-DCcm4h8I.mjs → EventDetails-CjT6o2sJ.mjs} +6 -6
- package/.output/server/_ssr/{HashValueDisplay-Bo7HtMVb.mjs → HashValueDisplay-Bkim8r3-.mjs} +2 -2
- package/.output/server/_ssr/{InsightsPageHeader-D0CFqoqK.mjs → InsightsPageHeader-Ctw4N3SZ.mjs} +6 -6
- package/.output/server/_ssr/{NotFoundPage-CrM2mNho.mjs → NotFoundPage-Bh3gFsR6.mjs} +2 -2
- package/.output/server/_ssr/{PlatformIcon-Cuhy0CIO.mjs → PlatformIcon-CMLs3Wez.mjs} +1 -1
- package/.output/server/_ssr/{RelativeTime-pdNaQt7K.mjs → RelativeTime-DjdCU0J7.mjs} +3 -3
- package/.output/server/_ssr/{RolloutPercentageBadge-D2fgomoj.mjs → RolloutPercentageBadge-BiIHw-V2.mjs} +3 -3
- package/.output/server/_ssr/{StoreSubmission-tbaU5Jxl.mjs → StoreSubmission-Cv59joPo.mjs} +29 -7
- package/.output/server/_ssr/{TargetDisplay-c4AmIqUa.mjs → TargetDisplay-D1PKOupt.mjs} +4 -4
- package/.output/server/_ssr/{alert-dialog-Bl_9bN7q.mjs → alert-dialog-BOKQTpmP.mjs} +1 -1
- package/.output/server/_ssr/{api-bPCSYWmk.mjs → api-CDvGGB1B.mjs} +4 -4
- package/.output/server/_ssr/{api-keys-DCdpQxvq.mjs → api-keys-DvbSgd9L.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-CWc-kMoo.mjs → api-keys-NYJ0VaDB.mjs} +9 -9
- package/.output/server/_ssr/{api-keys-rpc-r2mnoc7r.mjs → api-keys-rpc-B0MrcD15.mjs} +3 -3
- package/.output/server/_ssr/{api-rpc--JDsqZkl.mjs → api-rpc-CIB9gcI7.mjs} +10 -10
- package/.output/server/_ssr/{auth-rpc-c6zZj3k7.mjs → auth-rpc-DsIffEXe.mjs} +4 -4
- package/.output/server/_ssr/{auth.server-D1lLWwx9.mjs → auth.server-Dt9XHLs_.mjs} +42 -15
- package/.output/server/_ssr/{badge-Cf4fbU_q.mjs → badge-KS3YftV5.mjs} +2 -1
- package/.output/server/_ssr/{card-Bx_12-o-.mjs → card-CG5GqIoA.mjs} +1 -1
- package/.output/server/_ssr/{config.server-DBFnQIeD.mjs → config.server-CJs-9Zd_.mjs} +4 -4
- package/.output/server/_ssr/{console-access-Dah0AEYy.mjs → console-access-ClmTMpo_.mjs} +2 -2
- package/.output/server/_ssr/{console-features-CgdQJQlX.mjs → console-features-CRP-pfov.mjs} +1 -1
- package/.output/server/_ssr/{console-features-api-CP8VgLf_.mjs → console-features-api-CpMYF0Pb.mjs} +5 -5
- package/.output/server/_ssr/{console-features-rpc-BWc5qG3c.mjs → console-features-rpc-D-dr-WF8.mjs} +3 -3
- package/.output/server/_ssr/{dialog-B5-o4y_0.mjs → dialog-DvHMJkq7.mjs} +1 -1
- package/.output/server/_ssr/{empty-sGLINpS3.mjs → empty-Bx8DnyWN.mjs} +2 -2
- package/.output/server/_ssr/{field-CYSNwGK0.mjs → field-BVI4lxoz.mjs} +2 -2
- package/.output/server/_ssr/{input-group-LpWc50V4.mjs → input-group-CpJwooTk.mjs} +1 -1
- package/.output/server/_ssr/{insights-CRjccjYz.mjs → insights-B-VtObqr.mjs} +5 -5
- package/.output/server/_ssr/{insights-CjQ9FDjt.mjs → insights-DxlHHXPK.mjs} +21 -21
- package/.output/server/_ssr/{insights-api-ChTevZmg.mjs → insights-api-8PWQ7PiR.mjs} +3 -3
- package/.output/server/_ssr/{insights-C3eT73Ut.mjs → insights-b1hq1O0p.mjs} +2 -2
- package/.output/server/_ssr/{insights-failures-rpc-C2SBL0t-.mjs → insights-failures-rpc-pY2KV9HI.mjs} +7 -7
- package/.output/server/_ssr/{insights-recovery-rpc-fBmK_XwY.mjs → insights-recovery-rpc-CejmWL_y.mjs} +4 -4
- package/.output/server/_ssr/{insights-rpc-CoIPmXt3.mjs → insights-rpc-D_7d_AAJ.mjs} +3 -3
- package/.output/server/_ssr/{insights-search-DqI-4UF6.mjs → insights-search-CoMkZvRt.mjs} +2 -2
- package/.output/server/_ssr/{insights-usage-rpc-DpI7VDWn.mjs → insights-usage-rpc-B1XSuara.mjs} +3 -3
- package/.output/server/_ssr/{insights-usage-rpc-37TTUAr6.mjs → insights-usage-rpc-CrGZDHzO.mjs} +4 -4
- package/.output/server/_ssr/{insights_.distribution-W4fpzgsj.mjs → insights_.distribution-B9sPDvG4.mjs} +5 -5
- package/.output/server/_ssr/{insights_.distribution-RwlJNvF6.mjs → insights_.distribution-CpqnDZNG.mjs} +15 -15
- package/.output/server/_ssr/{insights_.distribution-pdBXAM-9.mjs → insights_.distribution-EOOOOTb6.mjs} +2 -2
- package/.output/server/_ssr/{installations-DKKAVTSE.mjs → installations-BOI_y7Ma.mjs} +11 -11
- package/.output/server/_ssr/{installations-BmIh7M2B.mjs → installations-D0_0hzdi.mjs} +4 -4
- package/.output/server/_ssr/{installations-PHNRkSUb.mjs → installations-dWlOOS7Y.mjs} +2 -2
- package/.output/server/_ssr/{native-builds-CymG4aTV.mjs → native-builds-Bx_az6YZ.mjs} +3 -3
- package/.output/server/_ssr/{native-builds-q-yQUcmQ.mjs → native-builds-C721Rw23.mjs} +25 -21
- package/.output/server/_ssr/{native-builds-CWA9Y__P.mjs → native-builds-OUdRtp6m.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_._buildId-CzJKPxiV.mjs → native-builds_._buildId-YItxv8j9.mjs} +3 -3
- package/.output/server/_ssr/{native-builds_._buildId-bLt4WRQ0.mjs → native-builds_._buildId-ubi48Sfs.mjs} +118 -85
- package/.output/server/_ssr/{nativeBuildDevice-Dn16gNmZ.mjs → nativeBuildDevice-DJUAzAIj.mjs} +26 -46
- package/.output/server/_ssr/{nativeBuildDownloadLink-mzzxooek.mjs → nativeBuildDownloadLink-C0I8eLpS.mjs} +2 -2
- package/.output/server/_ssr/{nativeBuildInstall-C52_rFTA.mjs → nativeBuildInstall-CxG8K8TL.mjs} +5 -6
- package/.output/server/_ssr/{nativeBuilds-D84Qo6jn.mjs → nativeBuilds-CRLmvFaO.mjs} +2 -2
- package/.output/server/_ssr/{native-artifact-H1MDP0Jz.mjs → publicConsoleBase-DvHYxDaG.mjs} +26 -17
- package/.output/server/_ssr/{release-adoption-rpc-CiQeg2XC.mjs → release-adoption-rpc-DcZAYRWJ.mjs} +7 -7
- package/.output/server/_ssr/{releaseAdoption-LLYlRnUB.mjs → releaseAdoption-D6ScSu-W.mjs} +1 -1
- package/.output/server/_ssr/{remote-config-D6_98aiF.mjs → remote-config-BZ_vGV97.mjs} +19 -19
- package/.output/server/_ssr/{remote-config-CHXk0t0Y.mjs → remote-config-DOcSXzxG.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-DFcP3X_W.mjs → remote-config-gKqDKMxk.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-rpc-CmjtaLZo.mjs → remote-config-rpc-CVPd3V69.mjs} +3 -3
- package/.output/server/_ssr/{router-DlRo8qJe.mjs → router-Bcyej4cr.mjs} +60 -75
- package/.output/server/_ssr/{routes-BemtQYlj.mjs → routes-B10xsCh4.mjs} +22 -22
- package/.output/server/_ssr/{routes-DeokFLZU.mjs → routes-ddBRVSju.mjs} +10 -10
- package/.output/server/_ssr/{runtime.server-BsTTLV-B.mjs → runtime.server-wcHT2Cop.mjs} +2 -2
- package/.output/server/_ssr/{schema-migration-rpc-8sXxCyev.mjs → schema-migration-rpc-iWZzLv70.mjs} +3 -3
- package/.output/server/_ssr/{select-C-Xg3M0y.mjs → select-i4WT0c9r.mjs} +1 -1
- package/.output/server/_ssr/{server-BMeXGwaI.mjs → server-CMgMPrDx.mjs} +4 -4
- package/.output/server/_ssr/{sidebar-C-YtAmhJ.mjs → sidebar-mIQgB0iy.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{start-C0XSSCq4.mjs → start-By4wHYjG.mjs} +1 -1
- package/.output/server/_ssr/{switch-Bq_TE-f9.mjs → switch-DR8EAh5C.mjs} +2 -2
- package/.output/server/_ssr/{table-DvW7CEdk.mjs → table-DXmK6G7A.mjs} +1 -1
- package/.output/server/_ssr/{tabs-X3A6lDz5.mjs → tabs-DAfypcYe.mjs} +2 -2
- package/.output/server/_ssr/{updateFailures-DPYzv9bE.mjs → updateFailures-DNiv3S_y.mjs} +1 -1
- package/.output/server/{_tanstack-start-manifest_v-Df6g3sSt.mjs → _tanstack-start-manifest_v-8M7ggCuB.mjs} +36 -38
- package/.output/server/index.mjs +211 -211
- package/package.json +7 -7
- package/src/components/ThemeProvider.tsx +11 -2
- package/src/components/features/native-builds/InstallCard.tsx +20 -21
- package/src/components/features/native-builds/IosInstall.tsx +77 -47
- package/src/components/features/native-builds/NativeBuildsTable.tsx +14 -9
- package/src/components/features/native-builds/SandboxBadge.tsx +8 -2
- package/src/components/features/native-builds/StoreSubmission.tsx +7 -10
- package/src/components/features/native-builds/playTracks.ts +19 -0
- package/src/components/ui/badge.tsx +2 -0
- package/src/lib/server/nativeBuildDevice.ts +22 -43
- package/src/routeTree.gen.ts +0 -44
- package/src/styles.css +8 -0
- package/.output/public/assets/StoreSubmission-CGFw9Mjw.js +0 -1
- package/.output/public/assets/native-builds-CKSg6cCF.js +0 -1
- package/.output/public/assets/native-builds_._buildId-BuVvRbMp.js +0 -1
- package/.output/public/assets/styles-83XEjOMT.css +0 -2
- package/.output/server/_ssr/nativeBuildQr-P9qKcI7l.mjs +0 -115
- package/.output/server/_ssr/publicConsoleBase-3IHSHvqd.mjs +0 -27
- package/.output/server/_ssr/qr-code-pENFuyy9.mjs +0 -22
- package/src/lib/server/nativeBuildQr.ts +0 -163
- package/src/routes/[_]hot-updater/native-builds/preview-qr.ts +0 -14
- package/src/routes/[_]hot-updater/native-builds/qr.ts +0 -14
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as createMiddleware } from "./createMiddleware-C3ACsfuG.mjs";
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/console-access-
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/console-access-ClmTMpo_.js
|
|
3
3
|
/**
|
|
4
4
|
* Refuses a caller the console does not authorize before a server function
|
|
5
5
|
* reads its input. TanStack Start runs a function's middleware before the
|
|
@@ -9,7 +9,7 @@ import { t as createMiddleware } from "./createMiddleware-C3ACsfuG.mjs";
|
|
|
9
9
|
* `console-access.spec.ts` checks that.
|
|
10
10
|
*/
|
|
11
11
|
var consoleAccess = createMiddleware({ type: "function" }).server(async ({ next }) => {
|
|
12
|
-
const [{ getRequest }, { requireConsoleAccess }] = await Promise.all([import("../_libs/_.mjs").then((n) => n.t), import("./auth.server-
|
|
12
|
+
const [{ getRequest }, { requireConsoleAccess }] = await Promise.all([import("../_libs/_.mjs").then((n) => n.t), import("./auth.server-Dt9XHLs_.mjs")]);
|
|
13
13
|
await requireConsoleAccess(getRequest());
|
|
14
14
|
return next();
|
|
15
15
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/console-features-
|
|
1
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/console-features-CRP-pfov.js
|
|
2
2
|
/**
|
|
3
3
|
* The console's features and the server plugin each one needs. The console
|
|
4
4
|
* serves a feature only when its config lists the plugin, as the server runs
|
package/.output/server/_ssr/{console-features-api-CP8VgLf_.mjs → console-features-api-CpMYF0Pb.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { n as consoleFeatures } from "./console-features-CRP-pfov.mjs";
|
|
1
2
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { i as useQuery, r as queryOptions } from "../_libs/tanstack__react-query.mjs";
|
|
5
|
-
import { n as consoleFeatures } from "./console-features-CgdQJQlX.mjs";
|
|
3
|
+
import { A as createSsrRpc } from "./sidebar-mIQgB0iy.mjs";
|
|
4
|
+
import { t as consoleAccess } from "./console-access-ClmTMpo_.mjs";
|
|
6
5
|
import { v as notFound } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
7
|
-
|
|
6
|
+
import { i as useQuery, r as queryOptions } from "../_libs/tanstack__react-query.mjs";
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/console-features-api-CpMYF0Pb.js
|
|
8
8
|
/** The features this console serves, for navigation and route guards. */
|
|
9
9
|
var getConsoleFeaturesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).handler(createSsrRpc("82ec3500e57f9e81dac6d3f3a7bd9e34915da3121429beec87b7ad153dc6eafe"));
|
|
10
10
|
var consoleFeaturesQueryKey = ["console", "features"];
|
package/.output/server/_ssr/{console-features-rpc-BWc5qG3c.mjs → console-features-rpc-D-dr-WF8.mjs}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-ClmTMpo_.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/console-features-rpc-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/console-features-rpc-D-dr-WF8.js
|
|
5
5
|
var getConsoleFeaturesRpc_createServerFn_handler = createServerRpc({
|
|
6
6
|
id: "82ec3500e57f9e81dac6d3f3a7bd9e34915da3121429beec87b7ad153dc6eafe",
|
|
7
7
|
name: "getConsoleFeaturesRpc",
|
|
8
8
|
filename: "src/lib/console-features-rpc.ts"
|
|
9
9
|
}, (opts) => getConsoleFeaturesRpc.__executeServer(opts));
|
|
10
10
|
var getConsoleFeaturesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).handler(getConsoleFeaturesRpc_createServerFn_handler, async () => {
|
|
11
|
-
const { prepareConfig } = await import("./config.server-
|
|
11
|
+
const { prepareConfig } = await import("./config.server-CJs-9Zd_.mjs");
|
|
12
12
|
const { runtime } = await prepareConfig();
|
|
13
13
|
return {
|
|
14
14
|
features: await runtime.features(),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { $ as DialogTitle$1, Q as DialogTrigger$1, at as DialogBackdrop, bt as require_react, et as DialogRoot, it as DialogClose, nt as DialogPopup, rt as DialogDescription$1, tt as DialogPortal$1, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { t as X } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { k as cn, t as Button$1 } from "./sidebar-
|
|
4
|
+
import { k as cn, t as Button$1 } from "./sidebar-mIQgB0iy.mjs";
|
|
5
5
|
require_react();
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
7
|
function Dialog$1({ ...props }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
2
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
3
|
-
import { k as cn } from "./sidebar-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/empty-
|
|
3
|
+
import { k as cn } from "./sidebar-mIQgB0iy.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/empty-Bx8DnyWN.js
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
function Empty({ className, ...props }) {
|
|
7
7
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
4
|
-
import { k as cn } from "./sidebar-
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/field-
|
|
4
|
+
import { k as cn } from "./sidebar-mIQgB0iy.mjs";
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/field-BVI4lxoz.js
|
|
6
6
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
7
7
|
var import_jsx_runtime = require_jsx_runtime();
|
|
8
8
|
function Label({ className, htmlFor, ...props }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
4
|
-
import { k as cn, n as Input, t as Button$1 } from "./sidebar-
|
|
4
|
+
import { k as cn, n as Input, t as Button$1 } from "./sidebar-mIQgB0iy.mjs";
|
|
5
5
|
require_react();
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
7
|
function Textarea({ className, ...props }) {
|
|
@@ -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 { o as validateInsightsSearch } from "./insights-search-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-
|
|
5
|
-
var $$splitComponentImporter = () => import("./insights-
|
|
6
|
-
var $$splitNotFoundComponentImporter = () => import("./insights-
|
|
2
|
+
import { r as requireConsoleFeature } from "./console-features-api-CpMYF0Pb.mjs";
|
|
3
|
+
import { o as validateInsightsSearch } from "./insights-search-CoMkZvRt.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-B-VtObqr.js
|
|
5
|
+
var $$splitComponentImporter = () => import("./insights-DxlHHXPK.mjs");
|
|
6
|
+
var $$splitNotFoundComponentImporter = () => import("./insights-b1hq1O0p.mjs");
|
|
7
7
|
var Route = createFileRoute("/insights")({
|
|
8
8
|
beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "insightsAnalytics"),
|
|
9
9
|
notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "notFoundComponent"),
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
3
|
-
import { t as consoleAccess } from "./console-access-Dah0AEYy.mjs";
|
|
4
3
|
import { C as ComboboxTrigger$1, D as ScrollAreaViewport, E as ScrollAreaScrollbar, O as ScrollAreaRoot, S as ComboboxInput$1, T as ScrollAreaThumb, _ as ComboboxPositioner, b as ComboboxCollection$1, bt as require_react, d as ComboboxRoot, f as ComboboxEmpty$1, g as ComboboxPopup, h as ComboboxGroup$1, m as ComboboxGroupLabel, p as ComboboxItem$1, u as ComboboxItemIndicator, v as ComboboxPortal, w as ScrollAreaCorner, x as ComboboxClear$1, y as ComboboxList$1, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
5
4
|
import { B as Copy, H as CircleOff, J as ChevronDown, K as ChevronRight, O as List, Y as Check, _ as RefreshCw, et as ArrowUpRight, g as RotateCcw, h as RotateCw, i as TriangleAlert, r as Undo2, t as X, tt as ArrowRight } from "../_libs/lucide-react.mjs";
|
|
6
|
-
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, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
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-Bl_9bN7q.mjs";
|
|
10
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DvW7CEdk.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, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-mIQgB0iy.mjs";
|
|
6
|
+
import { t as consoleAccess } from "./console-access-ClmTMpo_.mjs";
|
|
7
|
+
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
11
8
|
import { a as useQueries, i as useQuery, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
9
|
+
import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-Bx8DnyWN.mjs";
|
|
10
|
+
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-CG5GqIoA.mjs";
|
|
11
|
+
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-KS3YftV5.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-BOKQTpmP.mjs";
|
|
13
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DXmK6G7A.mjs";
|
|
12
14
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
13
|
-
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
14
|
-
import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-sGLINpS3.mjs";
|
|
15
15
|
import { w as isUUIDv7 } from "./dist-B6-irDRA.mjs";
|
|
16
16
|
import { r as recoveryWindows, t as insightsPeriodEnd } from "./insights-recovery-DOkpqnQ8.mjs";
|
|
17
17
|
import { a as failureReasonLabel, i as failureRate, o as failureStageLabel, r as failureDetailParts, s as formatRate, t as checkFailureRate } from "./insights-failures-DNQ9qVVf.mjs";
|
|
18
18
|
import { t as groupFailureReports } from "./insights-errors-Bz3sWNZm.mjs";
|
|
19
19
|
import { n as usageMetrics } from "./insights-usage-4KDIN3Kg.mjs";
|
|
20
20
|
import { a as readAdoptionReleasesInput, i as readAdoptionReleaseInput, n as crashRateOf, o as readBundleEventsInput, r as defaultAdoptionReleases, s as recommendsRollback, t as CRASH_RATE_THRESHOLD } from "./release-adoption-C7sUFDwa.mjs";
|
|
21
|
-
import { i as comparedBundleIds, n as InfoTooltip, t as DEFAULT_INSIGHTS_CHANNEL } from "./insights-search-
|
|
22
|
-
import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-
|
|
23
|
-
import { t as Route } from "./insights-
|
|
24
|
-
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-
|
|
25
|
-
import { t as PlatformIcon } from "./PlatformIcon-
|
|
26
|
-
import { i as InputGroupInput, n as InputGroupAddon, r as InputGroupButton, t as InputGroup } from "./input-group-
|
|
27
|
-
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-
|
|
28
|
-
import { S as useUpdateReleaseMutation, g as usePreflightReleaseMutation, i as useChannelsQuery } from "./api-
|
|
29
|
-
import { t as BundleIdDisplay } from "./BundleIdDisplay-
|
|
30
|
-
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-
|
|
31
|
-
import { i as InsightsPeriodSelector, n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader } from "./InsightsPageHeader-
|
|
32
|
-
import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-
|
|
21
|
+
import { i as comparedBundleIds, n as InfoTooltip, t as DEFAULT_INSIGHTS_CHANNEL } from "./insights-search-CoMkZvRt.mjs";
|
|
22
|
+
import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-8PWQ7PiR.mjs";
|
|
23
|
+
import { t as Route } from "./insights-B-VtObqr.mjs";
|
|
24
|
+
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-DAfypcYe.mjs";
|
|
25
|
+
import { t as PlatformIcon } from "./PlatformIcon-CMLs3Wez.mjs";
|
|
26
|
+
import { i as InputGroupInput, n as InputGroupAddon, r as InputGroupButton, t as InputGroup } from "./input-group-CpJwooTk.mjs";
|
|
27
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-i4WT0c9r.mjs";
|
|
28
|
+
import { S as useUpdateReleaseMutation, g as usePreflightReleaseMutation, i as useChannelsQuery } from "./api-CDvGGB1B.mjs";
|
|
29
|
+
import { t as BundleIdDisplay } from "./BundleIdDisplay-DRnAzJse.mjs";
|
|
30
|
+
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-B1XSuara.mjs";
|
|
31
|
+
import { i as InsightsPeriodSelector, n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader } from "./InsightsPageHeader-Ctw4N3SZ.mjs";
|
|
32
|
+
import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-CjT6o2sJ.mjs";
|
|
33
33
|
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";
|
|
34
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-
|
|
34
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-DxlHHXPK.js
|
|
35
35
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
36
36
|
var import_jsx_runtime = require_jsx_runtime();
|
|
37
37
|
var THEMES = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { A as createSsrRpc } from "./sidebar-mIQgB0iy.mjs";
|
|
3
|
+
import { t as consoleAccess } from "./console-access-ClmTMpo_.mjs";
|
|
4
4
|
import { i as useQuery, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
|
|
5
5
|
import { c as readUpdateFailuresInput } from "./insights-failures-DNQ9qVVf.mjs";
|
|
6
6
|
import { n as readFailureReportsInput } from "./insights-errors-Bz3sWNZm.mjs";
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-api-
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-api-8PWQ7PiR.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,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-BEU7r4aH.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-b1hq1O0p.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-ClmTMpo_.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
4
|
import { c as readUpdateFailuresInput } from "./insights-failures-DNQ9qVVf.mjs";
|
|
5
5
|
import { n as readFailureReportsInput } from "./insights-errors-Bz3sWNZm.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-pY2KV9HI.js
|
|
7
7
|
var getUpdateFailuresRpc_createServerFn_handler = createServerRpc({
|
|
8
8
|
id: "0d1dacdd1e5ee6b100e5c142fb9af03602b6f2c6fe6af79312b36c223d7f8f97",
|
|
9
9
|
name: "getUpdateFailuresRpc",
|
|
@@ -11,9 +11,9 @@ 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-
|
|
15
|
-
import("./updateFailures-
|
|
16
|
-
import("./runtime.server-
|
|
14
|
+
import("./config.server-CJs-9Zd_.mjs"),
|
|
15
|
+
import("./updateFailures-DNiv3S_y.mjs"),
|
|
16
|
+
import("./runtime.server-wcHT2Cop.mjs")
|
|
17
17
|
]);
|
|
18
18
|
const { runtime, core } = await prepareConfig();
|
|
19
19
|
return getUpdateFailuresReport(await requireFeature(runtime, "insights"), data, Date.now(), core);
|
|
@@ -25,9 +25,9 @@ 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-CJs-9Zd_.mjs"),
|
|
29
29
|
import("./failureReports-C_CmBF4x.mjs"),
|
|
30
|
-
import("./runtime.server-
|
|
30
|
+
import("./runtime.server-wcHT2Cop.mjs")
|
|
31
31
|
]);
|
|
32
32
|
const { runtime } = await prepareConfig();
|
|
33
33
|
return listFailureReports(await requireFeature(runtime, "insights"), data);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-ClmTMpo_.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
4
|
import { n as readRecoveryInput } from "./insights-recovery-DOkpqnQ8.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-CejmWL_y.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,9 +21,9 @@ 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-CJs-9Zd_.mjs"),
|
|
25
25
|
import("./bundleActivity-BGVvqWx7.mjs"),
|
|
26
|
-
import("./runtime.server-
|
|
26
|
+
import("./runtime.server-wcHT2Cop.mjs")
|
|
27
27
|
]);
|
|
28
28
|
const { runtime } = await prepareConfig();
|
|
29
29
|
return getBundleActivity(await requireFeature(runtime, "insightsAnalytics"), data);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-ClmTMpo_.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-rpc-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-rpc-D_7d_AAJ.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-CJs-9Zd_.mjs"), import("./runtime.server-wcHT2Cop.mjs")]);
|
|
8
8
|
const { runtime } = await prepareConfig();
|
|
9
9
|
return requireFeature(runtime, "insights");
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { A as Info } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-
|
|
4
|
+
import { D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-mIQgB0iy.mjs";
|
|
5
5
|
import { w as isUUIDv7 } from "./dist-B6-irDRA.mjs";
|
|
6
6
|
import { r as extractTimestampFromUUIDv7 } from "./uuidv7-CmHbryZT.mjs";
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-search-
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-search-CoMkZvRt.js
|
|
8
8
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
9
9
|
var import_jsx_runtime = require_jsx_runtime();
|
|
10
10
|
function InfoTooltip({ label, children }) {
|
package/.output/server/_ssr/{insights-usage-rpc-DpI7VDWn.mjs → insights-usage-rpc-B1XSuara.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-Dah0AEYy.mjs";
|
|
3
2
|
import { A as ProgressTrack$1, j as ProgressRoot, k as ProgressIndicator$1, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
|
-
import { A as createSsrRpc, k as cn } from "./sidebar-
|
|
3
|
+
import { A as createSsrRpc, k as cn } from "./sidebar-mIQgB0iy.mjs";
|
|
4
|
+
import { t as consoleAccess } from "./console-access-ClmTMpo_.mjs";
|
|
5
5
|
import { t as readAppUsageInput } from "./insights-usage-4KDIN3Kg.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-B1XSuara.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, {
|
package/.output/server/_ssr/{insights-usage-rpc-37TTUAr6.mjs → insights-usage-rpc-CrGZDHzO.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-ClmTMpo_.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
4
|
import { t as readAppUsageInput } from "./insights-usage-4KDIN3Kg.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-CrGZDHzO.js
|
|
6
6
|
var getAppUsageReportRpc_createServerFn_handler = createServerRpc({
|
|
7
7
|
id: "8a98cd9c178e4a54185d62c25a95f09d3d59850c43d3f5baa1563e1614ad942e",
|
|
8
8
|
name: "getAppUsageReportRpc",
|
|
@@ -18,9 +18,9 @@ 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-CJs-9Zd_.mjs"),
|
|
22
22
|
import("./insightsUsage-DmQdJZqT.mjs"),
|
|
23
|
-
import("./runtime.server-
|
|
23
|
+
import("./runtime.server-wcHT2Cop.mjs")
|
|
24
24
|
]);
|
|
25
25
|
const { runtime } = await prepareConfig();
|
|
26
26
|
return getAppUsageReport(await requireFeature(runtime, "insightsAnalytics"), data);
|
|
@@ -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 { a as validateDistributionSearch } from "./insights-search-
|
|
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-CpMYF0Pb.mjs";
|
|
3
|
+
import { a as validateDistributionSearch } from "./insights-search-CoMkZvRt.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-B9sPDvG4.js
|
|
5
|
+
var $$splitComponentImporter = () => import("./insights_.distribution-CpqnDZNG.mjs");
|
|
6
|
+
var $$splitNotFoundComponentImporter = () => import("./insights_.distribution-EOOOOTb6.mjs");
|
|
7
7
|
/** How a distribution row's bundle reads aloud. */
|
|
8
8
|
/** The bundle an app version's native build shipped, by its ID. */
|
|
9
9
|
var Route = createFileRoute("/insights_/distribution")({
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
2
|
import { et as ArrowUpRight, h as RotateCw, rt as ArrowLeft } from "../_libs/lucide-react.mjs";
|
|
3
|
-
import { C as Skeleton, O as buttonVariants, t as Button$1 } from "./sidebar-
|
|
4
|
-
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, t as Card } from "./card-Bx_12-o-.mjs";
|
|
5
|
-
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-Cf4fbU_q.mjs";
|
|
6
|
-
import { a as FieldLabel, t as Field } from "./field-CYSNwGK0.mjs";
|
|
7
|
-
import { i as useQuery } from "../_libs/tanstack__react-query.mjs";
|
|
3
|
+
import { C as Skeleton, O as buttonVariants, t as Button$1 } from "./sidebar-mIQgB0iy.mjs";
|
|
8
4
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
9
|
-
import { i as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { t as
|
|
13
|
-
import { a as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { t as
|
|
18
|
-
|
|
5
|
+
import { i as useQuery } from "../_libs/tanstack__react-query.mjs";
|
|
6
|
+
import { i as EmptyHeader, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-Bx8DnyWN.mjs";
|
|
7
|
+
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, t as Card } from "./card-CG5GqIoA.mjs";
|
|
8
|
+
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-KS3YftV5.mjs";
|
|
9
|
+
import { a as FieldLabel, t as Field } from "./field-BVI4lxoz.mjs";
|
|
10
|
+
import { n as InfoTooltip, o as validateInsightsSearch } from "./insights-search-CoMkZvRt.mjs";
|
|
11
|
+
import { l as useInsightsRetention, r as keepsTwelveMonths } from "./insights-api-8PWQ7PiR.mjs";
|
|
12
|
+
import { t as PlatformIcon } from "./PlatformIcon-CMLs3Wez.mjs";
|
|
13
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-i4WT0c9r.mjs";
|
|
14
|
+
import { t as BundleIdDisplay } from "./BundleIdDisplay-DRnAzJse.mjs";
|
|
15
|
+
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-B1XSuara.mjs";
|
|
16
|
+
import { n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader, t as BuiltinBundleBadge } from "./InsightsPageHeader-Ctw4N3SZ.mjs";
|
|
17
|
+
import { t as Route } from "./insights_.distribution-B9sPDvG4.mjs";
|
|
18
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-CpqnDZNG.js
|
|
19
19
|
var import_jsx_runtime = require_jsx_runtime();
|
|
20
20
|
var PAGE_SIZE = 20;
|
|
21
21
|
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-BEU7r4aH.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-EOOOOTb6.js
|
|
3
3
|
/** How a distribution row's bundle reads aloud. */
|
|
4
4
|
/** The bundle an app version's native build shipped, by its ID. */
|
|
5
5
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { J as ChevronDown, Y as Check, _ as RefreshCw, et as ArrowUpRight, m as Search, rt as ArrowLeft, 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-
|
|
5
|
-
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-Bx_12-o-.mjs";
|
|
6
|
-
import { a as FieldLabel, t as Field } from "./field-CYSNwGK0.mjs";
|
|
7
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DvW7CEdk.mjs";
|
|
4
|
+
import { C as Skeleton, O as buttonVariants, k as cn, r as Separator$1, t as Button$1 } from "./sidebar-mIQgB0iy.mjs";
|
|
8
5
|
import { c as useElementScrollRestoration, h as Link, o as useLocation } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
9
|
-
import { a as
|
|
10
|
-
import {
|
|
11
|
-
import { a as
|
|
12
|
-
import { n as
|
|
13
|
-
import {
|
|
14
|
-
import { a as
|
|
15
|
-
|
|
6
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-CG5GqIoA.mjs";
|
|
7
|
+
import { a as FieldLabel, t as Field } from "./field-BVI4lxoz.mjs";
|
|
8
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DXmK6G7A.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-8PWQ7PiR.mjs";
|
|
10
|
+
import { i as InputGroupInput, n as InputGroupAddon, r as InputGroupButton, t as InputGroup } from "./input-group-CpJwooTk.mjs";
|
|
11
|
+
import { a as PeriodSelector, n as InsightsErrorAlert, r as InsightsPageHeader, s as isBuiltinBundle, t as BuiltinBundleBadge } from "./InsightsPageHeader-Ctw4N3SZ.mjs";
|
|
12
|
+
import { n as shortenIdentifier, t as HashValueDisplay } from "./HashValueDisplay-Bkim8r3-.mjs";
|
|
13
|
+
import { a as HttpResponseDetails, n as EventTimestamp, o as useInsightsTimeFormat, r as EventTypeDetails, t as EventBundleTransition } from "./EventDetails-CjT6o2sJ.mjs";
|
|
14
|
+
import { a as installationsScrollRestorationKey, i as eventRanges, n as Route, o as widerEventRange, r as eventRangeBounds, t as EVENT_RANGES } from "./installations-D0_0hzdi.mjs";
|
|
15
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/installations-BOI_y7Ma.js
|
|
16
16
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
17
17
|
var import_jsx_runtime = require_jsx_runtime();
|
|
18
18
|
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-CpMYF0Pb.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/installations-D0_0hzdi.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-BOI_y7Ma.mjs");
|
|
60
|
+
var $$splitNotFoundComponentImporter = () => import("./installations-dWlOOS7Y.mjs");
|
|
61
61
|
var Route = createFileRoute("/installations")({
|
|
62
62
|
beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "insights"),
|
|
63
63
|
notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "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-BEU7r4aH.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/installations-dWlOOS7Y.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
|
-
import { n as validateNativeBuildsSearch } from "./-native-builds-search-
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds-
|
|
4
|
-
var $$splitComponentImporter = () => import("./native-builds-
|
|
2
|
+
import { n as validateNativeBuildsSearch } from "./-native-builds-search-M6t7EIt4.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds-Bx_az6YZ.js
|
|
4
|
+
var $$splitComponentImporter = () => import("./native-builds-C721Rw23.mjs");
|
|
5
5
|
var Route = createFileRoute("/native-builds")({
|
|
6
6
|
component: lazyRouteComponent($$splitComponentImporter, "component"),
|
|
7
7
|
validateSearch: validateNativeBuildsSearch
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
2
|
import { I as FileUp, M as HardDrive, _ as RefreshCw, et as ArrowUpRight, i as TriangleAlert, z as Download } from "../_libs/lucide-react.mjs";
|
|
3
|
-
import { O as buttonVariants, S as SidebarTrigger, j as useIsMobile, t as Button$1 } from "./sidebar-
|
|
4
|
-
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-Cf4fbU_q.mjs";
|
|
5
|
-
import { a as DialogHeader, n as DialogContent, o as DialogTitle, r as DialogDescription, s as DialogTrigger, t as Dialog$1 } from "./dialog-B5-o4y_0.mjs";
|
|
6
|
-
import { i as TableHead, r as TableCell } from "./table-DvW7CEdk.mjs";
|
|
3
|
+
import { O as buttonVariants, S as SidebarTrigger, j as useIsMobile, t as Button$1 } from "./sidebar-mIQgB0iy.mjs";
|
|
7
4
|
import { g as useNavigate, h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
8
|
-
import {
|
|
5
|
+
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-KS3YftV5.mjs";
|
|
6
|
+
import { a as DialogHeader, n as DialogContent, o as DialogTitle, r as DialogDescription, s as DialogTrigger, t as Dialog$1 } from "./dialog-DvHMJkq7.mjs";
|
|
7
|
+
import { i as TableHead, r as TableCell } from "./table-DXmK6G7A.mjs";
|
|
8
|
+
import { b as platformLabel, f as nativeBuildDownloadPath, l as nativeBuildChannel, o as formatByteSize, p as nativeBuildFileName, s as nativeBuildArtifacts } from "./native-builds-OUdRtp6m.mjs";
|
|
9
9
|
import { r as extractTimestampFromUUIDv7 } from "./uuidv7-CmHbryZT.mjs";
|
|
10
|
-
import { n as PlatformLabel, t as PlatformIcon } from "./PlatformIcon-
|
|
11
|
-
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-
|
|
12
|
-
import { h as useNativeBuildsQuery, i as useChannelsQuery } from "./api-
|
|
13
|
-
import { t as Route } from "./native-builds-
|
|
14
|
-
import { a as TargetDisplay, i as NoValue, n as ChannelBadge, r as CopyableText, t as BuildKeyDisplay } from "./TargetDisplay-
|
|
15
|
-
import { a as DataTableEmpty, c as DataTablePagination, d as RelativeTime, f as openOutsideControls, i as DataTable, l as DataTableRow, n as DataCardSkeletons, o as DataTableFrame, r as DataCardsEmpty, s as DataTableFullRow, t as DataCard, u as DataTableSkeletonRows } from "./RelativeTime-
|
|
16
|
-
import {
|
|
17
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds-
|
|
10
|
+
import { n as PlatformLabel, t as PlatformIcon } from "./PlatformIcon-CMLs3Wez.mjs";
|
|
11
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-i4WT0c9r.mjs";
|
|
12
|
+
import { h as useNativeBuildsQuery, i as useChannelsQuery } from "./api-CDvGGB1B.mjs";
|
|
13
|
+
import { t as Route } from "./native-builds-Bx_az6YZ.mjs";
|
|
14
|
+
import { a as TargetDisplay, i as NoValue, n as ChannelBadge, r as CopyableText, t as BuildKeyDisplay } from "./TargetDisplay-D1PKOupt.mjs";
|
|
15
|
+
import { a as DataTableEmpty, c as DataTablePagination, d as RelativeTime, f as openOutsideControls, i as DataTable, l as DataTableRow, n as DataCardSkeletons, o as DataTableFrame, r as DataCardsEmpty, s as DataTableFullRow, t as DataCard, u as DataTableSkeletonRows } from "./RelativeTime-DjdCU0J7.mjs";
|
|
16
|
+
import { i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge } from "./StoreSubmission-Cv59joPo.mjs";
|
|
17
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds-C721Rw23.js
|
|
18
18
|
var import_jsx_runtime = require_jsx_runtime();
|
|
19
19
|
/** The command that tracks a build made elsewhere. */
|
|
20
20
|
var IMPORT_COMMAND = "npx hot-updater native-build import <file>";
|
|
@@ -158,13 +158,16 @@ function BuildLink({ build }) {
|
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
160
|
* What the build is, its artifact kind and whether it is a sandbox build, kept
|
|
161
|
-
* together so the tag never wraps away from the kind it qualifies
|
|
162
|
-
*
|
|
163
|
-
*
|
|
161
|
+
* together so the tag never wraps away from the kind it qualifies. In a table
|
|
162
|
+
* cell the tag sits beside the kind, so a sandbox row is as tall as any other,
|
|
163
|
+
* and the cell is capped at its widest short kind ("AAB Sandbox"): only a
|
|
164
|
+
* longer kind, such as a sandbox "Simulator app", puts its tag under it rather
|
|
165
|
+
* than widen the table past its frame. On a card the tag sits beside the kind,
|
|
166
|
+
* under it only when a narrow card has no room.
|
|
164
167
|
*/
|
|
165
|
-
function BuildIdentity({ build,
|
|
166
|
-
if (
|
|
167
|
-
className: "flex flex-
|
|
168
|
+
function BuildIdentity({ build, inTable = false }) {
|
|
169
|
+
if (inTable) return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
170
|
+
className: "flex max-w-24 flex-wrap items-center gap-x-1.5 gap-y-1",
|
|
168
171
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(BuildLink, { build }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SandboxBadge, { build })]
|
|
169
172
|
});
|
|
170
173
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
@@ -202,7 +205,8 @@ function StoreBadges({ build, className }) {
|
|
|
202
205
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
203
206
|
className,
|
|
204
207
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StoreSubmissionBadge, { build }), build.is_store_build ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
|
|
205
|
-
|
|
208
|
+
className: "px-1.5",
|
|
209
|
+
variant: "muted",
|
|
206
210
|
children: "Store build"
|
|
207
211
|
}) : null]
|
|
208
212
|
});
|
|
@@ -241,7 +245,7 @@ function BuildRow({ build, onChannel }) {
|
|
|
241
245
|
children: [
|
|
242
246
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BuildIdentity, {
|
|
243
247
|
build,
|
|
244
|
-
|
|
248
|
+
inTable: true
|
|
245
249
|
}) }),
|
|
246
250
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChannelFilterButton, {
|
|
247
251
|
channel,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as createReleaseCatalogScopeKey, l as decodeChannelKey, s as canonicalizeAppVersion, u as encodeChannelKey } from "./dist-B6-irDRA.mjs";
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds-
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds-OUdRtp6m.js
|
|
3
3
|
/**
|
|
4
4
|
* `value` as one POSIX shell word: as it is when it holds only characters
|
|
5
5
|
* no shell treats specially, else in single quotes, so a file name or link
|
|
@@ -172,4 +172,4 @@ var formatByteSize = (bytes) => {
|
|
|
172
172
|
*/
|
|
173
173
|
var nativeBuildInstallCommand = (build) => `npx hot-updater native-build install ${shellQuote(build.id)}`;
|
|
174
174
|
//#endregion
|
|
175
|
-
export { shellQuote as
|
|
175
|
+
export { shellQuote as S, nativeBuildManifestPath as _, consolePathOf as a, platformLabel as b, nativeBuildCatalogScopeKey as c, nativeBuildDeviceProfilePath as d, nativeBuildDownloadPath as f, nativeBuildLabel as g, nativeBuildItmsUrl as h, channelIdOf as i, nativeBuildChannel as l, nativeBuildInstallCommand as m, IOS_UDID_STORAGE_KEY as n, formatByteSize as o, nativeBuildFileName as p, NATIVE_BUILD_INSTALL_LINK_TTL_MS as r, nativeBuildArtifacts as s, IOS_UDID_PATTERN as t, nativeBuildDeviceAddCommand as u, nativeBuildScope as v, releaseNativeBuildScope as x, nativeBuildSignedDownloadUrl as y };
|