@hot-updater/console 1.2.0-rc.2 → 1.2.0-rc.20

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 (251) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/{-native-builds-search-C-TGpFAm.js → -native-builds-search-OlRj4Jz0.js} +1 -1
  3. package/.output/public/assets/BundleIdDisplay-CP6rsdFO.js +1 -0
  4. package/.output/public/assets/{ConsoleFeatureUnavailable-CUtcXuY2.js → ConsoleFeatureUnavailable-DUqlpHCp.js} +1 -1
  5. package/.output/public/assets/EventDetails-Dcpdu7re.js +1 -0
  6. package/.output/public/assets/HashValueDisplay-MoZMmTeP.js +1 -0
  7. package/.output/public/assets/{InsightsPageHeader-DHhqY3DT.js → InsightsPageHeader-CSas9gM0.js} +1 -1
  8. package/.output/public/assets/{PlatformIcon-BBWQlWm9.js → PlatformIcon-CJ69KopR.js} +1 -1
  9. package/.output/public/assets/RelativeTime-CiZ7yXNJ.js +1 -0
  10. package/.output/public/assets/RolloutPercentageBadge-D-tZKnX7.js +1 -0
  11. package/.output/public/assets/StoreSubmission-F00RL5rI.js +1 -0
  12. package/.output/public/assets/TargetDisplay-CoYY8Fs4.js +1 -0
  13. package/.output/public/assets/api-LQJH44FU.js +1 -0
  14. package/.output/public/assets/api-keys-3IL4dIHe.js +1 -0
  15. package/.output/public/assets/api-keys-4w2-ofii.js +1 -0
  16. package/.output/public/assets/badge-laIuYW1U.js +1 -0
  17. package/.output/public/assets/card-ulgg5xHn.js +1 -0
  18. package/.output/public/assets/{index-CqP5HPV6.js → index-Cde2QQJq.js} +3 -3
  19. package/.output/public/assets/insights-0TUItqwh.js +1 -0
  20. package/.output/public/assets/insights-DDRfERph.js +2 -0
  21. package/.output/public/assets/insights-_6iMn8GR.js +42 -0
  22. package/.output/public/assets/{insights-search-DghCbEnk.js → insights-search-CYPrQVUC.js} +1 -1
  23. package/.output/public/assets/{insights-usage-rpc-CKQH0pUS.js → insights-usage-rpc-BbFllvi_.js} +1 -1
  24. package/.output/public/assets/insights_.distribution-AZcfvK7x.js +1 -0
  25. package/.output/public/assets/insights_.distribution-BGAqgPi0.js +1 -0
  26. package/.output/public/assets/insights_.distribution-CjYkDRA4.js +2 -0
  27. package/.output/public/assets/installations-Ap2G2tDs.js +1 -0
  28. package/.output/public/assets/{installations-B674P5Z5.js → installations-CSZfo1rG.js} +2 -2
  29. package/.output/public/assets/installations-CwQYwQ6K.js +1 -0
  30. package/.output/public/assets/native-builds-cT9Ha-jZ.js +1 -0
  31. package/.output/public/assets/native-builds-v5wez34c.js +2 -0
  32. package/.output/public/assets/native-builds_._buildId-BBwE8Pcc.js +2 -0
  33. package/.output/public/assets/native-builds_._buildId-DZPcR_up.js +1 -0
  34. package/.output/public/assets/package-ytYrywZH.js +1 -0
  35. package/.output/public/assets/remote-config-CIAEArwq.js +1 -0
  36. package/.output/public/assets/{remote-config-WjpozBG5.js → remote-config-Dwdc-sij.js} +1 -1
  37. package/.output/public/assets/remote-config-ZJ_IRSKE.js +6 -0
  38. package/.output/public/assets/routes-BUWLcUqW.js +1 -0
  39. package/.output/public/assets/routes-Rtz-KcQO.js +2 -0
  40. package/.output/public/assets/styles-bNNic0NS.css +2 -0
  41. package/.output/public/assets/valueToPercent-B6X9rUJM.js +1 -0
  42. package/.output/server/{__23tanstack-start-server-fn-resolver-BcDgi7Q7.mjs → __23tanstack-start-server-fn-resolver-DTYDM38B.mjs} +58 -46
  43. package/.output/server/_chunks/ssr-renderer.mjs +2 -2
  44. package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
  45. package/.output/server/_libs/_.mjs +2 -0
  46. package/.output/server/_libs/lucide-react.mjs +1 -27
  47. package/.output/server/_ssr/{-native-builds-search-CwNcoXf4.mjs → -native-builds-search-Cl8EZ0Ud.mjs} +2 -2
  48. package/.output/server/_ssr/{BundleIdDisplay-ys5eRBiX.mjs → BundleIdDisplay-CA0kGlEh.mjs} +2 -2
  49. package/.output/server/_ssr/{ConsoleFeatureUnavailable-DFrogDwc.mjs → ConsoleFeatureUnavailable-CPXtj5iM.mjs} +7 -7
  50. package/.output/server/_ssr/{EventDetails-BOJR7vO-.mjs → EventDetails-HqLCY8fr.mjs} +8 -8
  51. package/.output/server/_ssr/{HashValueDisplay-d4OxpYG1.mjs → HashValueDisplay-Cm0TME9s.mjs} +6 -6
  52. package/.output/server/_ssr/{InsightsPageHeader-D_ON_oXO.mjs → InsightsPageHeader-C5zPO5UV.mjs} +8 -8
  53. package/.output/server/_ssr/{NotFoundPage-BJKqYxfO.mjs → NotFoundPage-B6lkMCZL.mjs} +2 -2
  54. package/.output/server/_ssr/{PlatformIcon-CFLiTjh1.mjs → PlatformIcon-Cuhy0CIO.mjs} +12 -2
  55. package/.output/server/_ssr/RelativeTime-CH7AZeY_.mjs +209 -0
  56. package/.output/server/_ssr/{git-CTA8Aqr0.mjs → RolloutPercentageBadge-CQG5jqY-.mjs} +19 -3
  57. package/.output/server/_ssr/StoreSubmission-DVzs6Nyl.mjs +65 -0
  58. package/.output/server/_ssr/TargetDisplay-QRaZlmGC.mjs +100 -0
  59. package/.output/server/_ssr/{alert-dialog-BU7QeAL9.mjs → alert-dialog-iQioHwFW.mjs} +1 -1
  60. package/.output/server/_ssr/{api-Dn2NwWiq.mjs → api-D1RQfXCc.mjs} +99 -22
  61. package/.output/server/_ssr/{api-keys-D5rW-eAH.mjs → api-keys-C-aGylLh.mjs} +2 -2
  62. package/.output/server/_ssr/{api-keys-Ckoc4av7.mjs → api-keys-DrIZkdQh.mjs} +10 -9
  63. package/.output/server/_ssr/{api-keys-rpc-Bf2x7mQb.mjs → api-keys-rpc-k5dAmAfj.mjs} +4 -4
  64. package/.output/server/_ssr/{api-rpc-Bg7CTu5A.mjs → api-rpc-CifgIAGx.mjs} +43 -18
  65. package/.output/server/_ssr/{auth-rpc-C41fl9Q5.mjs → auth-rpc-owQK39Uq.mjs} +5 -5
  66. package/.output/server/_ssr/{auth.server-Dfa8DroN.mjs → auth.server-DJVi8oWE.mjs} +165 -149
  67. package/.output/server/_ssr/{badge-B-YGm4ng.mjs → badge-CI3HXaiX.mjs} +2 -44
  68. package/.output/server/_ssr/{bundleActivity-MLrjNJCT.mjs → bundleActivity-BGVvqWx7.mjs} +1 -1
  69. package/.output/server/_ssr/card-BFx4V7Oi.mjs +49 -0
  70. package/.output/server/_ssr/{config.server-DBX318ww.mjs → config.server-Be_iwIfs.mjs} +4 -4
  71. package/.output/server/_ssr/{console-access-CwSkUsOn.mjs → console-access--BE44gg5.mjs} +2 -2
  72. package/.output/server/_ssr/{console-features-BTV-XuhQ.mjs → console-features-CgdQJQlX.mjs} +1 -1
  73. package/.output/server/_ssr/{console-features-api-BbojT91g.mjs → console-features-api-B92Tkd-I.mjs} +5 -5
  74. package/.output/server/_ssr/{console-features-rpc-3bq2wS5U.mjs → console-features-rpc-CUNPQEb8.mjs} +4 -4
  75. package/.output/server/_ssr/{createServerRpc-BVvRVOz5.mjs → createServerRpc-DJZel12M.mjs} +1 -1
  76. package/.output/server/_ssr/{databaseConfig-B_Bg7qS5.mjs → databaseConfig-XAvDetmn.mjs} +1 -1
  77. package/.output/server/_ssr/{databaseJsonValue-kS7cvEtz.mjs → databaseJsonValue-DuUoft8j.mjs} +1 -1
  78. package/.output/server/_ssr/{databaseRows-B6H8Cmgq.mjs → databaseRows-BtRVBD0C.mjs} +3 -3
  79. package/.output/server/_ssr/{dialog-RPz_4IaA.mjs → dialog-uvI4WgO6.mjs} +1 -1
  80. package/.output/server/_ssr/{dist-TEpM_UAD.mjs → dist-B6-irDRA.mjs} +1 -1
  81. package/.output/server/_ssr/{downloadBundle-DCmr7vsj.mjs → downloadBundle-BX8ODCZT.mjs} +1 -1
  82. package/.output/server/_ssr/{empty-BE1Gn6IB.mjs → empty-CuGWZObY.mjs} +2 -2
  83. package/.output/server/_ssr/{empty-plugin-adapters-zrZ0xs6n.mjs → empty-plugin-adapters-BYBYBaxo.mjs} +1 -1
  84. package/.output/server/_ssr/{failureReports-Cn_zU9S8.mjs → failureReports-C_CmBF4x.mjs} +3 -3
  85. package/.output/server/_ssr/{field-DUwSBic5.mjs → field-BhFsCMog.mjs} +2 -2
  86. package/.output/server/_ssr/{getBundleChildren-rtkEEJw5.mjs → getBundleChildren-BJTufthT.mjs} +2 -2
  87. package/.output/server/_ssr/{input-group-BHI0ziHT.mjs → input-group-DFKB3ocq.mjs} +1 -1
  88. package/.output/server/_ssr/{insights-DF0SkYDy.mjs → insights-C20r9u1W.mjs} +2 -2
  89. package/.output/server/_ssr/{insights-DVvFyEOH.mjs → insights-D4ZDmMz8.mjs} +5 -5
  90. package/.output/server/_ssr/{insights-BGzKbtLf.mjs → insights-DzSEAeQ3.mjs} +28 -27
  91. package/.output/server/_ssr/{insights-api-Bw_ZEDUY.mjs → insights-api-CbJZivUT.mjs} +5 -5
  92. package/.output/server/_ssr/{insights-errors-7BCwFybo.mjs → insights-errors-Bz3sWNZm.mjs} +2 -2
  93. package/.output/server/_ssr/{insights-failures-B9VPkzZE.mjs → insights-failures-DNQ9qVVf.mjs} +2 -2
  94. package/.output/server/_ssr/{insights-failures-rpc-BuRU2I5g.mjs → insights-failures-rpc-BP9iTzdb.mjs} +11 -11
  95. package/.output/server/_ssr/{insights-recovery-BtXVU3ro.mjs → insights-recovery-DOkpqnQ8.mjs} +1 -1
  96. package/.output/server/_ssr/{insights-recovery-rpc-CsWe72mW.mjs → insights-recovery-rpc-Bcf1cQlj.mjs} +7 -7
  97. package/.output/server/_ssr/{insights-rpc-CD5VaLy2.mjs → insights-rpc-NKpFvHYb.mjs} +4 -4
  98. package/.output/server/_ssr/{insights-search-C3R6mzW-.mjs → insights-search-BCUMkmw-.mjs} +4 -4
  99. package/.output/server/_ssr/{insights-usage-DiGnuxW8.mjs → insights-usage-4KDIN3Kg.mjs} +1 -1
  100. package/.output/server/_ssr/{insights-usage-rpc-Bbg14JFS.mjs → insights-usage-rpc-DTEKbWnD.mjs} +7 -7
  101. package/.output/server/_ssr/{insights-usage-rpc-Duqu3q-H.mjs → insights-usage-rpc-Dn14pwSF.mjs} +4 -4
  102. package/.output/server/_ssr/{insightsUsage-ClAmoUz8.mjs → insightsUsage-DmQdJZqT.mjs} +3 -3
  103. package/.output/server/_ssr/{insights_.distribution-DIA0Gi7f.mjs → insights_.distribution-DZr2GnxG.mjs} +2 -2
  104. package/.output/server/_ssr/{insights_.distribution-DH_9B5XU.mjs → insights_.distribution-JUKaiTBo.mjs} +16 -15
  105. package/.output/server/_ssr/{insights_.distribution-HZrwJteU.mjs → insights_.distribution-y17VBRCM.mjs} +5 -5
  106. package/.output/server/_ssr/{installations-SuuoQ-xH.mjs → installations-B0MTnKbz.mjs} +12 -12
  107. package/.output/server/_ssr/{installations-Ct7njvit.mjs → installations-bBoKWHfY.mjs} +4 -4
  108. package/.output/server/_ssr/{installations-D-O92-Nr.mjs → installations-nKYHU7Cw.mjs} +2 -2
  109. package/.output/server/_ssr/{listReleases-D_GY00SQ.mjs → listReleases-CQEceg8j.mjs} +1 -1
  110. package/.output/server/_ssr/{request-guard-CPdRBuGW.mjs → local-console-Dtxlsav0.mjs} +2 -9
  111. package/.output/server/_ssr/native-artifact-H1MDP0Jz.mjs +593 -0
  112. package/.output/server/_ssr/native-builds-B3B2HUeu.mjs +548 -0
  113. package/.output/server/_ssr/{native-builds-DhXL5zf_.mjs → native-builds-CWA9Y__P.mjs} +58 -20
  114. package/.output/server/_ssr/{native-builds-DhVG-4du.mjs → native-builds-Cgj_KUG2.mjs} +3 -3
  115. package/.output/server/_ssr/{native-builds_._buildId-dDLkfNFZ.mjs → native-builds_._buildId-CBNMvWjM.mjs} +3 -3
  116. package/.output/server/_ssr/native-builds_._buildId-Fna85Z9b.mjs +1294 -0
  117. package/.output/server/_ssr/nativeBuildDevice-Dn16gNmZ.mjs +230 -0
  118. package/.output/server/_ssr/nativeBuildDownloadLink-CdTkZWfX.mjs +96 -0
  119. package/.output/server/_ssr/nativeBuildInstall-BRKqafos.mjs +203 -0
  120. package/.output/server/_ssr/nativeBuildQr-P9qKcI7l.mjs +115 -0
  121. package/.output/server/_ssr/{nativeBuilds-B_7BPjt_.mjs → nativeBuilds-ByQdDnHG.mjs} +61 -29
  122. package/.output/server/_ssr/{plugins-RIryUNWj.mjs → plugins-CX7wutet.mjs} +6 -6
  123. package/.output/server/_ssr/publicConsoleBase-3IHSHvqd.mjs +27 -0
  124. package/.output/server/_ssr/{qr-code-C7kNRIDX.mjs → qr-code-pENFuyy9.mjs} +1 -1
  125. package/.output/server/_ssr/{release-adoption-DoAtNPED.mjs → release-adoption-C7sUFDwa.mjs} +2 -2
  126. package/.output/server/_ssr/{release-adoption-rpc-Cc2AJ-yS.mjs → release-adoption-rpc-C_VyJFU7.mjs} +9 -9
  127. package/.output/server/_ssr/{releaseAdoption-a2byXMfz.mjs → releaseAdoption-LLYlRnUB.mjs} +4 -4
  128. package/.output/server/_ssr/{releaseCatalogCompiler-DLcean2k.mjs → releaseCatalogCompiler-D9dAMI17.mjs} +3 -3
  129. package/.output/server/_ssr/{releaseManagement-DHUux2az.mjs → releaseManagement-EPhok_Py.mjs} +1 -1
  130. package/.output/server/_ssr/{releaseReachability-DZOK_dH-.mjs → releaseReachability-DaZ7ifUF.mjs} +2 -2
  131. package/.output/server/_ssr/{remote-config-CTZ_zxNg.mjs → remote-config-CUEAdK4C.mjs} +20 -19
  132. package/.output/server/_ssr/{remote-config-DvMHWxja.mjs → remote-config-CpmDX9J1.mjs} +2 -2
  133. package/.output/server/_ssr/{remote-config-BYyQFBG8.mjs → remote-config-DYyKkJSw.mjs} +2 -2
  134. package/.output/server/_ssr/{remote-config-rpc-DibiGuw7.mjs → remote-config-rpc-CLrQKB7x.mjs} +5 -5
  135. package/.output/server/_ssr/request-guard-BPLyogIN.mjs +11 -0
  136. package/.output/server/_ssr/{router-Da0sMVN2.mjs → router-D_EkvCZy.mjs} +103 -52
  137. package/.output/server/_ssr/{routes-CHl0_VK3.mjs → routes-Cd29G-My.mjs} +260 -383
  138. package/.output/server/_ssr/{routes-FE2SJgBr.mjs → routes-nG6l3orX.mjs} +14 -18
  139. package/.output/server/_ssr/{runtime.server-BdMY1blX.mjs → runtime.server-BsTTLV-B.mjs} +4 -4
  140. package/.output/server/_ssr/{schema-ChlRtZIo.mjs → schema-3oDJJFWa.mjs} +1 -1
  141. package/.output/server/_ssr/{schema-migration-rpc-Bh7oEZEG.mjs → schema-migration-rpc-_tArX07K.mjs} +4 -4
  142. package/.output/server/_ssr/{select-BhPCNdHx.mjs → select-Dvp4b6e0.mjs} +2 -2
  143. package/.output/server/_ssr/{server-BjkQXKZR.mjs → server-DIO4VBjE.mjs} +6 -6
  144. package/.output/server/_ssr/{sidebar-B7OTpt-8.mjs → sidebar-Dm0O051V.mjs} +2 -2
  145. package/.output/server/_ssr/ssr.mjs +1 -1
  146. package/.output/server/_ssr/{start-BvDsQehg.mjs → start-C0XSSCq4.mjs} +2 -2
  147. package/.output/server/_ssr/{switch-CIkMfFrN.mjs → switch-Dtspx2CO.mjs} +2 -2
  148. package/.output/server/_ssr/{table-BIzH49v-.mjs → table-BmLgy9z-.mjs} +1 -1
  149. package/.output/server/_ssr/{tabs-WDYlrXEm.mjs → tabs-CpD9w0LY.mjs} +2 -2
  150. package/.output/server/_ssr/{updateFailures-n-tGv90S.mjs → updateFailures-DPYzv9bE.mjs} +3 -3
  151. package/.output/server/_ssr/{uuidv7-BIF4nb_q.mjs → uuidv7-CmHbryZT.mjs} +2 -2
  152. package/.output/server/_ssr/{version-CQ98ZBpL-CWSkTT9J.mjs → version-CQ98ZBpL-NmbU0MD2.mjs} +1 -1
  153. package/.output/server/_tanstack-start-manifest_v-AYP07Vaf.mjs +194 -0
  154. package/.output/server/index.mjs +332 -311
  155. package/package.json +7 -7
  156. package/src/components/ChannelBadge.tsx +9 -9
  157. package/src/components/DataTable.tsx +303 -0
  158. package/src/components/HashValueDisplay.tsx +6 -3
  159. package/src/components/PlatformIcon.tsx +10 -0
  160. package/src/components/RelativeTime.tsx +31 -0
  161. package/src/components/TargetDisplay.tsx +69 -0
  162. package/src/components/features/channels/ChannelManagementDialog.tsx +3 -8
  163. package/src/components/features/insights/ReleaseActivity.tsx +1 -1
  164. package/src/components/features/native-builds/BuiltInBundleCard.tsx +108 -58
  165. package/src/components/features/native-builds/CommitLink.tsx +1 -1
  166. package/src/components/features/native-builds/ImportBuild.tsx +1 -1
  167. package/src/components/features/native-builds/InstallCard.tsx +246 -46
  168. package/src/components/features/native-builds/IosInstall.tsx +300 -0
  169. package/src/components/features/native-builds/NativeBuildDetailPage.tsx +4 -1
  170. package/src/components/features/native-builds/NativeBuildsPage.tsx +63 -76
  171. package/src/components/features/native-builds/NativeBuildsTable.tsx +436 -315
  172. package/src/components/features/native-builds/PatchesCard.tsx +3 -2
  173. package/src/components/features/native-builds/ReleaseNativeBuildLink.tsx +4 -4
  174. package/src/components/features/native-builds/ServedNowCard.tsx +33 -1
  175. package/src/components/features/native-builds/ShortHash.tsx +1 -1
  176. package/src/components/features/native-builds/StoreSubmission.tsx +12 -3
  177. package/src/lib/api-rpc.ts +55 -6
  178. package/src/lib/api.ts +85 -12
  179. package/src/lib/native-builds.ts +95 -17
  180. package/src/lib/server/local-console.ts +1 -1
  181. package/src/lib/server/nativeBuildDevice.ts +274 -0
  182. package/src/lib/server/nativeBuildDownloadLink.ts +193 -0
  183. package/src/lib/server/nativeBuildInstall.ts +355 -0
  184. package/src/lib/server/nativeBuildQr.ts +114 -24
  185. package/src/lib/server/nativeBuilds.ts +87 -33
  186. package/src/lib/server/plistText.ts +17 -0
  187. package/src/lib/server/publicConsoleBase.ts +17 -0
  188. package/src/routeTree.gen.ts +114 -0
  189. package/src/routes/[_]hot-updater/native-builds/$buildId/device-response.ts +17 -0
  190. package/src/routes/[_]hot-updater/native-builds/$buildId/device.ts +17 -0
  191. package/src/routes/[_]hot-updater/native-builds/$buildId/device[.]mobileconfig.ts +17 -0
  192. package/src/routes/[_]hot-updater/native-builds/$buildId/manifest[.]plist.ts +22 -0
  193. package/src/routes/[_]hot-updater/native-builds/preview-qr.ts +14 -0
  194. package/src/routes/api/native-builds/$buildId/download.ts +22 -1
  195. package/src/routes/index.tsx +290 -429
  196. package/src/styles.css +16 -0
  197. package/.output/public/assets/EventDetails-Dl2RvPAk.js +0 -1
  198. package/.output/public/assets/HashValueDisplay-6lNRxDJX.js +0 -1
  199. package/.output/public/assets/RolloutPercentageBadge-Cxogpi8F.js +0 -1
  200. package/.output/public/assets/StoreSubmission-ViTkW4eJ.js +0 -1
  201. package/.output/public/assets/api-P2g8dCNg.js +0 -1
  202. package/.output/public/assets/api-keys-DWQC2q6y.js +0 -1
  203. package/.output/public/assets/api-keys-FueRkF9q.js +0 -1
  204. package/.output/public/assets/badge-DWFcDWho.js +0 -1
  205. package/.output/public/assets/download-Cf24LBde.js +0 -1
  206. package/.output/public/assets/insights-B-0odqpt.js +0 -42
  207. package/.output/public/assets/insights-BSVGfxSL.js +0 -1
  208. package/.output/public/assets/insights-NK5B6ReS.js +0 -2
  209. package/.output/public/assets/insights_.distribution-CJvgwcVZ.js +0 -2
  210. package/.output/public/assets/insights_.distribution-DblZM0mO.js +0 -1
  211. package/.output/public/assets/insights_.distribution-dvk6vYDM.js +0 -1
  212. package/.output/public/assets/installations-BWxczZ2t.js +0 -1
  213. package/.output/public/assets/installations-Dv4kWQYz.js +0 -1
  214. package/.output/public/assets/native-builds-BOC71grI.js +0 -1
  215. package/.output/public/assets/native-builds-D6rldpSh.js +0 -2
  216. package/.output/public/assets/native-builds-DAy2678K.js +0 -1
  217. package/.output/public/assets/native-builds_._buildId-DD58_Phd.js +0 -1
  218. package/.output/public/assets/native-builds_._buildId-DvQDKnUQ.js +0 -2
  219. package/.output/public/assets/remote-config-B7ujqhLa.js +0 -6
  220. package/.output/public/assets/remote-config-gXeH6PBW.js +0 -1
  221. package/.output/public/assets/routes-BDdBIxYS.js +0 -1
  222. package/.output/public/assets/routes-CCD33Azv.js +0 -2
  223. package/.output/public/assets/styles-uK-0vUMk.css +0 -2
  224. package/.output/public/assets/valueToPercent-BLwGy_xK.js +0 -1
  225. package/.output/server/_ssr/RolloutPercentageBadge-BpI_iTsm.mjs +0 -21
  226. package/.output/server/_ssr/StoreSubmission-CXMFpHyp.mjs +0 -139
  227. package/.output/server/_ssr/native-builds-bTSKsvYp.mjs +0 -510
  228. package/.output/server/_ssr/native-builds_._buildId-D20tGR3l.mjs +0 -813
  229. package/.output/server/_ssr/nativeBuildQr-84cnFQPX.mjs +0 -59
  230. package/.output/server/_tanstack-start-manifest_v-B5nsO5L4.mjs +0 -184
  231. /package/.output/public/assets/{NotFoundPage-DZ3DxyRA.js → NotFoundPage-Ckb5GMhh.js} +0 -0
  232. /package/.output/public/assets/{alert-dialog-BqYScr9y.js → alert-dialog-DiRLrFVe.js} +0 -0
  233. /package/.output/public/assets/{dialog-CNUPxNxH.js → dialog-CLIaC82_.js} +0 -0
  234. /package/.output/public/assets/{dist-CPlO6ko9.js → dist-Bf1BPKMs.js} +0 -0
  235. /package/.output/public/assets/{empty-B3Uwdd6k.js → empty-Bhlj8PEo.js} +0 -0
  236. /package/.output/public/assets/{field-D-2-mnNh.js → field-q4sTYzNU.js} +0 -0
  237. /package/.output/public/assets/{history-DqHlgSuV.js → history-DakJoeSM.js} +0 -0
  238. /package/.output/public/assets/{input-group-D3OUBk4n.js → input-group-D_NfhUbX.js} +0 -0
  239. /package/.output/public/assets/{key-round-DwNKkHhy.js → key-round-DzBe6DHr.js} +0 -0
  240. /package/.output/public/assets/{list--NIee1FZ.js → list-B6GeoQ_b.js} +0 -0
  241. /package/.output/public/assets/{plus-BReVKct-.js → plus-BVhOauU3.js} +0 -0
  242. /package/.output/public/assets/{refresh-cw-B9HHjLej.js → refresh-cw-C-tvoCcE.js} +0 -0
  243. /package/.output/public/assets/{relativeTime-YQt84dYr.js → relativeTime-DvyxGIsm.js} +0 -0
  244. /package/.output/public/assets/{rotate-cw-Cv2aVbYr.js → rotate-cw-Clk5xTeE.js} +0 -0
  245. /package/.output/public/assets/{search-BCel4Oy6.js → search-nnvSOTEB.js} +0 -0
  246. /package/.output/public/assets/{smartphone-CMaSy_ir.js → smartphone-r0rRdPas.js} +0 -0
  247. /package/.output/public/assets/{switch-BpdiHL_t.js → switch-CP6GsHmN.js} +0 -0
  248. /package/.output/public/assets/{table-Bpy3SvSo.js → table-TUtVz-2l.js} +0 -0
  249. /package/.output/public/assets/{tabs-Xmt7tZeG.js → tabs-CP3CSmtI.js} +0 -0
  250. /package/.output/public/assets/{undo-2-CUX96_BG.js → undo-2-Bt0YXG26.js} +0 -0
  251. /package/.output/public/assets/{uuidv7-zXMtwR9Q.js → uuidv7-cI6C63Fm.js} +0 -0
@@ -0,0 +1,209 @@
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-Dm0O051V.mjs";
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-BmLgy9z-.mjs";
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-CH7AZeY_.js
9
+ var import_jsx_runtime = require_jsx_runtime();
10
+ var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
11
+ var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
12
+ /** The bordered frame; the table or card list inside it scrolls. */
13
+ function DataTableFrame({ children }) {
14
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
15
+ className: "min-h-0 min-w-0 flex-1 overflow-hidden rounded-lg border bg-card text-card-foreground shadow-sm [&_[data-slot=table-container]]:h-full [&_[data-slot=table-container]]:overflow-auto",
16
+ children
17
+ });
18
+ }
19
+ /** A table as wide as its columns, with an uppercase header row. */
20
+ function DataTable({ header, children, className, ...props }) {
21
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Table, {
22
+ className: cn("min-w-max", className),
23
+ ...props,
24
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHeader, {
25
+ className: "bg-muted/40",
26
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableRow, {
27
+ 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
+ children: header
29
+ })
30
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableBody, { children })]
31
+ });
32
+ }
33
+ /**
34
+ * Opens an item from a click anywhere on its row or card, except on a
35
+ * control inside it, which keeps its own action.
36
+ */
37
+ var openOutsideControls = (open) => (event) => {
38
+ if (event.target instanceof Element && event.target.closest("button, a, input, select, textarea")) return;
39
+ open();
40
+ };
41
+ /**
42
+ * A row that opens its item: a click outside its controls, or Enter or Space
43
+ * on the focused row, with hover, focus, and selection as one style.
44
+ */
45
+ function DataTableRow({ className, onOpen, ...props }) {
46
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableRow, {
47
+ onClick: openOutsideControls(onOpen),
48
+ onKeyDown: (event) => {
49
+ if (event.target !== event.currentTarget || event.key !== "Enter" && event.key !== " ") return;
50
+ event.preventDefault();
51
+ onOpen();
52
+ },
53
+ tabIndex: 0,
54
+ className: cn("cursor-pointer transition-[background-color,filter] hover:bg-muted/10 focus-within:bg-muted/15 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring motion-reduce:transition-none data-[state=selected]:bg-muted/15 [&>td]:py-3", className),
55
+ ...props
56
+ });
57
+ }
58
+ /** Placeholder rows while the first page loads. */
59
+ function DataTableSkeletonRows({ columns, label }) {
60
+ return Array.from({ length: 7 }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(TableCell, {
61
+ colSpan: columns,
62
+ children: [index === 0 && label ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
63
+ className: "sr-only",
64
+ children: label
65
+ }) : null, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, { className: "h-8 w-full" })]
66
+ }) }, index));
67
+ }
68
+ /** A row across every column, for an empty list or an inline message. */
69
+ function DataTableFullRow({ columns, className, children }) {
70
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
71
+ className: cn("h-44 text-center text-muted-foreground", className),
72
+ colSpan: columns,
73
+ children
74
+ }) });
75
+ }
76
+ /**
77
+ * What an empty list says: the page's icon, what is missing, and what to do
78
+ * about it, in a table row or a card list.
79
+ */
80
+ function DataTableEmpty({ icon: Icon, title, children }) {
81
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
82
+ className: "mx-auto flex max-w-sm flex-col items-center gap-2 whitespace-normal text-center text-sm text-muted-foreground",
83
+ children: [
84
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, {
85
+ "aria-hidden": "true",
86
+ className: "size-5"
87
+ }),
88
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
89
+ className: "font-medium text-foreground",
90
+ children: title
91
+ }),
92
+ children
93
+ ]
94
+ });
95
+ }
96
+ /** The empty card list on a narrow screen. */
97
+ function DataCardsEmpty({ children }) {
98
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
99
+ className: "p-8",
100
+ children
101
+ });
102
+ }
103
+ /** Placeholder cards while the first page loads on a narrow screen. */
104
+ function DataCardSkeletons({ label }) {
105
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
106
+ className: "flex flex-col gap-3 p-4",
107
+ children: [label ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
108
+ className: "sr-only",
109
+ children: label
110
+ }) : null, Array.from({ length: 5 }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, { className: "h-44 w-full" }, index))]
111
+ });
112
+ }
113
+ /** One item's card on a narrow screen; a tap opens it. */
114
+ function DataCard({ className, ...props }) {
115
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("article", {
116
+ className: cn("flex cursor-pointer touch-manipulation flex-col gap-4 border-b p-4 transition-[background-color,filter] last:border-b-0 hover:bg-muted/10 active:bg-muted/20 motion-reduce:transition-none data-[state=selected]:bg-muted/15", className),
117
+ ...props
118
+ });
119
+ }
120
+ /**
121
+ * The bar under a list: how many entries show, and Previous and Next, links
122
+ * to the newer and older pages, or disabled at either end. Newest shows on any
123
+ * page but the first.
124
+ */
125
+ function DataTablePagination({ count, label, pending = false, newest, previous, next }) {
126
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("nav", {
127
+ "aria-label": label,
128
+ className: "flex flex-col gap-3 px-2 sm:flex-row sm:items-center sm:justify-between",
129
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", {
130
+ className: "text-xs font-medium text-muted-foreground",
131
+ children: [
132
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
133
+ className: "text-foreground",
134
+ children: count
135
+ }),
136
+ " ",
137
+ count === 1 ? "entry" : "entries",
138
+ ", newest first"
139
+ ]
140
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
141
+ className: "flex flex-wrap items-center gap-3 sm:justify-end",
142
+ children: [
143
+ newest && !pending ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
144
+ className: buttonVariants({
145
+ className: "h-11 flex-1 px-3 text-xs sm:h-8 sm:flex-none",
146
+ size: "sm",
147
+ variant: "ghost"
148
+ }),
149
+ search: newest.search,
150
+ to: newest.to,
151
+ children: "Newest"
152
+ }) : null,
153
+ previous && !pending ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Link, {
154
+ className: buttonVariants({
155
+ className: "h-11 flex-1 px-3 text-xs sm:h-8 sm:flex-none",
156
+ size: "sm",
157
+ variant: "outline"
158
+ }),
159
+ search: previous.search,
160
+ to: previous.to,
161
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronLeft, { "data-icon": "inline-start" }), "Previous"]
162
+ }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
163
+ className: "h-11 flex-1 px-3 text-xs sm:h-8 sm:flex-none",
164
+ disabled: true,
165
+ size: "sm",
166
+ variant: "outline",
167
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronLeft, { "data-icon": "inline-start" }), "Previous"]
168
+ }),
169
+ next && !pending ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Link, {
170
+ className: buttonVariants({
171
+ className: "h-11 flex-1 px-3 text-xs sm:h-8 sm:flex-none",
172
+ size: "sm",
173
+ variant: "outline"
174
+ }),
175
+ search: next.search,
176
+ to: next.to,
177
+ children: ["Next", /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronRight, { "data-icon": "inline-end" })]
178
+ }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
179
+ className: "h-11 flex-1 px-3 text-xs sm:h-8 sm:flex-none",
180
+ disabled: true,
181
+ size: "sm",
182
+ variant: "outline",
183
+ children: ["Next", /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronRight, { "data-icon": "inline-end" })]
184
+ })
185
+ ]
186
+ })]
187
+ });
188
+ }
189
+ import_dayjs_min.default.extend(import_relativeTime.default);
190
+ /**
191
+ * When something was created, as the Bundles and Native builds lists show
192
+ * it: relative, such as "4 hours ago", with the exact time on hover. A card
193
+ * has no hover, so `withDate` puts the exact time under it.
194
+ */
195
+ function RelativeTime({ ms, withDate = false }) {
196
+ const date = (0, import_dayjs_min.default)(ms);
197
+ const exact = date.format("YYYY-MM-DD HH:mm:ss");
198
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("time", {
199
+ className: "flex flex-col whitespace-nowrap tabular-nums",
200
+ dateTime: date.toISOString(),
201
+ title: exact,
202
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: date.fromNow() }), withDate ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
203
+ className: "text-muted-foreground",
204
+ children: exact
205
+ }) : null]
206
+ });
207
+ }
208
+ //#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 };
@@ -1,8 +1,11 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
- import { r as extractTimestampFromUUIDv7 } from "./uuidv7-BIF4nb_q.mjs";
3
+ import { i as TriangleAlert } from "../_libs/lucide-react.mjs";
4
+ import { k as cn } from "./sidebar-Dm0O051V.mjs";
5
+ import { a as Badge } from "./badge-CI3HXaiX.mjs";
6
+ import { r as extractTimestampFromUUIDv7 } from "./uuidv7-CmHbryZT.mjs";
4
7
  import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
5
- //#region node_modules/.nitro/vite/services/ssr/assets/git-CTA8Aqr0.js
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/RolloutPercentageBadge-CQG5jqY-.js
6
9
  var import_jsx_runtime = require_jsx_runtime();
7
10
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
8
11
  var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
@@ -52,5 +55,18 @@ var getCommitUrl = (gitUrl, commitHash) => {
52
55
  } catch {}
53
56
  return `${normalizedGitUrl}/commit/${commitHash}`;
54
57
  };
58
+ function RolloutPercentageBadge({ percentage, className }) {
59
+ const isPartialRollout = percentage < 100;
60
+ const formattedPercentage = percentage.toFixed(1);
61
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Badge, {
62
+ className: cn("gap-1", className),
63
+ variant: isPartialRollout ? "secondary" : "default",
64
+ children: [
65
+ isPartialRollout ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TriangleAlert, { className: "h-3 w-3" }) : null,
66
+ formattedPercentage,
67
+ "%"
68
+ ]
69
+ });
70
+ }
55
71
  //#endregion
56
- export { getCommitUrl as n, TimestampDisplay as t };
72
+ export { TimestampDisplay as n, getCommitUrl as r, RolloutPercentageBadge as t };
@@ -0,0 +1,65 @@
1
+ import { i as __toESM } from "../_runtime.mjs";
2
+ import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
+ import { p as Send } from "../_libs/lucide-react.mjs";
4
+ import { a as Badge } from "./badge-CI3HXaiX.mjs";
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-DVzs6Nyl.js
7
+ var import_jsx_runtime = require_jsx_runtime();
8
+ var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
9
+ var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
10
+ import_dayjs_min.default.extend(import_relativeTime.default);
11
+ /** Each store track's name as the stores call it. */
12
+ var storeTrackLabels = {
13
+ testflight: "TestFlight",
14
+ "play-internal": "Play internal"
15
+ };
16
+ /** Whether a store took the build, as its row records. */
17
+ var isSubmitted = (build) => build.submitted_to !== null && build.submitted_to !== void 0;
18
+ /** When the submission was recorded: relative, with the exact time on hover. */
19
+ function SubmittedAt({ ms }) {
20
+ if (ms === null) return null;
21
+ const date = (0, import_dayjs_min.default)(ms);
22
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("time", {
23
+ className: "text-xs text-muted-foreground",
24
+ dateTime: date.toISOString(),
25
+ title: date.format("YYYY-MM-DD HH:mm:ss"),
26
+ children: date.fromNow()
27
+ });
28
+ }
29
+ /** When the submission was recorded, as a tooltip says it. */
30
+ var submittedTitle = (build) => {
31
+ const destination = `Submitted to ${storeTrackLabels[build.submitted_to]}`;
32
+ if (build.submitted_at_ms === null) return destination;
33
+ const date = (0, import_dayjs_min.default)(build.submitted_at_ms);
34
+ return `${destination} ${date.fromNow()}, ${date.format("YYYY-MM-DD HH:mm:ss")}`;
35
+ };
36
+ /**
37
+ * The store track a build went to, with the store's label of it, such as
38
+ * "TestFlight 1.7.0 (66)": none for a build no store took. Its tooltip says
39
+ * when it was submitted.
40
+ */
41
+ function StoreSubmissionBadge({ build, withTime = false }) {
42
+ if (!isSubmitted(build)) return null;
43
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
44
+ className: "inline-flex flex-wrap items-center gap-1.5",
45
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Badge, {
46
+ className: "gap-1",
47
+ title: submittedTitle(build),
48
+ variant: "secondary",
49
+ children: [
50
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Send, {
51
+ "aria-hidden": "true",
52
+ className: "size-3"
53
+ }),
54
+ storeTrackLabels[build.submitted_to],
55
+ build.submitted_version ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
56
+ className: "font-mono tabular-nums",
57
+ translate: "no",
58
+ children: build.submitted_version
59
+ }) : null
60
+ ]
61
+ }), withTime ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SubmittedAt, { ms: build.submitted_at_ms }) : null]
62
+ });
63
+ }
64
+ //#endregion
65
+ export { isSubmitted as n, StoreSubmissionBadge as t };
@@ -0,0 +1,100 @@
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-Dm0O051V.mjs";
4
+ import { a as Badge } from "./badge-CI3HXaiX.mjs";
5
+ import { n as toast } from "../_libs/sonner.mjs";
6
+ import { t as HashValueDisplay } from "./HashValueDisplay-Cm0TME9s.mjs";
7
+ //#region node_modules/.nitro/vite/services/ssr/assets/TargetDisplay-QRaZlmGC.js
8
+ 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
+ /** A command or link on one line, with a button that copies it. */
26
+ function CopyableText({ label, value, wrap = false }) {
27
+ const copy = async () => {
28
+ try {
29
+ await navigator.clipboard.writeText(value);
30
+ toast.success("Copied to clipboard");
31
+ } catch {
32
+ toast.error(`Could not copy ${label}`);
33
+ }
34
+ };
35
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
36
+ className: "flex w-full min-w-0 items-center gap-2 rounded-md border bg-muted/40 py-1 pr-1 pl-3",
37
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("code", {
38
+ className: wrap ? "min-w-0 flex-1 text-left font-mono text-xs whitespace-normal sm:whitespace-nowrap" : "min-w-0 flex-1 overflow-x-auto text-left font-mono text-xs whitespace-nowrap",
39
+ children: value
40
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
41
+ "aria-label": `Copy ${label}`,
42
+ className: "size-11 sm:size-7",
43
+ onClick: () => void copy(),
44
+ size: "icon-sm",
45
+ variant: "ghost",
46
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Copy, { "aria-hidden": "true" })
47
+ })]
48
+ });
49
+ }
50
+ /** A hash behind its icon, shortened to `xxxxxxxx…xxxx` and copied on click. */
51
+ function IconHash({ icon: Icon, value, display }) {
52
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
53
+ className: "flex items-center gap-2",
54
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { className: "size-4 shrink-0 text-muted-foreground" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(HashValueDisplay, {
55
+ display,
56
+ maxLength: 12,
57
+ value
58
+ })]
59
+ });
60
+ }
61
+ /** The cell of a missing value, such as an imported build's build key. */
62
+ function NoValue() {
63
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
64
+ className: "text-muted-foreground",
65
+ children: "-"
66
+ });
67
+ }
68
+ /**
69
+ * What OTAs target: an app version, or a fingerprint. The Bundles table's
70
+ * Target column and a native build's show one release's target the same way,
71
+ * so the two compare at a glance.
72
+ */
73
+ function TargetDisplay({ appVersion, fingerprintHash }) {
74
+ if (appVersion) return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
75
+ className: "flex items-center gap-2",
76
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Package, { className: "size-4 shrink-0 text-muted-foreground" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
77
+ className: "font-medium",
78
+ children: appVersion
79
+ })]
80
+ });
81
+ if (fingerprintHash) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(IconHash, {
82
+ icon: FingerprintPattern,
83
+ value: fingerprintHash
84
+ });
85
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NoValue, {});
86
+ }
87
+ /**
88
+ * A native build's build key, `nbk1:` and a SHA-256 of the build's inputs,
89
+ * shown past its prefix as a fingerprint is, and copied whole; none for an
90
+ * imported build.
91
+ */
92
+ function BuildKeyDisplay({ value }) {
93
+ return value ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(IconHash, {
94
+ display: value.replace(/^nbk1:/, ""),
95
+ icon: KeyRound,
96
+ value
97
+ }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NoValue, {});
98
+ }
99
+ //#endregion
100
+ export { TargetDisplay as a, NoValue as i, ChannelBadge as n, CopyableText as r, BuildKeyDisplay as t };
@@ -1,6 +1,6 @@
1
1
  import "../_runtime.mjs";
2
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-B7OTpt-8.mjs";
3
+ import { k as cn, t as Button$1 } from "./sidebar-Dm0O051V.mjs";
4
4
  require_react();
5
5
  var import_jsx_runtime = require_jsx_runtime();
6
6
  function AlertDialog$1({ ...props }) {
@@ -1,11 +1,11 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-CwSkUsOn.mjs";
3
- import { A as createSsrRpc } from "./sidebar-B7OTpt-8.mjs";
2
+ import { A as createSsrRpc } from "./sidebar-Dm0O051V.mjs";
3
+ import { t as consoleAccess } from "./console-access--BE44gg5.mjs";
4
4
  import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
5
- import { o as assertCanonicalChannelName } from "./dist-TEpM_UAD.mjs";
6
- import { n as channelIdOf } from "./native-builds-DhXL5zf_.mjs";
7
- import { n as readReleaseFilter } from "./listReleases-D_GY00SQ.mjs";
8
- //#region node_modules/.nitro/vite/services/ssr/assets/api-Dn2NwWiq.js
5
+ import { o as assertCanonicalChannelName } from "./dist-B6-irDRA.mjs";
6
+ import { i as channelIdOf } from "./native-builds-CWA9Y__P.mjs";
7
+ import { n as readReleaseFilter } from "./listReleases-CQEceg8j.mjs";
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-D1RQfXCc.js
9
9
  var MAX_PAGE_LIMIT = 100;
10
10
  var pageLimit = (limit) => {
11
11
  const value = limit ?? 20;
@@ -60,17 +60,34 @@ var getNativeBuildPatches = createServerFn({ method: "GET" }).middleware([consol
60
60
  ...input.after === void 0 ? {} : { after: input.after }
61
61
  })).handler(createSsrRpc("2e3fab89483b2e4fea0c2f996071b2dbb15b8bc072e7dae78c75a9a9d854d5b9"));
62
62
  /**
63
- * The newest native build of a release's scope, which its patches start
64
- * from: one read. A release of an app version range has no one build, and
65
- * reads nothing.
63
+ * The native build new deploys to a release's scope patch from: the scope's
64
+ * store build in one read, or with no mark its newest build in one more. A
65
+ * release of an app version range has no one build, and reads nothing.
66
66
  */
67
67
  var getReleaseNativeBuild = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(createSsrRpc("868ce85f0b63ad138a1f82a573d1d6b12f80c7ca44aefec3dadf01b5fa7db86c"));
68
68
  /**
69
- * The URL a phone downloads a build from without the console's sign-in, or
70
- * null when the storage gives none: the storage's download URL, resolved
69
+ * Marks a build as what the store sells, replacing its scope's mark, or clears
70
+ * its mark: only for a signed-in caller. It creates no patch: a hosted Console
71
+ * doesn't run the diff.
72
+ */
73
+ var markNativeBuild = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createSsrRpc("a6c8cfa907e2f75bf69aa90044bd52a3ee684d1a0462d23781161a1a3531aa33"));
74
+ /**
75
+ * The URL a phone downloads a build from when the Console can't sign a link,
76
+ * or null when the storage gives none: the storage's download URL, resolved
71
77
  * again each time it is read, since it may expire.
72
78
  */
73
79
  var getNativeBuildDownloadUrl = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(createSsrRpc("936ef8582ff49d97077d1d80e8403d0b4106831c955591c5c471a88f96007fe9"));
80
+ /**
81
+ * A new signed link to one build's download, which works without the
82
+ * console's sign-in until it expires: only for a signed-in caller.
83
+ */
84
+ var createNativeBuildDownloadLink = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createSsrRpc("c6ff40bd8faad0b2d7aba3e94179c18e02a918a76bff25849d771ff31f688208"));
85
+ /**
86
+ * What an iPhone can do with one build: read from the IPA on demand, one row
87
+ * and a few storage requests, with the Install button's link when it can
88
+ * install. A POST, since it signs that link, and only for a signed-in caller.
89
+ */
90
+ var getNativeBuildInstallEligibility = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createSsrRpc("67cea9f69773d83e69e68e20b81116a2bee9ee4ab3e378698ff74149f1d59ad0"));
74
91
  var releaseListQueryKey = ["releases"];
75
92
  var queryKeys = {
76
93
  config: ["config"],
@@ -102,14 +119,31 @@ var queryKeys = {
102
119
  page
103
120
  ],
104
121
  nativeBuildDownloadUrl: (id) => ["native-build-download-url", id],
122
+ nativeBuildDownloadLink: (id) => ["native-build-download-link", id],
123
+ nativeBuildInstallEligibility: (id, udid) => [
124
+ "native-build-install-eligibility",
125
+ id,
126
+ udid
127
+ ],
105
128
  releaseNativeBuild: (release) => ["release-native-build", release]
106
129
  };
107
130
  /**
108
- * How often an open install QR reads its download URL again. Storage gives
109
- * no lifetime with the URL, and adapters let it be configured down to
110
- * minutes, so the QR never shows one older than this.
131
+ * How long a storage download URL counts as fresh. Storage gives no lifetime
132
+ * with the URL, and adapters let it be configured down to minutes, so a
133
+ * person coming back to the page after this gets a new one.
134
+ */
135
+ var DOWNLOAD_URL_STALE_MS = 6e4;
136
+ /**
137
+ * How long a build page's signed link counts as fresh: far inside its 30 days,
138
+ * so a page left open never shows an expired one, and it costs one request
139
+ * a day.
140
+ */
141
+ var DOWNLOAD_LINK_STALE_MS = 1440 * 60 * 1e3;
142
+ /**
143
+ * How long an iPhone keeps a build's install details and Install link, which
144
+ * lasts an hour: past this, an open page reads and signs again.
111
145
  */
112
- var DOWNLOAD_URL_REFRESH_MS = 3e4;
146
+ var INSTALL_ELIGIBILITY_STALE_MS = 1800 * 1e3;
113
147
  function useConfigQuery() {
114
148
  return useQuery({
115
149
  queryKey: queryKeys.config,
@@ -224,16 +258,41 @@ function useReleaseNativeBuildQuery(release) {
224
258
  });
225
259
  }
226
260
  /**
227
- * The storage URL a phone downloads a build from, read while the install
228
- * QR is open and again before it expires.
261
+ * The signed link of a build's page, which its QR code, download button, and
262
+ * copyable link all use: one request when the page opens.
263
+ */
264
+ function useNativeBuildDownloadLinkQuery(id) {
265
+ return useQuery({
266
+ queryKey: queryKeys.nativeBuildDownloadLink(id),
267
+ queryFn: () => createNativeBuildDownloadLink({ data: { id } }),
268
+ staleTime: DOWNLOAD_LINK_STALE_MS
269
+ });
270
+ }
271
+ /**
272
+ * What this iPhone can do with a build, and the link Install opens: requested
273
+ * only by an iPhone on the page of an IPA, and again before that link, which
274
+ * lasts about an hour, runs out.
229
275
  */
230
- function useNativeBuildDownloadUrlQuery(id, enabled) {
276
+ function useNativeBuildInstallEligibilityQuery(id, udid) {
277
+ return useQuery({
278
+ queryKey: queryKeys.nativeBuildInstallEligibility(id, udid),
279
+ queryFn: () => getNativeBuildInstallEligibility({ data: {
280
+ id,
281
+ ...udid === null ? {} : { udid }
282
+ } }),
283
+ staleTime: INSTALL_ELIGIBILITY_STALE_MS,
284
+ refetchInterval: INSTALL_ELIGIBILITY_STALE_MS
285
+ });
286
+ }
287
+ /**
288
+ * The storage URL a phone downloads a build from when the Console can't sign
289
+ * a link: read once, and again only when someone comes back to the page.
290
+ */
291
+ function useNativeBuildDownloadUrlQuery(id) {
231
292
  return useQuery({
232
293
  queryKey: queryKeys.nativeBuildDownloadUrl(id),
233
294
  queryFn: () => getNativeBuildDownloadUrl({ data: { id } }),
234
- enabled,
235
- staleTime: DOWNLOAD_URL_REFRESH_MS,
236
- refetchInterval: (query) => query.state.data?.url === null ? false : DOWNLOAD_URL_REFRESH_MS
295
+ staleTime: DOWNLOAD_URL_STALE_MS
237
296
  });
238
297
  }
239
298
  function useCreateChannelMutation() {
@@ -254,6 +313,24 @@ function useDeleteChannelMutation() {
254
313
  }
255
314
  });
256
315
  }
316
+ /**
317
+ * Marks a build as its scope's store build, or clears it. The mark it replaced
318
+ * is on another build's page, in the list and in a release sheet's link, so
319
+ * they read again.
320
+ */
321
+ function useMarkNativeBuildMutation() {
322
+ const queryClient = useQueryClient();
323
+ return useMutation({
324
+ mutationFn: (input) => markNativeBuild({ data: input }),
325
+ onSettled: async () => {
326
+ await Promise.all([
327
+ queryClient.invalidateQueries({ queryKey: ["native-build"] }),
328
+ queryClient.invalidateQueries({ queryKey: queryKeys.nativeBuilds.all }),
329
+ queryClient.invalidateQueries({ queryKey: ["release-native-build"] })
330
+ ]);
331
+ }
332
+ });
333
+ }
257
334
  function useUpdateReleaseMutation() {
258
335
  const queryClient = useQueryClient();
259
336
  return useMutation({
@@ -302,4 +379,4 @@ function usePromoteReleaseMutation() {
302
379
  });
303
380
  }
304
381
  //#endregion
305
- export { useReleaseQuery as _, useConfigQuery as a, useDeleteReleaseMutation as c, useNativeBuildPatchesQuery as d, useNativeBuildsQuery as f, useReleaseNativeBuildQuery as g, useReleaseCatalogDiagnosticsQuery as h, useChannelsQuery as i, useNativeBuildDetailQuery as l, usePromoteReleaseMutation as m, useBundleChildrenQuery as n, useCreateChannelMutation as o, usePreflightReleaseMutation as p, useBundleQuery as r, useDeleteChannelMutation as s, useBundleChildCountsQuery as t, useNativeBuildDownloadUrlQuery as u, useReleasesQuery as v, useUpdateReleaseMutation as y };
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 };
@@ -1,5 +1,5 @@
1
- import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DFrogDwc.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-D5rW-eAH.js
1
+ import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-CPXtj5iM.mjs";
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-C-aGylLh.js
3
3
  var SplitNotFoundComponent = ConsoleFeatureUnavailable;
4
4
  //#endregion
5
5
  export { SplitNotFoundComponent as notFoundComponent };
@@ -1,17 +1,18 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
3
- import { t as consoleAccess } from "./console-access-CwSkUsOn.mjs";
4
3
  import { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
5
- 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";
6
- import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-B7OTpt-8.mjs";
7
- import { a as Badge, d as CardTitle, i as AlertTitle, n as AlertAction, o as Card, r as AlertDescription, s as CardContent, t as Alert, u as CardHeader } from "./badge-B-YGm4ng.mjs";
8
- 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-BU7QeAL9.mjs";
9
- import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-RPz_4IaA.mjs";
10
- import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-DUwSBic5.mjs";
11
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BIzH49v-.mjs";
4
+ 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";
5
+ import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-Dm0O051V.mjs";
6
+ import { t as consoleAccess } from "./console-access--BE44gg5.mjs";
12
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-BFx4V7Oi.mjs";
9
+ import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-CI3HXaiX.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-iQioHwFW.mjs";
11
+ import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-uvI4WgO6.mjs";
12
+ import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-BhFsCMog.mjs";
13
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BmLgy9z-.mjs";
13
14
  import { n as toast } from "../_libs/sonner.mjs";
14
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-Ckoc4av7.js
15
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-DrIZkdQh.js
15
16
  var import_react = /* @__PURE__ */ __toESM(require_react());
16
17
  var import_jsx_runtime = require_jsx_runtime();
17
18
  var parseName = (input) => {
@@ -1,7 +1,7 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-CwSkUsOn.mjs";
3
- import { t as createServerRpc } from "./createServerRpc-BVvRVOz5.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-Bf2x7mQb.js
2
+ import { t as consoleAccess } from "./console-access--BE44gg5.mjs";
3
+ import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-k5dAmAfj.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-DBX318ww.mjs"), import("./runtime.server-BdMY1blX.mjs")]);
17
+ const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-Be_iwIfs.mjs"), import("./runtime.server-BsTTLV-B.mjs")]);
18
18
  const { runtime } = await prepareConfig();
19
19
  return requireFeature(runtime, "apiKeys");
20
20
  };