@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,36 +1,37 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { A as ScrollAreaCorner, C as ComboboxPositioner, D as ComboboxClear$1, E as ComboboxCollection$1, Et as require_react, M as ScrollAreaScrollbar, N as ScrollAreaViewport, O as ComboboxInput$1, P as ScrollAreaRoot, S as ComboboxPopup, T as ComboboxList$1, Tt as require_jsx_runtime, _ as ComboboxRoot, b as ComboboxGroupLabel, g as ComboboxItemIndicator, j as ScrollAreaThumb, k as ComboboxTrigger$1, v as ComboboxEmpty$1, w as ComboboxPortal, x as ComboboxGroup$1, y as ComboboxItem$1 } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
4
|
import { O as List, U as CircleOff, V as Copy, X as Check, Y as ChevronDown, _ as RefreshCw, g as RotateCcw, h as RotateCw, i as TriangleAlert, nt as ArrowRight, q as ChevronRight, r as Undo2, t as X, tt as ArrowUpRight } from "../_libs/lucide-react.mjs";
|
|
5
|
-
import { A as createSsrRpc, C as Skeleton, O as buttonVariants, a as SheetContent, c as SheetTitle, i as Sheet, k as cn, l as SheetTrigger, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-
|
|
6
|
-
import { t as consoleAccess } from "./console-access-
|
|
5
|
+
import { A as createSsrRpc, C as Skeleton, O as buttonVariants, a as SheetContent, c as SheetTitle, i as Sheet, k as cn, l as SheetTrigger, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-BrVL3L7R.mjs";
|
|
6
|
+
import { t as consoleAccess } from "./console-access-B0S5YFUa.mjs";
|
|
7
7
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
8
8
|
import { a as useQueries, i as useQuery, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
9
|
-
import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-
|
|
10
|
-
import { a as
|
|
11
|
-
import { a as
|
|
12
|
-
import { a as
|
|
9
|
+
import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-C7PFnkCH.mjs";
|
|
10
|
+
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-CFCftDfI.mjs";
|
|
11
|
+
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-Dpp4q7sD.mjs";
|
|
12
|
+
import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-Bd4E9xdw.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
|
-
import { w as isUUIDv7 } from "./dist-
|
|
15
|
-
import { r as recoveryWindows, t as insightsPeriodEnd } from "./insights-recovery-
|
|
16
|
-
import { a as failureReasonLabel, i as failureRate, o as failureStageLabel, r as failureDetailParts, s as formatRate, t as checkFailureRate } from "./insights-failures-
|
|
17
|
-
import { t as groupFailureReports } from "./insights-errors-
|
|
18
|
-
import { n as usageMetrics } from "./insights-usage-
|
|
19
|
-
import { a as readAdoptionReleasesInput, i as readAdoptionReleaseInput, n as crashRateOf, o as readBundleEventsInput, r as defaultAdoptionReleases, s as recommendsRollback, t as CRASH_RATE_THRESHOLD } from "./release-adoption-
|
|
20
|
-
import { i as comparedBundleIds, n as InfoTooltip, t as DEFAULT_INSIGHTS_CHANNEL } from "./insights-search-
|
|
21
|
-
import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-
|
|
22
|
-
import { t as Route } from "./insights
|
|
23
|
-
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-
|
|
24
|
-
import { t as PlatformIcon } from "./PlatformIcon-
|
|
25
|
-
import { i as InputGroupInput, n as InputGroupAddon, r as InputGroupButton, t as InputGroup } from "./input-group-
|
|
26
|
-
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-
|
|
27
|
-
import {
|
|
28
|
-
import { t as BundleIdDisplay } from "./BundleIdDisplay-
|
|
29
|
-
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-
|
|
30
|
-
import { i as InsightsPeriodSelector, n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader } from "./InsightsPageHeader-
|
|
31
|
-
import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-
|
|
15
|
+
import { w as isUUIDv7 } from "./dist-B6-irDRA.mjs";
|
|
16
|
+
import { r as recoveryWindows, t as insightsPeriodEnd } from "./insights-recovery-BhOg6kz2.mjs";
|
|
17
|
+
import { a as failureReasonLabel, i as failureRate, o as failureStageLabel, r as failureDetailParts, s as formatRate, t as checkFailureRate } from "./insights-failures-7zH97WOO.mjs";
|
|
18
|
+
import { t as groupFailureReports } from "./insights-errors-CXHg1lLV.mjs";
|
|
19
|
+
import { n as usageMetrics } from "./insights-usage-h8fipPTv.mjs";
|
|
20
|
+
import { a as readAdoptionReleasesInput, i as readAdoptionReleaseInput, n as crashRateOf, o as readBundleEventsInput, r as defaultAdoptionReleases, s as recommendsRollback, t as CRASH_RATE_THRESHOLD } from "./release-adoption-DeICczY7.mjs";
|
|
21
|
+
import { i as comparedBundleIds, n as InfoTooltip, t as DEFAULT_INSIGHTS_CHANNEL } from "./insights-search-iFN4UaUv.mjs";
|
|
22
|
+
import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-Bt2XVa4Y.mjs";
|
|
23
|
+
import { t as Route } from "./insights--xI3A0KI.mjs";
|
|
24
|
+
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-BEIoGLTL.mjs";
|
|
25
|
+
import { t as PlatformIcon } from "./PlatformIcon-BpGOEXjU.mjs";
|
|
26
|
+
import { i as InputGroupInput, n as InputGroupAddon, r as InputGroupButton, t as InputGroup } from "./input-group-Brv0mmyp.mjs";
|
|
27
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-C9HpIZxd.mjs";
|
|
28
|
+
import { _ as usePreflightReleaseMutation, i as useChannelsQuery, w as useUpdateReleaseMutation } from "./api-BT7aA8UM.mjs";
|
|
29
|
+
import { t as BundleIdDisplay } from "./BundleIdDisplay-DvzlYWq8.mjs";
|
|
30
|
+
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-B-RLvdLZ.mjs";
|
|
31
|
+
import { i as InsightsPeriodSelector, n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader } from "./InsightsPageHeader-BrllhUl2.mjs";
|
|
32
|
+
import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-T1XtYEDD.mjs";
|
|
32
33
|
import { a as CartesianGrid, i as Line, l as ResponsiveContainer, n as YAxis, o as ReferenceLine, r as XAxis, s as Tooltip, t as LineChart } from "../_libs/recharts+[...].mjs";
|
|
33
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-
|
|
34
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-Dd0VdO-1.js
|
|
34
35
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
35
36
|
var import_jsx_runtime = require_jsx_runtime();
|
|
36
37
|
var THEMES = {
|
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
2
|
+
import { A as createSsrRpc } from "./sidebar-BrVL3L7R.mjs";
|
|
3
|
+
import { t as consoleAccess } from "./console-access-B0S5YFUa.mjs";
|
|
4
4
|
import { i as useQuery, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
|
|
5
|
-
import { c as readUpdateFailuresInput } from "./insights-failures-
|
|
6
|
-
import { n as readFailureReportsInput } from "./insights-errors-
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-api-
|
|
5
|
+
import { c as readUpdateFailuresInput } from "./insights-failures-7zH97WOO.mjs";
|
|
6
|
+
import { n as readFailureReportsInput } from "./insights-errors-CXHg1lLV.mjs";
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-api-Bt2XVa4Y.js
|
|
8
8
|
var getUpdateFailuresRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readUpdateFailuresInput).handler(createSsrRpc("0d1dacdd1e5ee6b100e5c142fb9af03602b6f2c6fe6af79312b36c223d7f8f97"));
|
|
9
9
|
var listFailureReportsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readFailureReportsInput).handler(createSsrRpc("b4388826a9b515fb4d2113270aa8ded1c50ba13d7f07ac2b268c41396e87d0a3"));
|
|
10
10
|
/** `insights()`'s defaults, for a server that does not report its periods. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as readUpdateFailuresInput } from "./insights-failures-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-errors-
|
|
1
|
+
import { c as readUpdateFailuresInput } from "./insights-failures-7zH97WOO.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-errors-CXHg1lLV.js
|
|
3
3
|
function readFailureReportsInput(input) {
|
|
4
4
|
readUpdateFailuresInput(input);
|
|
5
5
|
if (!Number.isSafeInteger(input.beforeReceivedAtMs) || input.beforeReceivedAtMs < 0 || input.cursor !== void 0 && (typeof input.cursor !== "string" || !input.cursor.length || input.cursor.length > 8192)) throw new Error("Invalid failure report range or cursor.");
|
package/.output/server/_ssr/{insights-failures-B9VPkzZE.mjs → insights-failures-7zH97WOO.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as recoveryWindows } from "./insights-recovery-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-failures-
|
|
1
|
+
import { r as recoveryWindows } from "./insights-recovery-BhOg6kz2.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-failures-7zH97WOO.js
|
|
3
3
|
function readUpdateFailuresInput(input) {
|
|
4
4
|
if (!input || input.platform !== "all" && input.platform !== "ios" && input.platform !== "android" || typeof input.channel !== "string" || !input.channel.trim() || input.channel.length > 1024 || input.releaseId !== void 0 && (typeof input.releaseId !== "string" || !input.releaseId.trim() || input.releaseId.length > 36) || (input.window === void 0 ? input.releaseId === void 0 : !Object.hasOwn(recoveryWindows, input.window))) throw new Error("Choose a platform, channel, and time window.");
|
|
5
5
|
return input;
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { c as readUpdateFailuresInput } from "./insights-failures-
|
|
5
|
-
import { n as readFailureReportsInput } from "./insights-errors-
|
|
6
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-failures-rpc-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-B0S5YFUa.mjs";
|
|
3
|
+
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
+
import { c as readUpdateFailuresInput } from "./insights-failures-7zH97WOO.mjs";
|
|
5
|
+
import { n as readFailureReportsInput } from "./insights-errors-CXHg1lLV.mjs";
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-failures-rpc-DBGzXP5A.js
|
|
7
7
|
var getUpdateFailuresRpc_createServerFn_handler = createServerRpc({
|
|
8
8
|
id: "0d1dacdd1e5ee6b100e5c142fb9af03602b6f2c6fe6af79312b36c223d7f8f97",
|
|
9
9
|
name: "getUpdateFailuresRpc",
|
|
@@ -11,9 +11,9 @@ var getUpdateFailuresRpc_createServerFn_handler = createServerRpc({
|
|
|
11
11
|
}, (opts) => getUpdateFailuresRpc.__executeServer(opts));
|
|
12
12
|
var getUpdateFailuresRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readUpdateFailuresInput).handler(getUpdateFailuresRpc_createServerFn_handler, async ({ data }) => {
|
|
13
13
|
const [{ prepareConfig }, { getUpdateFailuresReport }, { requireFeature }] = await Promise.all([
|
|
14
|
-
import("./config.server-
|
|
15
|
-
import("./updateFailures-
|
|
16
|
-
import("./runtime.server-
|
|
14
|
+
import("./config.server-5W5WD8x2.mjs"),
|
|
15
|
+
import("./updateFailures-D0bP_Ume.mjs"),
|
|
16
|
+
import("./runtime.server-CkSbWaZm.mjs")
|
|
17
17
|
]);
|
|
18
18
|
const { runtime, core } = await prepareConfig();
|
|
19
19
|
return getUpdateFailuresReport(await requireFeature(runtime, "insights"), data, Date.now(), core);
|
|
@@ -25,9 +25,9 @@ var listFailureReportsRpc_createServerFn_handler = createServerRpc({
|
|
|
25
25
|
}, (opts) => listFailureReportsRpc.__executeServer(opts));
|
|
26
26
|
var listFailureReportsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readFailureReportsInput).handler(listFailureReportsRpc_createServerFn_handler, async ({ data }) => {
|
|
27
27
|
const [{ prepareConfig }, { listFailureReports }, { requireFeature }] = await Promise.all([
|
|
28
|
-
import("./config.server-
|
|
29
|
-
import("./failureReports-
|
|
30
|
-
import("./runtime.server-
|
|
28
|
+
import("./config.server-5W5WD8x2.mjs"),
|
|
29
|
+
import("./failureReports-BA2eg11O.mjs"),
|
|
30
|
+
import("./runtime.server-CkSbWaZm.mjs")
|
|
31
31
|
]);
|
|
32
32
|
const { runtime } = await prepareConfig();
|
|
33
33
|
return listFailureReports(await requireFeature(runtime, "insights"), data);
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { n as readRecoveryInput } from "./insights-recovery-
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-recovery-rpc-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-B0S5YFUa.mjs";
|
|
3
|
+
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
+
import { n as readRecoveryInput } from "./insights-recovery-BhOg6kz2.mjs";
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-recovery-rpc-C6fAh-i_.js
|
|
6
6
|
function readBundleActivityInput(inputs) {
|
|
7
7
|
if (!Array.isArray(inputs) || inputs.length > 20) throw new Error("Choose up to 20 bundles.");
|
|
8
8
|
return inputs.map((input) => {
|
|
@@ -21,9 +21,9 @@ var getBundleActivityRpc_createServerFn_handler = createServerRpc({
|
|
|
21
21
|
}, (opts) => getBundleActivityRpc.__executeServer(opts));
|
|
22
22
|
var getBundleActivityRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readBundleActivityInput).handler(getBundleActivityRpc_createServerFn_handler, async ({ data }) => {
|
|
23
23
|
const [{ prepareConfig }, { getBundleActivity }, { requireFeature }] = await Promise.all([
|
|
24
|
-
import("./config.server-
|
|
25
|
-
import("./bundleActivity-
|
|
26
|
-
import("./runtime.server-
|
|
24
|
+
import("./config.server-5W5WD8x2.mjs"),
|
|
25
|
+
import("./bundleActivity-BP40zYSt.mjs"),
|
|
26
|
+
import("./runtime.server-CkSbWaZm.mjs")
|
|
27
27
|
]);
|
|
28
28
|
const { runtime } = await prepareConfig();
|
|
29
29
|
return getBundleActivity(await requireFeature(runtime, "insightsAnalytics"), data);
|
|
@@ -1,10 +1,10 @@
|
|
|
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/insights-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/insights-rpc-pThKC9oj.js
|
|
5
5
|
/** The Insights reads, once the console's access check and the feature guard pass. */
|
|
6
6
|
var insightsReads = async () => {
|
|
7
|
-
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-
|
|
7
|
+
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-5W5WD8x2.mjs"), import("./runtime.server-CkSbWaZm.mjs")]);
|
|
8
8
|
const { runtime } = await prepareConfig();
|
|
9
9
|
return requireFeature(runtime, "insights");
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { A as Info } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-
|
|
5
|
-
import { w as isUUIDv7 } from "./dist-
|
|
6
|
-
import { r as extractTimestampFromUUIDv7 } from "./uuidv7-
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-search-
|
|
4
|
+
import { D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-BrVL3L7R.mjs";
|
|
5
|
+
import { w as isUUIDv7 } from "./dist-B6-irDRA.mjs";
|
|
6
|
+
import { r as extractTimestampFromUUIDv7 } from "./uuidv7-CmHbryZT.mjs";
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-search-iFN4UaUv.js
|
|
8
8
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
9
9
|
var import_jsx_runtime = require_jsx_runtime();
|
|
10
10
|
function InfoTooltip({ label, children }) {
|
package/.output/server/_ssr/{insights-usage-rpc-Cwf1t4aW.mjs → insights-usage-rpc-B-RLvdLZ.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { A as createSsrRpc, k as cn } from "./sidebar-
|
|
4
|
-
import { t as consoleAccess } from "./console-access-
|
|
5
|
-
import { t as readAppUsageInput } from "./insights-usage-
|
|
6
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-
|
|
2
|
+
import { F as ProgressIndicator$1, I as ProgressTrack$1, L as ProgressRoot, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
+
import { A as createSsrRpc, k as cn } from "./sidebar-BrVL3L7R.mjs";
|
|
4
|
+
import { t as consoleAccess } from "./console-access-B0S5YFUa.mjs";
|
|
5
|
+
import { t as readAppUsageInput } from "./insights-usage-h8fipPTv.mjs";
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-B-RLvdLZ.js
|
|
7
7
|
var import_jsx_runtime = require_jsx_runtime();
|
|
8
8
|
function Progress$1({ className, children, value, ...props }) {
|
|
9
9
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ProgressRoot, {
|
package/.output/server/_ssr/{insights-usage-rpc-C-cS2F9s.mjs → insights-usage-rpc-CGHZQ9jq.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
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 { t as readAppUsageInput } from "./insights-usage-
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-B0S5YFUa.mjs";
|
|
3
|
+
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
+
import { t as readAppUsageInput } from "./insights-usage-h8fipPTv.mjs";
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-CGHZQ9jq.js
|
|
6
6
|
var getAppUsageReportRpc_createServerFn_handler = createServerRpc({
|
|
7
7
|
id: "8a98cd9c178e4a54185d62c25a95f09d3d59850c43d3f5baa1563e1614ad942e",
|
|
8
8
|
name: "getAppUsageReportRpc",
|
|
@@ -18,9 +18,9 @@ var getAppUsageReportRpc = createServerFn({ method: "GET" }).middleware([console
|
|
|
18
18
|
};
|
|
19
19
|
}).handler(getAppUsageReportRpc_createServerFn_handler, async ({ data }) => {
|
|
20
20
|
const [{ prepareConfig }, { getAppUsageReport }, { requireFeature }] = await Promise.all([
|
|
21
|
-
import("./config.server-
|
|
22
|
-
import("./insightsUsage-
|
|
23
|
-
import("./runtime.server-
|
|
21
|
+
import("./config.server-5W5WD8x2.mjs"),
|
|
22
|
+
import("./insightsUsage-BjSiV_X_.mjs"),
|
|
23
|
+
import("./runtime.server-CkSbWaZm.mjs")
|
|
24
24
|
]);
|
|
25
25
|
const { runtime } = await prepareConfig();
|
|
26
26
|
return getAppUsageReport(await requireFeature(runtime, "insightsAnalytics"), data);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as recoveryWindows, t as insightsPeriodEnd } from "./insights-recovery-
|
|
2
|
-
import { t as readAppUsageInput } from "./insights-usage-
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insightsUsage-
|
|
1
|
+
import { r as recoveryWindows, t as insightsPeriodEnd } from "./insights-recovery-BhOg6kz2.mjs";
|
|
2
|
+
import { t as readAppUsageInput } from "./insights-usage-h8fipPTv.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insightsUsage-BjSiV_X_.js
|
|
4
4
|
var DAY_MS = 864e5;
|
|
5
5
|
var WEEK_MS = 7 * DAY_MS;
|
|
6
6
|
/**
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
2
|
import { h as RotateCw, it as ArrowLeft, tt as ArrowUpRight } from "../_libs/lucide-react.mjs";
|
|
3
|
-
import { C as Skeleton, O as buttonVariants, t as Button$1 } from "./sidebar-
|
|
3
|
+
import { C as Skeleton, O as buttonVariants, t as Button$1 } from "./sidebar-BrVL3L7R.mjs";
|
|
4
4
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
5
5
|
import { i as useQuery } from "../_libs/tanstack__react-query.mjs";
|
|
6
|
-
import { i as EmptyHeader, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-
|
|
7
|
-
import { a as
|
|
8
|
-
import { a as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as
|
|
14
|
-
import {
|
|
15
|
-
import { n as
|
|
16
|
-
import { t as
|
|
17
|
-
|
|
6
|
+
import { i as EmptyHeader, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-C7PFnkCH.mjs";
|
|
7
|
+
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, t as Card } from "./card-CFCftDfI.mjs";
|
|
8
|
+
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-Dpp4q7sD.mjs";
|
|
9
|
+
import { a as FieldLabel, t as Field } from "./field-BqYN8sZT.mjs";
|
|
10
|
+
import { n as InfoTooltip, o as validateInsightsSearch } from "./insights-search-iFN4UaUv.mjs";
|
|
11
|
+
import { l as useInsightsRetention, r as keepsTwelveMonths } from "./insights-api-Bt2XVa4Y.mjs";
|
|
12
|
+
import { t as PlatformIcon } from "./PlatformIcon-BpGOEXjU.mjs";
|
|
13
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-C9HpIZxd.mjs";
|
|
14
|
+
import { t as BundleIdDisplay } from "./BundleIdDisplay-DvzlYWq8.mjs";
|
|
15
|
+
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-B-RLvdLZ.mjs";
|
|
16
|
+
import { n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader, t as BuiltinBundleBadge } from "./InsightsPageHeader-BrllhUl2.mjs";
|
|
17
|
+
import { t as Route } from "./insights_.distribution-xHmfwwa5.mjs";
|
|
18
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-C6iXJ93Y.js
|
|
18
19
|
var import_jsx_runtime = require_jsx_runtime();
|
|
19
20
|
var PAGE_SIZE = 20;
|
|
20
21
|
var dates = new Intl.DateTimeFormat("en", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DKUgr0N_.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-E6Ns2aN7.js
|
|
3
3
|
/** How a distribution row's bundle reads aloud. */
|
|
4
4
|
/** The bundle an app version's native build shipped, by its ID. */
|
|
5
5
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
|
-
import { r as requireConsoleFeature } from "./console-features-api-
|
|
3
|
-
import { a as validateDistributionSearch } from "./insights-search-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution
|
|
5
|
-
var $$splitComponentImporter = () => import("./insights_.distribution-
|
|
6
|
-
var $$splitNotFoundComponentImporter = () => import("./insights_.distribution-
|
|
2
|
+
import { r as requireConsoleFeature } from "./console-features-api-CV_EReEj.mjs";
|
|
3
|
+
import { a as validateDistributionSearch } from "./insights-search-iFN4UaUv.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-xHmfwwa5.js
|
|
5
|
+
var $$splitComponentImporter = () => import("./insights_.distribution-C6iXJ93Y.mjs");
|
|
6
|
+
var $$splitNotFoundComponentImporter = () => import("./insights_.distribution-E6Ns2aN7.mjs");
|
|
7
7
|
/** How a distribution row's bundle reads aloud. */
|
|
8
8
|
/** The bundle an app version's native build shipped, by its ID. */
|
|
9
9
|
var Route = createFileRoute("/insights_/distribution")({
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { X as Check, Y as ChevronDown, _ as RefreshCw, it as ArrowLeft, m as Search, t as X, tt as ArrowUpRight } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { C as Skeleton, O as buttonVariants, k as cn, r as Separator$1, t as Button$1 } from "./sidebar-
|
|
4
|
+
import { C as Skeleton, O as buttonVariants, k as cn, r as Separator$1, t as Button$1 } from "./sidebar-BrVL3L7R.mjs";
|
|
5
5
|
import { c as useElementScrollRestoration, h as Link, o as useLocation } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { a as FieldLabel, t as Field } from "./field-
|
|
8
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-
|
|
9
|
-
import { a as useInsightsEventsQuery, c as useInsightsInstallationsQuery, l as useInsightsRetention, n as formatDays, o as useInsightsInstallationEventsQuery, s as useInsightsInstallationQuery, t as DEFAULT_INSIGHTS_RETENTION } from "./insights-api-
|
|
10
|
-
import { i as InputGroupInput, n as InputGroupAddon, r as InputGroupButton, t as InputGroup } from "./input-group-
|
|
11
|
-
import { a as PeriodSelector, n as InsightsErrorAlert, r as InsightsPageHeader, s as isBuiltinBundle, t as BuiltinBundleBadge } from "./InsightsPageHeader-
|
|
12
|
-
import { n as shortenIdentifier, t as HashValueDisplay } from "./HashValueDisplay-
|
|
13
|
-
import { a as HttpResponseDetails, n as EventTimestamp, o as useInsightsTimeFormat, r as EventTypeDetails, t as EventBundleTransition } from "./EventDetails-
|
|
14
|
-
import { a as installationsScrollRestorationKey, i as eventRanges, n as Route, o as widerEventRange, r as eventRangeBounds, t as EVENT_RANGES } from "./installations-
|
|
15
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/installations-
|
|
6
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-CFCftDfI.mjs";
|
|
7
|
+
import { a as FieldLabel, t as Field } from "./field-BqYN8sZT.mjs";
|
|
8
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-Bg7nCnct.mjs";
|
|
9
|
+
import { a as useInsightsEventsQuery, c as useInsightsInstallationsQuery, l as useInsightsRetention, n as formatDays, o as useInsightsInstallationEventsQuery, s as useInsightsInstallationQuery, t as DEFAULT_INSIGHTS_RETENTION } from "./insights-api-Bt2XVa4Y.mjs";
|
|
10
|
+
import { i as InputGroupInput, n as InputGroupAddon, r as InputGroupButton, t as InputGroup } from "./input-group-Brv0mmyp.mjs";
|
|
11
|
+
import { a as PeriodSelector, n as InsightsErrorAlert, r as InsightsPageHeader, s as isBuiltinBundle, t as BuiltinBundleBadge } from "./InsightsPageHeader-BrllhUl2.mjs";
|
|
12
|
+
import { n as shortenIdentifier, t as HashValueDisplay } from "./HashValueDisplay-Cas_zjIS.mjs";
|
|
13
|
+
import { a as HttpResponseDetails, n as EventTimestamp, o as useInsightsTimeFormat, r as EventTypeDetails, t as EventBundleTransition } from "./EventDetails-T1XtYEDD.mjs";
|
|
14
|
+
import { a as installationsScrollRestorationKey, i as eventRanges, n as Route, o as widerEventRange, r as eventRangeBounds, t as EVENT_RANGES } from "./installations-CZnN6slr.mjs";
|
|
15
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/installations-7V-Xyui8.js
|
|
16
16
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
17
17
|
var import_jsx_runtime = require_jsx_runtime();
|
|
18
18
|
function EventHistoryList({ events, formatter, renderIdentity }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
|
-
import { r as requireConsoleFeature } from "./console-features-api-
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/installations-
|
|
2
|
+
import { r as requireConsoleFeature } from "./console-features-api-CV_EReEj.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/installations-CZnN6slr.js
|
|
4
4
|
var DAY_MS = 864e5;
|
|
5
5
|
/** The time ranges an event list reads, shortest first. */
|
|
6
6
|
var eventRanges = {
|
|
@@ -56,8 +56,8 @@ function validateInstallationsSearch(search) {
|
|
|
56
56
|
historyBefore: readTimestamp(search.historyBefore)
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
var $$splitComponentImporter = () => import("./installations-
|
|
60
|
-
var $$splitNotFoundComponentImporter = () => import("./installations-
|
|
59
|
+
var $$splitComponentImporter = () => import("./installations-7V-Xyui8.mjs");
|
|
60
|
+
var $$splitNotFoundComponentImporter = () => import("./installations-D6Upc9Rt.mjs");
|
|
61
61
|
var Route = createFileRoute("/installations")({
|
|
62
62
|
beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "insights"),
|
|
63
63
|
notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "notFoundComponent"),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/installations-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DKUgr0N_.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/installations-D6Upc9Rt.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
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/ios-devices-rpc-CXuHk24G.js
|
|
5
|
+
var STATUSES = [
|
|
6
|
+
"pending",
|
|
7
|
+
"approved",
|
|
8
|
+
"registered"
|
|
9
|
+
];
|
|
10
|
+
var record = (input) => {
|
|
11
|
+
if (typeof input !== "object" || input === null) throw new TypeError("Invalid input.");
|
|
12
|
+
return input;
|
|
13
|
+
};
|
|
14
|
+
var text = (input, field, max = 2048) => {
|
|
15
|
+
const value = record(input)[field];
|
|
16
|
+
if (typeof value !== "string" || value.length === 0 || value.length > max) throw new TypeError(`Invalid ${field}.`);
|
|
17
|
+
return value;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* The registry over the Console's own assembly, with the signed-in viewer's
|
|
21
|
+
* rights: the access check runs first, in the middleware and again here.
|
|
22
|
+
*/
|
|
23
|
+
var registry = async () => {
|
|
24
|
+
const [{ getRequest }, { prepareConfig }, { requireConsoleAccess }, devices] = await Promise.all([
|
|
25
|
+
import("../_libs/_.mjs").then((n) => n.t),
|
|
26
|
+
import("./config.server-5W5WD8x2.mjs"),
|
|
27
|
+
import("./auth.server-CERo_xef.mjs"),
|
|
28
|
+
import("./iosDevices-BmvvvZRo.mjs")
|
|
29
|
+
]);
|
|
30
|
+
const request = getRequest();
|
|
31
|
+
const [{ core, config }, principal] = await Promise.all([prepareConfig(request), requireConsoleAccess(request)]);
|
|
32
|
+
return {
|
|
33
|
+
request,
|
|
34
|
+
core,
|
|
35
|
+
principal,
|
|
36
|
+
viewer: await devices.iosDeviceViewer(principal, config.deviceApprovers),
|
|
37
|
+
devices
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
var getIosDevices_createServerFn_handler = createServerRpc({
|
|
41
|
+
id: "3a62744a539db57f5a29f39cec7fb03fd2817703b40d98e6da69e2f5e7ae6f3d",
|
|
42
|
+
name: "getIosDevices",
|
|
43
|
+
filename: "src/lib/ios-devices-rpc.ts"
|
|
44
|
+
}, (opts) => getIosDevices.__executeServer(opts));
|
|
45
|
+
var getIosDevices = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => {
|
|
46
|
+
const status = input?.status;
|
|
47
|
+
if (status !== void 0 && !STATUSES.includes(status)) throw new TypeError("Invalid status.");
|
|
48
|
+
return status === void 0 ? {} : { status };
|
|
49
|
+
}).handler(getIosDevices_createServerFn_handler, async ({ data }) => {
|
|
50
|
+
const [{ request, core, principal, viewer, devices }, { CONSOLE_SECRET_ENV }] = await Promise.all([registry(), import("./nativeBuildDownloadLink-DDAUVU8q.mjs")]);
|
|
51
|
+
return {
|
|
52
|
+
devices: await devices.listIosDevices(core, data.status),
|
|
53
|
+
viewer,
|
|
54
|
+
defaultName: devices.defaultDeviceName(principal),
|
|
55
|
+
registration: await devices.deviceRegistration(request),
|
|
56
|
+
secretName: CONSOLE_SECRET_ENV
|
|
57
|
+
};
|
|
58
|
+
});
|
|
59
|
+
var createIosDeviceProfileLink_createServerFn_handler = createServerRpc({
|
|
60
|
+
id: "4b173c2b2f5ea074a1f10862282308f11f5a043c044d64b6f63e6a29d571ec64",
|
|
61
|
+
name: "createIosDeviceProfileLink",
|
|
62
|
+
filename: "src/lib/ios-devices-rpc.ts"
|
|
63
|
+
}, (opts) => createIosDeviceProfileLink.__executeServer(opts));
|
|
64
|
+
var createIosDeviceProfileLink = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => {
|
|
65
|
+
const mode = record(input).mode;
|
|
66
|
+
if (mode === "register") return {
|
|
67
|
+
mode,
|
|
68
|
+
name: text(input, "name", 100)
|
|
69
|
+
};
|
|
70
|
+
if (mode === "identify") return {
|
|
71
|
+
mode,
|
|
72
|
+
buildId: text(input, "buildId", 36)
|
|
73
|
+
};
|
|
74
|
+
throw new TypeError("Invalid mode.");
|
|
75
|
+
}).handler(createIosDeviceProfileLink_createServerFn_handler, async ({ data }) => {
|
|
76
|
+
const { request, viewer, devices } = await registry();
|
|
77
|
+
return devices.issueDeviceProfileLink(request, viewer, data);
|
|
78
|
+
});
|
|
79
|
+
var requestIosDeviceAccess_createServerFn_handler = createServerRpc({
|
|
80
|
+
id: "24005564c8e58dbdeadba89e3f567255a991f5695359cbcc2e8392e033dac8e1",
|
|
81
|
+
name: "requestIosDeviceAccess",
|
|
82
|
+
filename: "src/lib/ios-devices-rpc.ts"
|
|
83
|
+
}, (opts) => requestIosDeviceAccess.__executeServer(opts));
|
|
84
|
+
var requestIosDeviceAccess = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => ({
|
|
85
|
+
receipt: text(input, "receipt"),
|
|
86
|
+
name: text(input, "name", 100)
|
|
87
|
+
})).handler(requestIosDeviceAccess_createServerFn_handler, async ({ data }) => {
|
|
88
|
+
const { request, core, viewer, devices } = await registry();
|
|
89
|
+
return devices.requestIosDeviceAccess(request, core, viewer, data);
|
|
90
|
+
});
|
|
91
|
+
var approveIosDevice_createServerFn_handler = createServerRpc({
|
|
92
|
+
id: "7908c24ccc2674ce07a553a645b8f4790889975a80f424a05d71a9fb8ab49787",
|
|
93
|
+
name: "approveIosDevice",
|
|
94
|
+
filename: "src/lib/ios-devices-rpc.ts"
|
|
95
|
+
}, (opts) => approveIosDevice.__executeServer(opts));
|
|
96
|
+
var approveIosDevice = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => ({
|
|
97
|
+
id: text(input, "id", 36),
|
|
98
|
+
name: text(input, "name", 100)
|
|
99
|
+
})).handler(approveIosDevice_createServerFn_handler, async ({ data }) => {
|
|
100
|
+
const { core, viewer, devices } = await registry();
|
|
101
|
+
devices.requireDeviceApprover(viewer);
|
|
102
|
+
return core.approveIosDevice(data.id, {
|
|
103
|
+
name: devices.deviceName(data.name),
|
|
104
|
+
approvedBy: viewer.email
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
var renameIosDevice_createServerFn_handler = createServerRpc({
|
|
108
|
+
id: "4c92dfeae76a6fc898d6f38941eeedaec1f3d118f51a6f31ebf0bb1cea3fcea4",
|
|
109
|
+
name: "renameIosDevice",
|
|
110
|
+
filename: "src/lib/ios-devices-rpc.ts"
|
|
111
|
+
}, (opts) => renameIosDevice.__executeServer(opts));
|
|
112
|
+
var renameIosDevice = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => ({
|
|
113
|
+
id: text(input, "id", 36),
|
|
114
|
+
name: text(input, "name", 100)
|
|
115
|
+
})).handler(renameIosDevice_createServerFn_handler, async ({ data }) => {
|
|
116
|
+
const { core, viewer, devices } = await registry();
|
|
117
|
+
devices.requireDeviceApprover(viewer);
|
|
118
|
+
return core.renameIosDevice(data.id, devices.deviceName(data.name));
|
|
119
|
+
});
|
|
120
|
+
var removeIosDevice_createServerFn_handler = createServerRpc({
|
|
121
|
+
id: "8e37ec67413ceba554adb2d4b15e53682595a089d4b431ba7965d4347fb500fc",
|
|
122
|
+
name: "removeIosDevice",
|
|
123
|
+
filename: "src/lib/ios-devices-rpc.ts"
|
|
124
|
+
}, (opts) => removeIosDevice.__executeServer(opts));
|
|
125
|
+
var removeIosDevice = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => ({ udid: text(input, "udid", 40) })).handler(removeIosDevice_createServerFn_handler, async ({ data }) => {
|
|
126
|
+
const { core, viewer, devices } = await registry();
|
|
127
|
+
return devices.removeIosDevice(core, viewer, data.udid);
|
|
128
|
+
});
|
|
129
|
+
var getNativeBuildIpaDevices_createServerFn_handler = createServerRpc({
|
|
130
|
+
id: "a11cb4014e6b23528f76382c43684798b0e84a6936aaba02c918e8f4e216e282",
|
|
131
|
+
name: "getNativeBuildIpaDevices",
|
|
132
|
+
filename: "src/lib/ios-devices-rpc.ts"
|
|
133
|
+
}, (opts) => getNativeBuildIpaDevices.__executeServer(opts));
|
|
134
|
+
var getNativeBuildIpaDevices = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => ({ id: text(input, "id", 36) })).handler(getNativeBuildIpaDevices_createServerFn_handler, async ({ data }) => {
|
|
135
|
+
const [{ prepareConfig }, { readNativeBuildIpaDevices }] = await Promise.all([import("./config.server-5W5WD8x2.mjs"), import("./nativeBuildInstall-CcBrfTsc.mjs")]);
|
|
136
|
+
return readNativeBuildIpaDevices(data.id, await prepareConfig());
|
|
137
|
+
});
|
|
138
|
+
//#endregion
|
|
139
|
+
export { approveIosDevice_createServerFn_handler, createIosDeviceProfileLink_createServerFn_handler, getIosDevices_createServerFn_handler, getNativeBuildIpaDevices_createServerFn_handler, removeIosDevice_createServerFn_handler, renameIosDevice_createServerFn_handler, requestIosDeviceAccess_createServerFn_handler };
|