@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,11 +1,11 @@
|
|
|
1
|
+
import { a as unavailableReason, n as consoleFeatures } from "./console-features-CRP-pfov.mjs";
|
|
1
2
|
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
3
|
import { et as ArrowUpRight } from "../_libs/lucide-react.mjs";
|
|
3
|
-
import { O as buttonVariants, S as SidebarTrigger } from "./sidebar-
|
|
4
|
-
import { a as
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/ConsoleFeatureUnavailable-CLb3FQ37.js
|
|
4
|
+
import { O as buttonVariants, S as SidebarTrigger } from "./sidebar-mIQgB0iy.mjs";
|
|
5
|
+
import { a as useConsoleFeatures, n as notFoundFeature } from "./console-features-api-CpMYF0Pb.mjs";
|
|
6
|
+
import { t as NotFoundPage } from "./NotFoundPage-Bh3gFsR6.mjs";
|
|
7
|
+
import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-Bx8DnyWN.mjs";
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/ConsoleFeatureUnavailable-BEU7r4aH.js
|
|
9
9
|
var import_jsx_runtime = require_jsx_runtime();
|
|
10
10
|
var CONSOLE_DEPLOYMENT_GUIDE_URL = "https://hot-updater.dev/docs/guides/console-deployment";
|
|
11
11
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
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 { B as Copy, J as ChevronDown, W as CircleAlert, Y as Check, at as Activity, g as RotateCcw, l as Sparkles, nt as ArrowRightLeft, u as Smartphone, z as Download } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { a as SheetContent, c as SheetTitle, i as Sheet, l as SheetTrigger, o as SheetDescription, s as SheetHeader, t as Button$1 } from "./sidebar-
|
|
5
|
-
import {
|
|
4
|
+
import { a as SheetContent, c as SheetTitle, i as Sheet, l as SheetTrigger, o as SheetDescription, s as SheetHeader, t as Button$1 } from "./sidebar-mIQgB0iy.mjs";
|
|
5
|
+
import { i as EmptyHeader, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-Bx8DnyWN.mjs";
|
|
6
|
+
import { a as Badge } from "./badge-KS3YftV5.mjs";
|
|
6
7
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
7
|
-
import { i as EmptyHeader, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-sGLINpS3.mjs";
|
|
8
8
|
import { n as describeFailure } from "./insights-failures-DNQ9qVVf.mjs";
|
|
9
|
-
import { s as isBuiltinBundle, t as BuiltinBundleBadge } from "./InsightsPageHeader-
|
|
10
|
-
import { t as HashValueDisplay } from "./HashValueDisplay-
|
|
11
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/EventDetails-
|
|
9
|
+
import { s as isBuiltinBundle, t as BuiltinBundleBadge } from "./InsightsPageHeader-Ctw4N3SZ.mjs";
|
|
10
|
+
import { t as HashValueDisplay } from "./HashValueDisplay-Bkim8r3-.mjs";
|
|
11
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/EventDetails-CjT6o2sJ.js
|
|
12
12
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
13
13
|
var import_jsx_runtime = require_jsx_runtime();
|
|
14
14
|
var eventTypes = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
-
import { D as TooltipTrigger, T as TooltipContent, k as cn, w as Tooltip$1 } from "./sidebar-
|
|
2
|
+
import { D as TooltipTrigger, T as TooltipContent, k as cn, w as Tooltip$1 } from "./sidebar-mIQgB0iy.mjs";
|
|
3
3
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/HashValueDisplay-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/HashValueDisplay-Bkim8r3-.js
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
var shortenIdentifier = (value, maxLength = 12) => value.length > maxLength ? `${value.slice(0, Math.max(1, maxLength - 4))}…${value.slice(-4)}` : value;
|
|
7
7
|
function HashValueDisplay({ value, display = value, maxLength = 12, className, buttonClassName }) {
|
package/.output/server/_ssr/{InsightsPageHeader-D0CFqoqK.mjs → InsightsPageHeader-Ctw4N3SZ.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { r as isConsoleFeatureUnavailableError } from "./console-features-CRP-pfov.mjs";
|
|
1
2
|
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
3
|
import { A as Info, O as List, X as ChartNoAxesCombined, i as TriangleAlert } from "../_libs/lucide-react.mjs";
|
|
3
|
-
import { O as buttonVariants, S as SidebarTrigger, k as cn } from "./sidebar-
|
|
4
|
-
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-Cf4fbU_q.mjs";
|
|
5
|
-
import { r as isConsoleFeatureUnavailableError } from "./console-features-CgdQJQlX.mjs";
|
|
4
|
+
import { O as buttonVariants, S as SidebarTrigger, k as cn } from "./sidebar-mIQgB0iy.mjs";
|
|
6
5
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
7
|
-
import { i as useConsoleFeature } from "./console-features-api-
|
|
6
|
+
import { i as useConsoleFeature } from "./console-features-api-CpMYF0Pb.mjs";
|
|
7
|
+
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-KS3YftV5.mjs";
|
|
8
8
|
import { n as usageMetrics } from "./insights-usage-4KDIN3Kg.mjs";
|
|
9
|
-
import { i as TabsTrigger, r as TabsList, t as Tabs$1 } from "./tabs-
|
|
10
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/InsightsPageHeader-
|
|
9
|
+
import { i as TabsTrigger, r as TabsList, t as Tabs$1 } from "./tabs-DAfypcYe.mjs";
|
|
10
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/InsightsPageHeader-Ctw4N3SZ.js
|
|
11
11
|
var import_jsx_runtime = require_jsx_runtime();
|
|
12
12
|
function InsightsErrorAlert({ error, fallbackTitle }) {
|
|
13
13
|
if (isConsoleFeatureUnavailableError(error)) return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Alert, { children: [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
-
import { O as buttonVariants } from "./sidebar-
|
|
2
|
+
import { O as buttonVariants } from "./sidebar-mIQgB0iy.mjs";
|
|
3
3
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/NotFoundPage-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/NotFoundPage-Bh3gFsR6.js
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
var homeSearch = {
|
|
7
7
|
afterReleaseId: void 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/PlatformIcon-
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/PlatformIcon-CMLs3Wez.js
|
|
3
3
|
var import_jsx_runtime = require_jsx_runtime();
|
|
4
4
|
function AppleIcon({ className }) {
|
|
5
5
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { K as ChevronRight, q as ChevronLeft } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { C as Skeleton, O as buttonVariants, k as cn, t as Button$1 } from "./sidebar-
|
|
5
|
-
import { a as TableHeader, 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, t as Button$1 } from "./sidebar-mIQgB0iy.mjs";
|
|
6
5
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
6
|
+
import { a as TableHeader, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DXmK6G7A.mjs";
|
|
7
7
|
import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/RelativeTime-
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/RelativeTime-DjdCU0J7.js
|
|
9
9
|
var import_jsx_runtime = require_jsx_runtime();
|
|
10
10
|
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
11
11
|
var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { i as TriangleAlert } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { k as cn } from "./sidebar-
|
|
5
|
-
import { a as Badge } from "./badge-
|
|
4
|
+
import { k as cn } from "./sidebar-mIQgB0iy.mjs";
|
|
5
|
+
import { a as Badge } from "./badge-KS3YftV5.mjs";
|
|
6
6
|
import { r as extractTimestampFromUUIDv7 } from "./uuidv7-CmHbryZT.mjs";
|
|
7
7
|
import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/RolloutPercentageBadge-
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/RolloutPercentageBadge-BiIHw-V2.js
|
|
9
9
|
var import_jsx_runtime = require_jsx_runtime();
|
|
10
10
|
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
11
11
|
var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
|
|
@@ -1,27 +1,49 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { p as Send } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { a as Badge } from "./badge-
|
|
4
|
+
import { a as Badge } from "./badge-KS3YftV5.mjs";
|
|
5
5
|
import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
|
|
6
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/StoreSubmission-
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/StoreSubmission-Cv59joPo.js
|
|
7
7
|
var import_jsx_runtime = require_jsx_runtime();
|
|
8
8
|
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
9
9
|
var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
|
|
10
10
|
/**
|
|
11
11
|
* "Sandbox" on a sandbox build, as the registry records it, whatever its
|
|
12
|
-
* channel; nothing on any other.
|
|
12
|
+
* channel; nothing on any other. A qualifier of the artifact kind beside it,
|
|
13
|
+
* so a quiet tag: tinted and muted like a neutral channel, the row's chip
|
|
14
|
+
* height, and narrow, as "Store build" is.
|
|
13
15
|
*/
|
|
14
16
|
function SandboxBadge({ build }) {
|
|
15
17
|
return build.is_sandbox ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
|
|
16
|
-
|
|
18
|
+
className: "px-1.5",
|
|
19
|
+
variant: "muted",
|
|
17
20
|
children: "Sandbox"
|
|
18
21
|
}) : null;
|
|
19
22
|
}
|
|
23
|
+
/** Google Play destination display labels. */
|
|
24
|
+
var PLAY_TRACKS = {
|
|
25
|
+
"play-internal": {
|
|
26
|
+
label: "Play internal",
|
|
27
|
+
name: "Google Play internal testing"
|
|
28
|
+
},
|
|
29
|
+
"play-closed": {
|
|
30
|
+
label: "Play closed",
|
|
31
|
+
name: "Google Play closed testing"
|
|
32
|
+
},
|
|
33
|
+
"play-open": {
|
|
34
|
+
label: "Play open",
|
|
35
|
+
name: "Google Play open testing"
|
|
36
|
+
},
|
|
37
|
+
"play-production": {
|
|
38
|
+
label: "Play production",
|
|
39
|
+
name: "Google Play production"
|
|
40
|
+
}
|
|
41
|
+
};
|
|
20
42
|
import_dayjs_min.default.extend(import_relativeTime.default);
|
|
21
43
|
/** Each store track's name as the stores call it. */
|
|
22
44
|
var storeTrackLabels = {
|
|
23
45
|
testflight: "TestFlight",
|
|
24
|
-
|
|
46
|
+
...Object.fromEntries(Object.entries(PLAY_TRACKS).map(([key, value]) => [key, value.label]))
|
|
25
47
|
};
|
|
26
48
|
/** Whether a store took the build, as its row records. */
|
|
27
49
|
var isSubmitted = (build) => build.submitted_to !== null && build.submitted_to !== void 0;
|
|
@@ -55,7 +77,7 @@ function StoreSubmissionBadge({ build, withTime = false }) {
|
|
|
55
77
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Badge, {
|
|
56
78
|
className: "gap-1",
|
|
57
79
|
title: submittedTitle(build),
|
|
58
|
-
variant: "
|
|
80
|
+
variant: "muted",
|
|
59
81
|
children: [
|
|
60
82
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Send, {
|
|
61
83
|
"aria-hidden": "true",
|
|
@@ -72,4 +94,4 @@ function StoreSubmissionBadge({ build, withTime = false }) {
|
|
|
72
94
|
});
|
|
73
95
|
}
|
|
74
96
|
//#endregion
|
|
75
|
-
export {
|
|
97
|
+
export { isSubmitted as i, SandboxBadge as n, StoreSubmissionBadge as r, PLAY_TRACKS as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
2
|
import { B as Copy, F as FingerprintPattern, k as KeyRound, x as Package } from "../_libs/lucide-react.mjs";
|
|
3
|
-
import { k as cn, t as Button$1 } from "./sidebar-
|
|
4
|
-
import { a as Badge } from "./badge-
|
|
3
|
+
import { k as cn, t as Button$1 } from "./sidebar-mIQgB0iy.mjs";
|
|
4
|
+
import { a as Badge } from "./badge-KS3YftV5.mjs";
|
|
5
5
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
6
|
-
import { t as HashValueDisplay } from "./HashValueDisplay-
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/TargetDisplay-
|
|
6
|
+
import { t as HashValueDisplay } from "./HashValueDisplay-Bkim8r3-.mjs";
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/TargetDisplay-D1PKOupt.js
|
|
8
8
|
var import_jsx_runtime = require_jsx_runtime();
|
|
9
9
|
/** The channels with their own color; any other channel is neutral. */
|
|
10
10
|
var COLORED_CHANNELS = new Set([
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { $ as DialogTitle, X as AlertDialogTrigger$1, Z as AlertDialogRoot, at as DialogBackdrop, bt as require_react, it as DialogClose, nt as DialogPopup, rt as DialogDescription, tt as DialogPortal, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
-
import { k as cn, t as Button$1 } from "./sidebar-
|
|
3
|
+
import { k as cn, t as Button$1 } from "./sidebar-mIQgB0iy.mjs";
|
|
4
4
|
require_react();
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
function AlertDialog$1({ ...props }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
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, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
5
5
|
import { o as assertCanonicalChannelName } from "./dist-B6-irDRA.mjs";
|
|
6
|
-
import { i as channelIdOf } from "./native-builds-
|
|
6
|
+
import { i as channelIdOf } from "./native-builds-OUdRtp6m.mjs";
|
|
7
7
|
import { n as readReleaseFilter } from "./listReleases-CQEceg8j.mjs";
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-CDvGGB1B.js
|
|
9
9
|
var MAX_PAGE_LIMIT = 100;
|
|
10
10
|
var pageLimit = (limit) => {
|
|
11
11
|
const value = limit ?? 20;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-BEU7r4aH.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-DvbSgd9L.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -1,18 +1,18 @@
|
|
|
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 { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
5
4
|
import { D as LoaderCircle, V as Clipboard, Y as Check, _ as RefreshCw, f as ShieldOff, i as TriangleAlert, k as KeyRound, v as Plus } from "../_libs/lucide-react.mjs";
|
|
6
|
-
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-
|
|
7
|
-
import {
|
|
8
|
-
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-Cf4fbU_q.mjs";
|
|
9
|
-
import { a as AlertDialogDescription, c as AlertDialogMedia, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1, u as AlertDialogTrigger } from "./alert-dialog-Bl_9bN7q.mjs";
|
|
10
|
-
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-B5-o4y_0.mjs";
|
|
11
|
-
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-CYSNwGK0.mjs";
|
|
12
|
-
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, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-mIQgB0iy.mjs";
|
|
6
|
+
import { t as consoleAccess } from "./console-access-ClmTMpo_.mjs";
|
|
13
7
|
import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
8
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-CG5GqIoA.mjs";
|
|
9
|
+
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-KS3YftV5.mjs";
|
|
10
|
+
import { a as AlertDialogDescription, c as AlertDialogMedia, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1, u as AlertDialogTrigger } from "./alert-dialog-BOKQTpmP.mjs";
|
|
11
|
+
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-DvHMJkq7.mjs";
|
|
12
|
+
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-BVI4lxoz.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";
|
|
14
14
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
15
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-
|
|
15
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-NYJ0VaDB.js
|
|
16
16
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
17
17
|
var import_jsx_runtime = require_jsx_runtime();
|
|
18
18
|
var parseName = (input) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
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/api-keys-rpc-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-B0MrcD15.js
|
|
5
5
|
var parseName = (input) => {
|
|
6
6
|
const name = typeof input === "object" && input !== null ? Reflect.get(input, "name") : void 0;
|
|
7
7
|
if (typeof name !== "string") throw new TypeError("API key name must be a string.");
|
|
@@ -14,7 +14,7 @@ var parseId = (input) => {
|
|
|
14
14
|
};
|
|
15
15
|
/** API key management, once the console's access check and the feature guard pass. */
|
|
16
16
|
var apiKeyManagement = async () => {
|
|
17
|
-
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-
|
|
17
|
+
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-CJs-9Zd_.mjs"), import("./runtime.server-wcHT2Cop.mjs")]);
|
|
18
18
|
const { runtime } = await prepareConfig();
|
|
19
19
|
return requireFeature(runtime, "apiKeys");
|
|
20
20
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
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 { o as assertCanonicalChannelName } from "./dist-B6-irDRA.mjs";
|
|
5
5
|
import { i as rowToBundle } from "./databaseRows-BtRVBD0C.mjs";
|
|
6
6
|
import { t as ReleaseManagementError } from "./releaseManagement-EPhok_Py.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { i as channelIdOf, x as releaseNativeBuildScope } from "./native-builds-OUdRtp6m.mjs";
|
|
8
8
|
import { n as readReleaseFilter, t as listReleases } from "./listReleases-CQEceg8j.mjs";
|
|
9
9
|
import { t as addReleaseReachability } from "./releaseReachability-DaZ7ifUF.mjs";
|
|
10
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-rpc
|
|
10
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-CIB9gcI7.js
|
|
11
11
|
var withPublicBundleMutationErrors = async (action) => {
|
|
12
12
|
try {
|
|
13
13
|
return await action();
|
|
@@ -23,7 +23,7 @@ var pageLimit = (limit) => {
|
|
|
23
23
|
return value;
|
|
24
24
|
};
|
|
25
25
|
var prepare = async () => {
|
|
26
|
-
const { prepareConfig } = await import("./config.server-
|
|
26
|
+
const { prepareConfig } = await import("./config.server-CJs-9Zd_.mjs");
|
|
27
27
|
return prepareConfig();
|
|
28
28
|
};
|
|
29
29
|
var getReleases_createServerFn_handler = createServerRpc({
|
|
@@ -221,7 +221,7 @@ var getNativeBuilds = createServerFn({ method: "GET" }).middleware([consoleAcces
|
|
|
221
221
|
...channelIdFilter(input?.channel),
|
|
222
222
|
limit: pageLimit(input?.limit)
|
|
223
223
|
})).handler(getNativeBuilds_createServerFn_handler, async ({ data }) => {
|
|
224
|
-
const [{ core }, { listNativeBuilds }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
224
|
+
const [{ core }, { listNativeBuilds }] = await Promise.all([prepare(), import("./nativeBuilds-CRLmvFaO.mjs")]);
|
|
225
225
|
return listNativeBuilds(core, data);
|
|
226
226
|
});
|
|
227
227
|
var getNativeBuildDetail_createServerFn_handler = createServerRpc({
|
|
@@ -230,7 +230,7 @@ var getNativeBuildDetail_createServerFn_handler = createServerRpc({
|
|
|
230
230
|
filename: "src/lib/api-rpc.ts"
|
|
231
231
|
}, (opts) => getNativeBuildDetail.__executeServer(opts));
|
|
232
232
|
var getNativeBuildDetail = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildDetail_createServerFn_handler, async ({ data }) => {
|
|
233
|
-
const [{ core }, { getNativeBuildDetail: readNativeBuildDetail }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
233
|
+
const [{ core }, { getNativeBuildDetail: readNativeBuildDetail }] = await Promise.all([prepare(), import("./nativeBuilds-CRLmvFaO.mjs")]);
|
|
234
234
|
return readNativeBuildDetail(core, data.id);
|
|
235
235
|
});
|
|
236
236
|
var getNativeBuildPatches_createServerFn_handler = createServerRpc({
|
|
@@ -243,7 +243,7 @@ var getNativeBuildPatches = createServerFn({ method: "GET" }).middleware([consol
|
|
|
243
243
|
...input.before === void 0 ? {} : { before: input.before },
|
|
244
244
|
...input.after === void 0 ? {} : { after: input.after }
|
|
245
245
|
})).handler(getNativeBuildPatches_createServerFn_handler, async ({ data: { minBundleId, ...page } }) => {
|
|
246
|
-
const [{ core }, { listNativeBuildPatches, NATIVE_BUILD_PATCH_PAGE_SIZE }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
246
|
+
const [{ core }, { listNativeBuildPatches, NATIVE_BUILD_PATCH_PAGE_SIZE }] = await Promise.all([prepare(), import("./nativeBuilds-CRLmvFaO.mjs")]);
|
|
247
247
|
return listNativeBuildPatches(core, minBundleId, {
|
|
248
248
|
...page,
|
|
249
249
|
limit: NATIVE_BUILD_PATCH_PAGE_SIZE
|
|
@@ -272,7 +272,7 @@ var getNativeBuildDownloadUrl_createServerFn_handler = createServerRpc({
|
|
|
272
272
|
filename: "src/lib/api-rpc.ts"
|
|
273
273
|
}, (opts) => getNativeBuildDownloadUrl.__executeServer(opts));
|
|
274
274
|
var getNativeBuildDownloadUrl = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildDownloadUrl_createServerFn_handler, async ({ data }) => {
|
|
275
|
-
const [deps, { resolveNativeBuildDownloadUrl }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
275
|
+
const [deps, { resolveNativeBuildDownloadUrl }] = await Promise.all([prepare(), import("./nativeBuilds-CRLmvFaO.mjs")]);
|
|
276
276
|
return { url: await resolveNativeBuildDownloadUrl(data.id, deps) };
|
|
277
277
|
});
|
|
278
278
|
var createNativeBuildDownloadLink_createServerFn_handler = createServerRpc({
|
|
@@ -281,7 +281,7 @@ var createNativeBuildDownloadLink_createServerFn_handler = createServerRpc({
|
|
|
281
281
|
filename: "src/lib/api-rpc.ts"
|
|
282
282
|
}, (opts) => createNativeBuildDownloadLink.__executeServer(opts));
|
|
283
283
|
var createNativeBuildDownloadLink = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createNativeBuildDownloadLink_createServerFn_handler, async ({ data }) => {
|
|
284
|
-
const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-
|
|
284
|
+
const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-C0I8eLpS.mjs");
|
|
285
285
|
return issueNativeBuildDownloadLink(data.id);
|
|
286
286
|
});
|
|
287
287
|
var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
|
|
@@ -290,7 +290,7 @@ var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
|
|
|
290
290
|
filename: "src/lib/api-rpc.ts"
|
|
291
291
|
}, (opts) => getNativeBuildInstallEligibility.__executeServer(opts));
|
|
292
292
|
var getNativeBuildInstallEligibility = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildInstallEligibility_createServerFn_handler, async ({ data }) => {
|
|
293
|
-
const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-
|
|
293
|
+
const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-CxG8K8TL.mjs")]);
|
|
294
294
|
return checkNativeBuildInstall(data.id, data.udid, deps);
|
|
295
295
|
});
|
|
296
296
|
//#endregion
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
2
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
3
|
-
import { i as getRequest } from "./server-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-
|
|
3
|
+
import { i as getRequest } from "./server-CMgMPrDx.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-DsIffEXe.js
|
|
5
5
|
var getConsoleAccessRpc_createServerFn_handler = createServerRpc({
|
|
6
6
|
id: "c504696e68ba764b48c48aa8a40275938640941e473cf9cfdd7b2322d99f9d13",
|
|
7
7
|
name: "getConsoleAccessRpc",
|
|
8
8
|
filename: "src/lib/auth-rpc.ts"
|
|
9
9
|
}, (opts) => getConsoleAccessRpc.__executeServer(opts));
|
|
10
10
|
var getConsoleAccessRpc = createServerFn({ method: "GET" }).handler(getConsoleAccessRpc_createServerFn_handler, async () => {
|
|
11
|
-
const { getConsoleAccess } = await import("./auth.server-
|
|
11
|
+
const { getConsoleAccess } = await import("./auth.server-Dt9XHLs_.mjs");
|
|
12
12
|
return getConsoleAccess(getRequest());
|
|
13
13
|
});
|
|
14
14
|
var getConsoleAuthProvidersRpc_createServerFn_handler = createServerRpc({
|
|
@@ -17,7 +17,7 @@ var getConsoleAuthProvidersRpc_createServerFn_handler = createServerRpc({
|
|
|
17
17
|
filename: "src/lib/auth-rpc.ts"
|
|
18
18
|
}, (opts) => getConsoleAuthProvidersRpc.__executeServer(opts));
|
|
19
19
|
var getConsoleAuthProvidersRpc = createServerFn({ method: "GET" }).handler(getConsoleAuthProvidersRpc_createServerFn_handler, async () => {
|
|
20
|
-
const { getConsoleAuthProviders } = await import("./auth.server-
|
|
20
|
+
const { getConsoleAuthProviders } = await import("./auth.server-Dt9XHLs_.mjs");
|
|
21
21
|
return getConsoleAuthProviders(getRequest());
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
@@ -8,7 +8,7 @@ import { n as projectCompiledCatalog, r as projectCompiledRollbackCatalog, t as
|
|
|
8
8
|
import { t as isRemoteDatabase } from "./databaseConfig-XAvDetmn.mjs";
|
|
9
9
|
import { n as defineTable, t as defineAggregate } from "./schema-3oDJJFWa.mjs";
|
|
10
10
|
import { r as rangesIntersect } from "../_libs/verkit.mjs";
|
|
11
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/auth.server-
|
|
11
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/auth.server-Dt9XHLs_.js
|
|
12
12
|
var SHA256_FILE_HASH_RE = /^[0-9a-f]{64}$/;
|
|
13
13
|
var isContentAddressedAssetFileHash = (value) => {
|
|
14
14
|
return typeof value === "string" && SHA256_FILE_HASH_RE.test(value);
|
|
@@ -1013,7 +1013,9 @@ var channels = defineTable({
|
|
|
1013
1013
|
* for that build alone, so `byStoreBuild` holds one entry per scope at most,
|
|
1014
1014
|
* on every store, while any number of a scope's builds hold none.
|
|
1015
1015
|
* `is_sandbox` is true on a sandbox build, set when it registers and never
|
|
1016
|
-
* changed
|
|
1016
|
+
* changed, and `sandbox_url_scheme` is the URL scheme its artifact registers,
|
|
1017
|
+
* which its preview links open; null on any other build, and on a sandbox
|
|
1018
|
+
* build registered before the column, which registered the derived one. Boolean columns follow one rule: `is_*` for a fact about the row or
|
|
1017
1019
|
* `should_*` for an instruction to the client, never null; a unique index over
|
|
1018
1020
|
* the rows where one is true keys a derived slot, not the boolean.
|
|
1019
1021
|
*/
|
|
@@ -1094,7 +1096,13 @@ var nativeBuilds = defineTable({
|
|
|
1094
1096
|
required: false
|
|
1095
1097
|
},
|
|
1096
1098
|
is_store_build: { type: "boolean" },
|
|
1097
|
-
is_sandbox: { type: "boolean" }
|
|
1099
|
+
is_sandbox: { type: "boolean" },
|
|
1100
|
+
sandbox_url_scheme: {
|
|
1101
|
+
type: "string",
|
|
1102
|
+
maxLength: 255,
|
|
1103
|
+
ascii: true,
|
|
1104
|
+
required: false
|
|
1105
|
+
}
|
|
1098
1106
|
}, {
|
|
1099
1107
|
key: ["id"],
|
|
1100
1108
|
derived: { store_build_scope_key: {
|
|
@@ -2815,7 +2823,7 @@ var createEngine = (database, { plugins = [], now = Date.now } = {}) => {
|
|
|
2815
2823
|
flush: () => engine.flush()
|
|
2816
2824
|
};
|
|
2817
2825
|
};
|
|
2818
|
-
var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.
|
|
2826
|
+
var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.26";
|
|
2819
2827
|
/**
|
|
2820
2828
|
* `/version` on both mounts. The admin mount also lists the ids of the
|
|
2821
2829
|
* plugins the server runs, sorted; apps never learn which plugins a server
|
|
@@ -3511,6 +3519,16 @@ var createCoreReads = (db, storage) => {
|
|
|
3511
3519
|
}
|
|
3512
3520
|
};
|
|
3513
3521
|
};
|
|
3522
|
+
/** Store destinations accepted for each native platform. */
|
|
3523
|
+
var NATIVE_BUILD_SUBMISSION_DESTINATIONS = {
|
|
3524
|
+
android: [
|
|
3525
|
+
"play-internal",
|
|
3526
|
+
"play-closed",
|
|
3527
|
+
"play-open",
|
|
3528
|
+
"play-production"
|
|
3529
|
+
],
|
|
3530
|
+
ios: ["testflight"]
|
|
3531
|
+
};
|
|
3514
3532
|
var PAGE$1 = 500;
|
|
3515
3533
|
/** Moves one bundle into or out of its platform's total and the overall total. */
|
|
3516
3534
|
var countBundle = (tx, platform, delta) => {
|
|
@@ -3625,6 +3643,13 @@ var GIT_COMMIT_HASH_MAX_LENGTH = 255;
|
|
|
3625
3643
|
* and looks up nothing else.
|
|
3626
3644
|
*/
|
|
3627
3645
|
var BUILD_KEY = /^nbk1:[0-9a-f]{64}$/;
|
|
3646
|
+
/** `native_builds.sandbox_url_scheme`'s bound in core's schema. */
|
|
3647
|
+
var SANDBOX_URL_SCHEME_MAX_LENGTH = 255;
|
|
3648
|
+
/**
|
|
3649
|
+
* A URL scheme as RFC 3986 spells it, in lower case: what a sandbox build's
|
|
3650
|
+
* artifact registers, as `@hot-updater/protocol/native-artifact` reads it.
|
|
3651
|
+
*/
|
|
3652
|
+
var URL_SCHEME = new RegExp(`^[a-z][a-z0-9+.-]{0,254}$`);
|
|
3628
3653
|
/** A native build or scope core cannot store or look up: the caller's input. */
|
|
3629
3654
|
var NativeBuildInputError = class extends TypeError {
|
|
3630
3655
|
name = "NativeBuildInputError";
|
|
@@ -3648,7 +3673,8 @@ var pick = (row) => ({
|
|
|
3648
3673
|
submitted_at_ms: row.submitted_at_ms ?? null,
|
|
3649
3674
|
submitted_version: row.submitted_version ?? null,
|
|
3650
3675
|
is_store_build: row.is_store_build === true,
|
|
3651
|
-
is_sandbox: row.is_sandbox === true
|
|
3676
|
+
is_sandbox: row.is_sandbox === true,
|
|
3677
|
+
sandbox_url_scheme: row.sandbox_url_scheme ?? null
|
|
3652
3678
|
});
|
|
3653
3679
|
/**
|
|
3654
3680
|
* The channels only sandbox builds register on: a registration's `sandbox`
|
|
@@ -3663,11 +3689,6 @@ var SANDBOX_CHANNEL_PREFIX = "sandbox-";
|
|
|
3663
3689
|
var OLDER_BUILDS_PAGE = 20;
|
|
3664
3690
|
/** How many times a mark runs again after losing its scope's mark to another. */
|
|
3665
3691
|
var MARK_ATTEMPTS = 8;
|
|
3666
|
-
/** The store track each platform's builds are submitted to. */
|
|
3667
|
-
var SUBMISSION_DESTINATIONS = {
|
|
3668
|
-
android: "play-internal",
|
|
3669
|
-
ios: "testflight"
|
|
3670
|
-
};
|
|
3671
3692
|
/** `native_builds.build_number`'s bound in core's schema. */
|
|
3672
3693
|
var BUILD_NUMBER_MAX_LENGTH = 64;
|
|
3673
3694
|
/** `native_builds.submitted_version`'s bound in core's schema. */
|
|
@@ -3700,7 +3721,7 @@ var nativeBuildScopeKey = (scope) => {
|
|
|
3700
3721
|
};
|
|
3701
3722
|
/** Whether `bundleId` is a native build's built-in bundle: one unique read. */
|
|
3702
3723
|
var isBuiltInBundle = async (db, bundleId) => await db.findOne("native_builds", { min_bundle_id: bundleId }) !== null;
|
|
3703
|
-
var problemOf = ({ id, minBundleId, platform, channel, fingerprintHash, appVersion, gitCommitHash, buildKey, buildNumber, isSandbox, artifact }) => {
|
|
3724
|
+
var problemOf = ({ id, minBundleId, platform, channel, fingerprintHash, appVersion, gitCommitHash, buildKey, buildNumber, isSandbox, sandboxUrlScheme, artifact }) => {
|
|
3704
3725
|
if (!isUUIDv7(id)) return "id must be a UUIDv7";
|
|
3705
3726
|
if (!isUUIDv7(minBundleId)) return "minBundleId must be the UUIDv7 a release build compiles in";
|
|
3706
3727
|
if (platform !== "ios" && platform !== "android") return "platform must be ios or android";
|
|
@@ -3709,6 +3730,10 @@ var problemOf = ({ id, minBundleId, platform, channel, fingerprintHash, appVersi
|
|
|
3709
3730
|
const reserved = channel.startsWith(SANDBOX_CHANNEL_PREFIX);
|
|
3710
3731
|
if (isSandbox === true && !reserved) return `a sandbox build registers on a ${SANDBOX_CHANNEL_PREFIX}* channel, not ${channel}`;
|
|
3711
3732
|
if (isSandbox !== true && reserved) return `channel ${channel} is reserved for sandbox builds`;
|
|
3733
|
+
if (sandboxUrlScheme !== void 0 && sandboxUrlScheme !== null) {
|
|
3734
|
+
if (isSandbox !== true) return "sandboxUrlScheme is a sandbox build's, and this isn't one";
|
|
3735
|
+
if (typeof sandboxUrlScheme !== "string" || !URL_SCHEME.test(sandboxUrlScheme)) return `sandboxUrlScheme must be a URL scheme in lower case, up to ${SANDBOX_URL_SCHEME_MAX_LENGTH} characters, or null`;
|
|
3736
|
+
}
|
|
3712
3737
|
if (gitCommitHash !== null && gitCommitHash.length > GIT_COMMIT_HASH_MAX_LENGTH) return `gitCommitHash must be at most ${GIT_COMMIT_HASH_MAX_LENGTH} characters`;
|
|
3713
3738
|
if (fingerprintHash === null === (appVersion === null)) return "exactly one of fingerprintHash and appVersion is required";
|
|
3714
3739
|
if (buildKey !== null && !BUILD_KEY.test(buildKey)) return "buildKey must be nbk1: and a SHA-256, or null";
|
|
@@ -3745,7 +3770,8 @@ var createNativeBuildApi = (db, { now = Date.now } = {}) => ({
|
|
|
3745
3770
|
submitted_at_ms: null,
|
|
3746
3771
|
submitted_version: null,
|
|
3747
3772
|
is_store_build: false,
|
|
3748
|
-
is_sandbox: registration.isSandbox === true
|
|
3773
|
+
is_sandbox: registration.isSandbox === true,
|
|
3774
|
+
sandbox_url_scheme: registration.sandboxUrlScheme ?? null
|
|
3749
3775
|
};
|
|
3750
3776
|
for (let attempt = 1;; attempt += 1) {
|
|
3751
3777
|
await insertChannel(db, {
|
|
@@ -3826,7 +3852,8 @@ var createNativeBuildApi = (db, { now = Date.now } = {}) => ({
|
|
|
3826
3852
|
const row = await tx.findOne("native_builds", { id });
|
|
3827
3853
|
if (row === null) return null;
|
|
3828
3854
|
const build = pick(row);
|
|
3829
|
-
if (
|
|
3855
|
+
if (!NATIVE_BUILD_SUBMISSION_DESTINATIONS[build.platform].includes(destination)) throw new NativeBuildInputError(`Invalid native build submission: an ${build.platform} build is submitted to ${NATIVE_BUILD_SUBMISSION_DESTINATIONS[build.platform].join(" or ")}, not ${destination}.`);
|
|
3856
|
+
if (build.is_sandbox && destination !== "testflight" && destination !== "play-internal") throw new NativeBuildInputError("A sandbox build can submit only to TestFlight or Play internal testing.");
|
|
3830
3857
|
const set = {
|
|
3831
3858
|
submitted_to: destination,
|
|
3832
3859
|
submitted_at_ms: now(),
|
|
@@ -4815,7 +4842,7 @@ var refusingInvalid = async (operation) => {
|
|
|
4815
4842
|
throw error;
|
|
4816
4843
|
}
|
|
4817
4844
|
};
|
|
4818
|
-
var isNativeBuildRegistration = (value) => isRecord$1(value) && isText(value.id) && isText(value.minBundleId) && typeof value.platform === "string" && isPlatform(value.platform) && isText(value.channel) && isTextOrNull(value.fingerprintHash) && isTextOrNull(value.appVersion) && value.fingerprintHash === null !== (value.appVersion === null) && isTextOrNull(value.gitCommitHash) && isTextOrNull(value.buildKey) && (value.buildNumber === void 0 || isTextOrNull(value.buildNumber)) && (value.isSandbox === void 0 || typeof value.isSandbox === "boolean") && isRecord$1(value.artifact) && typeof value.artifact.kind === "string" && NATIVE_BUILD_ARTIFACT_KINDS.has(value.artifact.kind) && isText(value.artifact.storageUri) && Number.isSafeInteger(value.artifact.byteSize) && value.artifact.byteSize >= 0 && isRecord$1(value.embeddedBundle) && isText(value.embeddedBundle.manifestStorageUri) && isText(value.embeddedBundle.manifestFileHash) && isText(value.embeddedBundle.assetBaseStorageUri) && (value.embeddedBundle.metadata === void 0 || isRecord$1(value.embeddedBundle.metadata));
|
|
4845
|
+
var isNativeBuildRegistration = (value) => isRecord$1(value) && isText(value.id) && isText(value.minBundleId) && typeof value.platform === "string" && isPlatform(value.platform) && isText(value.channel) && isTextOrNull(value.fingerprintHash) && isTextOrNull(value.appVersion) && value.fingerprintHash === null !== (value.appVersion === null) && isTextOrNull(value.gitCommitHash) && isTextOrNull(value.buildKey) && (value.buildNumber === void 0 || isTextOrNull(value.buildNumber)) && (value.isSandbox === void 0 || typeof value.isSandbox === "boolean") && (value.sandboxUrlScheme === void 0 || isTextOrNull(value.sandboxUrlScheme)) && isRecord$1(value.artifact) && typeof value.artifact.kind === "string" && NATIVE_BUILD_ARTIFACT_KINDS.has(value.artifact.kind) && isText(value.artifact.storageUri) && Number.isSafeInteger(value.artifact.byteSize) && value.artifact.byteSize >= 0 && isRecord$1(value.embeddedBundle) && isText(value.embeddedBundle.manifestStorageUri) && isText(value.embeddedBundle.manifestFileHash) && isText(value.embeddedBundle.assetBaseStorageUri) && (value.embeddedBundle.metadata === void 0 || isRecord$1(value.embeddedBundle.metadata));
|
|
4819
4846
|
var scopeKeyOf = (params) => decodeMaybe(requireRouteParam(params, "scopeKey")) ?? "";
|
|
4820
4847
|
/** Every admin route's handler, by the name `ADMIN_ROUTES` mounts it under. */
|
|
4821
4848
|
var createAdminRouteHandlers = () => ({
|
|
@@ -4957,7 +4984,7 @@ var createAdminRouteHandlers = () => ({
|
|
|
4957
4984
|
}),
|
|
4958
4985
|
recordNativeBuildSubmission: onCore(async (core, request, params) => {
|
|
4959
4986
|
const input = await body(request);
|
|
4960
|
-
if (!isRecord$1(input) ||
|
|
4987
|
+
if (!isRecord$1(input) || !Object.values(NATIVE_BUILD_SUBMISSION_DESTINATIONS).flat().includes(input.destination) || !isText(input.version)) throw new HandlerBadRequestError("A native build submission needs a valid store destination and version.");
|
|
4961
4988
|
const submission = {
|
|
4962
4989
|
destination: input.destination,
|
|
4963
4990
|
version: input.version
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { bt as require_react, ot as useRender, vt as mergeProps, 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-
|
|
4
|
+
import { k as cn } from "./sidebar-mIQgB0iy.mjs";
|
|
5
5
|
require_react();
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
7
|
var alertVariants = cva("group/alert relative grid w-full gap-0.5 rounded-lg border px-2 py-1.5 text-left text-xs/relaxed has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-1.5 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-3.5", {
|
|
@@ -46,6 +46,7 @@ var badgeVariants = cva("inline-flex items-center rounded-md border px-2.5 py-0.
|
|
|
46
46
|
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
47
47
|
success: "border-success/20 bg-success/10 text-success",
|
|
48
48
|
warning: "border-warning/20 bg-warning/10 text-warning",
|
|
49
|
+
muted: "border-badge-muted/20 bg-badge-muted/10 font-medium text-badge-muted",
|
|
49
50
|
destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
|
|
50
51
|
outline: "text-foreground"
|
|
51
52
|
} },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
-
import { k as cn } from "./sidebar-
|
|
3
|
+
import { k as cn } from "./sidebar-mIQgB0iy.mjs";
|
|
4
4
|
require_react();
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
function Card({ className, ...props }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as getRequest } from "./server-
|
|
2
|
-
import { requireConsoleAccess, t as resolveConsoleConfig } from "./auth.server-
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/config.server-
|
|
1
|
+
import { i as getRequest } from "./server-CMgMPrDx.mjs";
|
|
2
|
+
import { requireConsoleAccess, t as resolveConsoleConfig } from "./auth.server-Dt9XHLs_.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/config.server-CJs-9Zd_.js
|
|
4
4
|
var configPromise = null;
|
|
5
5
|
var core = null;
|
|
6
6
|
var runtime = null;
|
|
@@ -20,7 +20,7 @@ var loadConsole = async (request = getRequest()) => {
|
|
|
20
20
|
const config = await loadCachedConfig(request);
|
|
21
21
|
core ??= config.core;
|
|
22
22
|
if (!runtime) {
|
|
23
|
-
const { createConsoleRuntime } = await import("./runtime.server-
|
|
23
|
+
const { createConsoleRuntime } = await import("./runtime.server-wcHT2Cop.mjs");
|
|
24
24
|
runtime = createConsoleRuntime(config);
|
|
25
25
|
}
|
|
26
26
|
return {
|