@hot-updater/console 1.2.0-rc.27 → 1.2.0-rc.29

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.
Files changed (298) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/{-native-builds-search-OlRj4Jz0.js → -native-builds-search-DdHwfe4q.js} +1 -1
  3. package/.output/public/assets/BundleIdDisplay-CTBdtFQ8.js +1 -0
  4. package/.output/public/assets/ChannelBadge-CEabmopB.js +1 -0
  5. package/.output/public/assets/CompositeItem-KUM5yQVr.js +1 -0
  6. package/.output/public/assets/{ConsoleFeatureUnavailable-DUqlpHCp.js → ConsoleFeatureUnavailable-Be-0iTww.js} +1 -1
  7. package/.output/public/assets/EventDetails-bDOYte1z.js +1 -0
  8. package/.output/public/assets/HashValueDisplay-D2f0HmyU.js +1 -0
  9. package/.output/public/assets/{InsightsPageHeader-2bTrjXln.js → InsightsPageHeader-Cj2ROSQO.js} +1 -1
  10. package/.output/public/assets/IosInstall-CHI2C4Yd.js +1 -0
  11. package/.output/public/assets/NativeBuildsNav-DaqxQPnG.js +1 -0
  12. package/.output/public/assets/{NotFoundPage-Ckb5GMhh.js → NotFoundPage-CVBtl68B.js} +1 -1
  13. package/.output/public/assets/{PlatformIcon-CJ69KopR.js → PlatformIcon-DVnzzGqM.js} +1 -1
  14. package/.output/public/assets/RelativeTime-B4PK8qDw.js +1 -0
  15. package/.output/public/assets/{RolloutPercentageBadge-G6qt8rVb.js → RolloutPercentageBadge-D_I0Raj2.js} +1 -1
  16. package/.output/public/assets/RowReason-B7VM1ztc.js +1 -0
  17. package/.output/public/assets/SandboxBadge-BVxHg_HF.js +1 -0
  18. package/.output/public/assets/TargetDisplay-KU7JhIWG.js +1 -0
  19. package/.output/public/assets/{alert-dialog-DiRLrFVe.js → alert-dialog-Ch0QxRsa.js} +1 -1
  20. package/.output/public/assets/api-C1OPeiG1.js +1 -0
  21. package/.output/public/assets/api-keys-DLC8jjaM.js +1 -0
  22. package/.output/public/assets/api-keys-eDnzgFAf.js +1 -0
  23. package/.output/public/assets/arrow-left-DQjHJAnT.js +1 -0
  24. package/.output/public/assets/arrow-right-CXp_K3xK.js +1 -0
  25. package/.output/public/assets/arrow-up-right-BFafIOrq.js +1 -0
  26. package/.output/public/assets/{badge-D0NFvUY5.js → badge-FZMD5vvS.js} +1 -1
  27. package/.output/public/assets/card-CyHYmHue.js +1 -0
  28. package/.output/public/assets/check-CqWNyG93.js +1 -0
  29. package/.output/public/assets/chevron-right-DNbYTBX1.js +1 -0
  30. package/.output/public/assets/{circle-off-C7Muo0ss.js → circle-off-BCkZpskJ.js} +1 -1
  31. package/.output/public/assets/{clipboard-DQbOcrL7.js → clipboard-DZrZK5gR.js} +1 -1
  32. package/.output/public/assets/{console-features-api-DEXSwFtc.js → console-features-api-BO5V64P3.js} +1 -1
  33. package/.output/public/assets/{copy-DsuLj3oj.js → copy-CH1__JAW.js} +1 -1
  34. package/.output/public/assets/dialog-BLj71-Nf.js +1 -0
  35. package/.output/public/assets/{dist-Bf1BPKMs.js → dist-DAM__Tdz.js} +1 -1
  36. package/.output/public/assets/download-B2GjTySo.js +1 -0
  37. package/.output/public/assets/empty--YaE5Z4p.js +1 -0
  38. package/.output/public/assets/field-CdhSgWhI.js +1 -0
  39. package/.output/public/assets/git-branch-DG1VDaKq.js +1 -0
  40. package/.output/public/assets/history-C0wv4htz.js +1 -0
  41. package/.output/public/assets/index-BdyQq4-k.js +10 -0
  42. package/.output/public/assets/{input-group-D_NfhUbX.js → input-group-XKLcUGoa.js} +1 -1
  43. package/.output/public/assets/insights-C94CdeAA.js +1 -0
  44. package/.output/public/assets/insights-DILMVpk8.js +2 -0
  45. package/.output/public/assets/insights-_j_ieOyh.js +42 -0
  46. package/.output/public/assets/insights-api-B6Gj74n5.js +1 -0
  47. package/.output/public/assets/{insights-search-CYPrQVUC.js → insights-search-Bgvg6wSP.js} +1 -1
  48. package/.output/public/assets/insights-usage-rpc-BUCinjSN.js +1 -0
  49. package/.output/public/assets/insights_.distribution-Bb6_S-hD.js +2 -0
  50. package/.output/public/assets/{insights_.distribution-_dZi1_ay.js → insights_.distribution-CRkGNelG.js} +1 -1
  51. package/.output/public/assets/insights_.distribution-CyAu3RN3.js +1 -0
  52. package/.output/public/assets/installations-BA01mqJE.js +1 -0
  53. package/.output/public/assets/installations-BsD6LgNc.js +2 -0
  54. package/.output/public/assets/installations-CYTzndfP.js +1 -0
  55. package/.output/public/assets/{key-round-DzBe6DHr.js → key-round-D7UgdXyA.js} +1 -1
  56. package/.output/public/assets/{link-DTEyW70e.js → link-CN3iHC4A.js} +2 -2
  57. package/.output/public/assets/{list-B6GeoQ_b.js → list-Bm-CfN5g.js} +1 -1
  58. package/.output/public/assets/loader-circle-iMqC-8ZE.js +1 -0
  59. package/.output/public/assets/native-builds-BMbws1g5.js +2 -0
  60. package/.output/public/assets/native-builds-xgHiHQML.js +1 -0
  61. package/.output/public/assets/native-builds_._buildId-B04z9yfk.js +1 -0
  62. package/.output/public/assets/native-builds_._buildId-DaMmTcHo.js +2 -0
  63. package/.output/public/assets/native-builds_.devices-B-u7uLLG.js +2 -0
  64. package/.output/public/assets/native-builds_.devices-CVNAQtSy.js +1 -0
  65. package/.output/public/assets/{package-ytYrywZH.js → package-BmfoZ5Zj.js} +1 -1
  66. package/.output/public/assets/plus-Db0KxLZp.js +1 -0
  67. package/.output/public/assets/preload-helper-CRQjUQaZ.js +1 -0
  68. package/.output/public/assets/{refresh-cw-C-tvoCcE.js → refresh-cw-BHhBYjS8.js} +1 -1
  69. package/.output/public/assets/{relativeTime-DvyxGIsm.js → relativeTime-BYRt19mj.js} +1 -1
  70. package/.output/public/assets/remote-config-Cxkr7_BP.js +1 -0
  71. package/.output/public/assets/remote-config-DAOyn5xL.js +1 -0
  72. package/.output/public/assets/remote-config-DXv25LX1.js +6 -0
  73. package/.output/public/assets/{rotate-cw-Clk5xTeE.js → rotate-cw-Ba-slJea.js} +1 -1
  74. package/.output/public/assets/{routes-gQXSzO_n.js → routes-DM3TyTLW.js} +2 -2
  75. package/.output/public/assets/routes-Des97uK_.js +1 -0
  76. package/.output/public/assets/search-dJG2BYmx.js +1 -0
  77. package/.output/public/assets/select-CA8r-UUe.js +1 -0
  78. package/.output/public/assets/send-DuMOCzbD.js +1 -0
  79. package/.output/public/assets/{sidebar-Di9SN47G.js → sidebar-yC7KdImc.js} +1 -1
  80. package/.output/public/assets/smartphone-D1C6BRd_.js +1 -0
  81. package/.output/public/assets/styles-BHLI87EH.css +2 -0
  82. package/.output/public/assets/switch-BsV3d4km.js +1 -0
  83. package/.output/public/assets/table-D8YjT_ht.js +1 -0
  84. package/.output/public/assets/tabs-RdhEl9sE.js +1 -0
  85. package/.output/public/assets/trash-2-B5KIvrXy.js +1 -0
  86. package/.output/public/assets/{undo-2-Bt0YXG26.js → undo-2-CFcU9dIB.js} +1 -1
  87. package/.output/public/assets/{useCompositeListItem-JmyDfo3-.js → useCompositeListItem-lAmUsXcc.js} +1 -1
  88. package/.output/public/assets/{useMutation-DbYw7boA.js → useMutation-w3qYaU2L.js} +1 -1
  89. package/.output/server/{__23tanstack-start-server-fn-resolver-CIN7Hpjl.mjs → __23tanstack-start-server-fn-resolver-DTuNq7_z.mjs} +85 -49
  90. package/.output/server/_libs/@base-ui/react+[...].mjs +1488 -183
  91. package/.output/server/_libs/@tanstack/react-router+[...].mjs +1 -1
  92. package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +2 -2
  93. package/.output/server/_libs/_.mjs +1 -1
  94. package/.output/server/_libs/lucide-react.mjs +22 -2
  95. package/.output/server/_libs/next-themes.mjs +1 -1
  96. package/.output/server/_libs/react-redux+[...].mjs +1 -1
  97. package/.output/server/_libs/recharts+[...].mjs +1 -1
  98. package/.output/server/_libs/sonner.mjs +1 -1
  99. package/.output/server/_libs/tanstack__react-query.mjs +1 -1
  100. package/.output/server/_ssr/{-native-builds-search-M6t7EIt4.mjs → -native-builds-search-Mm_AZoRU.mjs} +8 -2
  101. package/.output/server/_ssr/{BundleIdDisplay-BaFPllhZ.mjs → BundleIdDisplay-BX6DLh1K.mjs} +3 -3
  102. package/.output/server/_ssr/ChannelBadge-D7O95Ack.mjs +23 -0
  103. package/.output/server/_ssr/{ConsoleFeatureUnavailable-C-1Ls1sm.mjs → ConsoleFeatureUnavailable-Dfs3WUZf.mjs} +8 -8
  104. package/.output/server/_ssr/{EventDetails-jVM6sD8m.mjs → EventDetails-C1Q9caVa.mjs} +9 -9
  105. package/.output/server/_ssr/{HashValueDisplay-C7nja_fn.mjs → HashValueDisplay-SIEeZe0O.mjs} +3 -3
  106. package/.output/server/_ssr/{InsightsPageHeader-CDJhClRy.mjs → InsightsPageHeader-CAcbXSFD.mjs} +9 -9
  107. package/.output/server/_ssr/IosInstall-B7yxnQ7o.mjs +615 -0
  108. package/.output/server/_ssr/NativeBuildsNav-BwoEX7xx.mjs +38 -0
  109. package/.output/server/_ssr/{NotFoundPage-DclXpGzY.mjs → NotFoundPage-Cd_nKv04.mjs} +3 -3
  110. package/.output/server/_ssr/{PlatformIcon-CMLs3Wez.mjs → PlatformIcon-BpGOEXjU.mjs} +2 -2
  111. package/.output/server/_ssr/{RelativeTime-DUr_cgha.mjs → RelativeTime-B5txzq94.mjs} +40 -12
  112. package/.output/server/_ssr/{RolloutPercentageBadge-Mg4g25Gf.mjs → RolloutPercentageBadge-BEV8btLv.mjs} +4 -4
  113. package/.output/server/_ssr/RowReason-CEDEk7-N.mjs +186 -0
  114. package/.output/server/_ssr/{StoreSubmission-CUIg6WXQ.mjs → SandboxBadge-wlOMZIUd.mjs} +17 -17
  115. package/.output/server/_ssr/{TargetDisplay-C-C8MKuf.mjs → TargetDisplay-076I9qHx.mjs} +6 -23
  116. package/.output/server/_ssr/{alert-dialog-CiN6BFHg.mjs → alert-dialog-DrD4hAp4.mjs} +2 -2
  117. package/.output/server/_ssr/{api-BeWenjNl.mjs → api-C1plnjZg.mjs} +74 -17
  118. package/.output/server/_ssr/{api-keys-DzWwXpi5.mjs → api-keys-Bzn-P-lX.mjs} +2 -2
  119. package/.output/server/_ssr/{api-keys-Bzaj1vWD.mjs → api-keys-L8_p18pO.mjs} +12 -12
  120. package/.output/server/_ssr/{api-keys-rpc-BRnZWUpw.mjs → api-keys-rpc-Mne2yo8z.mjs} +3 -3
  121. package/.output/server/_ssr/{api-rpc-B87QoJwB.mjs → api-rpc-ChVBmeca.mjs} +56 -33
  122. package/.output/server/_ssr/{auth-rpc-CO1_TL1b.mjs → auth-rpc-Dml8l_eq.mjs} +4 -4
  123. package/.output/server/_ssr/{auth.server-BWTHsAlW.mjs → auth.server-DOShgraQ.mjs} +587 -19
  124. package/.output/server/_ssr/{badge-C7PdVtoH.mjs → badge-BasQflNy.mjs} +2 -2
  125. package/.output/server/_ssr/{bundleActivity-BGVvqWx7.mjs → bundleActivity-BP40zYSt.mjs} +1 -1
  126. package/.output/server/_ssr/{card-BkxhOkGp.mjs → card-BrGGQYC0.mjs} +2 -2
  127. package/.output/server/_ssr/{config.server-Bvqyj9Ec.mjs → config.server-CVOdMDBk.mjs} +4 -4
  128. package/.output/server/_ssr/{console-access-CHD7-b3E.mjs → console-access-Bi-abtY-.mjs} +2 -2
  129. package/.output/server/_ssr/{console-features-api-Btkz_ZEj.mjs → console-features-api-Bjxo5ur3.mjs} +5 -5
  130. package/.output/server/_ssr/{console-features-rpc-DYf3xbak.mjs → console-features-rpc-xzdodg3g.mjs} +3 -3
  131. package/.output/server/_ssr/{console-features-CRP-pfov.mjs → console-features-xaGDhRC9.mjs} +1 -1
  132. package/.output/server/_ssr/deviceProfileToken-CwWb1lPq.mjs +82 -0
  133. package/.output/server/_ssr/{dialog-fnm03nlH.mjs → dialog-7iMkt9l0.mjs} +2 -2
  134. package/.output/server/_ssr/{downloadBundle-BX8ODCZT.mjs → downloadBundle-DnoYpi36.mjs} +1 -1
  135. package/.output/server/_ssr/{empty-BzjaWjuQ.mjs → empty-Chb-YL3R.mjs} +3 -3
  136. package/.output/server/_ssr/{failureReports-C_CmBF4x.mjs → failureReports-BA2eg11O.mjs} +3 -3
  137. package/.output/server/_ssr/{field-C2GZCygB.mjs → field-mL_Aa6ff.mjs} +3 -3
  138. package/.output/server/_ssr/foldedPage-CqpVk31Q.mjs +176 -0
  139. package/.output/server/_ssr/{getBundleChildren-BJTufthT.mjs → getBundleChildren-CdqFonhl.mjs} +1 -1
  140. package/.output/server/_ssr/{input-group-Cu6TtdYb.mjs → input-group-C00_xYka.mjs} +2 -2
  141. package/.output/server/_ssr/{insights-DuQB3_VX.mjs → insights-BcVNQCXf.mjs} +28 -28
  142. package/.output/server/_ssr/{insights-DZZsKfdZ.mjs → insights-BdF3o0Yp.mjs} +2 -2
  143. package/.output/server/_ssr/{insights-D_XXiwXz.mjs → insights-C9sSQPMF.mjs} +5 -5
  144. package/.output/server/_ssr/{insights-api-a8B90BHl.mjs → insights-api-CShlv9dA.mjs} +5 -5
  145. package/.output/server/_ssr/{insights-errors-Bz3sWNZm.mjs → insights-errors-CXHg1lLV.mjs} +2 -2
  146. package/.output/server/_ssr/{insights-failures-DNQ9qVVf.mjs → insights-failures-7zH97WOO.mjs} +2 -2
  147. package/.output/server/_ssr/{insights-failures-rpc-DM5dPfnS.mjs → insights-failures-rpc-C-cv9bId.mjs} +10 -10
  148. package/.output/server/_ssr/{insights-recovery-DOkpqnQ8.mjs → insights-recovery-BhOg6kz2.mjs} +1 -1
  149. package/.output/server/_ssr/{insights-recovery-rpc-C81f-2Xa.mjs → insights-recovery-rpc-Ct-jIQZU.mjs} +6 -6
  150. package/.output/server/_ssr/{insights-rpc-DVbg0dsI.mjs → insights-rpc-Dc0I8O3n.mjs} +3 -3
  151. package/.output/server/_ssr/{insights-search-sCdCd-8P.mjs → insights-search-D_vVwBwW.mjs} +3 -3
  152. package/.output/server/_ssr/{insights-usage-4KDIN3Kg.mjs → insights-usage-h8fipPTv.mjs} +1 -1
  153. package/.output/server/_ssr/{insights-usage-rpc-CKfXb-tc.mjs → insights-usage-rpc-4TR94EHa.mjs} +6 -6
  154. package/.output/server/_ssr/{insights-usage-rpc-DAwc4FE6.mjs → insights-usage-rpc-D60hOhzl.mjs} +5 -5
  155. package/.output/server/_ssr/{insightsUsage-DmQdJZqT.mjs → insightsUsage-BjSiV_X_.mjs} +3 -3
  156. package/.output/server/_ssr/{insights_.distribution-FhZMnsNm.mjs → insights_.distribution-BgnfMzw1.mjs} +17 -17
  157. package/.output/server/_ssr/{insights_.distribution-CvPrNh8j.mjs → insights_.distribution-DkD7uAwA.mjs} +5 -5
  158. package/.output/server/_ssr/{insights_.distribution-Bq52kUtA.mjs → insights_.distribution-wT1mjWsG.mjs} +2 -2
  159. package/.output/server/_ssr/{installations-BjOaol_w.mjs → installations-DtRbzy3N.mjs} +2 -2
  160. package/.output/server/_ssr/{installations-CKe2Srtx.mjs → installations-DvxMRP5u.mjs} +4 -4
  161. package/.output/server/_ssr/{installations-B2anrEwv.mjs → installations-tFsFnxKk.mjs} +13 -13
  162. package/.output/server/_ssr/ios-devices-rpc-CIPuCUQ8.mjs +139 -0
  163. package/.output/server/_ssr/iosDeviceProfile-WyMC1593.mjs +176 -0
  164. package/.output/server/_ssr/iosDevices-B0TjF_sb.mjs +129 -0
  165. package/.output/server/_ssr/listReleases-DYYA5alS.mjs +94 -0
  166. package/.output/server/_ssr/{native-builds-OUdRtp6m.mjs → native-builds-BXBkklfA.mjs} +28 -6
  167. package/.output/server/_ssr/{native-builds-DSOAh1CX.mjs → native-builds-C458T7Ts.mjs} +3 -3
  168. package/.output/server/_ssr/{native-builds-BsfydODe.mjs → native-builds-C5WxR0BT.mjs} +235 -90
  169. package/.output/server/_ssr/{native-builds_._buildId-BOedzqOS.mjs → native-builds_._buildId-CyCGKZ1H.mjs} +165 -323
  170. package/.output/server/_ssr/{native-builds_._buildId-DSfes24H.mjs → native-builds_._buildId-UsgsqKI8.mjs} +3 -3
  171. package/.output/server/_ssr/native-builds_.devices-BcfLIzJs.mjs +10 -0
  172. package/.output/server/_ssr/native-builds_.devices-BpTcIWm0.mjs +689 -0
  173. package/.output/server/_ssr/{nativeBuildDownloadLink-D-yCU-H7.mjs → nativeBuildDownloadLink-CtB2G7qG.mjs} +3 -3
  174. package/.output/server/_ssr/{nativeBuildInstall-szlEt-t_.mjs → nativeBuildInstall-PavEyZtZ.mjs} +56 -8
  175. package/.output/server/_ssr/{nativeBuilds-CRLmvFaO.mjs → nativeBuilds-Cub0EUGN.mjs} +135 -13
  176. package/.output/server/_ssr/{publicConsoleBase-DvHYxDaG.mjs → publicConsoleBase-f67NLLXZ.mjs} +11 -3
  177. package/.output/server/_ssr/{release-adoption-C7sUFDwa.mjs → release-adoption-DeICczY7.mjs} +2 -2
  178. package/.output/server/_ssr/{release-adoption-rpc-DHqnRw73.mjs → release-adoption-rpc-DkT6ui4_.mjs} +8 -8
  179. package/.output/server/_ssr/{releaseAdoption-D6ScSu-W.mjs → releaseAdoption-kHZo8P90.mjs} +3 -3
  180. package/.output/server/_ssr/{remote-config-D2wHSNjm.mjs → remote-config-BKlK0dFP.mjs} +3 -3
  181. package/.output/server/_ssr/{remote-config-Byc4JHkB.mjs → remote-config-D_nQT__6.mjs} +2 -2
  182. package/.output/server/_ssr/{remote-config-rpc-ZOfBMLtE.mjs → remote-config-rpc-BW6lyp9Y.mjs} +3 -3
  183. package/.output/server/_ssr/{remote-config-DkrjdfMC.mjs → remote-config-v1hs050H.mjs} +24 -24
  184. package/.output/server/_ssr/{router-D0GDdWkI.mjs → router-hKO__Vrv.mjs} +74 -77
  185. package/.output/server/_ssr/{routes-C10oCddR.mjs → routes-DKxm5A7X.mjs} +312 -233
  186. package/.output/server/_ssr/{routes-ChnyY2qP.mjs → routes-OhljAvlx.mjs} +15 -14
  187. package/.output/server/_ssr/{runtime.server-wcHT2Cop.mjs → runtime.server-CkSbWaZm.mjs} +2 -2
  188. package/.output/server/_ssr/{schema-migration-rpc-BKRs4MNf.mjs → schema-migration-rpc-DrrYEFqy.mjs} +3 -3
  189. package/.output/server/_ssr/{select-B9du7Z50.mjs → select-M4kWGKJW.mjs} +3 -3
  190. package/.output/server/_ssr/{server-CApi3lVS.mjs → server-4hXySEh0.mjs} +5 -5
  191. package/.output/server/_ssr/{sidebar-BwMkm72O.mjs → sidebar-CFlo6lny.mjs} +3 -3
  192. package/.output/server/_ssr/ssr.mjs +1 -1
  193. package/.output/server/_ssr/{start-By4wHYjG.mjs → start-D3noqqOK.mjs} +1 -1
  194. package/.output/server/_ssr/{switch-DyShvUOF.mjs → switch-xTCGSBdC.mjs} +3 -3
  195. package/.output/server/_ssr/{table-DMj6AnqH.mjs → table-CqdaVMjd.mjs} +2 -2
  196. package/.output/server/_ssr/{tabs-5a_JPYme.mjs → tabs-DtMAFr25.mjs} +4 -4
  197. package/.output/server/_ssr/{updateFailures-DNiv3S_y.mjs → updateFailures-D0bP_Ume.mjs} +3 -3
  198. package/.output/server/_tanstack-start-manifest_v-CYfHRC4i.mjs +225 -0
  199. package/.output/server/index.mjs +452 -375
  200. package/lib/index.d.mts +9 -0
  201. package/package.json +7 -7
  202. package/src/components/DataTable.tsx +47 -3
  203. package/src/components/FoldedRows.tsx +219 -0
  204. package/src/components/RowReason.tsx +56 -0
  205. package/src/components/features/api-keys/ApiKeysPage.tsx +1 -1
  206. package/src/components/features/channels/ChannelManagementDialog.tsx +2 -2
  207. package/src/components/features/native-builds/CommitLink.tsx +2 -1
  208. package/src/components/features/native-builds/InstallCard.tsx +77 -40
  209. package/src/components/features/native-builds/IosDevicesPage.tsx +925 -0
  210. package/src/components/features/native-builds/IosInstall.tsx +375 -73
  211. package/src/components/features/native-builds/IpaDevicesCard.tsx +111 -0
  212. package/src/components/features/native-builds/NativeBuildDetailPage.tsx +7 -0
  213. package/src/components/features/native-builds/NativeBuildsNav.tsx +44 -0
  214. package/src/components/features/native-builds/NativeBuildsPage.tsx +2 -0
  215. package/src/components/features/native-builds/NativeBuildsTable.tsx +220 -32
  216. package/src/components/features/native-builds/OlderBuildLabel.tsx +61 -0
  217. package/src/components/features/native-builds/ShortHash.tsx +5 -2
  218. package/src/components/features/remote-config/PublishDialog.tsx +4 -1
  219. package/src/components/features/remote-config/VersionsCard.tsx +5 -2
  220. package/src/components/ui/sonner.tsx +3 -1
  221. package/src/index.ts +9 -0
  222. package/src/lib/api-rpc.ts +70 -30
  223. package/src/lib/api.ts +65 -2
  224. package/src/lib/ios-devices-api.ts +110 -0
  225. package/src/lib/ios-devices-rpc.ts +183 -0
  226. package/src/lib/native-builds.ts +72 -7
  227. package/src/lib/server/console-runtime.server.ts +9 -2
  228. package/src/lib/server/deviceProfileToken.ts +187 -0
  229. package/src/lib/server/foldedPage.ts +360 -0
  230. package/src/lib/server/iosDeviceProfile.ts +230 -0
  231. package/src/lib/server/iosDevices.ts +223 -0
  232. package/src/lib/server/listReleases.ts +101 -62
  233. package/src/lib/server/nativeBuildInstall.ts +147 -7
  234. package/src/lib/server/nativeBuilds.ts +221 -26
  235. package/src/routeTree.gen.ts +64 -67
  236. package/src/routes/-native-builds-search.ts +20 -0
  237. package/src/routes/[_]hot-updater/devices/device-response.ts +21 -0
  238. package/src/routes/[_]hot-updater/devices/device[.]mobileconfig.ts +17 -0
  239. package/src/routes/index.tsx +447 -299
  240. package/src/routes/native-builds_.devices.tsx +21 -0
  241. package/src/styles.css +2 -2
  242. package/.output/public/assets/BundleIdDisplay-CP6rsdFO.js +0 -1
  243. package/.output/public/assets/EventDetails-DZsRlDHk.js +0 -1
  244. package/.output/public/assets/HashValueDisplay-MoZMmTeP.js +0 -1
  245. package/.output/public/assets/RelativeTime-TCmpOVPg.js +0 -1
  246. package/.output/public/assets/StoreSubmission-CqSg880n.js +0 -1
  247. package/.output/public/assets/TargetDisplay-DwOaMOiI.js +0 -1
  248. package/.output/public/assets/api-LQJH44FU.js +0 -1
  249. package/.output/public/assets/api-keys-4w2-ofii.js +0 -1
  250. package/.output/public/assets/api-keys-uFY8FsN9.js +0 -1
  251. package/.output/public/assets/arrow-left-g9cKqXuC.js +0 -1
  252. package/.output/public/assets/arrow-right-CNII8TYn.js +0 -1
  253. package/.output/public/assets/arrow-up-right-DK8Zdg40.js +0 -1
  254. package/.output/public/assets/card-ulgg5xHn.js +0 -1
  255. package/.output/public/assets/check-CXVR3s3X.js +0 -1
  256. package/.output/public/assets/chevron-right-BoUXo82O.js +0 -1
  257. package/.output/public/assets/dialog-CLIaC82_.js +0 -1
  258. package/.output/public/assets/empty-Bhlj8PEo.js +0 -1
  259. package/.output/public/assets/field-q4sTYzNU.js +0 -1
  260. package/.output/public/assets/history-DakJoeSM.js +0 -1
  261. package/.output/public/assets/index-CJclLsbG.js +0 -10
  262. package/.output/public/assets/insights-0TUItqwh.js +0 -1
  263. package/.output/public/assets/insights-B75txQ_F.js +0 -42
  264. package/.output/public/assets/insights-C17Z0whn.js +0 -2
  265. package/.output/public/assets/insights-api-BVCXJsoV.js +0 -1
  266. package/.output/public/assets/insights-usage-rpc-BbFllvi_.js +0 -1
  267. package/.output/public/assets/insights_.distribution-AZcfvK7x.js +0 -1
  268. package/.output/public/assets/insights_.distribution-gDqNqI5E.js +0 -2
  269. package/.output/public/assets/installations-Ap2G2tDs.js +0 -1
  270. package/.output/public/assets/installations-D0g3xvw8.js +0 -2
  271. package/.output/public/assets/installations-Y_7QW_p8.js +0 -1
  272. package/.output/public/assets/native-builds-Ba6cEZfm.js +0 -2
  273. package/.output/public/assets/native-builds-C3_-21we.js +0 -1
  274. package/.output/public/assets/native-builds_._buildId-BnP31v32.js +0 -1
  275. package/.output/public/assets/native-builds_._buildId-Cp9LJiMP.js +0 -2
  276. package/.output/public/assets/plus-BVhOauU3.js +0 -1
  277. package/.output/public/assets/preload-helper-B44EvKhG.js +0 -1
  278. package/.output/public/assets/remote-config-BRdy8QFR.js +0 -1
  279. package/.output/public/assets/remote-config-C9p5Pcdj.js +0 -6
  280. package/.output/public/assets/remote-config-CIAEArwq.js +0 -1
  281. package/.output/public/assets/routes-BLTF7nwe.js +0 -1
  282. package/.output/public/assets/search-nnvSOTEB.js +0 -1
  283. package/.output/public/assets/select-CBIU0_M1.js +0 -1
  284. package/.output/public/assets/smartphone-r0rRdPas.js +0 -1
  285. package/.output/public/assets/styles-BdlrKlVs.css +0 -2
  286. package/.output/public/assets/switch-CP6GsHmN.js +0 -1
  287. package/.output/public/assets/table-TUtVz-2l.js +0 -1
  288. package/.output/public/assets/tabs-CP3CSmtI.js +0 -1
  289. package/.output/public/assets/useInfiniteQuery-DX4WpBRG.js +0 -1
  290. package/.output/server/_ssr/listReleases-CQEceg8j.mjs +0 -79
  291. package/.output/server/_ssr/nativeBuildDevice-DJUAzAIj.mjs +0 -210
  292. package/.output/server/_tanstack-start-manifest_v-8M7ggCuB.mjs +0 -192
  293. package/src/lib/server/nativeBuildDevice.ts +0 -253
  294. package/src/routes/[_]hot-updater/native-builds/$buildId/device-response.ts +0 -17
  295. package/src/routes/[_]hot-updater/native-builds/$buildId/device.ts +0 -17
  296. package/src/routes/[_]hot-updater/native-builds/$buildId/device[.]mobileconfig.ts +0 -17
  297. /package/.output/public/assets/{uuidv7-cI6C63Fm.js → uuidv7-DAoOOpz9.js} +0 -0
  298. /package/.output/public/assets/{valueToPercent-B6X9rUJM.js → valueToPercent-Bn8p2lng.js} +0 -0
@@ -1,11 +1,11 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
- import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
- import { K as ChevronRight, q as ChevronLeft } from "../_libs/lucide-react.mjs";
4
- import { C as Skeleton, O as buttonVariants, k as cn, t as Button$1 } from "./sidebar-BwMkm72O.mjs";
5
- import { a as TableHeader, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DMj6AnqH.mjs";
2
+ import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
+ import { J as ChevronLeft, q as ChevronRight } from "../_libs/lucide-react.mjs";
4
+ import { C as Skeleton, O as buttonVariants, k as cn, t as Button$1 } from "./sidebar-CFlo6lny.mjs";
6
5
  import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
6
+ import { a as TableHeader, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-CqdaVMjd.mjs";
7
7
  import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
8
- //#region node_modules/.nitro/vite/services/ssr/assets/RelativeTime-DUr_cgha.js
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/RelativeTime-B5txzq94.js
9
9
  var import_jsx_runtime = require_jsx_runtime();
10
10
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
11
11
  var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
@@ -16,8 +16,12 @@ function DataTableFrame({ children }) {
16
16
  children
17
17
  });
18
18
  }
19
- /** A table as wide as its columns, with an uppercase header row. */
20
- function DataTable({ header, children, className, ...props }) {
19
+ /**
20
+ * A table as wide as its columns, with an uppercase header row. With
21
+ * `rowGroups`, its children are `DataTableBody` groups, such as a list's
22
+ * folds, each a group a control can name.
23
+ */
24
+ function DataTable({ header, children, className, rowGroups = false, ...props }) {
21
25
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Table, {
22
26
  className: cn("min-w-max", className),
23
27
  ...props,
@@ -27,7 +31,14 @@ function DataTable({ header, children, className, ...props }) {
27
31
  className: "border-b border-border/60 hover:bg-transparent [&>th]:h-10 [&>th]:text-xs [&>th]:font-semibold [&>th]:uppercase [&>th]:text-muted-foreground",
28
32
  children: header
29
33
  })
30
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableBody, { children })]
34
+ }), rowGroups ? children : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableBody, { children })]
35
+ });
36
+ }
37
+ /** One group of a `rowGroups` table's rows, its last row ruled like the others. */
38
+ function DataTableBody({ className, ...props }) {
39
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableBody, {
40
+ className: cn("[&_tr:last-child]:border-b", className),
41
+ ...props
31
42
  });
32
43
  }
33
44
  /**
@@ -122,7 +133,7 @@ function DataCard({ className, ...props }) {
122
133
  * to the newer and older pages, or disabled at either end. Newest shows on any
123
134
  * page but the first.
124
135
  */
125
- function DataTablePagination({ count, label, pending = false, newest, previous, next }) {
136
+ function DataTablePagination({ count, noun, folded, label, pending = false, newest, previous, next }) {
126
137
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("nav", {
127
138
  "aria-label": label,
128
139
  className: "flex flex-col gap-3 px-2 sm:flex-row sm:items-center sm:justify-between",
@@ -134,8 +145,25 @@ function DataTablePagination({ count, label, pending = false, newest, previous,
134
145
  children: count
135
146
  }),
136
147
  " ",
137
- count === 1 ? "entry" : "entries",
138
- ", newest first"
148
+ count === 1 ? noun[0] : noun[1],
149
+ ", newest first",
150
+ folded === void 0 || folded.count === 0 ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
151
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
152
+ "aria-hidden": "true",
153
+ children: " · "
154
+ }),
155
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
156
+ className: "sr-only",
157
+ children: ", "
158
+ }),
159
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
160
+ className: "text-foreground",
161
+ children: [folded.count, folded.more ? "+" : ""]
162
+ }),
163
+ " ",
164
+ folded.label,
165
+ " folded"
166
+ ] })
139
167
  ]
140
168
  }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
141
169
  className: "flex flex-wrap items-center gap-3 sm:justify-end",
@@ -206,4 +234,4 @@ function RelativeTime({ ms, withDate = false }) {
206
234
  });
207
235
  }
208
236
  //#endregion
209
- export { DataTableEmpty as a, DataTablePagination as c, RelativeTime as d, openOutsideControls as f, DataTable as i, DataTableRow as l, DataCardSkeletons as n, DataTableFrame as o, DataCardsEmpty as r, DataTableFullRow as s, DataCard as t, DataTableSkeletonRows as u };
237
+ export { DataTableBody as a, DataTableFullRow as c, DataTableSkeletonRows as d, RelativeTime as f, DataTable as i, DataTablePagination as l, DataCardSkeletons as n, DataTableEmpty as o, openOutsideControls as p, DataCardsEmpty as r, DataTableFrame as s, DataCard as t, DataTableRow as u };
@@ -1,11 +1,11 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
- import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
+ import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { i as TriangleAlert } from "../_libs/lucide-react.mjs";
4
- import { k as cn } from "./sidebar-BwMkm72O.mjs";
5
- import { a as Badge } from "./badge-C7PdVtoH.mjs";
4
+ import { k as cn } from "./sidebar-CFlo6lny.mjs";
5
+ import { a as Badge } from "./badge-BasQflNy.mjs";
6
6
  import { r as extractTimestampFromUUIDv7 } from "./uuidv7-CmHbryZT.mjs";
7
7
  import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
8
- //#region node_modules/.nitro/vite/services/ssr/assets/RolloutPercentageBadge-Mg4g25Gf.js
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/RolloutPercentageBadge-BEV8btLv.js
9
9
  var import_jsx_runtime = require_jsx_runtime();
10
10
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
11
11
  var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
@@ -0,0 +1,186 @@
1
+ import { i as __toESM } from "../_runtime.mjs";
2
+ import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
+ import { q as ChevronRight } from "../_libs/lucide-react.mjs";
4
+ import { C as Skeleton, D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-CFlo6lny.mjs";
5
+ import { o as TableRow, r as TableCell } from "./table-CqdaVMjd.mjs";
6
+ import { a as DataTableBody } from "./RelativeTime-B5txzq94.mjs";
7
+ //#region node_modules/.nitro/vite/services/ssr/assets/RowReason-CEDEk7-N.js
8
+ var import_react = /* @__PURE__ */ __toESM(require_react());
9
+ var import_jsx_runtime = require_jsx_runtime();
10
+ /** A fold's key on its page: the row above it, which no other fold shares. */
11
+ var foldKey = (fold) => fold.from ?? "";
12
+ /** "1 older build", "12 older builds", "100+ older builds". */
13
+ var foldLabel = (fold, noun) => `${fold.count}${fold.more ? "+" : ""} ${fold.count === 1 && !fold.more ? noun.one : noun.other}`;
14
+ /** A page's entries as table row groups: each run of rows, and each fold. */
15
+ var groupsOf = (entries) => {
16
+ const groups = [];
17
+ for (const entry of entries) {
18
+ const last = groups.at(-1);
19
+ if (entry.kind === "fold") groups.push({
20
+ kind: "fold",
21
+ fold: entry
22
+ });
23
+ else if (last?.kind === "rows") last.rows.push(entry.row);
24
+ else groups.push({
25
+ kind: "rows",
26
+ rows: [entry.row]
27
+ });
28
+ }
29
+ return groups;
30
+ };
31
+ /** Which folds of a page are open, by `foldKey`. */
32
+ function useOpenFolds() {
33
+ const [open, setOpen] = (0, import_react.useState)(() => /* @__PURE__ */ new Set());
34
+ return {
35
+ isOpen: (key) => open.has(key),
36
+ set: (key, value) => setOpen((previous) => {
37
+ if (previous.has(key) === value) return previous;
38
+ const next = new Set(previous);
39
+ if (value) next.add(key);
40
+ else next.delete(key);
41
+ return next;
42
+ })
43
+ };
44
+ }
45
+ /**
46
+ * The fold's button: a chevron and "12 older builds", as tall as a touch
47
+ * needs on a phone and as a row's text on a wide screen.
48
+ */
49
+ function FoldButton({ label, open, onOpenChange, panelId }) {
50
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", {
51
+ "aria-controls": panelId,
52
+ "aria-expanded": open,
53
+ className: "group/fold flex min-h-11 w-full items-center gap-2 px-4 text-left text-xs font-medium text-muted-foreground transition-colors hover:bg-muted/30 hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none focus-visible:ring-inset motion-reduce:transition-none sm:min-h-9 sm:px-3",
54
+ onClick: () => onOpenChange(!open),
55
+ type: "button",
56
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronRight, {
57
+ "aria-hidden": "true",
58
+ className: "size-3.5 shrink-0 transition-transform group-aria-expanded/fold:rotate-90 motion-reduce:transition-none"
59
+ }), label]
60
+ });
61
+ }
62
+ /** A fold in a `rowGroups` table: its row, then the group of its rows. */
63
+ function DataTableFold({ columns, children, ...props }) {
64
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTableBody, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableRow, {
65
+ className: "bg-muted/20 hover:bg-muted/20",
66
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
67
+ className: "p-0",
68
+ colSpan: columns,
69
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FoldButton, { ...props })
70
+ })
71
+ }) }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTableBody, {
72
+ hidden: !props.open,
73
+ id: props.panelId,
74
+ children: props.open ? children : null
75
+ })] });
76
+ }
77
+ /**
78
+ * A fold in a list of cards on a narrow screen; `inList` when the cards are
79
+ * a list's items, so its row is one too.
80
+ */
81
+ function DataCardFold({ children, inList = false, ...props }) {
82
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
83
+ className: "border-b bg-muted/20",
84
+ role: inList ? "listitem" : void 0,
85
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FoldButton, { ...props })
86
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
87
+ hidden: !props.open,
88
+ id: props.panelId,
89
+ children: props.open ? children : null
90
+ })] });
91
+ }
92
+ /**
93
+ * What an open fold shows past its rows: that they load, that more of them
94
+ * load on request, or that they couldn't be read.
95
+ */
96
+ function FoldStatus({ state, label, onMore, onRetry, columns }) {
97
+ const body = state === "loading" ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
98
+ "aria-live": "polite",
99
+ className: "flex flex-col gap-2 p-3",
100
+ children: [
101
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
102
+ className: "sr-only",
103
+ children: label
104
+ }),
105
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, { className: "h-8 w-full" }),
106
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, { className: "h-8 w-full" })
107
+ ]
108
+ }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
109
+ className: "flex items-center gap-3 px-4 py-2 sm:px-3",
110
+ children: [state === "error" ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
111
+ className: "text-xs text-muted-foreground",
112
+ role: "status",
113
+ children: [label, " couldn't be loaded."]
114
+ }) : null, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
115
+ className: "h-11 px-3 text-xs sm:h-8",
116
+ onClick: state === "error" ? onRetry : onMore,
117
+ size: "sm",
118
+ variant: "ghost",
119
+ children: state === "error" ? "Retry" : "Show more"
120
+ })]
121
+ });
122
+ return columns === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
123
+ className: "border-b",
124
+ children: body
125
+ }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableRow, {
126
+ className: "hover:bg-transparent",
127
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
128
+ className: "p-0",
129
+ colSpan: columns,
130
+ children: body
131
+ })
132
+ });
133
+ }
134
+ /**
135
+ * What a page's folds hold: their counts summed, and whether any holds more
136
+ * than it says (past its cap, or past the page), so the total is a floor.
137
+ */
138
+ var foldedTotal = (entries) => {
139
+ let count = 0;
140
+ let more = false;
141
+ for (const entry of entries) {
142
+ if (entry.kind !== "fold") continue;
143
+ count += entry.count;
144
+ more ||= entry.more;
145
+ }
146
+ return {
147
+ count,
148
+ more
149
+ };
150
+ };
151
+ /**
152
+ * A quiet word on a row a list shades, such as "Older" or "Unreachable",
153
+ * that says why on a tap, a click, or focus: a touch or a keyboard reaches
154
+ * the reason, not only a pointer's hover. A control of its own, so it opens
155
+ * no row.
156
+ */
157
+ function RowReason({ icon: Icon, children, label, reason }) {
158
+ const id = (0, import_react.useId)();
159
+ const [open, setOpen] = (0, import_react.useState)(false);
160
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Tooltip$1, {
161
+ onOpenChange: setOpen,
162
+ open,
163
+ triggerId: id,
164
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(TooltipTrigger, {
165
+ "aria-describedby": open ? `${id}-reason` : void 0,
166
+ "aria-label": label,
167
+ className: "relative inline-flex shrink-0 items-center gap-1 rounded-sm text-xs text-muted-foreground transition-colors after:absolute after:-inset-x-2 after:-inset-y-3.5 hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none motion-reduce:transition-none sm:after:hidden",
168
+ closeOnClick: false,
169
+ id,
170
+ onClick: () => setOpen((value) => !value),
171
+ type: "button",
172
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, {
173
+ "aria-hidden": "true",
174
+ className: "size-3.5"
175
+ }), children]
176
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipContent, {
177
+ className: "max-w-64",
178
+ id: `${id}-reason`,
179
+ role: "tooltip",
180
+ side: "bottom",
181
+ children: reason
182
+ })]
183
+ });
184
+ }
185
+ //#endregion
186
+ export { foldKey as a, groupsOf as c, RowReason as i, useOpenFolds as l, DataTableFold as n, foldLabel as o, FoldStatus as r, foldedTotal as s, DataCardFold as t };
@@ -1,25 +1,12 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
- import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
+ import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { p as Send } from "../_libs/lucide-react.mjs";
4
- import { a as Badge } from "./badge-C7PdVtoH.mjs";
4
+ import { a as Badge } from "./badge-BasQflNy.mjs";
5
5
  import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
6
- //#region node_modules/.nitro/vite/services/ssr/assets/StoreSubmission-CUIg6WXQ.js
6
+ //#region node_modules/.nitro/vite/services/ssr/assets/SandboxBadge-wlOMZIUd.js
7
7
  var import_jsx_runtime = require_jsx_runtime();
8
8
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
9
9
  var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
10
- /**
11
- * "Sandbox" on a sandbox build, as the registry records it, whatever its
12
- * channel; nothing on any other. A qualifier of the artifact kind beside it,
13
- * so a quiet tag: tinted and muted like a neutral channel, the row's chip
14
- * height, and narrow, as "Store build" is.
15
- */
16
- function SandboxBadge({ build }) {
17
- return build.is_sandbox ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
18
- className: "px-1.5",
19
- variant: "muted",
20
- children: "Sandbox"
21
- }) : null;
22
- }
23
10
  /** Google Play destination display labels. */
24
11
  var PLAY_TRACKS = {
25
12
  "play-internal": {
@@ -93,5 +80,18 @@ function StoreSubmissionBadge({ build, withTime = false }) {
93
80
  }), withTime ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SubmittedAt, { ms: build.submitted_at_ms }) : null]
94
81
  });
95
82
  }
83
+ /**
84
+ * "Sandbox" on a sandbox build, as the registry records it, whatever its
85
+ * channel; nothing on any other. A qualifier of the artifact kind beside it,
86
+ * so a quiet tag: tinted and muted like a neutral channel, the row's chip
87
+ * height, and narrow, as "Store build" is.
88
+ */
89
+ function SandboxBadge({ build }) {
90
+ return build.is_sandbox ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
91
+ className: "px-1.5",
92
+ variant: "muted",
93
+ children: "Sandbox"
94
+ }) : null;
95
+ }
96
96
  //#endregion
97
- export { isSubmitted as i, SandboxBadge as n, StoreSubmissionBadge as r, PLAY_TRACKS as t };
97
+ export { storeTrackLabels as a, isSubmitted as i, SandboxBadge as n, StoreSubmissionBadge as r, PLAY_TRACKS as t };
@@ -1,27 +1,10 @@
1
- import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
- import { B as Copy, F as FingerprintPattern, k as KeyRound, x as Package } from "../_libs/lucide-react.mjs";
3
- import { k as cn, t as Button$1 } from "./sidebar-BwMkm72O.mjs";
4
- import { a as Badge } from "./badge-C7PdVtoH.mjs";
1
+ import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
+ import { F as FingerprintPattern, V as Copy, k as KeyRound, x as Package } from "../_libs/lucide-react.mjs";
3
+ import { t as Button$1 } from "./sidebar-CFlo6lny.mjs";
5
4
  import { n as toast } from "../_libs/sonner.mjs";
6
- import { t as HashValueDisplay } from "./HashValueDisplay-C7nja_fn.mjs";
7
- //#region node_modules/.nitro/vite/services/ssr/assets/TargetDisplay-C-C8MKuf.js
5
+ import { t as HashValueDisplay } from "./HashValueDisplay-SIEeZe0O.mjs";
6
+ //#region node_modules/.nitro/vite/services/ssr/assets/TargetDisplay-076I9qHx.js
8
7
  var import_jsx_runtime = require_jsx_runtime();
9
- /** The channels with their own color; any other channel is neutral. */
10
- var COLORED_CHANNELS = new Set([
11
- "production",
12
- "staging",
13
- "dev"
14
- ]);
15
- function ChannelBadge({ channel, className }) {
16
- const name = channel.toLowerCase();
17
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
18
- variant: "outline",
19
- translate: "no",
20
- "data-channel": COLORED_CHANNELS.has(name) ? name : void 0,
21
- className: cn("border-channel-other/20 bg-channel-other/10 text-channel-other", "data-[channel=production]:border-channel-production/20 data-[channel=production]:bg-channel-production/10 data-[channel=production]:text-channel-production", "data-[channel=staging]:border-channel-staging/20 data-[channel=staging]:bg-channel-staging/10 data-[channel=staging]:text-channel-staging", "data-[channel=dev]:border-channel-dev/20 data-[channel=dev]:bg-channel-dev/10 data-[channel=dev]:text-channel-dev", className),
22
- children: channel
23
- });
24
- }
25
8
  /** A command or link on one line, with a button that copies it. */
26
9
  function CopyableText({ label, value, wrap = false }) {
27
10
  const copy = async () => {
@@ -97,4 +80,4 @@ function BuildKeyDisplay({ value }) {
97
80
  }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NoValue, {});
98
81
  }
99
82
  //#endregion
100
- export { TargetDisplay as a, NoValue as i, ChannelBadge as n, CopyableText as r, BuildKeyDisplay as t };
83
+ export { TargetDisplay as i, CopyableText as n, NoValue as r, BuildKeyDisplay as t };
@@ -1,6 +1,6 @@
1
1
  import "../_runtime.mjs";
2
- import { $ as DialogTitle, X as AlertDialogTrigger$1, Z as AlertDialogRoot, at as DialogBackdrop, bt as require_react, it as DialogClose, nt as DialogPopup, rt as DialogDescription, tt as DialogPortal, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
- import { k as cn, t as Button$1 } from "./sidebar-BwMkm72O.mjs";
2
+ import { Et as require_react, Tt as require_jsx_runtime, at as DialogTitle, ct as DialogPopup, dt as DialogBackdrop, lt as DialogDescription, nt as AlertDialogTrigger$1, rt as AlertDialogRoot, st as DialogPortal, ut as DialogClose } from "../_libs/@base-ui/react+[...].mjs";
3
+ import { k as cn, t as Button$1 } from "./sidebar-CFlo6lny.mjs";
4
4
  require_react();
5
5
  var import_jsx_runtime = require_jsx_runtime();
6
6
  function AlertDialog$1({ ...props }) {
@@ -1,23 +1,32 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-CHD7-b3E.mjs";
3
- import { A as createSsrRpc } from "./sidebar-BwMkm72O.mjs";
4
- import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
2
+ import { A as createSsrRpc } from "./sidebar-CFlo6lny.mjs";
3
+ import { t as consoleAccess } from "./console-access-Bi-abtY-.mjs";
4
+ import { i as useQuery, n as useMutation, s as useQueryClient, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
5
5
  import { o as assertCanonicalChannelName } from "./dist-B6-irDRA.mjs";
6
- import { i as channelIdOf } from "./native-builds-OUdRtp6m.mjs";
7
- import { n as readReleaseFilter } from "./listReleases-CQEceg8j.mjs";
8
- //#region node_modules/.nitro/vite/services/ssr/assets/api-BeWenjNl.js
9
- var MAX_PAGE_LIMIT = 100;
10
- var pageLimit = (limit) => {
11
- const value = limit ?? 20;
12
- if (!Number.isSafeInteger(value) || value < 1 || value > MAX_PAGE_LIMIT) throw new Error(`limit must be between 1 and ${MAX_PAGE_LIMIT}.`);
13
- return value;
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-C1plnjZg.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
- limit: pageLimit(input?.limit)
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. */
@@ -94,7 +107,13 @@ var queryKeys = {
94
107
  channels: ["channels"],
95
108
  releases: {
96
109
  all: releaseListQueryKey,
97
- list: (filters) => [...releaseListQueryKey, filters ?? {}]
110
+ list: (filters) => [...releaseListQueryKey, filters ?? {}],
111
+ fold: (filter, fold) => [
112
+ ...releaseListQueryKey,
113
+ "fold",
114
+ filter ?? {},
115
+ fold
116
+ ]
98
117
  },
99
118
  release: (releaseId) => ["release", releaseId],
100
119
  releaseCatalog: (scopeKey) => ["release-catalog", scopeKey],
@@ -110,7 +129,13 @@ var queryKeys = {
110
129
  bundle: (bundleId) => ["bundle", bundleId],
111
130
  nativeBuilds: {
112
131
  all: ["native-builds"],
113
- 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
+ ]
114
139
  },
115
140
  nativeBuild: (id) => ["native-build", id],
116
141
  nativeBuildPatches: (minBundleId, page) => [
@@ -165,6 +190,23 @@ function useReleasesQuery(filters) {
165
190
  placeholderData: (previousData) => previousData
166
191
  });
167
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
+ }
168
210
  function useReleaseQuery(releaseId) {
169
211
  return useQuery({
170
212
  enabled: releaseId.length > 0,
@@ -204,6 +246,21 @@ function useBundleChildCountsQuery(bundleIds) {
204
246
  enabled: normalizedBundleIds.length > 0
205
247
  });
206
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
+ }
207
264
  /** One page of native builds, newest first, kept on screen while the next loads. */
208
265
  function useNativeBuildsQuery(page) {
209
266
  return useQuery({
@@ -379,4 +436,4 @@ function usePromoteReleaseMutation() {
379
436
  });
380
437
  }
381
438
  //#endregion
382
- export { useUpdateReleaseMutation as S, usePromoteReleaseMutation as _, useConfigQuery as a, useReleaseQuery as b, useDeleteReleaseMutation as c, useNativeBuildDownloadLinkQuery as d, useNativeBuildDownloadUrlQuery as f, usePreflightReleaseMutation as g, useNativeBuildsQuery as h, useChannelsQuery as i, useMarkNativeBuildMutation as l, useNativeBuildPatchesQuery as m, useBundleChildrenQuery as n, useCreateChannelMutation as o, useNativeBuildInstallEligibilityQuery as p, useBundleQuery as r, useDeleteChannelMutation as s, useBundleChildCountsQuery as t, useNativeBuildDetailQuery as u, useReleaseCatalogDiagnosticsQuery as v, useReleasesQuery as x, useReleaseNativeBuildQuery as y };
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-C-1Ls1sm.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-DzWwXpi5.js
1
+ import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-Dfs3WUZf.mjs";
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-Bzn-P-lX.js
3
3
  var SplitNotFoundComponent = ConsoleFeatureUnavailable;
4
4
  //#endregion
5
5
  export { SplitNotFoundComponent as notFoundComponent };
@@ -1,18 +1,18 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
3
- import { t as consoleAccess } from "./console-access-CHD7-b3E.mjs";
4
- import { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
5
- import { D as LoaderCircle, V as Clipboard, Y as Check, _ as RefreshCw, f as ShieldOff, i as TriangleAlert, k as KeyRound, v as Plus } from "../_libs/lucide-react.mjs";
6
- import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-BwMkm72O.mjs";
7
- import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-BkxhOkGp.mjs";
8
- import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-C7PdVtoH.mjs";
9
- 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-CiN6BFHg.mjs";
10
- import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-fnm03nlH.mjs";
11
- import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-C2GZCygB.mjs";
12
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DMj6AnqH.mjs";
3
+ import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
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-CFlo6lny.mjs";
6
+ import { t as consoleAccess } from "./console-access-Bi-abtY-.mjs";
13
7
  import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
8
+ import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-BrGGQYC0.mjs";
9
+ import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-BasQflNy.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-DrD4hAp4.mjs";
11
+ import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-7iMkt9l0.mjs";
12
+ import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-mL_Aa6ff.mjs";
13
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-CqdaVMjd.mjs";
14
14
  import { n as toast } from "../_libs/sonner.mjs";
15
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-Bzaj1vWD.js
15
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-L8_p18pO.js
16
16
  var import_react = /* @__PURE__ */ __toESM(require_react());
17
17
  var import_jsx_runtime = require_jsx_runtime();
18
18
  var parseName = (input) => {
@@ -123,7 +123,7 @@ function CreateApiKeyDialog() {
123
123
  type: "submit",
124
124
  children: [create.isPending ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LoaderCircle, {
125
125
  "data-icon": "inline-start",
126
- className: "animate-spin"
126
+ className: "animate-spin motion-reduce:animate-none"
127
127
  }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(KeyRound, { "data-icon": "inline-start" }), "Create API key"]
128
128
  })
129
129
  })]
@@ -1,7 +1,7 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-CHD7-b3E.mjs";
2
+ import { t as consoleAccess } from "./console-access-Bi-abtY-.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-BRnZWUpw.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-Mne2yo8z.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-Bvqyj9Ec.mjs"), import("./runtime.server-wcHT2Cop.mjs")]);
17
+ const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-CVOdMDBk.mjs"), import("./runtime.server-CkSbWaZm.mjs")]);
18
18
  const { runtime } = await prepareConfig();
19
19
  return requireFeature(runtime, "apiKeys");
20
20
  };