@hot-updater/console 1.2.0-rc.40 → 1.2.0-rc.41
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/{-native-builds-search-qeto9-fq.js → -native-builds-search-BFcW2mlI.js} +1 -1
- package/.output/public/assets/ChannelPicker-BQKoyxnf.js +1 -0
- package/.output/public/assets/{CompositeItem-B541MSYC.js → CompositeItem-B7uxFM46.js} +1 -1
- package/.output/public/assets/{ConsoleFeatureUnavailable-C6aryy7j.js → ConsoleFeatureUnavailable-B3VCINom.js} +1 -1
- package/.output/public/assets/EventDetails-CWiI1CXb.js +1 -0
- package/.output/public/assets/{InsightsPageHeader-D0Nxcccp.js → InsightsPageHeader-BjUAikRe.js} +1 -1
- package/.output/public/assets/{IosInstall-CgNa8B4v.js → IosInstall-B5IdjCP2.js} +1 -1
- package/.output/public/assets/{NativeBuildsNav-BxAmQr2E.js → NativeBuildsNav-BKdnlKMN.js} +1 -1
- package/.output/public/assets/{RelativeTime-CdQ86VoP.js → RelativeTime-5ZP9WlQ6.js} +1 -1
- package/.output/public/assets/{RolloutPercentageBadge-Cd1UNLL0.js → RolloutPercentageBadge-DCtG7c1o.js} +1 -1
- package/.output/public/assets/{RowReason-CEI-_T6G.js → RowReason-CXMCJ-Jc.js} +1 -1
- package/.output/public/assets/{SandboxBadge-CqGX5DiH.js → SandboxBadge-PM92jCk6.js} +1 -1
- package/.output/public/assets/{TargetDisplay-DMZHMgWk.js → TargetDisplay-DG_I3qln.js} +1 -1
- package/.output/public/assets/api-keys-CAVLgicI.js +1 -0
- package/.output/public/assets/{api-keys-B9XQLCZ8.js → api-keys-ztwXoKcj.js} +1 -1
- package/.output/public/assets/{index-D7PWINwc.js → index-Ck4fZq4M.js} +3 -3
- package/.output/public/assets/input-group-CIjTdxCW.js +1 -0
- package/.output/public/assets/insights-V3D8tYPQ.js +1 -0
- package/.output/public/assets/insights-fSY6n4k3.js +42 -0
- package/.output/public/assets/insights-osTmFzzR.js +2 -0
- package/.output/public/assets/{insights-search-DkovoDrZ.js → insights-search-CZtvD-Vf.js} +1 -1
- package/.output/public/assets/{insights_.distribution-DmeI9XZw.js → insights_.distribution-Cws8lYLC.js} +1 -1
- package/.output/public/assets/insights_.distribution-DpppHhaU.js +2 -0
- package/.output/public/assets/insights_.distribution-oIFSv2TC.js +1 -0
- package/.output/public/assets/{installations-ClsF2q6A.js → installations-Byojb0Rv.js} +2 -2
- package/.output/public/assets/installations-CFGDrY-W.js +1 -0
- package/.output/public/assets/installations-CcPrSZwW.js +1 -0
- package/.output/public/assets/native-builds-C4u6JvxV.js +2 -0
- package/.output/public/assets/native-builds-D9hoJd6W.js +1 -0
- package/.output/public/assets/native-builds-zwqucwx2.js +1 -0
- package/.output/public/assets/{native-builds_._buildId-DZqylSRq.js → native-builds_._buildId-CXx2xjoI.js} +1 -1
- package/.output/public/assets/native-builds_._buildId-DymsEZlO.js +2 -0
- package/.output/public/assets/native-builds_.devices-DF3g--dt.js +1 -0
- package/.output/public/assets/native-builds_.devices-QToUV8FB.js +2 -0
- package/.output/public/assets/remote-config-BIIj0Faf.js +1 -0
- package/.output/public/assets/remote-config-BJJAxy_g.js +6 -0
- package/.output/public/assets/{remote-config-r945bivi.js → remote-config-Dm1MCHDN.js} +1 -1
- package/.output/public/assets/rotate-ccw-tITIe0Bd.js +1 -0
- package/.output/public/assets/routes-9gxYg__u.js +1 -0
- package/.output/public/assets/{routes-DWjGfLRs.js → routes-CUsayL0T.js} +2 -2
- package/.output/public/assets/select-Bk52fOVX.js +1 -0
- package/.output/public/assets/styles-C1iqL6CR.css +2 -0
- package/.output/public/assets/switch-CI393qIT.js +1 -0
- package/.output/public/assets/useAnchoredPopupScrollLock-Cvx6CdPD.js +1 -0
- package/.output/server/{__23tanstack-start-server-fn-resolver-CSEErUrV.mjs → __23tanstack-start-server-fn-resolver-76SKGuoc.mjs} +58 -58
- package/.output/server/_libs/@base-ui/react+[...].mjs +3844 -3844
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
- package/.output/server/_libs/_.mjs +1 -1
- package/.output/server/_ssr/{BundleIdDisplay-BfMtMws8.mjs → BundleIdDisplay-By3CbbRM.mjs} +2 -2
- package/.output/server/_ssr/{ChannelBadge-CyjOxlfr.mjs → ChannelBadge-CDup7l56.mjs} +3 -3
- package/.output/server/_ssr/ChannelPicker-Du2TmP3P.mjs +251 -0
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-D5a8SXzu.mjs → ConsoleFeatureUnavailable-C6aGoKDE.mjs} +6 -6
- package/.output/server/_ssr/{EventDetails-XaXslOac.mjs → EventDetails-VbcnMnSs.mjs} +7 -7
- package/.output/server/_ssr/{HashValueDisplay-CtrIkPNM.mjs → HashValueDisplay-CnC2fHER.mjs} +2 -2
- package/.output/server/_ssr/{InsightsPageHeader-CK76Vycr.mjs → InsightsPageHeader-BuOanVZL.mjs} +7 -7
- package/.output/server/_ssr/{IosInstall-BD2HpMsh.mjs → IosInstall-BAFhW7Q9.mjs} +8 -8
- package/.output/server/_ssr/{NativeBuildsNav-DvFscYEN.mjs → NativeBuildsNav-BoTu4aLF.mjs} +3 -3
- package/.output/server/_ssr/{NotFoundPage-CQc5Envb.mjs → NotFoundPage-Bz05xF5Q.mjs} +2 -2
- package/.output/server/_ssr/{QrCode-VPGDhoTy.mjs → QrCode-DWshAW81.mjs} +2 -2
- package/.output/server/_ssr/{RelativeTime-D6qU9XeU.mjs → RelativeTime-D5kDQVn1.mjs} +3 -3
- package/.output/server/_ssr/{RolloutPercentageBadge-7HdtPPd8.mjs → RolloutPercentageBadge-Dwx7dEeQ.mjs} +3 -3
- package/.output/server/_ssr/{RowReason-CR2C_0d9.mjs → RowReason-pVOWQ7t5.mjs} +4 -4
- package/.output/server/_ssr/{SandboxBadge-HQv4waT2.mjs → SandboxBadge-DFbUYwhO.mjs} +2 -2
- package/.output/server/_ssr/{TargetDisplay-BQ3rf-jt.mjs → TargetDisplay-BtE5vntq.mjs} +3 -3
- package/.output/server/_ssr/{alert-dialog-DZfV4jo0.mjs → alert-dialog-tcfkkNUX.mjs} +1 -1
- package/.output/server/_ssr/{api-keys-tydhn1tu.mjs → api-keys-12_U0SQM.mjs} +9 -9
- package/.output/server/_ssr/{api-keys-DhgkyA5L.mjs → api-keys-Bm8uDp2u.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-rpc-PnrzjW84.mjs → api-keys-rpc-BxkfToWI.mjs} +3 -3
- package/.output/server/_ssr/{api-rpc-D8qYGyez.mjs → api-rpc-TSnLWB7e.mjs} +16 -16
- package/.output/server/_ssr/{api-C3S89RIl.mjs → api-xOHZxbzu.mjs} +7 -7
- package/.output/server/_ssr/{auth-rpc-rMdoXrTW.mjs → auth-rpc-D3w54vsW.mjs} +4 -4
- package/.output/server/_ssr/{auth.server-YE2ZZC0j.mjs → auth.server-a2eP6q5P.mjs} +135 -23
- package/.output/server/_ssr/{badge-NON1cyRV.mjs → badge-DrfbN1n0.mjs} +1 -1
- package/.output/server/_ssr/{bundleActivity-CjE9yslP.mjs → bundleActivity-a-pEDiqu.mjs} +1 -1
- package/.output/server/_ssr/{card-CVw7zPaM.mjs → card-DEItjgKG.mjs} +1 -1
- package/.output/server/_ssr/{config.server-BYkojQAW.mjs → config.server-K8dd4dRv.mjs} +3 -3
- package/.output/server/_ssr/{console-access-CRyGs-sb.mjs → console-access-D-DHU4YH.mjs} +2 -2
- package/.output/server/_ssr/{console-features-api-DwbIx8oM.mjs → console-features-api-Chy2PrzZ.mjs} +5 -5
- package/.output/server/_ssr/{console-features-rpc-erZu7BIN.mjs → console-features-rpc-_31L0k1i.mjs} +3 -3
- package/.output/server/_ssr/{deviceProfileToken-Eeltr-o0.mjs → deviceProfileToken-xzDLfE0T.mjs} +1 -1
- package/.output/server/_ssr/{dialog-ZuUCxUNo.mjs → dialog-SAl1vP74.mjs} +1 -1
- package/.output/server/_ssr/{downloadBundle-DLkb7A7E.mjs → downloadBundle-C1KOnpiF.mjs} +1 -1
- package/.output/server/_ssr/{empty-4FbiMhrz.mjs → empty-opJc9Fjw.mjs} +2 -2
- package/.output/server/_ssr/{failureReports-Bd7CaadE.mjs → failureReports-BVufgM3l.mjs} +3 -3
- package/.output/server/_ssr/{field-B9YWRLoo.mjs → field-D6Y7zDZd.mjs} +2 -2
- package/.output/server/_ssr/{foldedPage-DrxWt5XS.mjs → foldedPage-CUjJqtlF.mjs} +1 -1
- package/.output/server/_ssr/{getBundleChildren-DA9zbUBD.mjs → getBundleChildren-CnOf4Frp.mjs} +1 -1
- package/.output/server/_ssr/{input-group-sETcyyLC.mjs → input-group-D2PvPRdm.mjs} +1 -1
- package/.output/server/_ssr/{insights-CkJWItoo.mjs → insights-Cro4cYp7.mjs} +2 -2
- package/.output/server/_ssr/{insights-api-9jE9dp-3.mjs → insights-api-BPyvQert.mjs} +5 -5
- package/.output/server/_ssr/{insights-BjtOex57.mjs → insights-dWeLneo1.mjs} +33 -186
- package/.output/server/_ssr/{insights-errors-BrToSfI9.mjs → insights-errors-DwUaDs0Z.mjs} +2 -2
- package/.output/server/_ssr/{insights-failures-lmcxwKb3.mjs → insights-failures-DGO2_3Vx.mjs} +2 -2
- package/.output/server/_ssr/{insights-failures-rpc-XxbDFtKo.mjs → insights-failures-rpc-D7M8-Et9.mjs} +8 -8
- package/.output/server/_ssr/{insights-recovery-Dhg3WGpC.mjs → insights-recovery-Cdg3Msrj.mjs} +1 -1
- package/.output/server/_ssr/{insights-recovery-rpc-CFeoyZEw.mjs → insights-recovery-rpc-BUMK4m4H.mjs} +5 -5
- package/.output/server/_ssr/{insights-rpc-TAS-cemx.mjs → insights-rpc-BZZ4U2Ll.mjs} +3 -3
- package/.output/server/_ssr/{insights-search-DL8LLP6s.mjs → insights-search-Czi553oN.mjs} +2 -2
- package/.output/server/_ssr/{insights-usage-gW3T5N6N.mjs → insights-usage-BVm7CDw9.mjs} +1 -1
- package/.output/server/_ssr/{insights-usage-rpc-DGSVT5eB.mjs → insights-usage-rpc-BXvUr-z6.mjs} +5 -5
- package/.output/server/_ssr/{insights-usage-rpc-CrAA5_Wn.mjs → insights-usage-rpc-HOr6mniz.mjs} +5 -5
- package/.output/server/_ssr/{insights-K6CFztcF.mjs → insights-vmCmvfXx.mjs} +5 -5
- package/.output/server/_ssr/{insightsUsage-B_7pM9wp.mjs → insightsUsage-lPKyRC2o.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-CK5_wfLT.mjs → insights_.distribution-B2dxcCd_.mjs} +2 -2
- package/.output/server/_ssr/{insights_.distribution-DDr3vglh.mjs → insights_.distribution-B5V_NbK4.mjs} +14 -14
- package/.output/server/_ssr/{insights_.distribution-C9nMSRtr.mjs → insights_.distribution-DongF2jp.mjs} +5 -5
- package/.output/server/_ssr/{installations-CRHGd6SX.mjs → installations-B7w4LGJp.mjs} +4 -4
- package/.output/server/_ssr/{installations-BvGL_EXM.mjs → installations-B84kSetd.mjs} +2 -2
- package/.output/server/_ssr/{installations-CWutybSC.mjs → installations-bieZA3xt.mjs} +11 -11
- package/.output/server/_ssr/{ios-devices-rpc-CCx4TvyR.mjs → ios-devices-rpc-DOQg4dpb.mjs} +8 -8
- package/.output/server/_ssr/{iosDeviceCookie-B3FPj65l.mjs → iosDeviceCookie-DhWNFpC6.mjs} +5 -5
- package/.output/server/_ssr/{iosDeviceProfile-Cclrfk8N.mjs → iosDeviceProfile-jC8w4zEF.mjs} +6 -6
- package/.output/server/_ssr/{iosDevices-DMXaKH8F.mjs → iosDevices-B4kQLURA.mjs} +3 -3
- package/.output/server/_ssr/{listReleases-B2Q9xwFv.mjs → listReleases-QF91GLE7.mjs} +3 -3
- package/.output/server/_ssr/{native-artifact-BurROe05.mjs → native-artifact-D4ZISXRZ.mjs} +8 -64
- package/.output/server/_ssr/{native-builds-BPiSm8HX.mjs → native-builds-BU9Njiwm.mjs} +22 -50
- package/.output/server/_ssr/{native-builds-Bnx0fVWs.mjs → native-builds-lEyKQemV.mjs} +3 -5
- package/.output/server/_ssr/{native-builds-BGDsGYAp.mjs → native-builds-zpCsEYyA.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_._buildId-CS9w0JIp.mjs → native-builds_._buildId-BJ4R32fq.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_._buildId-B749BEMp.mjs → native-builds_._buildId-RHUotAYb.mjs} +17 -17
- package/.output/server/_ssr/{native-builds_.devices-BPT8_91w.mjs → native-builds_.devices-C0IlQkLv.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_.devices-w_jDlH8K.mjs → native-builds_.devices-D1Ke-Fc-.mjs} +18 -18
- package/.output/server/_ssr/{nativeBuildDownloadLink-CXibRgym.mjs → nativeBuildDownloadLink-MCd5xUqP.mjs} +2 -2
- package/.output/server/_ssr/{nativeBuildInstall-BLuyTfXE.mjs → nativeBuildInstall-DcsqDS-O.mjs} +10 -9
- package/.output/server/_ssr/{nativeBuilds-WKdqgemR.mjs → nativeBuilds-CRa36wNn.mjs} +3 -3
- package/.output/server/_ssr/{publicConsoleBase-C3sNbafy.mjs → publicConsoleBase-wTKw3_iB.mjs} +1 -1
- package/.output/server/_ssr/{release-adoption-D2719HVh.mjs → release-adoption-gfhE5tz5.mjs} +2 -2
- package/.output/server/_ssr/{release-adoption-rpc-DOdELZNl.mjs → release-adoption-rpc-C4G_d8qK.mjs} +7 -7
- package/.output/server/_ssr/{releaseAdoption-CxGKmUXx.mjs → releaseAdoption-DfEYq7I4.mjs} +4 -4
- package/.output/server/_ssr/{releaseReachability-sWr0bLRk.mjs → releaseReachability-Ch1JpJkY.mjs} +1 -1
- package/.output/server/_ssr/{remote-config-C5mPNt0s.mjs → remote-config-1QZ0HgEu.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-DuOo-AFR.mjs → remote-config-CsbpqWAR.mjs} +18 -18
- package/.output/server/_ssr/{remote-config-xbBIsBh1.mjs → remote-config-DkgBxBka.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-rpc-rEe5HBxX.mjs → remote-config-rpc-KjJA9DC-.mjs} +3 -3
- package/.output/server/_ssr/{router-Bc5Zx-dc.mjs → router-Dy3fmb8q.mjs} +37 -37
- package/.output/server/_ssr/{routes-DCOnxOlA.mjs → routes-68rZQGee.mjs} +34 -51
- package/.output/server/_ssr/{routes-CUQ96XR2.mjs → routes-Ug9uqzob.mjs} +12 -12
- package/.output/server/_ssr/{schema-migration-rpc-DK_ceMAg.mjs → schema-migration-rpc-kntY9oPm.mjs} +3 -3
- package/.output/server/_ssr/{select-dGQiTkaZ.mjs → select-BOKFFr_G.mjs} +1 -1
- package/.output/server/_ssr/{server-l-C5qBnr.mjs → server-DetMvRBJ.mjs} +4 -4
- package/.output/server/_ssr/{sidebar-Ccd4WNjQ.mjs → sidebar-B46houn0.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{start-BXlykDIg.mjs → start-BSkL2B6C.mjs} +1 -1
- package/.output/server/_ssr/{switch-CC7UK0Nw.mjs → switch-BMYzd71j.mjs} +2 -2
- package/.output/server/_ssr/{table-BAlgZdxo.mjs → table-DWrYwJ_a.mjs} +1 -1
- package/.output/server/_ssr/{tabs-Bm7PWhQk.mjs → tabs-DusHAcYy.mjs} +2 -2
- package/.output/server/_ssr/{updateFailures-DGuFoK6A.mjs → updateFailures-BwDwIoNu.mjs} +3 -3
- package/.output/server/{_tanstack-start-manifest_v-C_zDNaKT.mjs → _tanstack-start-manifest_v-CD1q5k0m.mjs} +99 -94
- package/.output/server/index.mjs +308 -287
- package/package.json +7 -7
- package/src/components/ChannelPicker.tsx +227 -0
- package/src/components/features/insights/InsightsControls.tsx +8 -67
- package/src/components/features/native-builds/NativeBuildsPage.tsx +11 -74
- package/src/components/ui/combobox.tsx +2 -2
- package/src/lib/api-rpc.ts +2 -2
- package/src/lib/native-builds.ts +2 -4
- package/src/lib/server/nativeBuildInstall.ts +7 -2
- package/src/routes/index.tsx +23 -36
- package/.output/public/assets/EventDetails-BdqU96Wu.js +0 -1
- package/.output/public/assets/api-keys-D4tjInrB.js +0 -1
- package/.output/public/assets/input-group-CPboh0Rx.js +0 -1
- package/.output/public/assets/insights-B7GL298D.js +0 -1
- package/.output/public/assets/insights-BzKbxWIo.js +0 -42
- package/.output/public/assets/insights-Q2nAkSMz.js +0 -2
- package/.output/public/assets/insights_.distribution-BafQuEd0.js +0 -1
- package/.output/public/assets/insights_.distribution-DHU1udei.js +0 -2
- package/.output/public/assets/installations-CmuNX_Ok.js +0 -1
- package/.output/public/assets/installations-oGkAO7nb.js +0 -1
- package/.output/public/assets/native-builds-DJlYvvPY.js +0 -2
- package/.output/public/assets/native-builds-NyGMlBx2.js +0 -1
- package/.output/public/assets/native-builds-uKuvmyXZ.js +0 -1
- package/.output/public/assets/native-builds_._buildId-Dza7vEcy.js +0 -2
- package/.output/public/assets/native-builds_.devices-BykEftlY.js +0 -1
- package/.output/public/assets/native-builds_.devices-DH1JB1zr.js +0 -2
- package/.output/public/assets/remote-config-BiD075AT.js +0 -1
- package/.output/public/assets/remote-config-CBirPcRR.js +0 -6
- package/.output/public/assets/routes-5U4k3N1_.js +0 -1
- package/.output/public/assets/select-DIyG5G-V.js +0 -1
- package/.output/public/assets/styles-C_9Rf75p.css +0 -2
- package/.output/public/assets/switch-B_7OwJhK.js +0 -1
- /package/.output/public/assets/{BundleIdDisplay-BKaGARD1.js → BundleIdDisplay-C0X-k49t.js} +0 -0
- /package/.output/public/assets/{ChannelBadge-CPc1M44L.js → ChannelBadge-BgVCJfJs.js} +0 -0
- /package/.output/public/assets/{HashValueDisplay-BHL4xWSY.js → HashValueDisplay-DvwvQchI.js} +0 -0
- /package/.output/public/assets/{NotFoundPage-haKPLHiT.js → NotFoundPage-BEpesHEm.js} +0 -0
- /package/.output/public/assets/{PlatformIcon-DYsYaYt6.js → PlatformIcon-D4KPXCHL.js} +0 -0
- /package/.output/public/assets/{QrCode-BSNEn_M-.js → QrCode-BFSCkbPj.js} +0 -0
- /package/.output/public/assets/{alert-dialog-Cj7AOTIE.js → alert-dialog-DGPqJBCk.js} +0 -0
- /package/.output/public/assets/{api-tJRzijjy.js → api-eO-sq3Jd.js} +0 -0
- /package/.output/public/assets/{card-pYZSDIxg.js → card-BAs80yql.js} +0 -0
- /package/.output/public/assets/{constants-zSb7FXDh.js → constants-C5gi7fdZ.js} +0 -0
- /package/.output/public/assets/{dialog-DlAv6zou.js → dialog-BvZDZzdQ.js} +0 -0
- /package/.output/public/assets/{empty-Bwao2ztZ.js → empty-C5GqArX9.js} +0 -0
- /package/.output/public/assets/{field-BiSGCVoS.js → field-DInLQ5oV.js} +0 -0
- /package/.output/public/assets/{insights-usage-rpc-DkJgbAYm.js → insights-usage-rpc-Dw5_pmRH.js} +0 -0
- /package/.output/public/assets/{relativeTime-Dbefsycs.js → relativeTime-RUNbaMyO.js} +0 -0
- /package/.output/public/assets/{table-Bo1jU9-v.js → table-DbZPkzdz.js} +0 -0
- /package/.output/public/assets/{tabs-DARDj-XC.js → tabs-BnpNC0zf.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
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-D-DHU4YH.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
4
|
import { i as rowToBundle } from "./databaseRows-BZMFl5QV.mjs";
|
|
5
5
|
import { n as assertCanonicalChannelName } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
|
|
6
6
|
import { t as ReleaseManagementError } from "./releaseManagement-CqIc-SDE.mjs";
|
|
7
|
-
import { N as releaseNativeBuildScope, u as channelIdOf } from "./native-builds-
|
|
8
|
-
import { n as readReleaseFilter, r as readReleaseFold, t as listReleaseFolds } from "./listReleases-
|
|
9
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-
|
|
7
|
+
import { N as releaseNativeBuildScope, u as channelIdOf } from "./native-builds-lEyKQemV.mjs";
|
|
8
|
+
import { n as readReleaseFilter, r as readReleaseFold, t as listReleaseFolds } from "./listReleases-QF91GLE7.mjs";
|
|
9
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-TSnLWB7e.js
|
|
10
10
|
var withPublicBundleMutationErrors = async (action) => {
|
|
11
11
|
try {
|
|
12
12
|
return await action();
|
|
@@ -26,7 +26,7 @@ var readFoldInput = (input) => {
|
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
var prepare = async () => {
|
|
29
|
-
const { prepareConfig } = await import("./config.server-
|
|
29
|
+
const { prepareConfig } = await import("./config.server-K8dd4dRv.mjs");
|
|
30
30
|
return prepareConfig();
|
|
31
31
|
};
|
|
32
32
|
var getReleases_createServerFn_handler = createServerRpc({
|
|
@@ -184,7 +184,7 @@ var getBundleChildren_createServerFn_handler = createServerRpc({
|
|
|
184
184
|
}, (opts) => getBundleChildren.__executeServer(opts));
|
|
185
185
|
var getBundleChildren = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getBundleChildren_createServerFn_handler, async ({ data }) => {
|
|
186
186
|
try {
|
|
187
|
-
const [{ core }, { getBundleChildren: readBundleChildren }] = await Promise.all([prepare(), import("./getBundleChildren-
|
|
187
|
+
const [{ core }, { getBundleChildren: readBundleChildren }] = await Promise.all([prepare(), import("./getBundleChildren-CnOf4Frp.mjs")]);
|
|
188
188
|
return await readBundleChildren(core, data.baseBundleId);
|
|
189
189
|
} catch (error) {
|
|
190
190
|
console.error("Error during bundle children retrieval:", error);
|
|
@@ -201,7 +201,7 @@ var getBundleChildCounts = createServerFn({ method: "GET" }).middleware([console
|
|
|
201
201
|
return input;
|
|
202
202
|
}).handler(getBundleChildCounts_createServerFn_handler, async ({ data }) => {
|
|
203
203
|
try {
|
|
204
|
-
const [{ core }, { getBundleChildCounts: readBundleChildCounts }] = await Promise.all([prepare(), import("./getBundleChildren-
|
|
204
|
+
const [{ core }, { getBundleChildCounts: readBundleChildCounts }] = await Promise.all([prepare(), import("./getBundleChildren-CnOf4Frp.mjs")]);
|
|
205
205
|
return await readBundleChildCounts(core, data.bundleIds);
|
|
206
206
|
} catch (error) {
|
|
207
207
|
console.error("Error during bundle child count retrieval:", error);
|
|
@@ -225,7 +225,7 @@ var getNativeBuilds = createServerFn({ method: "GET" }).middleware([consoleAcces
|
|
|
225
225
|
...input?.after === void 0 ? {} : { after: input.after },
|
|
226
226
|
...channelIdFilter(input?.channel)
|
|
227
227
|
})).handler(getNativeBuilds_createServerFn_handler, async ({ data }) => {
|
|
228
|
-
const [{ core }, { listNativeBuildFolds }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
228
|
+
const [{ core }, { listNativeBuildFolds }] = await Promise.all([prepare(), import("./nativeBuilds-CRa36wNn.mjs")]);
|
|
229
229
|
return listNativeBuildFolds(core, data);
|
|
230
230
|
});
|
|
231
231
|
var getNativeBuildFold_createServerFn_handler = createServerRpc({
|
|
@@ -237,7 +237,7 @@ var getNativeBuildFold = createServerFn({ method: "GET" }).middleware([consoleAc
|
|
|
237
237
|
...channelIdFilter(input.channel),
|
|
238
238
|
...readFoldInput(input)
|
|
239
239
|
})).handler(getNativeBuildFold_createServerFn_handler, async ({ data }) => {
|
|
240
|
-
const [{ core }, { readNativeBuildFold }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
240
|
+
const [{ core }, { readNativeBuildFold }] = await Promise.all([prepare(), import("./nativeBuilds-CRa36wNn.mjs")]);
|
|
241
241
|
return readNativeBuildFold(core, data);
|
|
242
242
|
});
|
|
243
243
|
var getNativeBuildDetail_createServerFn_handler = createServerRpc({
|
|
@@ -246,7 +246,7 @@ var getNativeBuildDetail_createServerFn_handler = createServerRpc({
|
|
|
246
246
|
filename: "src/lib/api-rpc.ts"
|
|
247
247
|
}, (opts) => getNativeBuildDetail.__executeServer(opts));
|
|
248
248
|
var getNativeBuildDetail = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildDetail_createServerFn_handler, async ({ data }) => {
|
|
249
|
-
const [{ core }, { getNativeBuildDetail: readNativeBuildDetail }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
249
|
+
const [{ core }, { getNativeBuildDetail: readNativeBuildDetail }] = await Promise.all([prepare(), import("./nativeBuilds-CRa36wNn.mjs")]);
|
|
250
250
|
return readNativeBuildDetail(core, data.id);
|
|
251
251
|
});
|
|
252
252
|
var getNativeBuildPatches_createServerFn_handler = createServerRpc({
|
|
@@ -259,7 +259,7 @@ var getNativeBuildPatches = createServerFn({ method: "GET" }).middleware([consol
|
|
|
259
259
|
...input.before === void 0 ? {} : { before: input.before },
|
|
260
260
|
...input.after === void 0 ? {} : { after: input.after }
|
|
261
261
|
})).handler(getNativeBuildPatches_createServerFn_handler, async ({ data: { minBundleId, ...page } }) => {
|
|
262
|
-
const [{ core }, { listNativeBuildPatches, NATIVE_BUILD_PATCH_PAGE_SIZE }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
262
|
+
const [{ core }, { listNativeBuildPatches, NATIVE_BUILD_PATCH_PAGE_SIZE }] = await Promise.all([prepare(), import("./nativeBuilds-CRa36wNn.mjs")]);
|
|
263
263
|
return listNativeBuildPatches(core, minBundleId, {
|
|
264
264
|
...page,
|
|
265
265
|
limit: NATIVE_BUILD_PATCH_PAGE_SIZE
|
|
@@ -288,7 +288,7 @@ var getNativeBuildDownloadUrl_createServerFn_handler = createServerRpc({
|
|
|
288
288
|
filename: "src/lib/api-rpc.ts"
|
|
289
289
|
}, (opts) => getNativeBuildDownloadUrl.__executeServer(opts));
|
|
290
290
|
var getNativeBuildDownloadUrl = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildDownloadUrl_createServerFn_handler, async ({ data }) => {
|
|
291
|
-
const [deps, { resolveNativeBuildDownloadUrl }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
291
|
+
const [deps, { resolveNativeBuildDownloadUrl }] = await Promise.all([prepare(), import("./nativeBuilds-CRa36wNn.mjs")]);
|
|
292
292
|
return { url: await resolveNativeBuildDownloadUrl(data.id, deps) };
|
|
293
293
|
});
|
|
294
294
|
var createNativeBuildDownloadLink_createServerFn_handler = createServerRpc({
|
|
@@ -297,7 +297,7 @@ var createNativeBuildDownloadLink_createServerFn_handler = createServerRpc({
|
|
|
297
297
|
filename: "src/lib/api-rpc.ts"
|
|
298
298
|
}, (opts) => createNativeBuildDownloadLink.__executeServer(opts));
|
|
299
299
|
var createNativeBuildDownloadLink = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createNativeBuildDownloadLink_createServerFn_handler, async ({ data }) => {
|
|
300
|
-
const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-
|
|
300
|
+
const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-MCd5xUqP.mjs");
|
|
301
301
|
return issueNativeBuildDownloadLink(data.id);
|
|
302
302
|
});
|
|
303
303
|
var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
|
|
@@ -306,12 +306,12 @@ var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
|
|
|
306
306
|
filename: "src/lib/api-rpc.ts"
|
|
307
307
|
}, (opts) => getNativeBuildInstallEligibility.__executeServer(opts));
|
|
308
308
|
var getNativeBuildInstallEligibility = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildInstallEligibility_createServerFn_handler, async ({ data }) => {
|
|
309
|
-
const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-
|
|
309
|
+
const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-DcsqDS-O.mjs")]);
|
|
310
310
|
return checkNativeBuildInstall(data.id, data.udid, deps, { canApprove: async () => {
|
|
311
311
|
const [{ getRequest }, { requireConsoleAccess }, { iosDeviceViewer }] = await Promise.all([
|
|
312
312
|
import("../_libs/_.mjs").then((n) => n.t),
|
|
313
|
-
import("./auth.server-
|
|
314
|
-
import("./iosDevices-
|
|
313
|
+
import("./auth.server-a2eP6q5P.mjs"),
|
|
314
|
+
import("./iosDevices-B4kQLURA.mjs")
|
|
315
315
|
]);
|
|
316
316
|
return (await iosDeviceViewer(await requireConsoleAccess(getRequest()), deps.config.deviceApprovers)).canApprove;
|
|
317
317
|
} });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { t as consoleAccess } from "./console-access-D-DHU4YH.mjs";
|
|
3
|
+
import { A as createSsrRpc } from "./sidebar-B46houn0.mjs";
|
|
4
4
|
import { i as useQuery, n as useMutation, s as useQueryClient, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
|
|
5
5
|
import { n as assertCanonicalChannelName } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
|
|
6
|
-
import { u as channelIdOf } from "./native-builds-
|
|
7
|
-
import { n as readReleaseFilter } from "./listReleases-
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-
|
|
6
|
+
import { u as channelIdOf } from "./native-builds-lEyKQemV.mjs";
|
|
7
|
+
import { n as readReleaseFilter } from "./listReleases-QF91GLE7.mjs";
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-xOHZxbzu.js
|
|
9
9
|
/** The bounds of a fold, checked: IDs as text. */
|
|
10
10
|
var readFoldInput = (input) => {
|
|
11
11
|
const text = (value) => typeof value === "string" && value !== "";
|
|
@@ -75,8 +75,8 @@ var getNativeBuildPatches = createServerFn({ method: "GET" }).middleware([consol
|
|
|
75
75
|
/**
|
|
76
76
|
* The native build new deploys to a release's scope patch from: the scope's
|
|
77
77
|
* store build in one read, or with no mark its newest build in one more. A
|
|
78
|
-
* release of an app version range has no one build
|
|
79
|
-
*
|
|
78
|
+
* release of an app version range has no one build: it reads nothing. A
|
|
79
|
+
* sandbox build is never in the scope, so it is never the one.
|
|
80
80
|
*/
|
|
81
81
|
var getReleaseNativeBuild = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(createSsrRpc("868ce85f0b63ad138a1f82a573d1d6b12f80c7ca44aefec3dadf01b5fa7db86c"));
|
|
82
82
|
/**
|
|
@@ -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-DetMvRBJ.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-D3w54vsW.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-a2eP6q5P.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-a2eP6q5P.mjs");
|
|
21
21
|
return getConsoleAuthProviders(getRequest());
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
@@ -9,7 +9,7 @@ import { n as projectCompiledCatalog, r as projectCompiledRollbackCatalog, t as
|
|
|
9
9
|
import { t as isRemoteDatabase } from "./databaseConfig-B56IJxlu.mjs";
|
|
10
10
|
import { n as defineTable, t as defineAggregate } from "./schema-CaIuQCXb.mjs";
|
|
11
11
|
import { r as rangesIntersect } from "../_libs/verkit.mjs";
|
|
12
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/auth.server-
|
|
12
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/auth.server-a2eP6q5P.js
|
|
13
13
|
var SHA256_FILE_HASH_RE = /^[0-9a-f]{64}$/;
|
|
14
14
|
var isContentAddressedAssetFileHash = (value) => {
|
|
15
15
|
return typeof value === "string" && SHA256_FILE_HASH_RE.test(value);
|
|
@@ -998,7 +998,10 @@ var channels = defineTable({
|
|
|
998
998
|
/**
|
|
999
999
|
* The native builds `native-build android` and `native-build ios` track, newest first
|
|
1000
1000
|
* in each scope: a platform, a channel, and the fingerprint or app version
|
|
1001
|
-
* the build compiled in.
|
|
1001
|
+
* the build compiled in. A sandbox build's scope has no channel: its app ID,
|
|
1002
|
+
* URL scheme, artifact kind and distribution in its place, so pull requests
|
|
1003
|
+
* reuse it across channels, while `channel_id` still names the channel it
|
|
1004
|
+
* embeds. `min_bundle_id` names the build's built-in bundle,
|
|
1002
1005
|
* a `bundles` row no release publishes. Its references keep no counters, so
|
|
1003
1006
|
* adding this table changes no existing one; a channel with builds is
|
|
1004
1007
|
* refused deletion through `byChannel`. `build_key` is the native build key
|
|
@@ -1013,8 +1016,8 @@ var channels = defineTable({
|
|
|
1013
1016
|
* newest build. The engine copies the scope key into `store_build_scope_key`
|
|
1014
1017
|
* for that build alone, so `byStoreBuild` holds one entry per scope at most,
|
|
1015
1018
|
* on every store, while any number of a scope's builds hold none.
|
|
1016
|
-
* `is_sandbox` is true on a sandbox build, set
|
|
1017
|
-
* changed, and `sandbox_url_scheme` is the URL scheme its artifact registers,
|
|
1019
|
+
* `is_sandbox` is true on a sandbox build, set from its artifact when it
|
|
1020
|
+
* registers and never changed, and `sandbox_url_scheme` is the URL scheme its artifact registers,
|
|
1018
1021
|
* which its preview links open; null on any other build, and on a sandbox
|
|
1019
1022
|
* build registered before the column, which registered the derived one.
|
|
1020
1023
|
* `export_method` is how an `.ipa` was exported, read from its profile when
|
|
@@ -2954,7 +2957,7 @@ var createEngine = (database, { plugins = [], now = Date.now } = {}) => {
|
|
|
2954
2957
|
flush: () => engine.flush()
|
|
2955
2958
|
};
|
|
2956
2959
|
};
|
|
2957
|
-
var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.
|
|
2960
|
+
var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.41";
|
|
2958
2961
|
/**
|
|
2959
2962
|
* `/version` on both mounts. The admin mount also lists the ids of the
|
|
2960
2963
|
* plugins the server runs, sorted; apps never learn which plugins a server
|
|
@@ -3920,6 +3923,11 @@ var createIosDeviceApi = (db, { now = Date.now } = {}) => {
|
|
|
3920
3923
|
tx.update("ios_devices", row, { build_id: buildId });
|
|
3921
3924
|
});
|
|
3922
3925
|
},
|
|
3926
|
+
async findIosDeviceAccount() {
|
|
3927
|
+
const existing = await db.findOne("ios_device_account", { id: ACCOUNT_ROW });
|
|
3928
|
+
const issuerId = existing === null ? await accountOfRows() : existing.apple_issuer_id;
|
|
3929
|
+
return issuerId === null ? null : { issuerId };
|
|
3930
|
+
},
|
|
3923
3931
|
async claimIosDeviceAccount(issuerId) {
|
|
3924
3932
|
if (typeof issuerId !== "string" || issuerId.trim().length === 0 || issuerId.length > ISSUER_MAX_LENGTH) throw new IosDeviceInputError(`Invalid iOS device account: issuerId must be an App Store Connect issuer of at most ${ISSUER_MAX_LENGTH} characters.`);
|
|
3925
3933
|
const answer = (held) => ({
|
|
@@ -4093,6 +4101,20 @@ var SANDBOX_URL_SCHEME_MAX_LENGTH = 255;
|
|
|
4093
4101
|
* artifact registers, as `@hot-updater/protocol/native-artifact` reads it.
|
|
4094
4102
|
*/
|
|
4095
4103
|
var URL_SCHEME = new RegExp(`^[a-z][a-z0-9+.-]{0,254}$`);
|
|
4104
|
+
/**
|
|
4105
|
+
* A bundle identifier or application ID, as an artifact reports it: letters,
|
|
4106
|
+
* digits, dots, dashes and underscores, which a scope key holds as they are.
|
|
4107
|
+
*/
|
|
4108
|
+
var APP_ID = /^[A-Za-z0-9][A-Za-z0-9._-]{0,254}$/;
|
|
4109
|
+
/** A fingerprint hash as a Release Catalog scope key holds it. */
|
|
4110
|
+
var FINGERPRINT_HASH = /^[A-Za-z0-9._~-]{1,255}$/;
|
|
4111
|
+
/** How each kind of artifact can install. */
|
|
4112
|
+
var DISTRIBUTIONS = {
|
|
4113
|
+
apk: ["direct"],
|
|
4114
|
+
app: ["direct"],
|
|
4115
|
+
aab: ["store"],
|
|
4116
|
+
ipa: ["direct", "store"]
|
|
4117
|
+
};
|
|
4096
4118
|
/** A native build or scope core cannot store or look up: the caller's input. */
|
|
4097
4119
|
var NativeBuildInputError = class extends TypeError {
|
|
4098
4120
|
name = "NativeBuildInputError";
|
|
@@ -4129,12 +4151,6 @@ var EXPORT_METHODS = /* @__PURE__ */ new Set([
|
|
|
4129
4151
|
"enterprise"
|
|
4130
4152
|
]);
|
|
4131
4153
|
/**
|
|
4132
|
-
* The channels only sandbox builds register on: a registration's `sandbox`
|
|
4133
|
-
* must agree with it. The registry's convention, as
|
|
4134
|
-
* `@hot-updater/protocol/native-artifact` checks it for a build's artifact.
|
|
4135
|
-
*/
|
|
4136
|
-
var SANDBOX_CHANNEL_PREFIX = "sandbox-";
|
|
4137
|
-
/**
|
|
4138
4154
|
* How many older builds of a scope one read takes, looking for one older than
|
|
4139
4155
|
* a bundle when a build made after the bundle is the newest.
|
|
4140
4156
|
*/
|
|
@@ -4145,13 +4161,42 @@ var MARK_ATTEMPTS = 8;
|
|
|
4145
4161
|
var BUILD_NUMBER_MAX_LENGTH = 64;
|
|
4146
4162
|
/** `native_builds.submitted_version`'s bound in core's schema. */
|
|
4147
4163
|
var SUBMITTED_VERSION_MAX_LENGTH = 255;
|
|
4164
|
+
var checkedScopeKey = (scopeKey) => {
|
|
4165
|
+
if (scopeKey.length > SCOPE_KEY_MAX_LENGTH) throw new NativeBuildInputError(`Invalid native build scope: its key is longer than ${SCOPE_KEY_MAX_LENGTH} characters; shorten the channel or app version.`);
|
|
4166
|
+
return scopeKey;
|
|
4167
|
+
};
|
|
4168
|
+
/**
|
|
4169
|
+
* How a registered artifact installs: an `.ipa` by its export method, and
|
|
4170
|
+
* `unknown` for one whose export no profile confirmed, which no lookup asks
|
|
4171
|
+
* for, so it is never reused as either.
|
|
4172
|
+
*/
|
|
4173
|
+
var registeredDistribution = (kind, exportMethod) => kind !== "ipa" ? DISTRIBUTIONS[kind][0] : exportMethod === void 0 || exportMethod === null ? "unknown" : exportMethod === "app-store" ? "store" : "direct";
|
|
4174
|
+
/**
|
|
4175
|
+
* A sandbox build scope's key, which names no channel: the app ID, URL
|
|
4176
|
+
* scheme, artifact kind and distribution in its place, then the fingerprint,
|
|
4177
|
+
* or the app-version strategy and the exact app version. `v1:sandbox:` is no
|
|
4178
|
+
* Release Catalog strategy, so it never meets a normal build's key.
|
|
4179
|
+
*/
|
|
4180
|
+
var sandboxScopeKey = (scope, sandbox) => {
|
|
4181
|
+
const { appId, urlScheme, artifactKind, distribution } = sandbox;
|
|
4182
|
+
const problem = typeof appId !== "string" || !APP_ID.test(appId) ? "its app ID must be a bundle identifier or application ID, up to 255 characters" : typeof urlScheme !== "string" || !URL_SCHEME.test(urlScheme) ? `its URL scheme must be a URL scheme in lower case, up to ${SANDBOX_URL_SCHEME_MAX_LENGTH} characters` : !ARTIFACT_KINDS[scope.platform]?.includes(artifactKind) ? `its artifact kind must be one an ${scope.platform} build makes` : distribution !== "unknown" && !DISTRIBUTIONS[artifactKind].includes(distribution) ? `an .${artifactKind} doesn't install as ${String(distribution)}` : scope.fingerprintHash !== null && !FINGERPRINT_HASH.test(scope.fingerprintHash) ? "its fingerprint hash must be 1-255 URL-safe ASCII characters" : null;
|
|
4183
|
+
if (problem !== null) throw new NativeBuildInputError(`Invalid sandbox build scope: ${problem}.`);
|
|
4184
|
+
const target = scope.fingerprintHash === null ? `app-version:${encodeURIComponent(scope.appVersion)}` : `fingerprint:${scope.fingerprintHash}`;
|
|
4185
|
+
return checkedScopeKey(`v1:sandbox:${scope.platform}:${appId}:${urlScheme}:${artifactKind}:${distribution}:${target}`);
|
|
4186
|
+
};
|
|
4148
4187
|
/**
|
|
4149
4188
|
* A native build scope's key: the Release Catalog scope key of a
|
|
4150
4189
|
* fingerprint, or of the app-version strategy followed by the exact app
|
|
4151
4190
|
* version the build compiled in. One key serves both strategies, so one
|
|
4152
|
-
* index finds the newest build of either.
|
|
4191
|
+
* index finds the newest build of either. A sandbox scope's key names no
|
|
4192
|
+
* channel, so pull requests find a sandbox build on any.
|
|
4153
4193
|
*/
|
|
4154
4194
|
var nativeBuildScopeKey = (scope) => {
|
|
4195
|
+
const { sandbox } = scope;
|
|
4196
|
+
if (sandbox !== void 0 && sandbox !== null) {
|
|
4197
|
+
if (sandbox.distribution !== "direct" && sandbox.distribution !== "store") throw new NativeBuildInputError("Invalid sandbox build scope: its distribution must be direct or store.");
|
|
4198
|
+
return sandboxScopeKey(scope, sandbox);
|
|
4199
|
+
}
|
|
4155
4200
|
let scopeKey;
|
|
4156
4201
|
try {
|
|
4157
4202
|
const channelKey = encodeChannelKey(scope.channel);
|
|
@@ -4168,8 +4213,31 @@ var nativeBuildScopeKey = (scope) => {
|
|
|
4168
4213
|
} catch (error) {
|
|
4169
4214
|
throw new NativeBuildInputError(`Invalid native build scope: ${error instanceof Error ? error.message : String(error)}.`);
|
|
4170
4215
|
}
|
|
4171
|
-
|
|
4172
|
-
|
|
4216
|
+
return checkedScopeKey(scopeKey);
|
|
4217
|
+
};
|
|
4218
|
+
/** The channel row a registration names, or the refusal of its channel. */
|
|
4219
|
+
var channelIdOf = (channel) => {
|
|
4220
|
+
try {
|
|
4221
|
+
return `channel:${encodeChannelKey(channel)}`;
|
|
4222
|
+
} catch (error) {
|
|
4223
|
+
throw new NativeBuildInputError(`Invalid native build scope: ${error instanceof Error ? error.message : String(error)}.`);
|
|
4224
|
+
}
|
|
4225
|
+
};
|
|
4226
|
+
/**
|
|
4227
|
+
* A registration's scope key, from the registration's own facts: a sandbox
|
|
4228
|
+
* build's from what its artifact says, whatever `sandbox` it names.
|
|
4229
|
+
*/
|
|
4230
|
+
var registrationScopeKey = (registration) => {
|
|
4231
|
+
channelIdOf(registration.channel);
|
|
4232
|
+
return registration.isSandbox === true ? sandboxScopeKey(registration, {
|
|
4233
|
+
appId: registration.sandboxAppId,
|
|
4234
|
+
urlScheme: registration.sandboxUrlScheme,
|
|
4235
|
+
artifactKind: registration.artifact.kind,
|
|
4236
|
+
distribution: registeredDistribution(registration.artifact.kind, registration.exportMethod)
|
|
4237
|
+
}) : nativeBuildScopeKey({
|
|
4238
|
+
...registration,
|
|
4239
|
+
sandbox: null
|
|
4240
|
+
});
|
|
4173
4241
|
};
|
|
4174
4242
|
/**
|
|
4175
4243
|
* Refuses a patch from a sandbox build's built-in bundle: no deploy patches
|
|
@@ -4181,19 +4249,24 @@ var refuseSandboxPatchBase = async (db, baseBundleId) => {
|
|
|
4181
4249
|
};
|
|
4182
4250
|
/** Whether `bundleId` is a native build's built-in bundle: one unique read. */
|
|
4183
4251
|
var isBuiltInBundle = async (db, bundleId) => await db.findOne("native_builds", { min_bundle_id: bundleId }) !== null;
|
|
4184
|
-
var problemOf = ({ id, minBundleId, platform, channel, fingerprintHash, appVersion, gitCommitHash, buildKey, buildNumber, isSandbox, sandboxUrlScheme, exportMethod, nativeAppVersion, artifact }) => {
|
|
4252
|
+
var problemOf = ({ id, minBundleId, platform, channel, fingerprintHash, appVersion, gitCommitHash, buildKey, buildNumber, isSandbox, sandboxUrlScheme, sandboxAppId, exportMethod, nativeAppVersion, artifact }) => {
|
|
4185
4253
|
if (!isUUIDv7(id)) return "id must be a UUIDv7";
|
|
4186
4254
|
if (!isUUIDv7(minBundleId)) return "minBundleId must be the UUIDv7 a release build compiles in";
|
|
4187
4255
|
if (platform !== "ios" && platform !== "android") return "platform must be ios or android";
|
|
4188
4256
|
if (channel.trim().length === 0) return "channel is required";
|
|
4189
4257
|
if (isSandbox !== void 0 && typeof isSandbox !== "boolean") return "isSandbox must be true or false";
|
|
4190
|
-
const reserved = channel.startsWith(SANDBOX_CHANNEL_PREFIX);
|
|
4191
|
-
if (isSandbox === true && !reserved) return `a sandbox build registers on a ${SANDBOX_CHANNEL_PREFIX}* channel, not ${channel}`;
|
|
4192
|
-
if (isSandbox !== true && reserved) return `channel ${channel} is reserved for sandbox builds`;
|
|
4193
4258
|
if (sandboxUrlScheme !== void 0 && sandboxUrlScheme !== null) {
|
|
4194
4259
|
if (isSandbox !== true) return "sandboxUrlScheme is a sandbox build's, and this isn't one";
|
|
4195
4260
|
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`;
|
|
4196
4261
|
}
|
|
4262
|
+
if (sandboxAppId !== void 0 && sandboxAppId !== null) {
|
|
4263
|
+
if (isSandbox !== true) return "sandboxAppId is a sandbox build's, and this isn't one";
|
|
4264
|
+
if (typeof sandboxAppId !== "string" || !APP_ID.test(sandboxAppId)) return "sandboxAppId must be the artifact's bundle identifier or application ID, up to 255 characters";
|
|
4265
|
+
}
|
|
4266
|
+
if (isSandbox === true) {
|
|
4267
|
+
if (sandboxUrlScheme === void 0 || sandboxUrlScheme === null) return "a sandbox build needs the sandboxUrlScheme its artifact registers";
|
|
4268
|
+
if (sandboxAppId === void 0 || sandboxAppId === null) return "a sandbox build needs the sandboxAppId its artifact reports, which an older hot-updater CLI doesn't send. Upgrade the hot-updater CLI to the version that matches this server, and build again";
|
|
4269
|
+
}
|
|
4197
4270
|
if (gitCommitHash !== null && gitCommitHash.length > GIT_COMMIT_HASH_MAX_LENGTH) return `gitCommitHash must be at most ${GIT_COMMIT_HASH_MAX_LENGTH} characters`;
|
|
4198
4271
|
if (fingerprintHash === null === (appVersion === null)) return "exactly one of fingerprintHash and appVersion is required";
|
|
4199
4272
|
if (buildKey !== null && !BUILD_KEY.test(buildKey)) return "buildKey must be nbk1: and a SHA-256, or null";
|
|
@@ -4213,8 +4286,8 @@ var createNativeBuildApi = (db, { now = Date.now } = {}) => ({
|
|
|
4213
4286
|
async registerNativeBuild(registration) {
|
|
4214
4287
|
const problem = problemOf(registration);
|
|
4215
4288
|
if (problem !== null) throw new NativeBuildInputError(`Invalid native build: ${problem}.`);
|
|
4216
|
-
const scopeKey =
|
|
4217
|
-
const channelId =
|
|
4289
|
+
const scopeKey = registrationScopeKey(registration);
|
|
4290
|
+
const channelId = channelIdOf(registration.channel);
|
|
4218
4291
|
const { embeddedBundle } = registration;
|
|
4219
4292
|
const row = {
|
|
4220
4293
|
id: registration.id,
|
|
@@ -4300,7 +4373,7 @@ var createNativeBuildApi = (db, { now = Date.now } = {}) => ({
|
|
|
4300
4373
|
});
|
|
4301
4374
|
};
|
|
4302
4375
|
const bundleId = options?.builtInOlderThan;
|
|
4303
|
-
if (bundleId !== void 0 && scope.
|
|
4376
|
+
if (bundleId !== void 0 && scope.sandbox !== void 0 && scope.sandbox !== null) return null;
|
|
4304
4377
|
const { rows } = await read(1);
|
|
4305
4378
|
const newest = rows[0];
|
|
4306
4379
|
if (newest === void 0) return null;
|
|
@@ -5296,7 +5369,8 @@ var nativeBuildScopeOf = (url) => {
|
|
|
5296
5369
|
const fingerprintHash = params.get("fingerprintHash");
|
|
5297
5370
|
const appVersion = params.get("appVersion");
|
|
5298
5371
|
if (platform === void 0 || !isText(channel) || fingerprintHash === null === (appVersion === null) || fingerprintHash === "" || appVersion === "") throw new HandlerBadRequestError("A native build lookup needs platform, channel, and fingerprintHash or appVersion.");
|
|
5299
|
-
|
|
5372
|
+
const sandbox = sandboxScopeOf(params);
|
|
5373
|
+
const scope = fingerprintHash !== null ? {
|
|
5300
5374
|
platform,
|
|
5301
5375
|
channel,
|
|
5302
5376
|
fingerprintHash,
|
|
@@ -5307,6 +5381,38 @@ var nativeBuildScopeOf = (url) => {
|
|
|
5307
5381
|
fingerprintHash: null,
|
|
5308
5382
|
appVersion
|
|
5309
5383
|
};
|
|
5384
|
+
return sandbox === null ? scope : {
|
|
5385
|
+
...scope,
|
|
5386
|
+
sandbox
|
|
5387
|
+
};
|
|
5388
|
+
};
|
|
5389
|
+
/** The query parameters a sandbox lookup names, all four or none. */
|
|
5390
|
+
var SANDBOX_SCOPE_PARAMS = [
|
|
5391
|
+
"sandboxAppId",
|
|
5392
|
+
"sandboxUrlScheme",
|
|
5393
|
+
"artifactKind",
|
|
5394
|
+
"distribution"
|
|
5395
|
+
];
|
|
5396
|
+
/**
|
|
5397
|
+
* A lookup's sandbox scope: null without one, and a bad request for one
|
|
5398
|
+
* named in part. Core checks each value.
|
|
5399
|
+
*/
|
|
5400
|
+
var sandboxScopeOf = (params) => {
|
|
5401
|
+
const [appId, urlScheme, artifactKind, distribution] = SANDBOX_SCOPE_PARAMS.map((name) => params.get(name));
|
|
5402
|
+
const named = [
|
|
5403
|
+
appId,
|
|
5404
|
+
urlScheme,
|
|
5405
|
+
artifactKind,
|
|
5406
|
+
distribution
|
|
5407
|
+
].filter((value) => value !== null).length;
|
|
5408
|
+
if (named === 0) return null;
|
|
5409
|
+
if (named !== SANDBOX_SCOPE_PARAMS.length) throw new HandlerBadRequestError(`A sandbox build lookup needs ${SANDBOX_SCOPE_PARAMS.join(", ")}.`);
|
|
5410
|
+
return {
|
|
5411
|
+
appId,
|
|
5412
|
+
urlScheme,
|
|
5413
|
+
artifactKind,
|
|
5414
|
+
distribution
|
|
5415
|
+
};
|
|
5310
5416
|
};
|
|
5311
5417
|
/** A native build or scope core refuses: a bad request. */
|
|
5312
5418
|
var refusingInvalid = async (operation) => {
|
|
@@ -5317,7 +5423,7 @@ var refusingInvalid = async (operation) => {
|
|
|
5317
5423
|
throw error;
|
|
5318
5424
|
}
|
|
5319
5425
|
};
|
|
5320
|
-
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)) && (value.exportMethod === void 0 || isTextOrNull(value.exportMethod)) && (value.nativeAppVersion === void 0 || isTextOrNull(value.nativeAppVersion)) && 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));
|
|
5426
|
+
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)) && (value.sandboxAppId === void 0 || isTextOrNull(value.sandboxAppId)) && (value.exportMethod === void 0 || isTextOrNull(value.exportMethod)) && (value.nativeAppVersion === void 0 || isTextOrNull(value.nativeAppVersion)) && 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));
|
|
5321
5427
|
var scopeKeyOf = (params) => decodeMaybe(requireRouteParam(params, "scopeKey")) ?? "";
|
|
5322
5428
|
/** Every admin route's handler, by the name `ADMIN_ROUTES` mounts it under. */
|
|
5323
5429
|
var createAdminRouteHandlers = () => ({
|
|
@@ -5530,6 +5636,7 @@ var createAdminRouteHandlers = () => ({
|
|
|
5530
5636
|
if (!isText(issuerId)) throw new HandlerBadRequestError("Claiming the iOS device account needs issuerId.");
|
|
5531
5637
|
return json({ data: await refusingInvalid(() => core.claimIosDeviceAccount(issuerId)) });
|
|
5532
5638
|
}),
|
|
5639
|
+
findIosDeviceAccount: onCore(async (core) => json({ data: await core.findIosDeviceAccount() })),
|
|
5533
5640
|
markIosDevicesInBuild: onCore(async (core, request) => {
|
|
5534
5641
|
const { buildId, ids } = await body(request);
|
|
5535
5642
|
if (!isText(buildId) || !Array.isArray(ids) || !ids.every((id) => isText(id))) throw new HandlerBadRequestError("Marking iOS devices in a build needs buildId and ids.");
|
|
@@ -5723,6 +5830,11 @@ var ADMIN_ROUTES = [
|
|
|
5723
5830
|
path: "/ios-devices/in-build",
|
|
5724
5831
|
handler: "markIosDevicesInBuild"
|
|
5725
5832
|
},
|
|
5833
|
+
{
|
|
5834
|
+
method: "GET",
|
|
5835
|
+
path: "/ios-devices/account",
|
|
5836
|
+
handler: "findIosDeviceAccount"
|
|
5837
|
+
},
|
|
5726
5838
|
{
|
|
5727
5839
|
method: "POST",
|
|
5728
5840
|
path: "/ios-devices/account",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime, ft as useRender, wt as mergeProps } 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-B46houn0.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", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/bundleActivity-
|
|
1
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/bundleActivity-a-pEDiqu.js
|
|
2
2
|
async function getBundleActivity(model, inputs) {
|
|
3
3
|
if (inputs.length === 0) return {};
|
|
4
4
|
const releases = inputs.map((input) => ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
-
import { k as cn } from "./sidebar-
|
|
3
|
+
import { k as cn } from "./sidebar-B46houn0.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-DetMvRBJ.mjs";
|
|
2
|
+
import { requireConsoleAccess, t as resolveConsoleConfig } from "./auth.server-a2eP6q5P.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/config.server-K8dd4dRv.js
|
|
4
4
|
var configPromise = null;
|
|
5
5
|
var core = null;
|
|
6
6
|
var runtime = null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as createMiddleware } from "./createMiddleware-C3ACsfuG.mjs";
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/console-access-
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/console-access-D-DHU4YH.js
|
|
3
3
|
/**
|
|
4
4
|
* Refuses a caller the console does not authorize before a server function
|
|
5
5
|
* reads its input. TanStack Start runs a function's middleware before the
|
|
@@ -9,7 +9,7 @@ import { t as createMiddleware } from "./createMiddleware-C3ACsfuG.mjs";
|
|
|
9
9
|
* `console-access.spec.ts` checks that.
|
|
10
10
|
*/
|
|
11
11
|
var consoleAccess = createMiddleware({ type: "function" }).server(async ({ next }) => {
|
|
12
|
-
const [{ getRequest }, { requireConsoleAccess }] = await Promise.all([import("../_libs/_.mjs").then((n) => n.t), import("./auth.server-
|
|
12
|
+
const [{ getRequest }, { requireConsoleAccess }] = await Promise.all([import("../_libs/_.mjs").then((n) => n.t), import("./auth.server-a2eP6q5P.mjs")]);
|
|
13
13
|
await requireConsoleAccess(getRequest());
|
|
14
14
|
return next();
|
|
15
15
|
});
|
package/.output/server/_ssr/{console-features-api-DwbIx8oM.mjs → console-features-api-Chy2PrzZ.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as consoleFeatures } from "./console-features-DTYyXrWO.mjs";
|
|
2
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { v as notFound } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
|
+
import { t as consoleAccess } from "./console-access-D-DHU4YH.mjs";
|
|
3
|
+
import { A as createSsrRpc } from "./sidebar-B46houn0.mjs";
|
|
6
4
|
import { i as useQuery, r as queryOptions } from "../_libs/tanstack__react-query.mjs";
|
|
7
|
-
|
|
5
|
+
import { n as consoleFeatures } from "./console-features-DTYyXrWO.mjs";
|
|
6
|
+
import { v as notFound } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/console-features-api-Chy2PrzZ.js
|
|
8
8
|
/** The features this console serves, for navigation and route guards. */
|
|
9
9
|
var getConsoleFeaturesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).handler(createSsrRpc("82ec3500e57f9e81dac6d3f3a7bd9e34915da3121429beec87b7ad153dc6eafe"));
|
|
10
10
|
var consoleFeaturesQueryKey = ["console", "features"];
|
package/.output/server/_ssr/{console-features-rpc-erZu7BIN.mjs → console-features-rpc-_31L0k1i.mjs}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-D-DHU4YH.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/console-features-rpc-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/console-features-rpc-_31L0k1i.js
|
|
5
5
|
var getConsoleFeaturesRpc_createServerFn_handler = createServerRpc({
|
|
6
6
|
id: "82ec3500e57f9e81dac6d3f3a7bd9e34915da3121429beec87b7ad153dc6eafe",
|
|
7
7
|
name: "getConsoleFeaturesRpc",
|
|
8
8
|
filename: "src/lib/console-features-rpc.ts"
|
|
9
9
|
}, (opts) => getConsoleFeaturesRpc.__executeServer(opts));
|
|
10
10
|
var getConsoleFeaturesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).handler(getConsoleFeaturesRpc_createServerFn_handler, async () => {
|
|
11
|
-
const { prepareConfig } = await import("./config.server-
|
|
11
|
+
const { prepareConfig } = await import("./config.server-K8dd4dRv.mjs");
|
|
12
12
|
const { runtime } = await prepareConfig();
|
|
13
13
|
return {
|
|
14
14
|
features: await runtime.features(),
|
package/.output/server/_ssr/{deviceProfileToken-Eeltr-o0.mjs → deviceProfileToken-xzDLfE0T.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as sameSecret } from "./local-console-Dtxlsav0.mjs";
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/deviceProfileToken-
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/deviceProfileToken-xzDLfE0T.js
|
|
3
3
|
/**
|
|
4
4
|
* Signed, short-lived tokens for an iPhone's profile flow, which runs where
|
|
5
5
|
* the Console's session isn't: Safari's profile download and the Settings app's
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime, at as DialogTitle$1, ct as DialogPopup, dt as DialogBackdrop, it as DialogTrigger$1, lt as DialogDescription$1, ot as DialogRoot, st as DialogPortal$1, ut as DialogClose } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { t as X } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { k as cn, t as Button$1 } from "./sidebar-
|
|
4
|
+
import { k as cn, t as Button$1 } from "./sidebar-B46houn0.mjs";
|
|
5
5
|
require_react();
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
7
|
function Dialog$1({ ...props }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/downloadBundle-
|
|
1
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/downloadBundle-C1KOnpiF.js
|
|
2
2
|
var downloadBundle = async (bundleId, { core, storage }) => {
|
|
3
3
|
const detail = await core.getBundle(bundleId);
|
|
4
4
|
if (!detail) return new Response("Bundle not found", { status: 404 });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
2
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
3
|
-
import { k as cn } from "./sidebar-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/empty-
|
|
3
|
+
import { k as cn } from "./sidebar-B46houn0.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/empty-opJc9Fjw.js
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
function Empty({ className, ...props }) {
|
|
7
7
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as recoveryWindows } from "./insights-recovery-
|
|
2
|
-
import { n as readFailureReportsInput } from "./insights-errors-
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/failureReports-
|
|
1
|
+
import { r as recoveryWindows } from "./insights-recovery-Cdg3Msrj.mjs";
|
|
2
|
+
import { n as readFailureReportsInput } from "./insights-errors-DwUaDs0Z.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/failureReports-BVufgM3l.js
|
|
4
4
|
/** Bounded raw-event reads, with continuation even when a batch finds no failures. */
|
|
5
5
|
async function listFailureReports(reads, input) {
|
|
6
6
|
readFailureReportsInput(input);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
4
|
-
import { k as cn } from "./sidebar-
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/field-
|
|
4
|
+
import { k as cn } from "./sidebar-B46houn0.mjs";
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/field-D6Y7zDZd.js
|
|
6
6
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
7
7
|
var import_jsx_runtime = require_jsx_runtime();
|
|
8
8
|
function Label({ className, htmlFor, ...props }) {
|