@hot-updater/console 1.2.0-rc.25 → 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/{index-DVMlgaFl.js → index-CJclLsbG.js} +2 -2
- package/.output/public/assets/native-builds_._buildId-BnP31v32.js +1 -0
- package/.output/public/assets/{native-builds_._buildId-BP2XhCKZ.js → native-builds_._buildId-Cp9LJiMP.js} +2 -2
- package/.output/server/{__23tanstack-start-server-fn-resolver--r_G_ZaG.mjs → __23tanstack-start-server-fn-resolver-z8rr63xV.mjs} +49 -49
- package/.output/server/_libs/_.mjs +1 -1
- package/.output/server/_ssr/{BundleIdDisplay-DDern9jB.mjs → BundleIdDisplay-DRnAzJse.mjs} +2 -2
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-CTd0m8zX.mjs → ConsoleFeatureUnavailable-BEU7r4aH.mjs} +5 -5
- package/.output/server/_ssr/{EventDetails-DJZCF4Fl.mjs → EventDetails-CjT6o2sJ.mjs} +6 -6
- package/.output/server/_ssr/{HashValueDisplay-Dw-yJQu2.mjs → HashValueDisplay-Bkim8r3-.mjs} +2 -2
- package/.output/server/_ssr/{InsightsPageHeader-CatxvfYS.mjs → InsightsPageHeader-Ctw4N3SZ.mjs} +5 -5
- package/.output/server/_ssr/{NotFoundPage-fsuVz18J.mjs → NotFoundPage-Bh3gFsR6.mjs} +2 -2
- package/.output/server/_ssr/{RelativeTime-By1Mznk1.mjs → RelativeTime-DjdCU0J7.mjs} +3 -3
- package/.output/server/_ssr/{RolloutPercentageBadge-QSNweSPV.mjs → RolloutPercentageBadge-BiIHw-V2.mjs} +3 -3
- package/.output/server/_ssr/{StoreSubmission-90V_EvES.mjs → StoreSubmission-Cv59joPo.mjs} +2 -2
- package/.output/server/_ssr/{TargetDisplay-PBnFQ4IN.mjs → TargetDisplay-D1PKOupt.mjs} +4 -4
- package/.output/server/_ssr/{alert-dialog-DsIP3d47.mjs → alert-dialog-BOKQTpmP.mjs} +1 -1
- package/.output/server/_ssr/{api-DWecT-0h.mjs → api-CDvGGB1B.mjs} +3 -3
- package/.output/server/_ssr/{api-keys-DBc1hDoJ.mjs → api-keys-DvbSgd9L.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-_XdWGw9v.mjs → api-keys-NYJ0VaDB.mjs} +9 -9
- package/.output/server/_ssr/{api-keys-rpc-BvSB1wmm.mjs → api-keys-rpc-B0MrcD15.mjs} +3 -3
- package/.output/server/_ssr/{api-rpc-BxbhpCA7.mjs → api-rpc-CIB9gcI7.mjs} +5 -5
- package/.output/server/_ssr/{auth-rpc-DTW5PCh3.mjs → auth-rpc-DsIffEXe.mjs} +4 -4
- package/.output/server/_ssr/{auth.server-BeLpUdro.mjs → auth.server-Dt9XHLs_.mjs} +2 -2
- package/.output/server/_ssr/{badge-BkveKUGG.mjs → badge-KS3YftV5.mjs} +1 -1
- package/.output/server/_ssr/{card-Ba4yg8jK.mjs → card-CG5GqIoA.mjs} +1 -1
- package/.output/server/_ssr/{config.server-CkSQxsyv.mjs → config.server-CJs-9Zd_.mjs} +3 -3
- package/.output/server/_ssr/{console-access-DrutHTly.mjs → console-access-ClmTMpo_.mjs} +2 -2
- package/.output/server/_ssr/{console-features-api-D9nA0DCT.mjs → console-features-api-CpMYF0Pb.mjs} +3 -3
- package/.output/server/_ssr/{console-features-rpc-BVfXaSKp.mjs → console-features-rpc-D-dr-WF8.mjs} +3 -3
- package/.output/server/_ssr/{dialog-Bq8jjax8.mjs → dialog-DvHMJkq7.mjs} +1 -1
- package/.output/server/_ssr/{empty-BcDUTOx4.mjs → empty-Bx8DnyWN.mjs} +2 -2
- package/.output/server/_ssr/{field-C4nwuzxx.mjs → field-BVI4lxoz.mjs} +2 -2
- package/.output/server/_ssr/{input-group-Bc0aaP2W.mjs → input-group-CpJwooTk.mjs} +1 -1
- package/.output/server/_ssr/{insights-DqzmbdzT.mjs → insights-B-VtObqr.mjs} +5 -5
- package/.output/server/_ssr/{insights-BkDLlsSG.mjs → insights-DxlHHXPK.mjs} +19 -19
- package/.output/server/_ssr/{insights-api-emewkmpE.mjs → insights-api-8PWQ7PiR.mjs} +3 -3
- package/.output/server/_ssr/{insights-DXW-isCU.mjs → insights-b1hq1O0p.mjs} +2 -2
- package/.output/server/_ssr/{insights-failures-rpc-DowZCjy6.mjs → insights-failures-rpc-pY2KV9HI.mjs} +4 -4
- package/.output/server/_ssr/{insights-recovery-rpc-CuRKjiFD.mjs → insights-recovery-rpc-CejmWL_y.mjs} +3 -3
- package/.output/server/_ssr/{insights-rpc-j8XsNQqk.mjs → insights-rpc-D_7d_AAJ.mjs} +3 -3
- package/.output/server/_ssr/{insights-search-Dp55WtwA.mjs → insights-search-CoMkZvRt.mjs} +2 -2
- package/.output/server/_ssr/{insights-usage-rpc-zIgn2C1O.mjs → insights-usage-rpc-B1XSuara.mjs} +3 -3
- package/.output/server/_ssr/{insights-usage-rpc-CRT9G-UN.mjs → insights-usage-rpc-CrGZDHzO.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-Be6QuYi-.mjs → insights_.distribution-B9sPDvG4.mjs} +5 -5
- package/.output/server/_ssr/{insights_.distribution-BSXQCN6X.mjs → insights_.distribution-CpqnDZNG.mjs} +13 -13
- package/.output/server/_ssr/{insights_.distribution-cIOophCi.mjs → insights_.distribution-EOOOOTb6.mjs} +2 -2
- package/.output/server/_ssr/{installations-DbWHAWYX.mjs → installations-BOI_y7Ma.mjs} +11 -11
- package/.output/server/_ssr/{installations-Cfv92huF.mjs → installations-D0_0hzdi.mjs} +4 -4
- package/.output/server/_ssr/{installations-DL6xGKQV.mjs → installations-dWlOOS7Y.mjs} +2 -2
- package/.output/server/_ssr/{native-builds-CQ2or1jy.mjs → native-builds-Bx_az6YZ.mjs} +2 -2
- package/.output/server/_ssr/{native-builds-BVwIjuMb.mjs → native-builds-C721Rw23.mjs} +11 -11
- package/.output/server/_ssr/{native-builds_._buildId-9gbO1oUK.mjs → native-builds_._buildId-YItxv8j9.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_._buildId-QadrPuX2.mjs → native-builds_._buildId-ubi48Sfs.mjs} +82 -65
- package/.output/server/_ssr/{nativeBuildDevice-CJ2obp_i.mjs → nativeBuildDevice-DJUAzAIj.mjs} +25 -44
- package/.output/server/_ssr/{nativeBuildDownloadLink-BgHU2jer.mjs → nativeBuildDownloadLink-C0I8eLpS.mjs} +2 -2
- package/.output/server/_ssr/{nativeBuildInstall-YRK3anmZ.mjs → nativeBuildInstall-CxG8K8TL.mjs} +2 -2
- package/.output/server/_ssr/{release-adoption-rpc-BeICf-ls.mjs → release-adoption-rpc-DcZAYRWJ.mjs} +5 -5
- package/.output/server/_ssr/{remote-config-B9Rh9MYB.mjs → remote-config-BZ_vGV97.mjs} +17 -17
- package/.output/server/_ssr/{remote-config-Bn3iwL4O.mjs → remote-config-DOcSXzxG.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-La2M_14q.mjs → remote-config-gKqDKMxk.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-rpc-D2hgZLcR.mjs → remote-config-rpc-CVPd3V69.mjs} +3 -3
- package/.output/server/_ssr/{router-BHTaxXOH.mjs → router-Bcyej4cr.mjs} +30 -25
- package/.output/server/_ssr/{routes-BNp3BHpQ.mjs → routes-B10xsCh4.mjs} +19 -19
- package/.output/server/_ssr/{routes-BgGwD6gI.mjs → routes-ddBRVSju.mjs} +8 -8
- package/.output/server/_ssr/{schema-migration-rpc-JTXXTG_7.mjs → schema-migration-rpc-iWZzLv70.mjs} +3 -3
- package/.output/server/_ssr/{select-D4Qtq6i4.mjs → select-i4WT0c9r.mjs} +1 -1
- package/.output/server/_ssr/{server-CWOAS1ox.mjs → server-CMgMPrDx.mjs} +3 -3
- package/.output/server/_ssr/{sidebar-B2htNQ31.mjs → sidebar-mIQgB0iy.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{switch-C7nt9D5t.mjs → switch-DR8EAh5C.mjs} +2 -2
- package/.output/server/_ssr/{table-BEDdZRg2.mjs → table-DXmK6G7A.mjs} +1 -1
- package/.output/server/_ssr/{tabs-CMXGA63y.mjs → tabs-DAfypcYe.mjs} +2 -2
- package/.output/server/{_tanstack-start-manifest_v-8rDaj5Hv.mjs → _tanstack-start-manifest_v-8M7ggCuB.mjs} +5 -5
- package/.output/server/index.mjs +146 -146
- package/package.json +7 -7
- package/src/components/ThemeProvider.tsx +11 -2
- package/src/components/features/native-builds/InstallCard.tsx +3 -1
- package/src/components/features/native-builds/IosInstall.tsx +77 -47
- package/src/lib/server/nativeBuildDevice.ts +22 -43
- package/.output/public/assets/native-builds_._buildId-DZVhvBXQ.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
2
|
import { n as validateNativeBuildsSearch } from "./-native-builds-search-M6t7EIt4.mjs";
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds-
|
|
4
|
-
var $$splitComponentImporter = () => import("./native-builds-
|
|
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-
|
|
3
|
+
import { O as buttonVariants, S as SidebarTrigger, j as useIsMobile, t as Button$1 } from "./sidebar-mIQgB0iy.mjs";
|
|
4
4
|
import { g as useNavigate, h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
5
|
-
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-
|
|
6
|
-
import { a as DialogHeader, n as DialogContent, o as DialogTitle, r as DialogDescription, s as DialogTrigger, t as Dialog$1 } from "./dialog-
|
|
7
|
-
import { i as TableHead, r as TableCell } from "./table-
|
|
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
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
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-
|
|
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 { i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge } from "./StoreSubmission-
|
|
17
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds-
|
|
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>";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
2
|
import { t as validateNativeBuildDetailSearch } from "./-native-builds-search-M6t7EIt4.mjs";
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-
|
|
4
|
-
var $$splitComponentImporter = () => import("./native-builds_._buildId-
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-YItxv8j9.js
|
|
4
|
+
var $$splitComponentImporter = () => import("./native-builds_._buildId-ubi48Sfs.mjs");
|
|
5
5
|
var Route = createFileRoute("/native-builds_/$buildId")({
|
|
6
6
|
component: lazyRouteComponent($$splitComponentImporter, "component"),
|
|
7
7
|
validateSearch: validateNativeBuildDetailSearch
|
|
@@ -1,25 +1,25 @@
|
|
|
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 { K as ChevronRight, M as HardDrive, N as GitBranch, R as ExternalLink, S as PackageOpen, U as CircleCheck, _ as RefreshCw, et as ArrowUpRight, i as TriangleAlert, j as History, q as ChevronLeft, u as Smartphone, z as Download } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, k as cn, t as Button$1 } from "./sidebar-
|
|
4
|
+
import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, k as cn, t as Button$1 } from "./sidebar-mIQgB0iy.mjs";
|
|
5
5
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
6
|
-
import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-
|
|
7
|
-
import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-
|
|
8
|
-
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-
|
|
9
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-
|
|
6
|
+
import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-Bx8DnyWN.mjs";
|
|
7
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-CG5GqIoA.mjs";
|
|
8
|
+
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-KS3YftV5.mjs";
|
|
9
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DXmK6G7A.mjs";
|
|
10
10
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
11
11
|
import { i as NUMERIC_COHORT_SIZE } from "./dist-B6-irDRA.mjs";
|
|
12
12
|
import { S as shellQuote, a as consolePathOf, b as platformLabel, d as nativeBuildDeviceProfilePath, f as nativeBuildDownloadPath, g as nativeBuildLabel, h as nativeBuildItmsUrl, m as nativeBuildInstallCommand, n as IOS_UDID_STORAGE_KEY, o as formatByteSize, p as nativeBuildFileName, r as NATIVE_BUILD_INSTALL_LINK_TTL_MS, s as nativeBuildArtifacts, t as IOS_UDID_PATTERN, u as nativeBuildDeviceAddCommand, y as nativeBuildSignedDownloadUrl } from "./native-builds-OUdRtp6m.mjs";
|
|
13
13
|
import { t as PlatformIcon } from "./PlatformIcon-CMLs3Wez.mjs";
|
|
14
|
-
import { a as useConfigQuery, d as useNativeBuildDownloadLinkQuery, f as useNativeBuildDownloadUrlQuery, l as useMarkNativeBuildMutation, m as useNativeBuildPatchesQuery, p as useNativeBuildInstallEligibilityQuery, u as useNativeBuildDetailQuery } from "./api-
|
|
15
|
-
import { t as BundleIdDisplay } from "./BundleIdDisplay-
|
|
16
|
-
import { a as TargetDisplay, n as ChannelBadge, r as CopyableText, t as BuildKeyDisplay } from "./TargetDisplay-
|
|
14
|
+
import { a as useConfigQuery, d as useNativeBuildDownloadLinkQuery, f as useNativeBuildDownloadUrlQuery, l as useMarkNativeBuildMutation, m as useNativeBuildPatchesQuery, p as useNativeBuildInstallEligibilityQuery, u as useNativeBuildDetailQuery } from "./api-CDvGGB1B.mjs";
|
|
15
|
+
import { t as BundleIdDisplay } from "./BundleIdDisplay-DRnAzJse.mjs";
|
|
16
|
+
import { a as TargetDisplay, n as ChannelBadge, r as CopyableText, t as BuildKeyDisplay } from "./TargetDisplay-D1PKOupt.mjs";
|
|
17
17
|
import { n as require_dayjs_min } from "../_libs/dayjs.mjs";
|
|
18
|
-
import { i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge, t as PLAY_TRACKS } from "./StoreSubmission-
|
|
19
|
-
import { t as Route } from "./native-builds_._buildId-
|
|
20
|
-
import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-
|
|
18
|
+
import { i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge, t as PLAY_TRACKS } from "./StoreSubmission-Cv59joPo.mjs";
|
|
19
|
+
import { t as Route } from "./native-builds_._buildId-YItxv8j9.mjs";
|
|
20
|
+
import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-BiIHw-V2.mjs";
|
|
21
21
|
import { t as encode } from "../_libs/uqr.mjs";
|
|
22
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-
|
|
22
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-ubi48Sfs.js
|
|
23
23
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
24
24
|
var import_jsx_runtime = require_jsx_runtime();
|
|
25
25
|
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
@@ -315,23 +315,47 @@ var IOS_STORE_APP_NOTE = "With the same bundle ID, this install replaces the App
|
|
|
315
315
|
var ACTION_CLASS = "h-auto min-h-11 w-full min-w-0 py-2 whitespace-normal sm:min-h-8 sm:w-fit";
|
|
316
316
|
/** Whether this browser runs on an iPhone or iPad: an iPad says it is a Mac. */
|
|
317
317
|
var isIosBrowser = (browser) => /iPhone|iPod|iPad/u.test(browser.userAgent) || /Macintosh/u.test(browser.userAgent) && browser.maxTouchPoints > 1;
|
|
318
|
+
/** The UDID the profile's page passed in the fragment, if any. */
|
|
319
|
+
var fragmentUdid = () => {
|
|
320
|
+
if (typeof window === "undefined") return null;
|
|
321
|
+
const udid = new URLSearchParams(window.location.hash.slice(1)).get("udid");
|
|
322
|
+
return udid !== null && IOS_UDID_PATTERN.test(udid) ? udid : null;
|
|
323
|
+
};
|
|
318
324
|
/**
|
|
319
|
-
* Whether this page is open on an iPhone, and
|
|
320
|
-
*
|
|
321
|
-
* browser. Null until then.
|
|
325
|
+
* Whether this page is open on an iPhone, and its UDID: the one this phone
|
|
326
|
+
* kept, else the one the profile's page passed in the fragment. Read after the
|
|
327
|
+
* page mounts: the server renders it without a browser. Null until then.
|
|
322
328
|
*/
|
|
323
329
|
var useIosDevice = () => {
|
|
324
330
|
const [device, setDevice] = (0, import_react.useState)(null);
|
|
331
|
+
const [passed] = (0, import_react.useState)(fragmentUdid);
|
|
325
332
|
(0, import_react.useEffect)(() => {
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
const valid = (udid) => udid != null && IOS_UDID_PATTERN.test(udid) ? udid : null;
|
|
334
|
+
if (passed !== null && window.location.hash !== "") window.history.replaceState(window.history.state, "", `${window.location.pathname}${window.location.search}`);
|
|
335
|
+
const read = () => {
|
|
336
|
+
let udid = null;
|
|
337
|
+
try {
|
|
338
|
+
udid = window.localStorage.getItem(IOS_UDID_STORAGE_KEY);
|
|
339
|
+
} catch {}
|
|
340
|
+
const kept = valid(udid) ?? passed;
|
|
341
|
+
setDevice((current) => current?.udid === kept && current !== null ? current : {
|
|
342
|
+
ios: isIosBrowser(navigator),
|
|
343
|
+
udid: kept
|
|
344
|
+
});
|
|
345
|
+
};
|
|
346
|
+
read();
|
|
347
|
+
const onStorage = (event) => {
|
|
348
|
+
if (event.key === null || event.key === "hot-updater-ios-udid") read();
|
|
349
|
+
};
|
|
350
|
+
window.addEventListener("storage", onStorage);
|
|
351
|
+
window.addEventListener("pageshow", read);
|
|
352
|
+
document.addEventListener("visibilitychange", read);
|
|
353
|
+
return () => {
|
|
354
|
+
window.removeEventListener("storage", onStorage);
|
|
355
|
+
window.removeEventListener("pageshow", read);
|
|
356
|
+
document.removeEventListener("visibilitychange", read);
|
|
357
|
+
};
|
|
358
|
+
}, [passed]);
|
|
335
359
|
return device;
|
|
336
360
|
};
|
|
337
361
|
/**
|
|
@@ -377,14 +401,11 @@ function RenewInstallLink({ fetching, onRenew }) {
|
|
|
377
401
|
})]
|
|
378
402
|
});
|
|
379
403
|
}
|
|
380
|
-
function InstallButton({ build, token
|
|
404
|
+
function InstallButton({ build, token }) {
|
|
381
405
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", {
|
|
382
|
-
className: buttonVariants({
|
|
383
|
-
className: ACTION_CLASS,
|
|
384
|
-
variant: secondary ? "outline" : "default"
|
|
385
|
-
}),
|
|
406
|
+
className: buttonVariants({ className: ACTION_CLASS }),
|
|
386
407
|
href: nativeBuildItmsUrl(window.location, build.id, token),
|
|
387
|
-
children:
|
|
408
|
+
children: "Install"
|
|
388
409
|
});
|
|
389
410
|
}
|
|
390
411
|
/** What a tester reads before Install opens the system's install prompt. */
|
|
@@ -402,16 +423,17 @@ function InstallNotes() {
|
|
|
402
423
|
}
|
|
403
424
|
/**
|
|
404
425
|
* The link that hands this iPhone the profile that reads its UDID, under the
|
|
405
|
-
* console's path. A plain link, so iOS offers the profile.
|
|
426
|
+
* console's path. A plain link, so iOS offers the profile. Once it's installed,
|
|
427
|
+
* the phone comes back to this page, which then offers Install.
|
|
406
428
|
*/
|
|
407
|
-
function
|
|
429
|
+
function InstallProfile({ build, again = false }) {
|
|
408
430
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("a", {
|
|
409
431
|
className: buttonVariants({
|
|
410
432
|
className: ACTION_CLASS,
|
|
411
|
-
variant:
|
|
433
|
+
variant: again ? "secondary" : "default"
|
|
412
434
|
}),
|
|
413
435
|
href: `${consolePathOf(window.location, build.id)}${nativeBuildDeviceProfilePath(build.id)}`,
|
|
414
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Smartphone, { "data-icon": "inline-start" }), "
|
|
436
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Smartphone, { "data-icon": "inline-start" }), again ? "Install the profile again" : "Install profile"]
|
|
415
437
|
});
|
|
416
438
|
}
|
|
417
439
|
/**
|
|
@@ -423,7 +445,7 @@ function CheckThisIphone({ build, outline = false }) {
|
|
|
423
445
|
function IosInstall({ build, udid }) {
|
|
424
446
|
const eligibility = useNativeBuildInstallEligibilityQuery(build.id, udid);
|
|
425
447
|
const { refetch } = eligibility;
|
|
426
|
-
const expired = useInstallLinkExpired(eligibility.dataUpdatedAt, eligibility.data?.status === "installable");
|
|
448
|
+
const expired = useInstallLinkExpired(eligibility.dataUpdatedAt, eligibility.data?.status === "installable" && eligibility.data.device === "included");
|
|
427
449
|
(0, import_react.useEffect)(() => {
|
|
428
450
|
if (expired) refetch();
|
|
429
451
|
}, [expired, refetch]);
|
|
@@ -464,14 +486,6 @@ function IosInstall({ build, udid }) {
|
|
|
464
486
|
]
|
|
465
487
|
});
|
|
466
488
|
if (token === null) return null;
|
|
467
|
-
const install = ({ secondary = false } = {}) => expired ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RenewInstallLink, {
|
|
468
|
-
fetching: eligibility.isFetching,
|
|
469
|
-
onRenew: () => void refetch()
|
|
470
|
-
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InstallButton, {
|
|
471
|
-
build,
|
|
472
|
-
secondary,
|
|
473
|
-
token
|
|
474
|
-
});
|
|
475
489
|
if (result.device === "included") return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
476
490
|
className: "flex min-w-0 flex-col gap-3",
|
|
477
491
|
children: [
|
|
@@ -479,7 +493,13 @@ function IosInstall({ build, udid }) {
|
|
|
479
493
|
className: "text-sm font-medium",
|
|
480
494
|
children: "This iPhone is in this build."
|
|
481
495
|
}),
|
|
482
|
-
|
|
496
|
+
expired ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RenewInstallLink, {
|
|
497
|
+
fetching: eligibility.isFetching,
|
|
498
|
+
onRenew: () => void refetch()
|
|
499
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InstallButton, {
|
|
500
|
+
build,
|
|
501
|
+
token
|
|
502
|
+
}),
|
|
483
503
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(InstallNotes, {})
|
|
484
504
|
]
|
|
485
505
|
});
|
|
@@ -501,29 +521,24 @@ function IosInstall({ build, udid }) {
|
|
|
501
521
|
value: nativeBuildDeviceAddCommand(udid ?? ""),
|
|
502
522
|
wrap: true
|
|
503
523
|
}),
|
|
504
|
-
|
|
505
|
-
|
|
524
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(InstallProfile, {
|
|
525
|
+
build,
|
|
526
|
+
again: true
|
|
527
|
+
})
|
|
506
528
|
]
|
|
507
529
|
});
|
|
508
530
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
509
531
|
className: "flex min-w-0 flex-col gap-3",
|
|
510
|
-
children: [
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
}),
|
|
521
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
522
|
-
className: "flex flex-col gap-2 sm:flex-row sm:flex-wrap",
|
|
523
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(CheckThisIphone, { build }), install({ secondary: true })]
|
|
524
|
-
}),
|
|
525
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(InstallNotes, {})
|
|
526
|
-
]
|
|
532
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
533
|
+
className: "flex min-w-0 flex-col gap-1",
|
|
534
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
|
|
535
|
+
className: "text-sm font-medium",
|
|
536
|
+
children: "Install the profile first"
|
|
537
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
|
|
538
|
+
className: "text-xs text-muted-foreground",
|
|
539
|
+
children: "iOS installs this IPA only on the devices it lists. The profile reads this iPhone's ID and nothing else: allow the download, then install it in Settings, where iOS calls it not signed. Safari comes back here to install the app, and nothing stays installed."
|
|
540
|
+
})]
|
|
541
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InstallProfile, { build })]
|
|
527
542
|
});
|
|
528
543
|
}
|
|
529
544
|
/**
|
|
@@ -780,8 +795,10 @@ function SignedLink({ link, url }) {
|
|
|
780
795
|
children: [
|
|
781
796
|
"Anyone with this link can download this build until",
|
|
782
797
|
" ",
|
|
783
|
-
(0,
|
|
784
|
-
|
|
798
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
799
|
+
className: "whitespace-nowrap",
|
|
800
|
+
children: [(0, import_dayjs_min.default)(link.expiresAt).format("YYYY-MM-DD"), "."]
|
|
801
|
+
})
|
|
785
802
|
]
|
|
786
803
|
})]
|
|
787
804
|
});
|
package/.output/server/_ssr/{nativeBuildDevice-CJ2obp_i.mjs → nativeBuildDevice-DJUAzAIj.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { w as isUUIDv7 } from "./dist-B6-irDRA.mjs";
|
|
2
|
-
import { d as nativeBuildDeviceProfilePath, n as IOS_UDID_STORAGE_KEY, t as IOS_UDID_PATTERN
|
|
2
|
+
import { d as nativeBuildDeviceProfilePath, n as IOS_UDID_STORAGE_KEY, t as IOS_UDID_PATTERN } from "./native-builds-OUdRtp6m.mjs";
|
|
3
3
|
import { a as readProfileServiceUdid, r as publicConsoleBase, t as escapePlistText } from "./publicConsoleBase-DvHYxDaG.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildDevice-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildDevice-DJUAzAIj.js
|
|
5
5
|
/** The most a Profile Service answer holds: a plist and a device's certificates. */
|
|
6
6
|
var MAX_RESPONSE_BYTES = 64 * 1024;
|
|
7
7
|
var devicePagePath = (id) => `/_hot-updater/native-builds/${encodeURIComponent(id)}/device`;
|
|
@@ -52,11 +52,11 @@ var serveDeviceProfile = (request, id) => {
|
|
|
52
52
|
<key>PayloadOrganization</key>
|
|
53
53
|
<string>Hot Updater</string>
|
|
54
54
|
<key>PayloadDisplayName</key>
|
|
55
|
-
<string>
|
|
55
|
+
<string>Hot Updater Device Profile</string>
|
|
56
56
|
<key>PayloadDescription</key>
|
|
57
57
|
<string>Sends this iPhone's ID (UDID) to ${escapePlistText(host)}, to check whether a build can install on it. Nothing stays installed.</string>
|
|
58
58
|
<key>PayloadIdentifier</key>
|
|
59
|
-
<string>dev.hot-updater.
|
|
59
|
+
<string>dev.hot-updater.device-profile</string>
|
|
60
60
|
<key>PayloadUUID</key>
|
|
61
61
|
<string>6D3F4C0E-52C4-4C8B-9E0A-7B1E5A0C2F11</string>
|
|
62
62
|
<key>PayloadVersion</key>
|
|
@@ -122,12 +122,9 @@ var receiveDeviceResponse = async (request, id) => {
|
|
|
122
122
|
});
|
|
123
123
|
};
|
|
124
124
|
var page = ({ buildId, nonce }) => {
|
|
125
|
-
const [commandStart, commandEnd] = nativeBuildDeviceAddCommand("UDID").split("UDID");
|
|
126
125
|
const script = JSON.stringify({
|
|
127
126
|
pattern: IOS_UDID_PATTERN.source,
|
|
128
|
-
key: IOS_UDID_STORAGE_KEY
|
|
129
|
-
commandStart,
|
|
130
|
-
commandEnd
|
|
127
|
+
key: IOS_UDID_STORAGE_KEY
|
|
131
128
|
}).replaceAll("<", "\\u003c");
|
|
132
129
|
return `<!doctype html>
|
|
133
130
|
<html lang="en">
|
|
@@ -136,38 +133,30 @@ var page = ({ buildId, nonce }) => {
|
|
|
136
133
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
|
137
134
|
<meta name="color-scheme" content="dark light">
|
|
138
135
|
<meta name="robots" content="noindex">
|
|
139
|
-
<title>
|
|
136
|
+
<title>Back to the build</title>
|
|
140
137
|
<style nonce="${nonce}">
|
|
141
|
-
:root { color-scheme: dark light; --bg: oklch(1 0 0); --fg: oklch(0.147 0.004 49.25); --muted: oklch(0.553 0.013 58.071); --line: oklch(0.923 0.003 48.717); --
|
|
142
|
-
@media (prefers-color-scheme: dark) { :root { --bg: oklch(0.147 0.004 49.25); --fg: oklch(0.985 0.001 106.423); --muted: oklch(0.709 0.01 56.259); --line: oklch(1 0 0 / 10%);
|
|
138
|
+
:root { color-scheme: dark light; --bg: oklch(1 0 0); --fg: oklch(0.147 0.004 49.25); --muted: oklch(0.553 0.013 58.071); --line: oklch(0.923 0.003 48.717); --radius: 0.45rem; }
|
|
139
|
+
@media (prefers-color-scheme: dark) { :root { --bg: oklch(0.147 0.004 49.25); --fg: oklch(0.985 0.001 106.423); --muted: oklch(0.709 0.01 56.259); --line: oklch(1 0 0 / 10%); } }
|
|
143
140
|
* { box-sizing: border-box; }
|
|
144
141
|
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 -apple-system, system-ui, sans-serif; }
|
|
145
142
|
main { display: flex; flex-direction: column; gap: 16px; max-width: 32rem; margin: 0 auto; padding: 32px 16px calc(32px + env(safe-area-inset-bottom)); }
|
|
146
143
|
h1 { margin: 0; font-size: 22px; line-height: 1.25; }
|
|
147
144
|
p { margin: 0; color: var(--muted); font-size: 15px; }
|
|
148
|
-
.
|
|
149
|
-
code { display: block; padding: 12px; overflow-wrap: anywhere; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); font: 14px/1.4 ui-monospace, Menlo, monospace; }
|
|
150
|
-
button, a.action { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 8px 16px; border-radius: var(--radius); font: inherit; font-weight: 600; text-decoration: none; }
|
|
151
|
-
button { border: 0; background: var(--primary); color: var(--on-primary); }
|
|
152
|
-
a.action { border: 1px solid var(--line); color: var(--fg); }
|
|
145
|
+
a.action { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 8px 16px; border-radius: var(--radius); font: inherit; font-weight: 600; text-decoration: none; border: 1px solid var(--line); color: var(--fg); }
|
|
153
146
|
[hidden] { display: none; }
|
|
154
147
|
</style>
|
|
155
148
|
</head>
|
|
156
149
|
<body>
|
|
157
150
|
<main>
|
|
158
|
-
<div id="
|
|
159
|
-
<h1>
|
|
151
|
+
<div id="returning" hidden>
|
|
152
|
+
<h1>Back to the build</h1>
|
|
153
|
+
<p>Opening the build's page to install it.</p>
|
|
160
154
|
</div>
|
|
161
155
|
<div id="missing" hidden>
|
|
162
156
|
<h1>No iPhone ID here</h1>
|
|
163
157
|
</div>
|
|
164
|
-
<
|
|
165
|
-
<
|
|
166
|
-
<p id="next" hidden>A maintainer runs this command to register the iPhone, then rebuilds. Open the build again afterwards to install it.</p>
|
|
167
|
-
<code id="command" hidden translate="no"></code>
|
|
168
|
-
<button id="copy" type="button" hidden>Copy command</button>
|
|
169
|
-
<p id="retry" hidden>Open the build's page in Safari and check this iPhone again. On a Mac, Finder shows an iPhone's ID, which a maintainer can register with native-build devices add.</p>
|
|
170
|
-
<a class="action" href="../../../native-builds/${encodeURIComponent(buildId)}">Back to the build</a>
|
|
158
|
+
<p id="retry" hidden>Open the build's page in Safari and install the profile again. On a Mac, Finder shows an iPhone's ID, which a maintainer can register with native-build devices add.</p>
|
|
159
|
+
<a class="action" id="back" href="../../../native-builds/${encodeURIComponent(buildId)}">Back to the build</a>
|
|
171
160
|
</main>
|
|
172
161
|
<script nonce="${nonce}">
|
|
173
162
|
(function () {
|
|
@@ -180,19 +169,11 @@ a.action { border: 1px solid var(--line); color: var(--fg); }
|
|
|
180
169
|
if (location.hash) history.replaceState(null, "", location.pathname);
|
|
181
170
|
if (!udid || !pattern.test(udid)) { show("missing"); show("retry"); return; }
|
|
182
171
|
try { localStorage.setItem(c.key, udid); } catch (e) {}
|
|
183
|
-
|
|
184
|
-
document.getElementById("
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
button.addEventListener("click", function () {
|
|
189
|
-
navigator.clipboard.writeText(command).then(function () {
|
|
190
|
-
button.textContent = "Copied";
|
|
191
|
-
}, function () {
|
|
192
|
-
getSelection().selectAllChildren(document.getElementById("command"));
|
|
193
|
-
button.textContent = "Select and copy above";
|
|
194
|
-
});
|
|
195
|
-
});
|
|
172
|
+
// The ID goes along in the fragment too, for a browser that keeps nothing.
|
|
173
|
+
var back = document.getElementById("back");
|
|
174
|
+
back.href = back.href.split("#")[0] + "#udid=" + encodeURIComponent(udid);
|
|
175
|
+
show("returning");
|
|
176
|
+
location.replace(back.href);
|
|
196
177
|
})();
|
|
197
178
|
<\/script>
|
|
198
179
|
</body>
|
|
@@ -200,12 +181,12 @@ a.action { border: 1px solid var(--line); color: var(--fg); }
|
|
|
200
181
|
`;
|
|
201
182
|
};
|
|
202
183
|
/**
|
|
203
|
-
* The page the callback lands on
|
|
204
|
-
*
|
|
205
|
-
*
|
|
206
|
-
*
|
|
207
|
-
*
|
|
208
|
-
*
|
|
184
|
+
* The page the callback lands on. It keeps the UDID in the phone's
|
|
185
|
+
* `localStorage` and goes straight back to the build's page with the UDID in
|
|
186
|
+
* the fragment too, for a browser that keeps nothing. The build's page offers
|
|
187
|
+
* Install, or the command for a maintainer, which asks whose iPhone it is,
|
|
188
|
+
* since a crafted link can carry any ID. The UDID stays in the browser: a
|
|
189
|
+
* fragment never reaches a server. It takes no session.
|
|
209
190
|
*
|
|
210
191
|
* - 400: the ID isn't a UUIDv7;
|
|
211
192
|
* - 405: a method other than GET or HEAD.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as getRequest } from "./server-
|
|
1
|
+
import { i as getRequest } from "./server-CMgMPrDx.mjs";
|
|
2
2
|
import { n as sameSecret } from "./local-console-Dtxlsav0.mjs";
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildDownloadLink-
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildDownloadLink-C0I8eLpS.js
|
|
4
4
|
/**
|
|
5
5
|
* How long a signed download link works. A link holds its own expiry and the
|
|
6
6
|
* Console stores nothing, so a new one never ends an older one.
|
package/.output/server/_ssr/{nativeBuildInstall-YRK3anmZ.mjs → nativeBuildInstall-CxG8K8TL.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as nativeBuildManifestPath, f as nativeBuildDownloadPath, r as NATIVE_BUILD_INSTALL_LINK_TTL_MS } from "./native-builds-OUdRtp6m.mjs";
|
|
2
2
|
import { i as readIpaInstallInfo, n as normalizeIosUdid, r as publicConsoleBase, t as escapePlistText } from "./publicConsoleBase-DvHYxDaG.mjs";
|
|
3
|
-
import { issueNativeBuildDownloadLink, refuseNativeBuildDownloadToken } from "./nativeBuildDownloadLink-
|
|
3
|
+
import { issueNativeBuildDownloadLink, refuseNativeBuildDownloadToken } from "./nativeBuildDownloadLink-C0I8eLpS.mjs";
|
|
4
4
|
import { nativeBuildArtifactUrl } from "./nativeBuilds-CRLmvFaO.mjs";
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildInstall-
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildInstall-CxG8K8TL.js
|
|
6
6
|
var KiB = 1024;
|
|
7
7
|
var MiB = 1024 * KiB;
|
|
8
8
|
/**
|
package/.output/server/_ssr/{release-adoption-rpc-BeICf-ls.mjs → release-adoption-rpc-DcZAYRWJ.mjs}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
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 { a as readAdoptionReleasesInput, i as readAdoptionReleaseInput, o as readBundleEventsInput } from "./release-adoption-C7sUFDwa.mjs";
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/release-adoption-rpc-
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/release-adoption-rpc-DcZAYRWJ.js
|
|
6
6
|
var listAdoptionReleasesRpc_createServerFn_handler = createServerRpc({
|
|
7
7
|
id: "d11a48f7251928b7819e2376aed4902fa66277bf6d30312d87ca53468332f256",
|
|
8
8
|
name: "listAdoptionReleasesRpc",
|
|
9
9
|
filename: "src/lib/release-adoption-rpc.ts"
|
|
10
10
|
}, (opts) => listAdoptionReleasesRpc.__executeServer(opts));
|
|
11
11
|
var listAdoptionReleasesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readAdoptionReleasesInput).handler(listAdoptionReleasesRpc_createServerFn_handler, async ({ data }) => {
|
|
12
|
-
const [{ prepareConfig }, { listAdoptionReleases }] = await Promise.all([import("./config.server-
|
|
12
|
+
const [{ prepareConfig }, { listAdoptionReleases }] = await Promise.all([import("./config.server-CJs-9Zd_.mjs"), import("./releaseAdoption-D6ScSu-W.mjs")]);
|
|
13
13
|
const { core } = await prepareConfig();
|
|
14
14
|
return listAdoptionReleases(core, data);
|
|
15
15
|
});
|
|
@@ -19,7 +19,7 @@ var getAdoptionReleaseRpc_createServerFn_handler = createServerRpc({
|
|
|
19
19
|
filename: "src/lib/release-adoption-rpc.ts"
|
|
20
20
|
}, (opts) => getAdoptionReleaseRpc.__executeServer(opts));
|
|
21
21
|
var getAdoptionReleaseRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readAdoptionReleaseInput).handler(getAdoptionReleaseRpc_createServerFn_handler, async ({ data }) => {
|
|
22
|
-
const [{ prepareConfig }, { getAdoptionRelease }] = await Promise.all([import("./config.server-
|
|
22
|
+
const [{ prepareConfig }, { getAdoptionRelease }] = await Promise.all([import("./config.server-CJs-9Zd_.mjs"), import("./releaseAdoption-D6ScSu-W.mjs")]);
|
|
23
23
|
const { core } = await prepareConfig();
|
|
24
24
|
return getAdoptionRelease(core, data);
|
|
25
25
|
});
|
|
@@ -30,7 +30,7 @@ var getBundleEventsRpc_createServerFn_handler = createServerRpc({
|
|
|
30
30
|
}, (opts) => getBundleEventsRpc.__executeServer(opts));
|
|
31
31
|
var getBundleEventsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readBundleEventsInput).handler(getBundleEventsRpc_createServerFn_handler, async ({ data }) => {
|
|
32
32
|
const [{ prepareConfig }, { getBundleEvents }, { requireFeature }] = await Promise.all([
|
|
33
|
-
import("./config.server-
|
|
33
|
+
import("./config.server-CJs-9Zd_.mjs"),
|
|
34
34
|
import("./releaseAdoption-D6ScSu-W.mjs"),
|
|
35
35
|
import("./runtime.server-wcHT2Cop.mjs")
|
|
36
36
|
]);
|
|
@@ -3,27 +3,27 @@ import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
|
3
3
|
import { bt as require_react, n as Toggle, t as ToggleGroup, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
4
|
import { $ as ArrowUp, D as LoaderCircle, L as Eye, N as GitBranch, Q as Braces, V as Clipboard, _ as RefreshCw, a as Trash2, d as SlidersHorizontal, g as RotateCcw, i as TriangleAlert, it as ArrowDown, j as History, m as Search, n as Upload, r as Undo2, t as X, tt as ArrowRight, u as Smartphone, v as Plus, y as Pencil } from "../_libs/lucide-react.mjs";
|
|
5
5
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
6
|
-
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, k as cn, n as Input, t as Button$1 } from "./sidebar-
|
|
7
|
-
import { t as consoleAccess } from "./console-access-
|
|
6
|
+
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, k as cn, n as Input, t as Button$1 } from "./sidebar-mIQgB0iy.mjs";
|
|
7
|
+
import { t as consoleAccess } from "./console-access-ClmTMpo_.mjs";
|
|
8
8
|
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
9
9
|
import { i as useQuery, n as useMutation, s as useQueryClient, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
|
|
10
10
|
import { l as keepPreviousData } from "../_libs/tanstack__query-core.mjs";
|
|
11
|
-
import { r as requireConsoleFeature } from "./console-features-api-
|
|
12
|
-
import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-
|
|
13
|
-
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-
|
|
14
|
-
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-
|
|
15
|
-
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-
|
|
16
|
-
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-
|
|
17
|
-
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, o as FieldLegend, r as FieldError, s as FieldSet, t as Field } from "./field-
|
|
11
|
+
import { r as requireConsoleFeature } from "./console-features-api-CpMYF0Pb.mjs";
|
|
12
|
+
import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-Bx8DnyWN.mjs";
|
|
13
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-CG5GqIoA.mjs";
|
|
14
|
+
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-KS3YftV5.mjs";
|
|
15
|
+
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";
|
|
16
|
+
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-DvHMJkq7.mjs";
|
|
17
|
+
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, o as FieldLegend, r as FieldError, s as FieldSet, t as Field } from "./field-BVI4lxoz.mjs";
|
|
18
18
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
19
|
-
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-
|
|
19
|
+
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-DAfypcYe.mjs";
|
|
20
20
|
import { t as PlatformIcon } from "./PlatformIcon-CMLs3Wez.mjs";
|
|
21
|
-
import { i as InputGroupInput, n as InputGroupAddon, o as Textarea, r as InputGroupButton, t as InputGroup } from "./input-group-
|
|
22
|
-
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-
|
|
23
|
-
import { i as useChannelsQuery } from "./api-
|
|
21
|
+
import { i as InputGroupInput, n as InputGroupAddon, o as Textarea, r as InputGroupButton, t as InputGroup } from "./input-group-CpJwooTk.mjs";
|
|
22
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-i4WT0c9r.mjs";
|
|
23
|
+
import { i as useChannelsQuery } from "./api-CDvGGB1B.mjs";
|
|
24
24
|
import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
|
|
25
|
-
import { n as useDialogTarget, r as useOpenSession, t as Switch$1 } from "./switch-
|
|
26
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-
|
|
25
|
+
import { n as useDialogTarget, r as useOpenSession, t as Switch$1 } from "./switch-DR8EAh5C.mjs";
|
|
26
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-BZ_vGV97.js
|
|
27
27
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
28
28
|
var import_jsx_runtime = require_jsx_runtime();
|
|
29
29
|
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
@@ -2639,8 +2639,8 @@ function RemoteConfigPage({ tab, onTabChange }) {
|
|
|
2639
2639
|
]
|
|
2640
2640
|
});
|
|
2641
2641
|
}
|
|
2642
|
-
var $$splitComponentImporter = () => import("./remote-config-
|
|
2643
|
-
var $$splitNotFoundComponentImporter = () => import("./remote-config-
|
|
2642
|
+
var $$splitComponentImporter = () => import("./remote-config-gKqDKMxk.mjs");
|
|
2643
|
+
var $$splitNotFoundComponentImporter = () => import("./remote-config-DOcSXzxG.mjs");
|
|
2644
2644
|
var Route = createFileRoute("/remote-config")({
|
|
2645
2645
|
beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "remoteConfig"),
|
|
2646
2646
|
notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "notFoundComponent"),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-BEU7r4aH.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-DOcSXzxG.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
-
import { n as Route, t as RemoteConfigPage } from "./remote-config-
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-
|
|
2
|
+
import { n as Route, t as RemoteConfigPage } from "./remote-config-BZ_vGV97.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-gKqDKMxk.js
|
|
4
4
|
var import_jsx_runtime = require_jsx_runtime();
|
|
5
5
|
function RemoteConfigRoute() {
|
|
6
6
|
const { tab = "parameters" } = Route.useSearch();
|
package/.output/server/_ssr/{remote-config-rpc-D2hgZLcR.mjs → remote-config-rpc-CVPd3V69.mjs}
RENAMED
|
@@ -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/remote-config-rpc-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-rpc-CVPd3V69.js
|
|
5
5
|
/** Remote Config, once the console's access check and the feature guard pass. */
|
|
6
6
|
var remoteConfig = 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, "remoteConfig");
|
|
10
10
|
};
|