@hot-updater/console 1.2.0-rc.3 → 1.2.0-rc.30
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-C-TGpFAm.js → -native-builds-search-DdHwfe4q.js} +1 -1
- package/.output/public/assets/BundleIdDisplay-CTBdtFQ8.js +1 -0
- package/.output/public/assets/ChannelBadge-CEabmopB.js +1 -0
- package/.output/public/assets/CompositeItem-KUM5yQVr.js +1 -0
- package/.output/public/assets/{ConsoleFeatureUnavailable-CUtcXuY2.js → ConsoleFeatureUnavailable-Be-0iTww.js} +1 -1
- package/.output/public/assets/{EventDetails-Dl2RvPAk.js → EventDetails-bDOYte1z.js} +1 -1
- package/.output/public/assets/HashValueDisplay-D2f0HmyU.js +1 -0
- package/.output/public/assets/{InsightsPageHeader-DHhqY3DT.js → InsightsPageHeader-Cj2ROSQO.js} +1 -1
- package/.output/public/assets/IosInstall-CHI2C4Yd.js +1 -0
- package/.output/public/assets/NativeBuildsNav-DaqxQPnG.js +1 -0
- package/.output/public/assets/{NotFoundPage-DZ3DxyRA.js → NotFoundPage-CVBtl68B.js} +1 -1
- package/.output/public/assets/{PlatformIcon-BBWQlWm9.js → PlatformIcon-DVnzzGqM.js} +1 -1
- package/.output/public/assets/RelativeTime-B4PK8qDw.js +1 -0
- package/.output/public/assets/RolloutPercentageBadge-D_I0Raj2.js +1 -0
- package/.output/public/assets/RowReason-B7VM1ztc.js +1 -0
- package/.output/public/assets/SandboxBadge-BVxHg_HF.js +1 -0
- package/.output/public/assets/TargetDisplay-KU7JhIWG.js +1 -0
- package/.output/public/assets/{alert-dialog-BqYScr9y.js → alert-dialog-Ch0QxRsa.js} +1 -1
- package/.output/public/assets/api-C1OPeiG1.js +1 -0
- package/.output/public/assets/api-keys-DLC8jjaM.js +1 -0
- package/.output/public/assets/api-keys-eDnzgFAf.js +1 -0
- package/.output/public/assets/arrow-left-DQjHJAnT.js +1 -0
- package/.output/public/assets/arrow-right-CXp_K3xK.js +1 -0
- package/.output/public/assets/arrow-up-right-BFafIOrq.js +1 -0
- package/.output/public/assets/badge-FZMD5vvS.js +1 -0
- package/.output/public/assets/card-CyHYmHue.js +1 -0
- package/.output/public/assets/check-CqWNyG93.js +1 -0
- package/.output/public/assets/chevron-right-DNbYTBX1.js +1 -0
- package/.output/public/assets/{circle-off-C7Muo0ss.js → circle-off-BCkZpskJ.js} +1 -1
- package/.output/public/assets/{clipboard-DQbOcrL7.js → clipboard-DZrZK5gR.js} +1 -1
- package/.output/public/assets/{console-features-api-DEXSwFtc.js → console-features-api-BO5V64P3.js} +1 -1
- package/.output/public/assets/{copy-DsuLj3oj.js → copy-CH1__JAW.js} +1 -1
- package/.output/public/assets/dialog-BLj71-Nf.js +1 -0
- package/.output/public/assets/{dist-CPlO6ko9.js → dist-DAM__Tdz.js} +1 -1
- package/.output/public/assets/{download-Cf24LBde.js → download-B2GjTySo.js} +1 -1
- package/.output/public/assets/empty--YaE5Z4p.js +1 -0
- package/.output/public/assets/field-CdhSgWhI.js +1 -0
- package/.output/public/assets/git-branch-DG1VDaKq.js +1 -0
- package/.output/public/assets/history-C0wv4htz.js +1 -0
- package/.output/public/assets/index-CgwVUC2n.js +10 -0
- package/.output/public/assets/{input-group-D3OUBk4n.js → input-group-XKLcUGoa.js} +1 -1
- package/.output/public/assets/insights-C94CdeAA.js +1 -0
- package/.output/public/assets/insights-DILMVpk8.js +2 -0
- package/.output/public/assets/insights-_j_ieOyh.js +42 -0
- package/.output/public/assets/insights-api-B6Gj74n5.js +1 -0
- package/.output/public/assets/{insights-search-DghCbEnk.js → insights-search-Bgvg6wSP.js} +1 -1
- package/.output/public/assets/insights-usage-rpc-BUCinjSN.js +1 -0
- package/.output/public/assets/insights_.distribution-Bb6_S-hD.js +2 -0
- package/.output/public/assets/insights_.distribution-CRkGNelG.js +1 -0
- package/.output/public/assets/insights_.distribution-CyAu3RN3.js +1 -0
- package/.output/public/assets/installations-BA01mqJE.js +1 -0
- package/.output/public/assets/installations-BsD6LgNc.js +2 -0
- package/.output/public/assets/installations-CYTzndfP.js +1 -0
- package/.output/public/assets/{key-round-DwNKkHhy.js → key-round-D7UgdXyA.js} +1 -1
- package/.output/public/assets/{link-DTEyW70e.js → link-CN3iHC4A.js} +2 -2
- package/.output/public/assets/{list--NIee1FZ.js → list-Bm-CfN5g.js} +1 -1
- package/.output/public/assets/loader-circle-iMqC-8ZE.js +1 -0
- package/.output/public/assets/native-builds-BMbws1g5.js +2 -0
- package/.output/public/assets/native-builds-xgHiHQML.js +1 -0
- package/.output/public/assets/native-builds_._buildId-B04z9yfk.js +1 -0
- package/.output/public/assets/native-builds_._buildId-DaMmTcHo.js +2 -0
- package/.output/public/assets/native-builds_.devices-CTzpCVsb.js +1 -0
- package/.output/public/assets/native-builds_.devices-D_kl2-bc.js +2 -0
- package/.output/public/assets/package-BmfoZ5Zj.js +1 -0
- package/.output/public/assets/plus-Db0KxLZp.js +1 -0
- package/.output/public/assets/preload-helper-CRQjUQaZ.js +1 -0
- package/.output/public/assets/{refresh-cw-B9HHjLej.js → refresh-cw-BHhBYjS8.js} +1 -1
- package/.output/public/assets/{relativeTime-YQt84dYr.js → relativeTime-BYRt19mj.js} +1 -1
- package/.output/public/assets/remote-config-Cxkr7_BP.js +1 -0
- package/.output/public/assets/remote-config-DAOyn5xL.js +1 -0
- package/.output/public/assets/remote-config-DXv25LX1.js +6 -0
- package/.output/public/assets/{rotate-cw-Cv2aVbYr.js → rotate-cw-Ba-slJea.js} +1 -1
- package/.output/public/assets/routes-DM3TyTLW.js +2 -0
- package/.output/public/assets/routes-Des97uK_.js +1 -0
- package/.output/public/assets/search-dJG2BYmx.js +1 -0
- package/.output/public/assets/select-CA8r-UUe.js +1 -0
- package/.output/public/assets/send-DuMOCzbD.js +1 -0
- package/.output/public/assets/{sidebar-Di9SN47G.js → sidebar-yC7KdImc.js} +1 -1
- package/.output/public/assets/smartphone-D1C6BRd_.js +1 -0
- package/.output/public/assets/styles-BHLI87EH.css +2 -0
- package/.output/public/assets/switch-BsV3d4km.js +1 -0
- package/.output/public/assets/table-D8YjT_ht.js +1 -0
- package/.output/public/assets/tabs-RdhEl9sE.js +1 -0
- package/.output/public/assets/trash-2-B5KIvrXy.js +1 -0
- package/.output/public/assets/{undo-2-CUX96_BG.js → undo-2-CFcU9dIB.js} +1 -1
- package/.output/public/assets/{useCompositeListItem-JmyDfo3-.js → useCompositeListItem-lAmUsXcc.js} +1 -1
- package/.output/public/assets/{useMutation-DbYw7boA.js → useMutation-w3qYaU2L.js} +1 -1
- package/.output/public/assets/valueToPercent-Bn8p2lng.js +1 -0
- package/.output/server/{__23tanstack-start-server-fn-resolver-DJQS4eWX.mjs → __23tanstack-start-server-fn-resolver-q4YFIDyr.mjs} +94 -46
- package/.output/server/_chunks/ssr-renderer.mjs +2 -2
- package/.output/server/_libs/@base-ui/react+[...].mjs +1488 -183
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +1 -1
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
- package/.output/server/_libs/_.mjs +2 -0
- package/.output/server/_libs/lucide-react.mjs +22 -28
- package/.output/server/_libs/next-themes.mjs +1 -1
- package/.output/server/_libs/react-redux+[...].mjs +1 -1
- package/.output/server/_libs/recharts+[...].mjs +1 -1
- package/.output/server/_libs/sonner.mjs +1 -1
- package/.output/server/_libs/tanstack__react-query.mjs +1 -1
- package/.output/server/_ssr/{-native-builds-search-CwNcoXf4.mjs → -native-builds-search-Mm_AZoRU.mjs} +9 -3
- package/.output/server/_ssr/{BundleIdDisplay-LdRkYdnN.mjs → BundleIdDisplay-DvzlYWq8.mjs} +3 -3
- package/.output/server/_ssr/ChannelBadge-qF_Pc5Ud.mjs +23 -0
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-BN-FZ8eG.mjs → ConsoleFeatureUnavailable-DKUgr0N_.mjs} +7 -7
- package/.output/server/_ssr/{EventDetails-B77sWxgh.mjs → EventDetails-T1XtYEDD.mjs} +8 -8
- package/.output/server/_ssr/{HashValueDisplay-C4Vs4cmO.mjs → HashValueDisplay-Cas_zjIS.mjs} +7 -7
- package/.output/server/_ssr/{InsightsPageHeader-Dx4jJ7X0.mjs → InsightsPageHeader-BrllhUl2.mjs} +8 -8
- package/.output/server/_ssr/IosInstall-CEHI8F2M.mjs +615 -0
- package/.output/server/_ssr/NativeBuildsNav-2xSHyA1a.mjs +38 -0
- package/.output/server/_ssr/{NotFoundPage-DB5cXeVZ.mjs → NotFoundPage-D6H9vxj_.mjs} +3 -3
- package/.output/server/_ssr/{PlatformIcon-CFLiTjh1.mjs → PlatformIcon-BpGOEXjU.mjs} +13 -3
- package/.output/server/_ssr/RelativeTime-DpEVzDP9.mjs +237 -0
- package/.output/server/_ssr/{git-CTA8Aqr0.mjs → RolloutPercentageBadge-DW8-_w30.mjs} +20 -4
- package/.output/server/_ssr/RowReason-C-PjIxzq.mjs +186 -0
- package/.output/server/_ssr/SandboxBadge-CDdNew0R.mjs +97 -0
- package/.output/server/_ssr/TargetDisplay-BBsP7IaZ.mjs +83 -0
- package/.output/server/_ssr/{alert-dialog-DxboqQmd.mjs → alert-dialog-Bd4E9xdw.mjs} +2 -2
- package/.output/server/_ssr/{api-cvzOLlTy.mjs → api-BT7aA8UM.mjs} +167 -33
- package/.output/server/_ssr/{api-keys-C3QCQvpV.mjs → api-keys-D2NvcQZv.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-CrbGr02t.mjs → api-keys-DjWpM20P.mjs} +11 -10
- package/.output/server/_ssr/{api-keys-rpc-BcTQzRLj.mjs → api-keys-rpc-nM5H7V7f.mjs} +4 -4
- package/.output/server/_ssr/{api-rpc-B48nsUak.mjs → api-rpc-DX4HynbW.mjs} +83 -35
- package/.output/server/_ssr/{auth-rpc-C0gtG9nJ.mjs → auth-rpc-LCxTtYz2.mjs} +5 -5
- package/.output/server/_ssr/{auth.server-B0JikHOQ.mjs → auth.server-CERo_xef.mjs} +797 -174
- package/.output/server/_ssr/{badge-oO-0mLsr.mjs → badge-Dpp4q7sD.mjs} +4 -45
- package/.output/server/_ssr/{bundleActivity-MLrjNJCT.mjs → bundleActivity-BP40zYSt.mjs} +1 -1
- package/.output/server/_ssr/card-CFCftDfI.mjs +49 -0
- package/.output/server/_ssr/{config.server-CJVHGJtr.mjs → config.server-5W5WD8x2.mjs} +4 -4
- package/.output/server/_ssr/{console-access-4TW5Af_n.mjs → console-access-B0S5YFUa.mjs} +2 -2
- package/.output/server/_ssr/{console-features-api-DfzZRyXa.mjs → console-features-api-CV_EReEj.mjs} +4 -4
- package/.output/server/_ssr/{console-features-rpc-DqNpa3U9.mjs → console-features-rpc-D3xlQsuy.mjs} +4 -4
- package/.output/server/_ssr/{console-features-BTV-XuhQ.mjs → console-features-xaGDhRC9.mjs} +1 -1
- package/.output/server/_ssr/{createServerRpc-BVvRVOz5.mjs → createServerRpc-DJZel12M.mjs} +1 -1
- package/.output/server/_ssr/{databaseConfig-B_Bg7qS5.mjs → databaseConfig-XAvDetmn.mjs} +1 -1
- package/.output/server/_ssr/{databaseJsonValue-kS7cvEtz.mjs → databaseJsonValue-DuUoft8j.mjs} +1 -1
- package/.output/server/_ssr/{databaseRows-B6H8Cmgq.mjs → databaseRows-BtRVBD0C.mjs} +3 -3
- package/.output/server/_ssr/deviceProfileToken-CwWb1lPq.mjs +82 -0
- package/.output/server/_ssr/{dialog-DsuMZ5oh.mjs → dialog-DQR_QI_X.mjs} +2 -2
- package/.output/server/_ssr/{dist-TEpM_UAD.mjs → dist-B6-irDRA.mjs} +1 -1
- package/.output/server/_ssr/{downloadBundle-DCmr7vsj.mjs → downloadBundle-DnoYpi36.mjs} +1 -1
- package/.output/server/_ssr/{empty-r4kJO91t.mjs → empty-C7PFnkCH.mjs} +3 -3
- package/.output/server/_ssr/{empty-plugin-adapters-zrZ0xs6n.mjs → empty-plugin-adapters-BYBYBaxo.mjs} +1 -1
- package/.output/server/_ssr/{failureReports-Cn_zU9S8.mjs → failureReports-BA2eg11O.mjs} +3 -3
- package/.output/server/_ssr/{field-DfXmt9CS.mjs → field-BqYN8sZT.mjs} +3 -3
- package/.output/server/_ssr/foldedPage-CqpVk31Q.mjs +176 -0
- package/.output/server/_ssr/{getBundleChildren-rtkEEJw5.mjs → getBundleChildren-CdqFonhl.mjs} +2 -2
- package/.output/server/_ssr/{input-group-BCO7zTpU.mjs → input-group-Brv0mmyp.mjs} +2 -2
- package/.output/server/_ssr/{insights-CRu5FUj8.mjs → insights--xI3A0KI.mjs} +5 -5
- package/.output/server/_ssr/{insights-DrrhPDER.mjs → insights-CD1e3EnW.mjs} +2 -2
- package/.output/server/_ssr/{insights-Csqlj6u7.mjs → insights-Dd0VdO-1.mjs} +27 -26
- package/.output/server/_ssr/{insights-api-NW5VCXqg.mjs → insights-api-Bt2XVa4Y.mjs} +5 -5
- package/.output/server/_ssr/{insights-errors-7BCwFybo.mjs → insights-errors-CXHg1lLV.mjs} +2 -2
- package/.output/server/_ssr/{insights-failures-B9VPkzZE.mjs → insights-failures-7zH97WOO.mjs} +2 -2
- package/.output/server/_ssr/{insights-failures-rpc-CoFrAOK9.mjs → insights-failures-rpc-DBGzXP5A.mjs} +11 -11
- package/.output/server/_ssr/{insights-recovery-BtXVU3ro.mjs → insights-recovery-BhOg6kz2.mjs} +1 -1
- package/.output/server/_ssr/{insights-recovery-rpc-sud_FyGW.mjs → insights-recovery-rpc-C6fAh-i_.mjs} +7 -7
- package/.output/server/_ssr/{insights-rpc-Ce2Isz9q.mjs → insights-rpc-pThKC9oj.mjs} +4 -4
- package/.output/server/_ssr/{insights-search-B0O3YoO2.mjs → insights-search-iFN4UaUv.mjs} +5 -5
- package/.output/server/_ssr/{insights-usage-DiGnuxW8.mjs → insights-usage-h8fipPTv.mjs} +1 -1
- package/.output/server/_ssr/{insights-usage-rpc-Cwf1t4aW.mjs → insights-usage-rpc-B-RLvdLZ.mjs} +5 -5
- package/.output/server/_ssr/{insights-usage-rpc-C-cS2F9s.mjs → insights-usage-rpc-CGHZQ9jq.mjs} +7 -7
- package/.output/server/_ssr/{insightsUsage-ClAmoUz8.mjs → insightsUsage-BjSiV_X_.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-DIkh5VqM.mjs → insights_.distribution-C6iXJ93Y.mjs} +15 -14
- package/.output/server/_ssr/{insights_.distribution-D52TkQ2V.mjs → insights_.distribution-E6Ns2aN7.mjs} +2 -2
- package/.output/server/_ssr/{insights_.distribution--3aR6Kpy.mjs → insights_.distribution-xHmfwwa5.mjs} +5 -5
- package/.output/server/_ssr/{installations-Bu4Lb0x9.mjs → installations-7V-Xyui8.mjs} +12 -12
- package/.output/server/_ssr/{installations-DftevpDt.mjs → installations-CZnN6slr.mjs} +4 -4
- package/.output/server/_ssr/{installations-C818mFCp.mjs → installations-D6Upc9Rt.mjs} +2 -2
- package/.output/server/_ssr/ios-devices-rpc-CXuHk24G.mjs +139 -0
- package/.output/server/_ssr/iosDeviceProfile-BESi_onx.mjs +176 -0
- package/.output/server/_ssr/iosDevices-BmvvvZRo.mjs +129 -0
- package/.output/server/_ssr/listReleases-DYYA5alS.mjs +94 -0
- package/.output/server/_ssr/{request-guard-CPdRBuGW.mjs → local-console-Dtxlsav0.mjs} +2 -9
- package/.output/server/_ssr/{native-builds-DOASMwGh.mjs → native-builds-BUojmVWC.mjs} +3 -3
- package/.output/server/_ssr/native-builds-BXBkklfA.mjs +197 -0
- package/.output/server/_ssr/native-builds-BhDCE89P.mjs +717 -0
- package/.output/server/_ssr/{native-builds_._buildId-CTytnLBB.mjs → native-builds_._buildId-DRiCNDdO.mjs} +3 -3
- package/.output/server/_ssr/native-builds_._buildId-DkMpG-OB.mjs +1176 -0
- package/.output/server/_ssr/native-builds_.devices-DSideebA.mjs +10 -0
- package/.output/server/_ssr/native-builds_.devices-DsOx1R36.mjs +702 -0
- package/.output/server/_ssr/nativeBuildDownloadLink-DDAUVU8q.mjs +96 -0
- package/.output/server/_ssr/nativeBuildInstall-CcBrfTsc.mjs +250 -0
- package/.output/server/_ssr/nativeBuilds-Cub0EUGN.mjs +287 -0
- package/.output/server/_ssr/{plugins-RIryUNWj.mjs → plugins-CX7wutet.mjs} +6 -6
- package/.output/server/_ssr/publicConsoleBase-f67NLLXZ.mjs +610 -0
- package/.output/server/_ssr/{release-adoption-DoAtNPED.mjs → release-adoption-DeICczY7.mjs} +2 -2
- package/.output/server/_ssr/{release-adoption-rpc-OizwttJD.mjs → release-adoption-rpc-BjMXMi9A.mjs} +9 -9
- package/.output/server/_ssr/{releaseAdoption-a2byXMfz.mjs → releaseAdoption-kHZo8P90.mjs} +4 -4
- package/.output/server/_ssr/{releaseCatalogCompiler-DLcean2k.mjs → releaseCatalogCompiler-D9dAMI17.mjs} +3 -3
- package/.output/server/_ssr/{releaseManagement-DHUux2az.mjs → releaseManagement-EPhok_Py.mjs} +1 -1
- package/.output/server/_ssr/{releaseReachability-DZOK_dH-.mjs → releaseReachability-DaZ7ifUF.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-DaBgnVnL.mjs → remote-config-B1iZuZOF.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-Dypc_nuk.mjs → remote-config-C_DprbJz.mjs} +23 -22
- package/.output/server/_ssr/{remote-config-DZu7gJLL.mjs → remote-config-C_q6FBE4.mjs} +3 -3
- package/.output/server/_ssr/{remote-config-rpc-DOfPhqli.mjs → remote-config-rpc-BFTPcMfZ.mjs} +5 -5
- package/.output/server/_ssr/request-guard-BPLyogIN.mjs +11 -0
- package/.output/server/_ssr/{router-BkRbvels.mjs → router-BDXPwfwl.mjs} +92 -59
- package/.output/server/_ssr/{routes-D9JnXVWL.mjs → routes-BJeztqpQ.mjs} +388 -432
- package/.output/server/_ssr/{routes-BeTsUkNX.mjs → routes-DpapxHLc.mjs} +14 -17
- package/.output/server/_ssr/{runtime.server-BdMY1blX.mjs → runtime.server-CkSbWaZm.mjs} +4 -4
- package/.output/server/_ssr/{schema-ChlRtZIo.mjs → schema-3oDJJFWa.mjs} +1 -1
- package/.output/server/_ssr/{schema-migration-rpc-B2VGxRY6.mjs → schema-migration-rpc-a4bLEdaP.mjs} +4 -4
- package/.output/server/_ssr/{select-Cywc0NmT.mjs → select-C9HpIZxd.mjs} +2 -2
- package/.output/server/_ssr/{server-Ds-fU1zf.mjs → server-C8ZmMWnn.mjs} +7 -7
- package/.output/server/_ssr/{sidebar-t0NiN0-2.mjs → sidebar-BrVL3L7R.mjs} +3 -3
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{start-BvDsQehg.mjs → start-D3noqqOK.mjs} +2 -2
- package/.output/server/_ssr/{switch-D1T38CnM.mjs → switch-DtnsoZHO.mjs} +3 -3
- package/.output/server/_ssr/{table-L9ZQgxNF.mjs → table-Bg7nCnct.mjs} +2 -2
- package/.output/server/_ssr/{tabs-BiByrAnU.mjs → tabs-BEIoGLTL.mjs} +4 -4
- package/.output/server/_ssr/{updateFailures-n-tGv90S.mjs → updateFailures-D0bP_Ume.mjs} +3 -3
- package/.output/server/_ssr/{uuidv7-BIF4nb_q.mjs → uuidv7-CmHbryZT.mjs} +2 -2
- package/.output/server/_ssr/{version-CQ98ZBpL-CWSkTT9J.mjs → version-CQ98ZBpL-NmbU0MD2.mjs} +1 -1
- package/.output/server/_tanstack-start-manifest_v-C_TPyfFP.mjs +225 -0
- package/.output/server/index.mjs +479 -381
- package/lib/index.d.mts +9 -0
- package/package.json +7 -30
- package/src/components/ChannelBadge.tsx +9 -9
- package/src/components/DataTable.tsx +347 -0
- package/src/components/FoldedRows.tsx +219 -0
- package/src/components/HashValueDisplay.tsx +6 -3
- package/src/components/PlatformIcon.tsx +10 -0
- package/src/components/RelativeTime.tsx +31 -0
- package/src/components/RowReason.tsx +56 -0
- package/src/components/TargetDisplay.tsx +69 -0
- package/src/components/ThemeProvider.tsx +11 -2
- package/src/components/features/api-keys/ApiKeysPage.tsx +1 -1
- package/src/components/features/channels/ChannelManagementDialog.tsx +5 -10
- package/src/components/features/insights/ReleaseActivity.tsx +1 -1
- package/src/components/features/native-builds/BuiltInBundleCard.tsx +108 -58
- package/src/components/features/native-builds/CommitLink.tsx +3 -2
- package/src/components/features/native-builds/ImportBuild.tsx +1 -1
- package/src/components/features/native-builds/InstallCard.tsx +310 -67
- package/src/components/features/native-builds/IosDevicesPage.tsx +944 -0
- package/src/components/features/native-builds/IosInstall.tsx +632 -0
- package/src/components/features/native-builds/IpaDevicesCard.tsx +111 -0
- package/src/components/features/native-builds/NativeBuildDetailPage.tsx +21 -4
- package/src/components/features/native-builds/NativeBuildsNav.tsx +44 -0
- package/src/components/features/native-builds/NativeBuildsPage.tsx +65 -76
- package/src/components/features/native-builds/NativeBuildsTable.tsx +668 -318
- package/src/components/features/native-builds/OlderBuildLabel.tsx +61 -0
- package/src/components/features/native-builds/PatchesCard.tsx +3 -2
- package/src/components/features/native-builds/ReleaseNativeBuildLink.tsx +4 -4
- package/src/components/features/native-builds/SandboxBadge.tsx +21 -0
- package/src/components/features/native-builds/ServedNowCard.tsx +33 -1
- package/src/components/features/native-builds/ShortHash.tsx +6 -3
- package/src/components/features/native-builds/StoreSubmission.tsx +18 -12
- package/src/components/features/native-builds/playTracks.ts +19 -0
- package/src/components/features/remote-config/PublishDialog.tsx +4 -1
- package/src/components/features/remote-config/VersionsCard.tsx +5 -2
- package/src/components/ui/badge.tsx +2 -0
- package/src/components/ui/sonner.tsx +3 -1
- package/src/index.ts +9 -0
- package/src/lib/api-rpc.ts +124 -35
- package/src/lib/api.ts +150 -14
- package/src/lib/ios-devices-api.ts +110 -0
- package/src/lib/ios-devices-rpc.ts +183 -0
- package/src/lib/native-builds.ts +160 -17
- package/src/lib/server/console-runtime.server.ts +9 -2
- package/src/lib/server/deviceProfileToken.ts +187 -0
- package/src/lib/server/foldedPage.ts +360 -0
- package/src/lib/server/iosDeviceProfile.ts +230 -0
- package/src/lib/server/iosDevices.ts +223 -0
- package/src/lib/server/listReleases.ts +101 -62
- package/src/lib/server/local-console.ts +1 -1
- package/src/lib/server/nativeBuildDownloadLink.ts +193 -0
- package/src/lib/server/nativeBuildInstall.ts +495 -0
- package/src/lib/server/nativeBuilds.ts +308 -59
- package/src/lib/server/plistText.ts +17 -0
- package/src/lib/server/publicConsoleBase.ts +17 -0
- package/src/routeTree.gen.ts +85 -18
- package/src/routes/-native-builds-search.ts +20 -0
- package/src/routes/[_]hot-updater/devices/device-response.ts +21 -0
- package/src/routes/[_]hot-updater/devices/device[.]mobileconfig.ts +17 -0
- package/src/routes/[_]hot-updater/native-builds/$buildId/manifest[.]plist.ts +22 -0
- package/src/routes/api/native-builds/$buildId/download.ts +22 -1
- package/src/routes/index.tsx +541 -532
- package/src/routes/native-builds_.devices.tsx +21 -0
- package/src/styles.css +24 -0
- package/.output/public/assets/HashValueDisplay-6lNRxDJX.js +0 -1
- package/.output/public/assets/RolloutPercentageBadge-Cxogpi8F.js +0 -1
- package/.output/public/assets/StoreSubmission-ViTkW4eJ.js +0 -1
- package/.output/public/assets/api-P2g8dCNg.js +0 -1
- package/.output/public/assets/api-keys-DWQC2q6y.js +0 -1
- package/.output/public/assets/api-keys-FueRkF9q.js +0 -1
- package/.output/public/assets/arrow-left-g9cKqXuC.js +0 -1
- package/.output/public/assets/arrow-right-CNII8TYn.js +0 -1
- package/.output/public/assets/arrow-up-right-DK8Zdg40.js +0 -1
- package/.output/public/assets/badge-DWFcDWho.js +0 -1
- package/.output/public/assets/check-CXVR3s3X.js +0 -1
- package/.output/public/assets/chevron-right-BoUXo82O.js +0 -1
- package/.output/public/assets/dialog-CNUPxNxH.js +0 -1
- package/.output/public/assets/empty-B3Uwdd6k.js +0 -1
- package/.output/public/assets/field-D-2-mnNh.js +0 -1
- package/.output/public/assets/history-DqHlgSuV.js +0 -1
- package/.output/public/assets/index-CqP5HPV6.js +0 -10
- package/.output/public/assets/insights-B-0odqpt.js +0 -42
- package/.output/public/assets/insights-BSVGfxSL.js +0 -1
- package/.output/public/assets/insights-NK5B6ReS.js +0 -2
- package/.output/public/assets/insights-api-BVCXJsoV.js +0 -1
- package/.output/public/assets/insights-usage-rpc-CKQH0pUS.js +0 -1
- package/.output/public/assets/insights_.distribution-CJvgwcVZ.js +0 -2
- package/.output/public/assets/insights_.distribution-DblZM0mO.js +0 -1
- package/.output/public/assets/insights_.distribution-dvk6vYDM.js +0 -1
- package/.output/public/assets/installations-B674P5Z5.js +0 -2
- package/.output/public/assets/installations-BWxczZ2t.js +0 -1
- package/.output/public/assets/installations-Dv4kWQYz.js +0 -1
- package/.output/public/assets/native-builds-BOC71grI.js +0 -1
- package/.output/public/assets/native-builds-D6rldpSh.js +0 -2
- package/.output/public/assets/native-builds-DAy2678K.js +0 -1
- package/.output/public/assets/native-builds_._buildId-DD58_Phd.js +0 -1
- package/.output/public/assets/native-builds_._buildId-DvQDKnUQ.js +0 -2
- package/.output/public/assets/plus-BReVKct-.js +0 -1
- package/.output/public/assets/preload-helper-B44EvKhG.js +0 -1
- package/.output/public/assets/remote-config-B7ujqhLa.js +0 -6
- package/.output/public/assets/remote-config-WjpozBG5.js +0 -1
- package/.output/public/assets/remote-config-gXeH6PBW.js +0 -1
- package/.output/public/assets/routes-BDdBIxYS.js +0 -1
- package/.output/public/assets/routes-CCD33Azv.js +0 -2
- package/.output/public/assets/search-BCel4Oy6.js +0 -1
- package/.output/public/assets/select-CBIU0_M1.js +0 -1
- package/.output/public/assets/smartphone-CMaSy_ir.js +0 -1
- package/.output/public/assets/styles-uK-0vUMk.css +0 -2
- package/.output/public/assets/switch-BpdiHL_t.js +0 -1
- package/.output/public/assets/table-Bpy3SvSo.js +0 -1
- package/.output/public/assets/tabs-Xmt7tZeG.js +0 -1
- package/.output/public/assets/useInfiniteQuery-DX4WpBRG.js +0 -1
- package/.output/public/assets/valueToPercent-BLwGy_xK.js +0 -1
- package/.output/server/_ssr/RolloutPercentageBadge-vmwE8iae.mjs +0 -21
- package/.output/server/_ssr/StoreSubmission-DE4vgy5B.mjs +0 -139
- package/.output/server/_ssr/listReleases-D_GY00SQ.mjs +0 -79
- package/.output/server/_ssr/native-builds-CWjU--fI.mjs +0 -510
- package/.output/server/_ssr/native-builds-DhXL5zf_.mjs +0 -137
- package/.output/server/_ssr/native-builds_._buildId-D4lYJLIU.mjs +0 -813
- package/.output/server/_ssr/nativeBuildQr-84cnFQPX.mjs +0 -59
- package/.output/server/_ssr/nativeBuilds-B_7BPjt_.mjs +0 -133
- package/.output/server/_ssr/qr-code-C7kNRIDX.mjs +0 -22
- package/.output/server/_tanstack-start-manifest_v-B5nsO5L4.mjs +0 -184
- package/src/lib/server/nativeBuildQr.ts +0 -73
- package/src/routes/[_]hot-updater/native-builds/qr.ts +0 -14
- /package/.output/public/assets/{uuidv7-zXMtwR9Q.js → uuidv7-DAoOOpz9.js} +0 -0
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { _ as nativeBuildDetailPath, a as IOS_DEVICE_RESPONSE_PATH, n as IOS_DEVICES_PATH, r as IOS_DEVICE_PROFILE_PATH } from "./native-builds-BXBkklfA.mjs";
|
|
2
|
+
import { a as readProfileServiceUdid, r as publicConsoleBase, t as escapePlistText } from "./publicConsoleBase-f67NLLXZ.mjs";
|
|
3
|
+
import { i as verifyDeviceProfileToken, r as createDeviceReceipt } from "./deviceProfileToken-CwWb1lPq.mjs";
|
|
4
|
+
import { readConsoleSecret } from "./nativeBuildDownloadLink-DDAUVU8q.mjs";
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/iosDeviceProfile-BESi_onx.js
|
|
6
|
+
/** The most a Profile Service answer holds: a plist and a device's certificates. */
|
|
7
|
+
var MAX_RESPONSE_BYTES = 64 * 1024;
|
|
8
|
+
var refusal = (status, message) => new Response(message, {
|
|
9
|
+
status,
|
|
10
|
+
headers: {
|
|
11
|
+
"cache-control": "no-store",
|
|
12
|
+
"content-type": "text/plain; charset=utf-8",
|
|
13
|
+
"referrer-policy": "no-referrer"
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
var methodRefusal = (allow) => {
|
|
17
|
+
const response = refusal(405, "Method Not Allowed");
|
|
18
|
+
response.headers.set("allow", allow);
|
|
19
|
+
return response;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* The grant a request's `t` carries, or the 403 that refuses it, checked
|
|
23
|
+
* before anything else is read: the profile routes take no session.
|
|
24
|
+
*/
|
|
25
|
+
var grantOf = async (request) => {
|
|
26
|
+
const secret = readConsoleSecret(request);
|
|
27
|
+
if (secret === void 0) return refusal(403, "This Console can't register iPhones without its secret.");
|
|
28
|
+
const token = new URL(request.url).searchParams.get("t");
|
|
29
|
+
const grant = token === null ? "invalid" : await verifyDeviceProfileToken(secret, token);
|
|
30
|
+
if (grant === "expired") return refusal(403, "This link has expired. Open the Console page again.");
|
|
31
|
+
if (grant === "invalid") return refusal(403, "This link isn't valid. Open the Console page again.");
|
|
32
|
+
return {
|
|
33
|
+
grant,
|
|
34
|
+
token,
|
|
35
|
+
secret
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* The profile an iPhone installs to report its UDID, at
|
|
40
|
+
* `/_hot-updater/devices/device.mobileconfig?t=<capability>`. It takes no
|
|
41
|
+
* session, since Safari's download carries none here, and reads nothing:
|
|
42
|
+
* the capability is all it answers to. The callback URL carries the same
|
|
43
|
+
* capability. It asks for the UDID alone, and iOS keeps no profile afterwards.
|
|
44
|
+
*
|
|
45
|
+
* - 400: the Console isn't on HTTPS, which iOS needs;
|
|
46
|
+
* - 403: no capability, or one that isn't valid or has expired;
|
|
47
|
+
* - 405: a method other than GET or HEAD.
|
|
48
|
+
*/
|
|
49
|
+
var serveDeviceProfile = async (request) => {
|
|
50
|
+
if (request.method !== "GET" && request.method !== "HEAD") return methodRefusal("GET, HEAD");
|
|
51
|
+
const checked = await grantOf(request);
|
|
52
|
+
if (checked instanceof Response) return checked;
|
|
53
|
+
const base = publicConsoleBase(request, IOS_DEVICE_PROFILE_PATH);
|
|
54
|
+
if (!base.startsWith("https://")) return refusal(400, "An iPhone needs this Console on HTTPS with a certificate it trusts.");
|
|
55
|
+
const host = new URL(base).host;
|
|
56
|
+
const callback = `${base}${IOS_DEVICE_RESPONSE_PATH}?t=${encodeURIComponent(checked.token)}`;
|
|
57
|
+
const purpose = checked.grant.m === "register" ? "to request this iPhone for ad hoc builds" : "to check whether a build can install on it";
|
|
58
|
+
const profile = `<?xml version="1.0" encoding="UTF-8"?>
|
|
59
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
60
|
+
<plist version="1.0">
|
|
61
|
+
<dict>
|
|
62
|
+
<key>PayloadContent</key>
|
|
63
|
+
<dict>
|
|
64
|
+
<key>URL</key>
|
|
65
|
+
<string>${escapePlistText(callback)}</string>
|
|
66
|
+
<key>DeviceAttributes</key>
|
|
67
|
+
<array>
|
|
68
|
+
<string>UDID</string>
|
|
69
|
+
</array>
|
|
70
|
+
<key>Challenge</key>
|
|
71
|
+
<string>hot-updater</string>
|
|
72
|
+
</dict>
|
|
73
|
+
<key>PayloadOrganization</key>
|
|
74
|
+
<string>Hot Updater</string>
|
|
75
|
+
<key>PayloadDisplayName</key>
|
|
76
|
+
<string>Hot Updater Device Profile</string>
|
|
77
|
+
<key>PayloadDescription</key>
|
|
78
|
+
<string>Sends this iPhone's ID (UDID) to ${escapePlistText(host)}, ${purpose}. Nothing stays installed.</string>
|
|
79
|
+
<key>PayloadIdentifier</key>
|
|
80
|
+
<string>dev.hot-updater.device-profile</string>
|
|
81
|
+
<key>PayloadUUID</key>
|
|
82
|
+
<string>6D3F4C0E-52C4-4C8B-9E0A-7B1E5A0C2F11</string>
|
|
83
|
+
<key>PayloadVersion</key>
|
|
84
|
+
<integer>1</integer>
|
|
85
|
+
<key>PayloadType</key>
|
|
86
|
+
<string>Profile Service</string>
|
|
87
|
+
</dict>
|
|
88
|
+
</plist>
|
|
89
|
+
`;
|
|
90
|
+
return new Response(request.method === "HEAD" ? null : profile, { headers: {
|
|
91
|
+
"cache-control": "no-store",
|
|
92
|
+
"content-type": "application/x-apple-aspen-config",
|
|
93
|
+
"referrer-policy": "no-referrer",
|
|
94
|
+
"x-content-type-options": "nosniff"
|
|
95
|
+
} });
|
|
96
|
+
};
|
|
97
|
+
/** A request's body, or null past `limit` bytes, which are never buffered. */
|
|
98
|
+
var readBoundedBody = async (request, limit) => {
|
|
99
|
+
if (Number(request.headers.get("content-length") ?? 0) > limit) {
|
|
100
|
+
await request.body?.cancel().catch(() => {});
|
|
101
|
+
return null;
|
|
102
|
+
}
|
|
103
|
+
const reader = request.body?.getReader();
|
|
104
|
+
if (reader === void 0) return new Uint8Array(0);
|
|
105
|
+
const body = new Uint8Array(limit);
|
|
106
|
+
let length = 0;
|
|
107
|
+
try {
|
|
108
|
+
for (;;) {
|
|
109
|
+
const { done, value } = await reader.read();
|
|
110
|
+
if (done) return body.subarray(0, length);
|
|
111
|
+
if (length + value.byteLength > limit) return null;
|
|
112
|
+
body.set(value, length);
|
|
113
|
+
length += value.byteLength;
|
|
114
|
+
}
|
|
115
|
+
} finally {
|
|
116
|
+
await reader.cancel().catch(() => {});
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Where iOS posts the device's answer, at `/_hot-updater/devices/
|
|
121
|
+
* device-response?t=<capability>`, without a session, since Settings has
|
|
122
|
+
* none. The capability is checked before the body is read. It takes the
|
|
123
|
+
* UDID's text and verifies no signature: a person approves every device.
|
|
124
|
+
*
|
|
125
|
+
* - `register`: saves the iPhone as requested by the capability's email, one
|
|
126
|
+
* read and at most one write, and goes back to the iOS devices page;
|
|
127
|
+
* - `identify`: saves nothing and goes back to the build's page with a receipt
|
|
128
|
+
* of the UDID for that email, which Request access takes.
|
|
129
|
+
*
|
|
130
|
+
* Where it goes back to comes from the capability, never from the request.
|
|
131
|
+
* iOS asks for a 301.
|
|
132
|
+
*
|
|
133
|
+
* - 400: no well-formed UDID;
|
|
134
|
+
* - 403: no capability, or one that isn't valid or has expired;
|
|
135
|
+
* - 405: a method other than POST;
|
|
136
|
+
* - 413: a body over 64 KiB.
|
|
137
|
+
*/
|
|
138
|
+
var receiveDeviceResponse = async (request, loadCore) => {
|
|
139
|
+
if (request.method !== "POST") return methodRefusal("POST");
|
|
140
|
+
const checked = await grantOf(request);
|
|
141
|
+
if (checked instanceof Response) {
|
|
142
|
+
await request.body?.cancel().catch(() => {});
|
|
143
|
+
return checked;
|
|
144
|
+
}
|
|
145
|
+
const body = await readBoundedBody(request, MAX_RESPONSE_BYTES);
|
|
146
|
+
if (body === null) return refusal(413, "This answer is too large.");
|
|
147
|
+
const udid = readProfileServiceUdid(body);
|
|
148
|
+
if (udid === null) return refusal(400, "This answer has no device ID.");
|
|
149
|
+
const { grant, secret } = checked;
|
|
150
|
+
const base = publicConsoleBase(request, IOS_DEVICE_RESPONSE_PATH);
|
|
151
|
+
let location;
|
|
152
|
+
if (grant.m === "register") {
|
|
153
|
+
await (await loadCore()).requestIosDevice({
|
|
154
|
+
udid,
|
|
155
|
+
name: grant.n ?? "iPhone",
|
|
156
|
+
requestedBy: grant.e
|
|
157
|
+
});
|
|
158
|
+
location = `${base}${IOS_DEVICES_PATH}#udid=${encodeURIComponent(udid)}&requested=1`;
|
|
159
|
+
} else {
|
|
160
|
+
const receipt = await createDeviceReceipt(secret, {
|
|
161
|
+
u: udid,
|
|
162
|
+
e: grant.e
|
|
163
|
+
});
|
|
164
|
+
location = `${base}${grant.b === void 0 ? IOS_DEVICES_PATH : nativeBuildDetailPath(grant.b)}#udid=${encodeURIComponent(udid)}&r=${encodeURIComponent(receipt)}`;
|
|
165
|
+
}
|
|
166
|
+
return new Response(null, {
|
|
167
|
+
status: 301,
|
|
168
|
+
headers: {
|
|
169
|
+
"cache-control": "no-store",
|
|
170
|
+
"referrer-policy": "no-referrer",
|
|
171
|
+
location
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
};
|
|
175
|
+
//#endregion
|
|
176
|
+
export { receiveDeviceResponse, serveDeviceProfile };
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { a as verifyDeviceReceipt, n as createDeviceProfileToken, t as DEVICE_PROFILE_TOKEN_TTL_MS } from "./deviceProfileToken-CwWb1lPq.mjs";
|
|
2
|
+
import { CONSOLE_SECRET_ENV, readConsoleSecret } from "./nativeBuildDownloadLink-DDAUVU8q.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/iosDevices-BmvvvZRo.js
|
|
4
|
+
/** A registry page: past an Apple account's yearly limit of devices. */
|
|
5
|
+
var PAGE = 200;
|
|
6
|
+
/** `ios_devices.name`'s bound in core's schema. */
|
|
7
|
+
var NAME_MAX_LENGTH = 100;
|
|
8
|
+
var forbidden = (message) => new Response(message, {
|
|
9
|
+
status: 403,
|
|
10
|
+
headers: { "content-type": "text/plain; charset=utf-8" }
|
|
11
|
+
});
|
|
12
|
+
/** Whether this is `hot-updater console`, the local runtime, by its mode. */
|
|
13
|
+
var isLocalConsole = async () => {
|
|
14
|
+
const { default: localConsoleGuard } = await import("./request-guard-BPLyogIN.mjs");
|
|
15
|
+
return localConsoleGuard !== void 0;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* The viewer's rights over the registry. The local Console is recognized by
|
|
19
|
+
* its mode, never by an email, so a hosted user named like the local one
|
|
20
|
+
* gains nothing. A hosted approver is an email in `deviceApprovers`.
|
|
21
|
+
*/
|
|
22
|
+
var iosDeviceViewer = async (principal, deviceApprovers) => {
|
|
23
|
+
const email = principal.email.trim().toLowerCase();
|
|
24
|
+
const local = await isLocalConsole();
|
|
25
|
+
return {
|
|
26
|
+
email,
|
|
27
|
+
canApprove: local || deviceApprovers.includes(email),
|
|
28
|
+
approversConfigured: local || deviceApprovers.length > 0
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/** Refuses anyone but an approver, on the server, whatever the UI sent. */
|
|
32
|
+
var requireDeviceApprover = (viewer) => {
|
|
33
|
+
if (!viewer.canApprove) throw forbidden("Only a device approver can do this.");
|
|
34
|
+
};
|
|
35
|
+
/** Every registry row, newest first, or one status's. */
|
|
36
|
+
var listIosDevices = async (core, status) => {
|
|
37
|
+
const rows = [];
|
|
38
|
+
for (let after;;) {
|
|
39
|
+
const page = await core.listIosDevices({
|
|
40
|
+
order: "desc",
|
|
41
|
+
limit: PAGE,
|
|
42
|
+
...status === void 0 ? {} : { status },
|
|
43
|
+
...after === void 0 ? {} : { after }
|
|
44
|
+
});
|
|
45
|
+
rows.push(...page);
|
|
46
|
+
if (page.length < PAGE) return rows;
|
|
47
|
+
after = page.at(-1).id;
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
/** A device name as the registry stores it, or a refusal. */
|
|
51
|
+
var deviceName = (name) => {
|
|
52
|
+
const trimmed = typeof name === "string" ? name.trim() : "";
|
|
53
|
+
if (trimmed.length === 0 || trimmed.length > NAME_MAX_LENGTH) throw new TypeError(`Name the device in 1 to ${NAME_MAX_LENGTH} characters.`);
|
|
54
|
+
return trimmed;
|
|
55
|
+
};
|
|
56
|
+
/** The name a device gets before anyone types one: the person's, then "iPhone". */
|
|
57
|
+
var defaultDeviceName = (principal) => {
|
|
58
|
+
const owner = principal.name?.trim() || principal.email.split("@")[0]?.trim() || "";
|
|
59
|
+
return owner === "" ? "iPhone" : `${owner}'s iPhone`.slice(0, NAME_MAX_LENGTH);
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Whether an iPhone can register through this Console: not through the local
|
|
63
|
+
* one, which an iPhone can't reach, nor without the secret that signs links.
|
|
64
|
+
*/
|
|
65
|
+
var deviceRegistration = async (request) => {
|
|
66
|
+
if (await isLocalConsole()) return "local-console";
|
|
67
|
+
return readConsoleSecret(request) === void 0 ? "no-secret" : "ready";
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* A new capability for this person's iPhone profile: `register` saves the
|
|
71
|
+
* iPhone as requested under `name`, `identify` only tells build `buildId`'s
|
|
72
|
+
* page which iPhone it is. It reads and stores nothing.
|
|
73
|
+
*/
|
|
74
|
+
var issueDeviceProfileLink = async (request, viewer, input, now = Date.now()) => {
|
|
75
|
+
if (await isLocalConsole()) return { status: "local-console" };
|
|
76
|
+
const secret = readConsoleSecret(request);
|
|
77
|
+
if (secret === void 0) return {
|
|
78
|
+
status: "no-secret",
|
|
79
|
+
secretName: CONSOLE_SECRET_ENV
|
|
80
|
+
};
|
|
81
|
+
return {
|
|
82
|
+
status: "issued",
|
|
83
|
+
token: await createDeviceProfileToken(secret, input.mode === "register" ? {
|
|
84
|
+
m: "register",
|
|
85
|
+
e: viewer.email,
|
|
86
|
+
n: deviceName(input.name)
|
|
87
|
+
} : {
|
|
88
|
+
m: "identify",
|
|
89
|
+
e: viewer.email,
|
|
90
|
+
b: input.buildId
|
|
91
|
+
}, now),
|
|
92
|
+
expiresAt: new Date(now + DEVICE_PROFILE_TOKEN_TTL_MS).toISOString()
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Requests the iPhone a receipt names, for the person whose profile made it:
|
|
97
|
+
* the UDID comes from the receipt alone. Another person's receipt, an expired
|
|
98
|
+
* one, or none, is refused.
|
|
99
|
+
*/
|
|
100
|
+
var requestIosDeviceAccess = async (request, core, viewer, input) => {
|
|
101
|
+
const secret = readConsoleSecret(request);
|
|
102
|
+
const receipt = secret === void 0 ? "invalid" : await verifyDeviceReceipt(secret, input.receipt);
|
|
103
|
+
if (receipt === "expired") throw forbidden("Check this iPhone again: its check has expired.");
|
|
104
|
+
if (receipt === "invalid" || receipt.e !== viewer.email) throw forbidden("Check this iPhone again from this account.");
|
|
105
|
+
return core.requestIosDevice({
|
|
106
|
+
udid: receipt.u,
|
|
107
|
+
name: deviceName(input.name),
|
|
108
|
+
requestedBy: viewer.email
|
|
109
|
+
});
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Removes a device from the registry, as read now: an approver removes any,
|
|
113
|
+
* and the person who asked withdraws their own while it is still requested.
|
|
114
|
+
* Null when it is gone already.
|
|
115
|
+
*/
|
|
116
|
+
var removeIosDevice = async (core, viewer, udid) => {
|
|
117
|
+
const device = await core.findIosDevice(udid);
|
|
118
|
+
if (device === null) return null;
|
|
119
|
+
if (viewer.canApprove) return core.deleteIosDevice(device.id);
|
|
120
|
+
if (device.status !== "pending" || device.requested_by !== viewer.email) throw forbidden("Only a device approver can remove this device.");
|
|
121
|
+
const withdrawn = await core.deleteIosDevice(device.id, {
|
|
122
|
+
status: "pending",
|
|
123
|
+
requestedBy: viewer.email
|
|
124
|
+
});
|
|
125
|
+
if (withdrawn === null && await core.findIosDevice(udid) !== null) throw forbidden("It was approved meanwhile. A device approver removes it.");
|
|
126
|
+
return withdrawn;
|
|
127
|
+
};
|
|
128
|
+
//#endregion
|
|
129
|
+
export { defaultDeviceName, deviceName, deviceRegistration, iosDeviceViewer, issueDeviceProfileLink, listIosDevices, removeIosDevice, requestIosDeviceAccess, requireDeviceApprover };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { n as readFold, t as foldedPage } from "./foldedPage-CqpVk31Q.mjs";
|
|
2
|
+
import { t as addReleaseReachability } from "./releaseReachability-DaZ7ifUF.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/listReleases-DYYA5alS.js
|
|
4
|
+
var isRecord = (value) => typeof value === "object" && value !== null;
|
|
5
|
+
var text = (value, name) => {
|
|
6
|
+
if (typeof value !== "string" || value.length === 0) throw new Error(`Release filter ${name} is required.`);
|
|
7
|
+
return value;
|
|
8
|
+
};
|
|
9
|
+
var enabledOf = (value) => {
|
|
10
|
+
if (value === void 0) return {};
|
|
11
|
+
if (typeof value !== "boolean") throw new Error("Release filter enabled must be true or false.");
|
|
12
|
+
return { enabled: value };
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* A release list's filter: none, a channel with its platform (and enabled),
|
|
16
|
+
* a bundle, or a scope (and enabled). Those are the sets the release indexes
|
|
17
|
+
* serve, so any other combination is refused.
|
|
18
|
+
*/
|
|
19
|
+
var readReleaseFilter = (value) => {
|
|
20
|
+
if (value === void 0) return { kind: "all" };
|
|
21
|
+
if (!isRecord(value)) throw new Error("Invalid release filter.");
|
|
22
|
+
switch (value.kind) {
|
|
23
|
+
case "all": return { kind: "all" };
|
|
24
|
+
case "channelPlatform":
|
|
25
|
+
if (value.platform !== "ios" && value.platform !== "android") throw new Error("Release filter platform must be ios or android.");
|
|
26
|
+
return {
|
|
27
|
+
kind: "channelPlatform",
|
|
28
|
+
channelId: text(value.channelId, "channelId"),
|
|
29
|
+
platform: value.platform,
|
|
30
|
+
...enabledOf(value.enabled)
|
|
31
|
+
};
|
|
32
|
+
case "bundle": return {
|
|
33
|
+
kind: "bundle",
|
|
34
|
+
bundleId: text(value.bundleId, "bundleId")
|
|
35
|
+
};
|
|
36
|
+
case "scope": return {
|
|
37
|
+
kind: "scope",
|
|
38
|
+
scopeKey: text(value.scopeKey, "scopeKey"),
|
|
39
|
+
...enabledOf(value.enabled)
|
|
40
|
+
};
|
|
41
|
+
default: throw new Error("Invalid release filter.");
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Whether a filter asks for unreachable releases: Disabled, whose every
|
|
46
|
+
* release no catalog serves, or one bundle. Its releases fold none.
|
|
47
|
+
*/
|
|
48
|
+
var asksForUnreachable = (filter) => filter.kind === "bundle" || (filter.kind === "scope" || filter.kind === "channelPlatform") && filter.enabled === false;
|
|
49
|
+
/** The core reads a page makes, with each scope's catalog read once. */
|
|
50
|
+
var readingCatalogsOnce = (core) => {
|
|
51
|
+
const catalogs = /* @__PURE__ */ new Map();
|
|
52
|
+
return {
|
|
53
|
+
listReleases: core.listReleases.bind(core),
|
|
54
|
+
getReleaseCatalogRow: (scopeKey) => {
|
|
55
|
+
if (!catalogs.has(scopeKey)) catalogs.set(scopeKey, core.getReleaseCatalogRow(scopeKey));
|
|
56
|
+
return catalogs.get(scopeKey);
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* One page of releases, newest first, that leads with the reachable ones:
|
|
62
|
+
* each run of unreachable releases between them folds, split around the
|
|
63
|
+
* selected release, which shows where it sits and counts toward no page.
|
|
64
|
+
* It reads the filter's index a chunk at a time (at most
|
|
65
|
+
* `FOLDED_PAGE_READ_BUDGET` rows), and each scope's catalog once. A filter
|
|
66
|
+
* that asks for unreachable releases folds none.
|
|
67
|
+
*/
|
|
68
|
+
function listReleaseFolds(core, { filter, beforeReleaseId, afterReleaseId, releaseId }) {
|
|
69
|
+
const reads = readingCatalogsOnce(core);
|
|
70
|
+
const foldsNone = asksForUnreachable(filter);
|
|
71
|
+
return foldedPage({
|
|
72
|
+
read: async (input) => addReleaseReachability(reads, await reads.listReleases({
|
|
73
|
+
filter,
|
|
74
|
+
...input
|
|
75
|
+
})),
|
|
76
|
+
classify: async (releases) => new Set(releases.filter((release) => foldsNone || !release.currentlyUnreachable).map(({ id }) => id)),
|
|
77
|
+
...beforeReleaseId === void 0 ? {} : { before: beforeReleaseId },
|
|
78
|
+
...afterReleaseId === void 0 ? {} : { after: afterReleaseId },
|
|
79
|
+
...releaseId === void 0 ? {} : { pinned: releaseId }
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
/** One chunk of a fold's releases, as `listReleaseFolds` folded them. */
|
|
83
|
+
function readReleaseFold(core, { filter, ...fold }) {
|
|
84
|
+
const reads = readingCatalogsOnce(core);
|
|
85
|
+
return readFold({
|
|
86
|
+
read: async (input) => addReleaseReachability(reads, await reads.listReleases({
|
|
87
|
+
filter,
|
|
88
|
+
...input
|
|
89
|
+
})),
|
|
90
|
+
...fold
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
//#endregion
|
|
94
|
+
export { readReleaseFilter as n, readReleaseFold as r, listReleaseFolds as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/
|
|
1
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/local-console-Dtxlsav0.js
|
|
2
2
|
/** The query parameter of the link `hot-updater console` prints. */
|
|
3
3
|
var LOCAL_CONSOLE_SESSION_PARAM = "hot-updater-session";
|
|
4
4
|
var LOOPBACK_HOSTNAMES = new Set([
|
|
@@ -97,12 +97,5 @@ var guardLocalConsoleRequest = (request, { session, port, checkHost }) => {
|
|
|
97
97
|
if (session && cookie !== void 0 && sameSecret(cookie, session)) return;
|
|
98
98
|
return refuse(401, session ? "Open this console with the link hot-updater console printed." : "Start this console with hot-updater console, and open the link it prints.");
|
|
99
99
|
};
|
|
100
|
-
var session = process.env["HOT_UPDATER_CONSOLE_SESSION"] || void 0;
|
|
101
|
-
var port = process.env.NITRO_PORT || process.env.PORT || void 0;
|
|
102
|
-
var request_guard_default = (request) => guardLocalConsoleRequest(request, {
|
|
103
|
-
session,
|
|
104
|
-
port,
|
|
105
|
-
checkHost: true
|
|
106
|
-
});
|
|
107
100
|
//#endregion
|
|
108
|
-
export {
|
|
101
|
+
export { sameSecret as n, guardLocalConsoleRequest as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
|
-
import {
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds-
|
|
4
|
-
var $$splitComponentImporter = () => import("./native-builds-
|
|
2
|
+
import { r as validateNativeBuildsSearch } from "./-native-builds-search-Mm_AZoRU.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds-BUojmVWC.js
|
|
4
|
+
var $$splitComponentImporter = () => import("./native-builds-BhDCE89P.mjs");
|
|
5
5
|
var Route = createFileRoute("/native-builds")({
|
|
6
6
|
component: lazyRouteComponent($$splitComponentImporter, "component"),
|
|
7
7
|
validateSearch: validateNativeBuildsSearch
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import { c as createReleaseCatalogScopeKey, l as decodeChannelKey, s as canonicalizeAppVersion, u as encodeChannelKey } from "./dist-B6-irDRA.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds-BXBkklfA.js
|
|
3
|
+
/**
|
|
4
|
+
* `value` as one POSIX shell word: as it is when it holds only characters
|
|
5
|
+
* no shell treats specially, else in single quotes, so a file name or link
|
|
6
|
+
* the Console shows in a command can't run anything when it is pasted.
|
|
7
|
+
*/
|
|
8
|
+
var shellQuote = (value) => /^[\w@%+=:,./-]+$/.test(value) ? value : `'${value.replaceAll("'", `'\\''`)}'`;
|
|
9
|
+
/** How each artifact installs, as the Console's install dialog shows it. */
|
|
10
|
+
var nativeBuildArtifacts = {
|
|
11
|
+
apk: {
|
|
12
|
+
label: "APK",
|
|
13
|
+
installs: "Android device or emulator"
|
|
14
|
+
},
|
|
15
|
+
aab: {
|
|
16
|
+
label: "AAB",
|
|
17
|
+
installs: "Google Play or bundletool"
|
|
18
|
+
},
|
|
19
|
+
app: {
|
|
20
|
+
label: "Simulator app",
|
|
21
|
+
installs: "iOS Simulator"
|
|
22
|
+
},
|
|
23
|
+
ipa: {
|
|
24
|
+
label: "IPA",
|
|
25
|
+
installs: "registered iOS devices"
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
/** A build's distribution, from its row. */
|
|
29
|
+
var nativeBuildDistribution = (build) => build.submitted_to ?? (build.artifact_kind === "ipa" && build.export_method !== null ? `ipa-${build.export_method}` : build.artifact_kind);
|
|
30
|
+
/** The distribution path a build is on, as one key. */
|
|
31
|
+
var nativeBuildPathKey = (build) => JSON.stringify([
|
|
32
|
+
build.channel_id,
|
|
33
|
+
build.platform,
|
|
34
|
+
build.is_sandbox,
|
|
35
|
+
nativeBuildDistribution(build)
|
|
36
|
+
]);
|
|
37
|
+
/** A platform's name as the console shows it. */
|
|
38
|
+
var platformLabel = (platform) => platform === "ios" ? "iOS" : "Android";
|
|
39
|
+
/**
|
|
40
|
+
* A build as the CLI names it, such as `iOS 1.7.0 (66)`: the store's label
|
|
41
|
+
* when a store took it, else its app version and build number. Null when it
|
|
42
|
+
* reports neither, for the caller to name it another way.
|
|
43
|
+
*/
|
|
44
|
+
var nativeBuildLabel = (build) => {
|
|
45
|
+
const label = build.submitted_version ?? [build.app_version, build.build_number === null ? null : `(${build.build_number})`].filter((part) => part !== null).join(" ");
|
|
46
|
+
return label === "" ? null : `${platformLabel(build.platform)} ${label}`;
|
|
47
|
+
};
|
|
48
|
+
/** The console route that redirects to a build's artifact in storage. */
|
|
49
|
+
var nativeBuildDownloadPath = (id) => `/api/native-builds/${encodeURIComponent(id)}/download`;
|
|
50
|
+
/**
|
|
51
|
+
* A build's signed download link, under the console's path on the page's own
|
|
52
|
+
* address, whatever the page, so it opens where the person who copied it
|
|
53
|
+
* reached the console.
|
|
54
|
+
*/
|
|
55
|
+
var nativeBuildSignedDownloadUrl = (location, id, token) => {
|
|
56
|
+
return `${location.origin}${consolePathOf(location, id)}${nativeBuildDownloadPath(id)}?t=${encodeURIComponent(token)}`;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* The console's own path, from a page of build `id` under it: empty at the
|
|
60
|
+
* root of its host.
|
|
61
|
+
*/
|
|
62
|
+
var consolePathOf = (location, id) => {
|
|
63
|
+
const page = nativeBuildDetailPath(id);
|
|
64
|
+
return location.pathname.endsWith(page) ? location.pathname.slice(0, -page.length) : "";
|
|
65
|
+
};
|
|
66
|
+
/** The console page of one native build. */
|
|
67
|
+
var nativeBuildDetailPath = (id) => `/native-builds/${encodeURIComponent(id)}`;
|
|
68
|
+
/**
|
|
69
|
+
* How long an Install button's link works. It sits in the `itms-services` URL,
|
|
70
|
+
* Safari's history and the installer's logs, and its holder can fetch the IPA
|
|
71
|
+
* with every UDID in its profile, so it lasts only as long as an install takes.
|
|
72
|
+
*/
|
|
73
|
+
var NATIVE_BUILD_INSTALL_LINK_TTL_MS = 3600 * 1e3;
|
|
74
|
+
/** This iPhone's own copy of its UDID, as its profile reported it. */
|
|
75
|
+
var IOS_UDID_STORAGE_KEY = "hot-updater-ios-udid";
|
|
76
|
+
/**
|
|
77
|
+
* This iPhone's receipt of its UDID: what its profile's answer signed for the
|
|
78
|
+
* signed-in person, which Request access takes.
|
|
79
|
+
*/
|
|
80
|
+
var IOS_DEVICE_RECEIPT_STORAGE_KEY = "hot-updater-ios-device-receipt";
|
|
81
|
+
/** A device's UDID: 40 hex digits, or 8 and 16 joined by a hyphen. */
|
|
82
|
+
var IOS_UDID_PATTERN = /^(?:[0-9a-f]{40}|[0-9a-f]{8}-[0-9a-f]{16})$/iu;
|
|
83
|
+
/** The Console page of the iOS device registry, inside Native builds. */
|
|
84
|
+
var IOS_DEVICES_PATH = "/native-builds/devices";
|
|
85
|
+
/** The route that hands an iPhone the profile that reads its UDID. */
|
|
86
|
+
var IOS_DEVICE_PROFILE_PATH = "/_hot-updater/devices/device.mobileconfig";
|
|
87
|
+
/** Where iOS posts the profile's answer. */
|
|
88
|
+
var IOS_DEVICE_RESPONSE_PATH = "/_hot-updater/devices/device-response";
|
|
89
|
+
/** A device profile's link, under the Console's path on the page's own address. */
|
|
90
|
+
var iosDeviceProfileUrl = (consolePath, token) => `${consolePath}${IOS_DEVICE_PROFILE_PATH}?t=${encodeURIComponent(token)}`;
|
|
91
|
+
/** The command that registers requested iPhones from a terminal. */
|
|
92
|
+
var IOS_DEVICES_ADD_COMMAND = "npx hot-updater native-build devices add";
|
|
93
|
+
/** The UDID as the iOS devices page shows it: its last six characters. */
|
|
94
|
+
var maskIosUdid = (udid) => `…${udid.slice(-6)}`;
|
|
95
|
+
/** The route of a build's install manifest, as `itms-services` opens it. */
|
|
96
|
+
var nativeBuildManifestPath = (id) => `/_hot-updater/native-builds/${encodeURIComponent(id)}/manifest.plist`;
|
|
97
|
+
/**
|
|
98
|
+
* What an iPhone opens to install a build: the manifest's URL, signed with a
|
|
99
|
+
* token that also lets the installer download the IPA.
|
|
100
|
+
*/
|
|
101
|
+
var nativeBuildItmsUrl = (location, id, token) => {
|
|
102
|
+
const manifest = `${location.origin}${consolePathOf(location, id)}${nativeBuildManifestPath(id)}?t=${encodeURIComponent(token)}`;
|
|
103
|
+
return `itms-services://?action=download-manifest&url=${encodeURIComponent(manifest)}`;
|
|
104
|
+
};
|
|
105
|
+
var CHANNEL_ID_PREFIX = "channel:";
|
|
106
|
+
/** A channel row's ID, `channel:` and its channel key. */
|
|
107
|
+
var channelIdOf = (channel) => `${CHANNEL_ID_PREFIX}${encodeChannelKey(channel)}`;
|
|
108
|
+
/** The name of the channel a build embeds, decoded from its channel ID: no read. */
|
|
109
|
+
var nativeBuildChannel = (build) => decodeChannelKey(build.channel_id.slice(8));
|
|
110
|
+
/** The scope a build was registered in, as `findNativeBuild` takes it. */
|
|
111
|
+
var nativeBuildScope = (build) => build.fingerprint_hash === null ? {
|
|
112
|
+
platform: build.platform,
|
|
113
|
+
channel: nativeBuildChannel(build),
|
|
114
|
+
fingerprintHash: null,
|
|
115
|
+
appVersion: build.app_version ?? ""
|
|
116
|
+
} : {
|
|
117
|
+
platform: build.platform,
|
|
118
|
+
channel: nativeBuildChannel(build),
|
|
119
|
+
fingerprintHash: build.fingerprint_hash,
|
|
120
|
+
appVersion: null
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* The Release Catalog scope whose releases an install of the build is
|
|
124
|
+
* offered. A fingerprint build's scope key is that catalog's own key; an
|
|
125
|
+
* app-version build's adds its exact app version, which the catalog of
|
|
126
|
+
* every app version leaves out.
|
|
127
|
+
*/
|
|
128
|
+
var nativeBuildCatalogScopeKey = (build) => {
|
|
129
|
+
const channelKey = build.channel_id.slice(8);
|
|
130
|
+
return build.fingerprint_hash === null ? createReleaseCatalogScopeKey({
|
|
131
|
+
channelKey,
|
|
132
|
+
platform: build.platform,
|
|
133
|
+
strategy: "APP_VERSION"
|
|
134
|
+
}) : createReleaseCatalogScopeKey({
|
|
135
|
+
channelKey,
|
|
136
|
+
fingerprintHash: build.fingerprint_hash,
|
|
137
|
+
platform: build.platform,
|
|
138
|
+
strategy: "FINGERPRINT"
|
|
139
|
+
});
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* The native build scope a release serves, or null when no one build has
|
|
143
|
+
* it: a release of an app version range, rather than one exact version,
|
|
144
|
+
* targets many builds.
|
|
145
|
+
*/
|
|
146
|
+
var releaseNativeBuildScope = (release) => {
|
|
147
|
+
if (release.fingerprintHash !== null) return {
|
|
148
|
+
platform: release.platform,
|
|
149
|
+
channel: release.channel,
|
|
150
|
+
fingerprintHash: release.fingerprintHash,
|
|
151
|
+
appVersion: null
|
|
152
|
+
};
|
|
153
|
+
const target = release.targetAppVersion;
|
|
154
|
+
if (target === null || canonicalizeAppVersion(target) !== target) return null;
|
|
155
|
+
return {
|
|
156
|
+
platform: release.platform,
|
|
157
|
+
channel: release.channel,
|
|
158
|
+
fingerprintHash: null,
|
|
159
|
+
appVersion: target
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* The artifact's file name, the last path segment of its storage URI, so a
|
|
164
|
+
* public URL's query or fragment stays out of it.
|
|
165
|
+
*/
|
|
166
|
+
var nativeBuildFileName = (build) => {
|
|
167
|
+
const segment = (build.artifact_storage_uri.split(/[?#]/, 1)[0] ?? "").split("/").at(-1) ?? "";
|
|
168
|
+
try {
|
|
169
|
+
return decodeURIComponent(segment);
|
|
170
|
+
} catch {
|
|
171
|
+
return segment;
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
var UNITS = [
|
|
175
|
+
"B",
|
|
176
|
+
"KB",
|
|
177
|
+
"MB",
|
|
178
|
+
"GB"
|
|
179
|
+
];
|
|
180
|
+
/** A byte count in the largest unit that keeps it at or above 1. */
|
|
181
|
+
var formatByteSize = (bytes) => {
|
|
182
|
+
let value = bytes;
|
|
183
|
+
let unit = 0;
|
|
184
|
+
while (value >= 1024 && unit < UNITS.length - 1) {
|
|
185
|
+
value /= 1024;
|
|
186
|
+
unit += 1;
|
|
187
|
+
}
|
|
188
|
+
return `${unit === 0 ? value : value.toFixed(1)} ${UNITS[unit]}`;
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* The command that downloads a simulator build or an APK, installs it on the
|
|
192
|
+
* booted simulator or the connected device, and opens it, in the project with
|
|
193
|
+
* its `hot-updater.config.ts`.
|
|
194
|
+
*/
|
|
195
|
+
var nativeBuildInstallCommand = (build) => `npx hot-updater native-build install ${shellQuote(build.id)}`;
|
|
196
|
+
//#endregion
|
|
197
|
+
export { nativeBuildManifestPath as C, platformLabel as D, nativeBuildSignedDownloadUrl as E, releaseNativeBuildScope as O, nativeBuildLabel as S, nativeBuildScope as T, nativeBuildDetailPath as _, IOS_DEVICE_RESPONSE_PATH as a, nativeBuildInstallCommand as b, NATIVE_BUILD_INSTALL_LINK_TTL_MS as c, formatByteSize as d, iosDeviceProfileUrl as f, nativeBuildChannel as g, nativeBuildCatalogScopeKey as h, IOS_DEVICE_RECEIPT_STORAGE_KEY as i, shellQuote as k, channelIdOf as l, nativeBuildArtifacts as m, IOS_DEVICES_PATH as n, IOS_UDID_PATTERN as o, maskIosUdid as p, IOS_DEVICE_PROFILE_PATH as r, IOS_UDID_STORAGE_KEY as s, IOS_DEVICES_ADD_COMMAND as t, consolePathOf as u, nativeBuildDownloadPath as v, nativeBuildPathKey as w, nativeBuildItmsUrl as x, nativeBuildFileName as y };
|