@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
|
@@ -1,23 +1,32 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { A as createSsrRpc } from "./sidebar-
|
|
3
|
-
import { t as consoleAccess } from "./console-access-
|
|
4
|
-
import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
5
|
-
import { o as assertCanonicalChannelName } from "./dist-
|
|
6
|
-
import {
|
|
7
|
-
import { n as readReleaseFilter } from "./listReleases-
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-
|
|
9
|
-
|
|
10
|
-
var
|
|
11
|
-
const
|
|
12
|
-
if (!
|
|
13
|
-
return
|
|
2
|
+
import { A as createSsrRpc } from "./sidebar-BrVL3L7R.mjs";
|
|
3
|
+
import { t as consoleAccess } from "./console-access-B0S5YFUa.mjs";
|
|
4
|
+
import { i as useQuery, n as useMutation, s as useQueryClient, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
|
|
5
|
+
import { o as assertCanonicalChannelName } from "./dist-B6-irDRA.mjs";
|
|
6
|
+
import { l as channelIdOf } from "./native-builds-BXBkklfA.mjs";
|
|
7
|
+
import { n as readReleaseFilter } from "./listReleases-DYYA5alS.mjs";
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-BT7aA8UM.js
|
|
9
|
+
/** The bounds of a fold, checked: IDs as text. */
|
|
10
|
+
var readFoldInput = (input) => {
|
|
11
|
+
const text = (value) => typeof value === "string" && value !== "";
|
|
12
|
+
if (!text(input.to) || input.from !== void 0 && !text(input.from) || input.after !== void 0 && !text(input.after)) throw new Error("A fold is its to, and optionally from and after.");
|
|
13
|
+
return {
|
|
14
|
+
to: input.to,
|
|
15
|
+
...input.from === void 0 ? {} : { from: input.from },
|
|
16
|
+
...input.after === void 0 ? {} : { after: input.after }
|
|
17
|
+
};
|
|
14
18
|
};
|
|
15
19
|
var getReleases = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => ({
|
|
16
20
|
filter: readReleaseFilter(input?.filter),
|
|
17
21
|
...input?.afterReleaseId === void 0 ? {} : { afterReleaseId: input.afterReleaseId },
|
|
18
22
|
...input?.beforeReleaseId === void 0 ? {} : { beforeReleaseId: input.beforeReleaseId },
|
|
19
|
-
|
|
23
|
+
...input?.releaseId === void 0 ? {} : { releaseId: input.releaseId }
|
|
20
24
|
})).handler(createSsrRpc("206547cb1526f961070a989818ca7b9e34f6b2b0e4ab851698c3807fe9fb5e0c"));
|
|
25
|
+
/** One chunk of a release page's fold. */
|
|
26
|
+
var getReleaseFold = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => ({
|
|
27
|
+
filter: readReleaseFilter(input.filter),
|
|
28
|
+
...readFoldInput(input)
|
|
29
|
+
})).handler(createSsrRpc("b30a0e32e3e84050037368e4405bfc34507fda8891a64faefe1a7acd019e9f3c"));
|
|
21
30
|
var getRelease = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(createSsrRpc("a6f23116eeaf76166d405e28a95213123025613c6603030894e519015bf48032"));
|
|
22
31
|
var updateRelease = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createSsrRpc("7ea0186f19f9f2bc2ca4b26e3c59636891cf046957f84287b6783f8d88bd8cb7"));
|
|
23
32
|
var preflightRelease = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createSsrRpc("b46c95dba95a6a3e8fa5c9d100e3622fa5ae7af4f38e10fb1ed2fa48289a3a8f"));
|
|
@@ -48,9 +57,13 @@ var channelIdFilter = (channel) => {
|
|
|
48
57
|
var getNativeBuilds = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => ({
|
|
49
58
|
...input?.before === void 0 ? {} : { before: input.before },
|
|
50
59
|
...input?.after === void 0 ? {} : { after: input.after },
|
|
51
|
-
...channelIdFilter(input?.channel)
|
|
52
|
-
limit: pageLimit(input?.limit)
|
|
60
|
+
...channelIdFilter(input?.channel)
|
|
53
61
|
})).handler(createSsrRpc("17a54fe7c5ad6ca53457914b1d02b3d6887811aa6b5fa6598a1ee107796ce8f0"));
|
|
62
|
+
/** One chunk of a native build page's fold. */
|
|
63
|
+
var getNativeBuildFold = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => ({
|
|
64
|
+
...channelIdFilter(input.channel),
|
|
65
|
+
...readFoldInput(input)
|
|
66
|
+
})).handler(createSsrRpc("1fc98b1499df6f62eeb3e84712ff4bd12e428d2ddd08880d541463d24ccd0233"));
|
|
54
67
|
/** A native build's page: the build, its built-in bundle, what it is served, and its patches. */
|
|
55
68
|
var getNativeBuildDetail = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(createSsrRpc("c101ad0315790cf226f182906274176b64a93b9bf5b410cacec5067208c70a04"));
|
|
56
69
|
/** One page of the patches from a native build's built-in bundle. */
|
|
@@ -60,24 +73,47 @@ var getNativeBuildPatches = createServerFn({ method: "GET" }).middleware([consol
|
|
|
60
73
|
...input.after === void 0 ? {} : { after: input.after }
|
|
61
74
|
})).handler(createSsrRpc("2e3fab89483b2e4fea0c2f996071b2dbb15b8bc072e7dae78c75a9a9d854d5b9"));
|
|
62
75
|
/**
|
|
63
|
-
* The
|
|
64
|
-
*
|
|
65
|
-
* reads nothing.
|
|
76
|
+
* The native build new deploys to a release's scope patch from: the scope's
|
|
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, and reads nothing.
|
|
66
79
|
*/
|
|
67
80
|
var getReleaseNativeBuild = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(createSsrRpc("868ce85f0b63ad138a1f82a573d1d6b12f80c7ca44aefec3dadf01b5fa7db86c"));
|
|
68
81
|
/**
|
|
69
|
-
*
|
|
70
|
-
*
|
|
82
|
+
* Marks a build as what the store sells, replacing its scope's mark, or clears
|
|
83
|
+
* its mark: only for a signed-in caller. It creates no patch: a hosted Console
|
|
84
|
+
* doesn't run the diff.
|
|
85
|
+
*/
|
|
86
|
+
var markNativeBuild = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createSsrRpc("a6c8cfa907e2f75bf69aa90044bd52a3ee684d1a0462d23781161a1a3531aa33"));
|
|
87
|
+
/**
|
|
88
|
+
* The URL a phone downloads a build from when the Console can't sign a link,
|
|
89
|
+
* or null when the storage gives none: the storage's download URL, resolved
|
|
71
90
|
* again each time it is read, since it may expire.
|
|
72
91
|
*/
|
|
73
92
|
var getNativeBuildDownloadUrl = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(createSsrRpc("936ef8582ff49d97077d1d80e8403d0b4106831c955591c5c471a88f96007fe9"));
|
|
93
|
+
/**
|
|
94
|
+
* A new signed link to one build's download, which works without the
|
|
95
|
+
* console's sign-in until it expires: only for a signed-in caller.
|
|
96
|
+
*/
|
|
97
|
+
var createNativeBuildDownloadLink = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createSsrRpc("c6ff40bd8faad0b2d7aba3e94179c18e02a918a76bff25849d771ff31f688208"));
|
|
98
|
+
/**
|
|
99
|
+
* What an iPhone can do with one build: read from the IPA on demand, one row
|
|
100
|
+
* and a few storage requests, with the Install button's link when it can
|
|
101
|
+
* install. A POST, since it signs that link, and only for a signed-in caller.
|
|
102
|
+
*/
|
|
103
|
+
var getNativeBuildInstallEligibility = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createSsrRpc("67cea9f69773d83e69e68e20b81116a2bee9ee4ab3e378698ff74149f1d59ad0"));
|
|
74
104
|
var releaseListQueryKey = ["releases"];
|
|
75
105
|
var queryKeys = {
|
|
76
106
|
config: ["config"],
|
|
77
107
|
channels: ["channels"],
|
|
78
108
|
releases: {
|
|
79
109
|
all: releaseListQueryKey,
|
|
80
|
-
list: (filters) => [...releaseListQueryKey, filters ?? {}]
|
|
110
|
+
list: (filters) => [...releaseListQueryKey, filters ?? {}],
|
|
111
|
+
fold: (filter, fold) => [
|
|
112
|
+
...releaseListQueryKey,
|
|
113
|
+
"fold",
|
|
114
|
+
filter ?? {},
|
|
115
|
+
fold
|
|
116
|
+
]
|
|
81
117
|
},
|
|
82
118
|
release: (releaseId) => ["release", releaseId],
|
|
83
119
|
releaseCatalog: (scopeKey) => ["release-catalog", scopeKey],
|
|
@@ -93,7 +129,13 @@ var queryKeys = {
|
|
|
93
129
|
bundle: (bundleId) => ["bundle", bundleId],
|
|
94
130
|
nativeBuilds: {
|
|
95
131
|
all: ["native-builds"],
|
|
96
|
-
list: (page) => ["native-builds", page]
|
|
132
|
+
list: (page) => ["native-builds", page],
|
|
133
|
+
fold: (channel, fold) => [
|
|
134
|
+
"native-builds",
|
|
135
|
+
"fold",
|
|
136
|
+
channel ?? null,
|
|
137
|
+
fold
|
|
138
|
+
]
|
|
97
139
|
},
|
|
98
140
|
nativeBuild: (id) => ["native-build", id],
|
|
99
141
|
nativeBuildPatches: (minBundleId, page) => [
|
|
@@ -102,14 +144,31 @@ var queryKeys = {
|
|
|
102
144
|
page
|
|
103
145
|
],
|
|
104
146
|
nativeBuildDownloadUrl: (id) => ["native-build-download-url", id],
|
|
147
|
+
nativeBuildDownloadLink: (id) => ["native-build-download-link", id],
|
|
148
|
+
nativeBuildInstallEligibility: (id, udid) => [
|
|
149
|
+
"native-build-install-eligibility",
|
|
150
|
+
id,
|
|
151
|
+
udid
|
|
152
|
+
],
|
|
105
153
|
releaseNativeBuild: (release) => ["release-native-build", release]
|
|
106
154
|
};
|
|
107
155
|
/**
|
|
108
|
-
* How
|
|
109
|
-
*
|
|
110
|
-
*
|
|
156
|
+
* How long a storage download URL counts as fresh. Storage gives no lifetime
|
|
157
|
+
* with the URL, and adapters let it be configured down to minutes, so a
|
|
158
|
+
* person coming back to the page after this gets a new one.
|
|
111
159
|
*/
|
|
112
|
-
var
|
|
160
|
+
var DOWNLOAD_URL_STALE_MS = 6e4;
|
|
161
|
+
/**
|
|
162
|
+
* How long a build page's signed link counts as fresh: far inside its 30 days,
|
|
163
|
+
* so a page left open never shows an expired one, and it costs one request
|
|
164
|
+
* a day.
|
|
165
|
+
*/
|
|
166
|
+
var DOWNLOAD_LINK_STALE_MS = 1440 * 60 * 1e3;
|
|
167
|
+
/**
|
|
168
|
+
* How long an iPhone keeps a build's install details and Install link, which
|
|
169
|
+
* lasts an hour: past this, an open page reads and signs again.
|
|
170
|
+
*/
|
|
171
|
+
var INSTALL_ELIGIBILITY_STALE_MS = 1800 * 1e3;
|
|
113
172
|
function useConfigQuery() {
|
|
114
173
|
return useQuery({
|
|
115
174
|
queryKey: queryKeys.config,
|
|
@@ -131,6 +190,23 @@ function useReleasesQuery(filters) {
|
|
|
131
190
|
placeholderData: (previousData) => previousData
|
|
132
191
|
});
|
|
133
192
|
}
|
|
193
|
+
/**
|
|
194
|
+
* A fold's releases, a chunk at a time, read once it opens: the page that
|
|
195
|
+
* folded them reads nothing more when one opens.
|
|
196
|
+
*/
|
|
197
|
+
function useReleaseFoldQuery(filter, fold, enabled) {
|
|
198
|
+
return useInfiniteQuery({
|
|
199
|
+
queryKey: queryKeys.releases.fold(filter, fold),
|
|
200
|
+
queryFn: ({ pageParam }) => getReleaseFold({ data: {
|
|
201
|
+
...fold,
|
|
202
|
+
...filter === void 0 ? {} : { filter },
|
|
203
|
+
...pageParam === void 0 ? {} : { after: pageParam }
|
|
204
|
+
} }),
|
|
205
|
+
initialPageParam: void 0,
|
|
206
|
+
getNextPageParam: (last) => last.next,
|
|
207
|
+
enabled
|
|
208
|
+
});
|
|
209
|
+
}
|
|
134
210
|
function useReleaseQuery(releaseId) {
|
|
135
211
|
return useQuery({
|
|
136
212
|
enabled: releaseId.length > 0,
|
|
@@ -170,6 +246,21 @@ function useBundleChildCountsQuery(bundleIds) {
|
|
|
170
246
|
enabled: normalizedBundleIds.length > 0
|
|
171
247
|
});
|
|
172
248
|
}
|
|
249
|
+
/** A fold's native builds, a chunk at a time, read once it opens. */
|
|
250
|
+
function useNativeBuildFoldQuery(channel, fold, enabled) {
|
|
251
|
+
return useInfiniteQuery({
|
|
252
|
+
queryKey: queryKeys.nativeBuilds.fold(channel, fold),
|
|
253
|
+
queryFn: ({ pageParam }) => getNativeBuildFold({ data: {
|
|
254
|
+
...fold,
|
|
255
|
+
...channel === void 0 ? {} : { channel },
|
|
256
|
+
...pageParam === void 0 ? {} : { after: pageParam }
|
|
257
|
+
} }),
|
|
258
|
+
initialPageParam: void 0,
|
|
259
|
+
getNextPageParam: (last) => last.next,
|
|
260
|
+
enabled,
|
|
261
|
+
staleTime: 6e4
|
|
262
|
+
});
|
|
263
|
+
}
|
|
173
264
|
/** One page of native builds, newest first, kept on screen while the next loads. */
|
|
174
265
|
function useNativeBuildsQuery(page) {
|
|
175
266
|
return useQuery({
|
|
@@ -224,16 +315,41 @@ function useReleaseNativeBuildQuery(release) {
|
|
|
224
315
|
});
|
|
225
316
|
}
|
|
226
317
|
/**
|
|
227
|
-
* The
|
|
228
|
-
*
|
|
318
|
+
* The signed link of a build's page, which its QR code, download button, and
|
|
319
|
+
* copyable link all use: one request when the page opens.
|
|
229
320
|
*/
|
|
230
|
-
function
|
|
321
|
+
function useNativeBuildDownloadLinkQuery(id) {
|
|
322
|
+
return useQuery({
|
|
323
|
+
queryKey: queryKeys.nativeBuildDownloadLink(id),
|
|
324
|
+
queryFn: () => createNativeBuildDownloadLink({ data: { id } }),
|
|
325
|
+
staleTime: DOWNLOAD_LINK_STALE_MS
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* What this iPhone can do with a build, and the link Install opens: requested
|
|
330
|
+
* only by an iPhone on the page of an IPA, and again before that link, which
|
|
331
|
+
* lasts about an hour, runs out.
|
|
332
|
+
*/
|
|
333
|
+
function useNativeBuildInstallEligibilityQuery(id, udid) {
|
|
334
|
+
return useQuery({
|
|
335
|
+
queryKey: queryKeys.nativeBuildInstallEligibility(id, udid),
|
|
336
|
+
queryFn: () => getNativeBuildInstallEligibility({ data: {
|
|
337
|
+
id,
|
|
338
|
+
...udid === null ? {} : { udid }
|
|
339
|
+
} }),
|
|
340
|
+
staleTime: INSTALL_ELIGIBILITY_STALE_MS,
|
|
341
|
+
refetchInterval: INSTALL_ELIGIBILITY_STALE_MS
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* The storage URL a phone downloads a build from when the Console can't sign
|
|
346
|
+
* a link: read once, and again only when someone comes back to the page.
|
|
347
|
+
*/
|
|
348
|
+
function useNativeBuildDownloadUrlQuery(id) {
|
|
231
349
|
return useQuery({
|
|
232
350
|
queryKey: queryKeys.nativeBuildDownloadUrl(id),
|
|
233
351
|
queryFn: () => getNativeBuildDownloadUrl({ data: { id } }),
|
|
234
|
-
|
|
235
|
-
staleTime: DOWNLOAD_URL_REFRESH_MS,
|
|
236
|
-
refetchInterval: (query) => query.state.data?.url === null ? false : DOWNLOAD_URL_REFRESH_MS
|
|
352
|
+
staleTime: DOWNLOAD_URL_STALE_MS
|
|
237
353
|
});
|
|
238
354
|
}
|
|
239
355
|
function useCreateChannelMutation() {
|
|
@@ -254,6 +370,24 @@ function useDeleteChannelMutation() {
|
|
|
254
370
|
}
|
|
255
371
|
});
|
|
256
372
|
}
|
|
373
|
+
/**
|
|
374
|
+
* Marks a build as its scope's store build, or clears it. The mark it replaced
|
|
375
|
+
* is on another build's page, in the list and in a release sheet's link, so
|
|
376
|
+
* they read again.
|
|
377
|
+
*/
|
|
378
|
+
function useMarkNativeBuildMutation() {
|
|
379
|
+
const queryClient = useQueryClient();
|
|
380
|
+
return useMutation({
|
|
381
|
+
mutationFn: (input) => markNativeBuild({ data: input }),
|
|
382
|
+
onSettled: async () => {
|
|
383
|
+
await Promise.all([
|
|
384
|
+
queryClient.invalidateQueries({ queryKey: ["native-build"] }),
|
|
385
|
+
queryClient.invalidateQueries({ queryKey: queryKeys.nativeBuilds.all }),
|
|
386
|
+
queryClient.invalidateQueries({ queryKey: ["release-native-build"] })
|
|
387
|
+
]);
|
|
388
|
+
}
|
|
389
|
+
});
|
|
390
|
+
}
|
|
257
391
|
function useUpdateReleaseMutation() {
|
|
258
392
|
const queryClient = useQueryClient();
|
|
259
393
|
return useMutation({
|
|
@@ -302,4 +436,4 @@ function usePromoteReleaseMutation() {
|
|
|
302
436
|
});
|
|
303
437
|
}
|
|
304
438
|
//#endregion
|
|
305
|
-
export { useReleaseQuery as _, useConfigQuery as a, useDeleteReleaseMutation as c,
|
|
439
|
+
export { useReleasesQuery as C, useReleaseQuery as S, usePreflightReleaseMutation as _, useConfigQuery as a, useReleaseFoldQuery as b, useDeleteReleaseMutation as c, useNativeBuildDownloadLinkQuery as d, useNativeBuildDownloadUrlQuery as f, useNativeBuildsQuery as g, useNativeBuildPatchesQuery as h, useChannelsQuery as i, useMarkNativeBuildMutation as l, useNativeBuildInstallEligibilityQuery as m, useBundleChildrenQuery as n, useCreateChannelMutation as o, useNativeBuildFoldQuery as p, useBundleQuery as r, useDeleteChannelMutation as s, useBundleChildCountsQuery as t, useNativeBuildDetailQuery as u, usePromoteReleaseMutation as v, useUpdateReleaseMutation as w, useReleaseNativeBuildQuery as x, useReleaseCatalogDiagnosticsQuery as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DKUgr0N_.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-D2NvcQZv.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
4
|
import { D as LoaderCircle, H as Clipboard, X as Check, _ as RefreshCw, f as ShieldOff, i as TriangleAlert, k as KeyRound, v as Plus } from "../_libs/lucide-react.mjs";
|
|
5
|
-
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-
|
|
6
|
-
import { t as consoleAccess } from "./console-access-
|
|
5
|
+
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-BrVL3L7R.mjs";
|
|
6
|
+
import { t as consoleAccess } from "./console-access-B0S5YFUa.mjs";
|
|
7
7
|
import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
8
|
-
import { a as
|
|
9
|
-
import { a as
|
|
10
|
-
import { a as
|
|
11
|
-
import { a as
|
|
12
|
-
import { a as
|
|
8
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-CFCftDfI.mjs";
|
|
9
|
+
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-Dpp4q7sD.mjs";
|
|
10
|
+
import { a as AlertDialogDescription, c as AlertDialogMedia, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1, u as AlertDialogTrigger } from "./alert-dialog-Bd4E9xdw.mjs";
|
|
11
|
+
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-DQR_QI_X.mjs";
|
|
12
|
+
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-BqYN8sZT.mjs";
|
|
13
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-Bg7nCnct.mjs";
|
|
13
14
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
14
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-
|
|
15
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-DjWpM20P.js
|
|
15
16
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
16
17
|
var import_jsx_runtime = require_jsx_runtime();
|
|
17
18
|
var parseName = (input) => {
|
|
@@ -122,7 +123,7 @@ function CreateApiKeyDialog() {
|
|
|
122
123
|
type: "submit",
|
|
123
124
|
children: [create.isPending ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LoaderCircle, {
|
|
124
125
|
"data-icon": "inline-start",
|
|
125
|
-
className: "animate-spin"
|
|
126
|
+
className: "animate-spin motion-reduce:animate-none"
|
|
126
127
|
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(KeyRound, { "data-icon": "inline-start" }), "Create API key"]
|
|
127
128
|
})
|
|
128
129
|
})]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
3
|
-
import { t as createServerRpc } from "./createServerRpc-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-B0S5YFUa.mjs";
|
|
3
|
+
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-nM5H7V7f.js
|
|
5
5
|
var parseName = (input) => {
|
|
6
6
|
const name = typeof input === "object" && input !== null ? Reflect.get(input, "name") : void 0;
|
|
7
7
|
if (typeof name !== "string") throw new TypeError("API key name must be a string.");
|
|
@@ -14,7 +14,7 @@ var parseId = (input) => {
|
|
|
14
14
|
};
|
|
15
15
|
/** API key management, once the console's access check and the feature guard pass. */
|
|
16
16
|
var apiKeyManagement = async () => {
|
|
17
|
-
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-
|
|
17
|
+
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-5W5WD8x2.mjs"), import("./runtime.server-CkSbWaZm.mjs")]);
|
|
18
18
|
const { runtime } = await prepareConfig();
|
|
19
19
|
return requireFeature(runtime, "apiKeys");
|
|
20
20
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
3
|
-
import { t as createServerRpc } from "./createServerRpc-
|
|
4
|
-
import { o as assertCanonicalChannelName } from "./dist-
|
|
5
|
-
import { i as rowToBundle } from "./databaseRows-
|
|
6
|
-
import { t as ReleaseManagementError } from "./releaseManagement-
|
|
7
|
-
import {
|
|
8
|
-
import { n as readReleaseFilter, t as
|
|
9
|
-
|
|
10
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-B48nsUak.js
|
|
2
|
+
import { t as consoleAccess } from "./console-access-B0S5YFUa.mjs";
|
|
3
|
+
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
+
import { o as assertCanonicalChannelName } from "./dist-B6-irDRA.mjs";
|
|
5
|
+
import { i as rowToBundle } from "./databaseRows-BtRVBD0C.mjs";
|
|
6
|
+
import { t as ReleaseManagementError } from "./releaseManagement-EPhok_Py.mjs";
|
|
7
|
+
import { O as releaseNativeBuildScope, l as channelIdOf } from "./native-builds-BXBkklfA.mjs";
|
|
8
|
+
import { n as readReleaseFilter, r as readReleaseFold, t as listReleaseFolds } from "./listReleases-DYYA5alS.mjs";
|
|
9
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-DX4HynbW.js
|
|
11
10
|
var withPublicBundleMutationErrors = async (action) => {
|
|
12
11
|
try {
|
|
13
12
|
return await action();
|
|
@@ -16,14 +15,18 @@ var withPublicBundleMutationErrors = async (action) => {
|
|
|
16
15
|
throw error;
|
|
17
16
|
}
|
|
18
17
|
};
|
|
19
|
-
|
|
20
|
-
var
|
|
21
|
-
const
|
|
22
|
-
if (!
|
|
23
|
-
return
|
|
18
|
+
/** The bounds of a fold, checked: IDs as text. */
|
|
19
|
+
var readFoldInput = (input) => {
|
|
20
|
+
const text = (value) => typeof value === "string" && value !== "";
|
|
21
|
+
if (!text(input.to) || input.from !== void 0 && !text(input.from) || input.after !== void 0 && !text(input.after)) throw new Error("A fold is its to, and optionally from and after.");
|
|
22
|
+
return {
|
|
23
|
+
to: input.to,
|
|
24
|
+
...input.from === void 0 ? {} : { from: input.from },
|
|
25
|
+
...input.after === void 0 ? {} : { after: input.after }
|
|
26
|
+
};
|
|
24
27
|
};
|
|
25
28
|
var prepare = async () => {
|
|
26
|
-
const { prepareConfig } = await import("./config.server-
|
|
29
|
+
const { prepareConfig } = await import("./config.server-5W5WD8x2.mjs");
|
|
27
30
|
return prepareConfig();
|
|
28
31
|
};
|
|
29
32
|
var getReleases_createServerFn_handler = createServerRpc({
|
|
@@ -35,15 +38,17 @@ var getReleases = createServerFn({ method: "GET" }).middleware([consoleAccess]).
|
|
|
35
38
|
filter: readReleaseFilter(input?.filter),
|
|
36
39
|
...input?.afterReleaseId === void 0 ? {} : { afterReleaseId: input.afterReleaseId },
|
|
37
40
|
...input?.beforeReleaseId === void 0 ? {} : { beforeReleaseId: input.beforeReleaseId },
|
|
38
|
-
|
|
39
|
-
})).handler(getReleases_createServerFn_handler, async ({ data }) =>
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
...input?.releaseId === void 0 ? {} : { releaseId: input.releaseId }
|
|
42
|
+
})).handler(getReleases_createServerFn_handler, async ({ data }) => listReleaseFolds((await prepare()).core, data));
|
|
43
|
+
var getReleaseFold_createServerFn_handler = createServerRpc({
|
|
44
|
+
id: "b30a0e32e3e84050037368e4405bfc34507fda8891a64faefe1a7acd019e9f3c",
|
|
45
|
+
name: "getReleaseFold",
|
|
46
|
+
filename: "src/lib/api-rpc.ts"
|
|
47
|
+
}, (opts) => getReleaseFold.__executeServer(opts));
|
|
48
|
+
var getReleaseFold = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => ({
|
|
49
|
+
filter: readReleaseFilter(input.filter),
|
|
50
|
+
...readFoldInput(input)
|
|
51
|
+
})).handler(getReleaseFold_createServerFn_handler, async ({ data }) => readReleaseFold((await prepare()).core, data));
|
|
47
52
|
var getRelease_createServerFn_handler = createServerRpc({
|
|
48
53
|
id: "a6f23116eeaf76166d405e28a95213123025613c6603030894e519015bf48032",
|
|
49
54
|
name: "getRelease",
|
|
@@ -179,7 +184,7 @@ var getBundleChildren_createServerFn_handler = createServerRpc({
|
|
|
179
184
|
}, (opts) => getBundleChildren.__executeServer(opts));
|
|
180
185
|
var getBundleChildren = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getBundleChildren_createServerFn_handler, async ({ data }) => {
|
|
181
186
|
try {
|
|
182
|
-
const [{ core }, { getBundleChildren: readBundleChildren }] = await Promise.all([prepare(), import("./getBundleChildren-
|
|
187
|
+
const [{ core }, { getBundleChildren: readBundleChildren }] = await Promise.all([prepare(), import("./getBundleChildren-CdqFonhl.mjs")]);
|
|
183
188
|
return await readBundleChildren(core, data.baseBundleId);
|
|
184
189
|
} catch (error) {
|
|
185
190
|
console.error("Error during bundle children retrieval:", error);
|
|
@@ -196,7 +201,7 @@ var getBundleChildCounts = createServerFn({ method: "GET" }).middleware([console
|
|
|
196
201
|
return input;
|
|
197
202
|
}).handler(getBundleChildCounts_createServerFn_handler, async ({ data }) => {
|
|
198
203
|
try {
|
|
199
|
-
const [{ core }, { getBundleChildCounts: readBundleChildCounts }] = await Promise.all([prepare(), import("./getBundleChildren-
|
|
204
|
+
const [{ core }, { getBundleChildCounts: readBundleChildCounts }] = await Promise.all([prepare(), import("./getBundleChildren-CdqFonhl.mjs")]);
|
|
200
205
|
return await readBundleChildCounts(core, data.bundleIds);
|
|
201
206
|
} catch (error) {
|
|
202
207
|
console.error("Error during bundle child count retrieval:", error);
|
|
@@ -218,11 +223,22 @@ var getNativeBuilds_createServerFn_handler = createServerRpc({
|
|
|
218
223
|
var getNativeBuilds = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => ({
|
|
219
224
|
...input?.before === void 0 ? {} : { before: input.before },
|
|
220
225
|
...input?.after === void 0 ? {} : { after: input.after },
|
|
221
|
-
...channelIdFilter(input?.channel)
|
|
222
|
-
limit: pageLimit(input?.limit)
|
|
226
|
+
...channelIdFilter(input?.channel)
|
|
223
227
|
})).handler(getNativeBuilds_createServerFn_handler, async ({ data }) => {
|
|
224
|
-
const [{ core }, {
|
|
225
|
-
return
|
|
228
|
+
const [{ core }, { listNativeBuildFolds }] = await Promise.all([prepare(), import("./nativeBuilds-Cub0EUGN.mjs")]);
|
|
229
|
+
return listNativeBuildFolds(core, data);
|
|
230
|
+
});
|
|
231
|
+
var getNativeBuildFold_createServerFn_handler = createServerRpc({
|
|
232
|
+
id: "1fc98b1499df6f62eeb3e84712ff4bd12e428d2ddd08880d541463d24ccd0233",
|
|
233
|
+
name: "getNativeBuildFold",
|
|
234
|
+
filename: "src/lib/api-rpc.ts"
|
|
235
|
+
}, (opts) => getNativeBuildFold.__executeServer(opts));
|
|
236
|
+
var getNativeBuildFold = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => ({
|
|
237
|
+
...channelIdFilter(input.channel),
|
|
238
|
+
...readFoldInput(input)
|
|
239
|
+
})).handler(getNativeBuildFold_createServerFn_handler, async ({ data }) => {
|
|
240
|
+
const [{ core }, { readNativeBuildFold }] = await Promise.all([prepare(), import("./nativeBuilds-Cub0EUGN.mjs")]);
|
|
241
|
+
return readNativeBuildFold(core, data);
|
|
226
242
|
});
|
|
227
243
|
var getNativeBuildDetail_createServerFn_handler = createServerRpc({
|
|
228
244
|
id: "c101ad0315790cf226f182906274176b64a93b9bf5b410cacec5067208c70a04",
|
|
@@ -230,7 +246,7 @@ var getNativeBuildDetail_createServerFn_handler = createServerRpc({
|
|
|
230
246
|
filename: "src/lib/api-rpc.ts"
|
|
231
247
|
}, (opts) => getNativeBuildDetail.__executeServer(opts));
|
|
232
248
|
var getNativeBuildDetail = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildDetail_createServerFn_handler, async ({ data }) => {
|
|
233
|
-
const [{ core }, { getNativeBuildDetail: readNativeBuildDetail }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
249
|
+
const [{ core }, { getNativeBuildDetail: readNativeBuildDetail }] = await Promise.all([prepare(), import("./nativeBuilds-Cub0EUGN.mjs")]);
|
|
234
250
|
return readNativeBuildDetail(core, data.id);
|
|
235
251
|
});
|
|
236
252
|
var getNativeBuildPatches_createServerFn_handler = createServerRpc({
|
|
@@ -243,7 +259,7 @@ var getNativeBuildPatches = createServerFn({ method: "GET" }).middleware([consol
|
|
|
243
259
|
...input.before === void 0 ? {} : { before: input.before },
|
|
244
260
|
...input.after === void 0 ? {} : { after: input.after }
|
|
245
261
|
})).handler(getNativeBuildPatches_createServerFn_handler, async ({ data: { minBundleId, ...page } }) => {
|
|
246
|
-
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-Cub0EUGN.mjs")]);
|
|
247
263
|
return listNativeBuildPatches(core, minBundleId, {
|
|
248
264
|
...page,
|
|
249
265
|
limit: NATIVE_BUILD_PATCH_PAGE_SIZE
|
|
@@ -257,16 +273,48 @@ var getReleaseNativeBuild_createServerFn_handler = createServerRpc({
|
|
|
257
273
|
var getReleaseNativeBuild = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getReleaseNativeBuild_createServerFn_handler, async ({ data }) => {
|
|
258
274
|
const scope = releaseNativeBuildScope(data);
|
|
259
275
|
if (scope === null) return null;
|
|
260
|
-
|
|
276
|
+
const { core } = await prepare();
|
|
277
|
+
return await core.findNativeBuild(scope, { storeBuild: true }) ?? core.findNativeBuild(scope);
|
|
261
278
|
});
|
|
279
|
+
var markNativeBuild_createServerFn_handler = createServerRpc({
|
|
280
|
+
id: "a6c8cfa907e2f75bf69aa90044bd52a3ee684d1a0462d23781161a1a3531aa33",
|
|
281
|
+
name: "markNativeBuild",
|
|
282
|
+
filename: "src/lib/api-rpc.ts"
|
|
283
|
+
}, (opts) => markNativeBuild.__executeServer(opts));
|
|
284
|
+
var markNativeBuild = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(markNativeBuild_createServerFn_handler, async ({ data }) => (await prepare()).core.markNativeBuild(data.id, { storeBuild: data.storeBuild }));
|
|
262
285
|
var getNativeBuildDownloadUrl_createServerFn_handler = createServerRpc({
|
|
263
286
|
id: "936ef8582ff49d97077d1d80e8403d0b4106831c955591c5c471a88f96007fe9",
|
|
264
287
|
name: "getNativeBuildDownloadUrl",
|
|
265
288
|
filename: "src/lib/api-rpc.ts"
|
|
266
289
|
}, (opts) => getNativeBuildDownloadUrl.__executeServer(opts));
|
|
267
290
|
var getNativeBuildDownloadUrl = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildDownloadUrl_createServerFn_handler, async ({ data }) => {
|
|
268
|
-
const [deps, { resolveNativeBuildDownloadUrl }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
291
|
+
const [deps, { resolveNativeBuildDownloadUrl }] = await Promise.all([prepare(), import("./nativeBuilds-Cub0EUGN.mjs")]);
|
|
269
292
|
return { url: await resolveNativeBuildDownloadUrl(data.id, deps) };
|
|
270
293
|
});
|
|
294
|
+
var createNativeBuildDownloadLink_createServerFn_handler = createServerRpc({
|
|
295
|
+
id: "c6ff40bd8faad0b2d7aba3e94179c18e02a918a76bff25849d771ff31f688208",
|
|
296
|
+
name: "createNativeBuildDownloadLink",
|
|
297
|
+
filename: "src/lib/api-rpc.ts"
|
|
298
|
+
}, (opts) => createNativeBuildDownloadLink.__executeServer(opts));
|
|
299
|
+
var createNativeBuildDownloadLink = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createNativeBuildDownloadLink_createServerFn_handler, async ({ data }) => {
|
|
300
|
+
const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-DDAUVU8q.mjs");
|
|
301
|
+
return issueNativeBuildDownloadLink(data.id);
|
|
302
|
+
});
|
|
303
|
+
var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
|
|
304
|
+
id: "67cea9f69773d83e69e68e20b81116a2bee9ee4ab3e378698ff74149f1d59ad0",
|
|
305
|
+
name: "getNativeBuildInstallEligibility",
|
|
306
|
+
filename: "src/lib/api-rpc.ts"
|
|
307
|
+
}, (opts) => getNativeBuildInstallEligibility.__executeServer(opts));
|
|
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-CcBrfTsc.mjs")]);
|
|
310
|
+
return checkNativeBuildInstall(data.id, data.udid, deps, { canApprove: async () => {
|
|
311
|
+
const [{ getRequest }, { requireConsoleAccess }, { iosDeviceViewer }] = await Promise.all([
|
|
312
|
+
import("../_libs/_.mjs").then((n) => n.t),
|
|
313
|
+
import("./auth.server-CERo_xef.mjs"),
|
|
314
|
+
import("./iosDevices-BmvvvZRo.mjs")
|
|
315
|
+
]);
|
|
316
|
+
return (await iosDeviceViewer(await requireConsoleAccess(getRequest()), deps.config.deviceApprovers)).canApprove;
|
|
317
|
+
} });
|
|
318
|
+
});
|
|
271
319
|
//#endregion
|
|
272
|
-
export { createChannel_createServerFn_handler, deleteChannel_createServerFn_handler, deleteRelease_createServerFn_handler, getBundleChildCounts_createServerFn_handler, getBundleChildren_createServerFn_handler, getBundle_createServerFn_handler, getChannels_createServerFn_handler, getConfig_createServerFn_handler, getNativeBuildDetail_createServerFn_handler, getNativeBuildDownloadUrl_createServerFn_handler, getNativeBuildPatches_createServerFn_handler, getNativeBuilds_createServerFn_handler, getReleaseCatalogDiagnostics_createServerFn_handler, getReleaseNativeBuild_createServerFn_handler, getRelease_createServerFn_handler, getReleases_createServerFn_handler, preflightRelease_createServerFn_handler, promoteRelease_createServerFn_handler, updateRelease_createServerFn_handler };
|
|
320
|
+
export { createChannel_createServerFn_handler, createNativeBuildDownloadLink_createServerFn_handler, deleteChannel_createServerFn_handler, deleteRelease_createServerFn_handler, getBundleChildCounts_createServerFn_handler, getBundleChildren_createServerFn_handler, getBundle_createServerFn_handler, getChannels_createServerFn_handler, getConfig_createServerFn_handler, getNativeBuildDetail_createServerFn_handler, getNativeBuildDownloadUrl_createServerFn_handler, getNativeBuildFold_createServerFn_handler, getNativeBuildInstallEligibility_createServerFn_handler, getNativeBuildPatches_createServerFn_handler, getNativeBuilds_createServerFn_handler, getReleaseCatalogDiagnostics_createServerFn_handler, getReleaseFold_createServerFn_handler, getReleaseNativeBuild_createServerFn_handler, getRelease_createServerFn_handler, getReleases_createServerFn_handler, markNativeBuild_createServerFn_handler, preflightRelease_createServerFn_handler, promoteRelease_createServerFn_handler, updateRelease_createServerFn_handler };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as createServerRpc } from "./createServerRpc-
|
|
3
|
-
import { i as getRequest } from "./server-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-
|
|
2
|
+
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
3
|
+
import { i as getRequest } from "./server-C8ZmMWnn.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-LCxTtYz2.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-CERo_xef.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-CERo_xef.mjs");
|
|
21
21
|
return getConsoleAuthProviders(getRequest());
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|