@hot-updater/console 1.2.0-rc.13 → 1.2.0-rc.15

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 (186) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/{-native-builds-search-DC2PutLU.js → -native-builds-search-OlRj4Jz0.js} +1 -1
  3. package/.output/public/assets/BundleIdDisplay-CP6rsdFO.js +1 -0
  4. package/.output/public/assets/{ConsoleFeatureUnavailable-oMmbaqF6.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-q2FgL8xS.js → InsightsPageHeader-CSas9gM0.js} +1 -1
  8. package/.output/public/assets/{PlatformIcon-DCTtCP5t.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-keys-3IL4dIHe.js +1 -0
  14. package/.output/public/assets/api-keys-4w2-ofii.js +1 -0
  15. package/.output/public/assets/badge-laIuYW1U.js +1 -0
  16. package/.output/public/assets/card-ulgg5xHn.js +1 -0
  17. package/.output/public/assets/{index-t0CToN0S.js → index-Cde2QQJq.js} +3 -3
  18. package/.output/public/assets/insights-0TUItqwh.js +1 -0
  19. package/.output/public/assets/insights-DDRfERph.js +2 -0
  20. package/.output/public/assets/insights-_6iMn8GR.js +42 -0
  21. package/.output/public/assets/{insights-search-B5cZsP6C.js → insights-search-CYPrQVUC.js} +1 -1
  22. package/.output/public/assets/{insights-usage-rpc-zut_JaSS.js → insights-usage-rpc-BbFllvi_.js} +1 -1
  23. package/.output/public/assets/insights_.distribution-AZcfvK7x.js +1 -0
  24. package/.output/public/assets/insights_.distribution-BGAqgPi0.js +1 -0
  25. package/.output/public/assets/insights_.distribution-CjYkDRA4.js +2 -0
  26. package/.output/public/assets/installations-Ap2G2tDs.js +1 -0
  27. package/.output/public/assets/{installations-BRS-vuRJ.js → installations-CSZfo1rG.js} +2 -2
  28. package/.output/public/assets/installations-CwQYwQ6K.js +1 -0
  29. package/.output/public/assets/native-builds-cT9Ha-jZ.js +1 -0
  30. package/.output/public/assets/native-builds-v5wez34c.js +2 -0
  31. package/.output/public/assets/native-builds_._buildId-BBwE8Pcc.js +2 -0
  32. package/.output/public/assets/native-builds_._buildId-DZPcR_up.js +1 -0
  33. package/.output/public/assets/package-ytYrywZH.js +1 -0
  34. package/.output/public/assets/remote-config-CIAEArwq.js +1 -0
  35. package/.output/public/assets/{remote-config-DQguWTMa.js → remote-config-Dwdc-sij.js} +1 -1
  36. package/.output/public/assets/remote-config-ZJ_IRSKE.js +6 -0
  37. package/.output/public/assets/routes-BUWLcUqW.js +1 -0
  38. package/.output/public/assets/routes-Rtz-KcQO.js +2 -0
  39. package/.output/public/assets/styles-bNNic0NS.css +2 -0
  40. package/.output/public/assets/valueToPercent-B6X9rUJM.js +1 -0
  41. package/.output/server/{__23tanstack-start-server-fn-resolver-DI0OnlQe.mjs → __23tanstack-start-server-fn-resolver-L0hJ-xAr.mjs} +49 -49
  42. package/.output/server/_libs/_.mjs +1 -1
  43. package/.output/server/_libs/lucide-react.mjs +1 -27
  44. package/.output/server/_ssr/{BundleIdDisplay-SAvC-NlE.mjs → BundleIdDisplay-0DC-6rvv.mjs} +2 -2
  45. package/.output/server/_ssr/{ConsoleFeatureUnavailable-BgHEoZ36.mjs → ConsoleFeatureUnavailable-CCNVlS2p.mjs} +6 -6
  46. package/.output/server/_ssr/{EventDetails-VaS25yjE.mjs → EventDetails-CVYPavfi.mjs} +7 -7
  47. package/.output/server/_ssr/{HashValueDisplay-BGc-x_l8.mjs → HashValueDisplay-D36xeyDo.mjs} +6 -6
  48. package/.output/server/_ssr/{InsightsPageHeader-gMuNJt-f.mjs → InsightsPageHeader-VbcM2N4T.mjs} +6 -6
  49. package/.output/server/_ssr/{NotFoundPage-DsRI-J4h.mjs → NotFoundPage-Cfq-g_dP.mjs} +2 -2
  50. package/.output/server/_ssr/{PlatformIcon-BsU0d0jN.mjs → PlatformIcon-Cuhy0CIO.mjs} +12 -2
  51. package/.output/server/_ssr/RelativeTime-Bc8A5x5K.mjs +209 -0
  52. package/.output/server/_ssr/{git-WSg7LY17.mjs → RolloutPercentageBadge-DjCq9XZy.mjs} +18 -2
  53. package/.output/server/_ssr/StoreSubmission-CB_WhdZ1.mjs +65 -0
  54. package/.output/server/_ssr/TargetDisplay-C8YyLT31.mjs +100 -0
  55. package/.output/server/_ssr/{alert-dialog-lury59vV.mjs → alert-dialog-DmjDvNp7.mjs} +1 -1
  56. package/.output/server/_ssr/{api-BQ8ztUgU.mjs → api-XaUz0nSX.mjs} +4 -4
  57. package/.output/server/_ssr/{api-keys-CHATVpa9.mjs → api-keys-CV4vmvoF.mjs} +2 -2
  58. package/.output/server/_ssr/{api-keys-DVChzF3r.mjs → api-keys-Cgtdo2yJ.mjs} +10 -9
  59. package/.output/server/_ssr/{api-keys-rpc-DXPJTfdr.mjs → api-keys-rpc-Ck5gixTB.mjs} +3 -3
  60. package/.output/server/_ssr/{api-rpc-BexxmTM9.mjs → api-rpc-Cw9731T6.mjs} +10 -10
  61. package/.output/server/_ssr/{auth-rpc-BgNCvy2L.mjs → auth-rpc-C6wvwymm.mjs} +4 -4
  62. package/.output/server/_ssr/{auth.server-43UW34Rd.mjs → auth.server-CwMbNRJI.mjs} +2 -2
  63. package/.output/server/_ssr/{badge-BYB825vl.mjs → badge-a-N-IVAF.mjs} +2 -44
  64. package/.output/server/_ssr/card-Dx8ksBa1.mjs +49 -0
  65. package/.output/server/_ssr/{config.server-QRTmD4Hf.mjs → config.server-tpgT6yET.mjs} +3 -3
  66. package/.output/server/_ssr/{console-access-E91fYTIB.mjs → console-access-DZRULeYA.mjs} +2 -2
  67. package/.output/server/_ssr/{console-features-api-CLRjxvy2.mjs → console-features-api-CSi5XuwL.mjs} +3 -3
  68. package/.output/server/_ssr/{console-features-rpc-C2rJ0u6i.mjs → console-features-rpc-DFY-ruQe.mjs} +3 -3
  69. package/.output/server/_ssr/{dialog-CcF1pxfR.mjs → dialog-Cbpjw5dD.mjs} +1 -1
  70. package/.output/server/_ssr/{empty-DkiJ7nWt.mjs → empty-4rY8hfcg.mjs} +2 -2
  71. package/.output/server/_ssr/{field-CHlDI06h.mjs → field-CFyupU05.mjs} +2 -2
  72. package/.output/server/_ssr/{input-group-BPZ4UtB5.mjs → input-group-jdRsKY6O.mjs} +1 -1
  73. package/.output/server/_ssr/{insights-Dn32lJ18.mjs → insights-BgRq1fAj.mjs} +2 -2
  74. package/.output/server/_ssr/{insights-B3YetvBK.mjs → insights-CoTdb2vf.mjs} +5 -5
  75. package/.output/server/_ssr/{insights-CEABWFk4.mjs → insights-NX08fbq7.mjs} +21 -20
  76. package/.output/server/_ssr/{insights-api-CYPf5853.mjs → insights-api-CnGUTzJQ.mjs} +3 -3
  77. package/.output/server/_ssr/{insights-failures-rpc-CxPpBR1K.mjs → insights-failures-rpc-CA5yB6JE.mjs} +4 -4
  78. package/.output/server/_ssr/{insights-recovery-rpc-CwnQMTE3.mjs → insights-recovery-rpc-CRYtROsX.mjs} +3 -3
  79. package/.output/server/_ssr/{insights-rpc-CKd5ATFI.mjs → insights-rpc-DDnaMJl2.mjs} +3 -3
  80. package/.output/server/_ssr/{insights-search-B_92_iEj.mjs → insights-search-1IfwFrRQ.mjs} +2 -2
  81. package/.output/server/_ssr/{insights-usage-rpc-RIMNhPtj.mjs → insights-usage-rpc-BlYN81gk.mjs} +3 -3
  82. package/.output/server/_ssr/{insights-usage-rpc-D90uHpJJ.mjs → insights-usage-rpc-DCXuxAw0.mjs} +3 -3
  83. package/.output/server/_ssr/{insights_.distribution-D42mHSe0.mjs → insights_.distribution-CAuNfqgJ.mjs} +15 -14
  84. package/.output/server/_ssr/{insights_.distribution-DwjIdjQi.mjs → insights_.distribution-CMvxz1mZ.mjs} +2 -2
  85. package/.output/server/_ssr/{insights_.distribution-D4QWsHNo.mjs → insights_.distribution-COUeQnBv.mjs} +5 -5
  86. package/.output/server/_ssr/{installations-CfmO_V_R.mjs → installations-BLfACsXo.mjs} +4 -4
  87. package/.output/server/_ssr/{installations-BIu66J6Q.mjs → installations-C8MnrxNk.mjs} +2 -2
  88. package/.output/server/_ssr/{installations-DyzKzWuv.mjs → installations-DgMgTC-b.mjs} +12 -12
  89. package/.output/server/_ssr/{native-builds-BCp8ICrn.mjs → native-builds-5hUYRMgW.mjs} +2 -2
  90. package/.output/server/_ssr/native-builds-Be3QbCQI.mjs +548 -0
  91. package/.output/server/_ssr/{native-builds-qj346atQ.mjs → native-builds-CWA9Y__P.mjs} +11 -10
  92. package/.output/server/_ssr/{native-builds_._buildId-C8gsW-Rh.mjs → native-builds_._buildId-Ctvl4yNY.mjs} +2 -2
  93. package/.output/server/_ssr/{native-builds_._buildId-BAxkkEFo.mjs → native-builds_._buildId-D7PhMl_4.mjs} +107 -58
  94. package/.output/server/_ssr/{nativeBuildDevice-nU480p5A.mjs → nativeBuildDevice-Dn16gNmZ.mjs} +2 -2
  95. package/.output/server/_ssr/{nativeBuildDownloadLink-c3tcq3G5.mjs → nativeBuildDownloadLink-Fbe3KJti.mjs} +2 -2
  96. package/.output/server/_ssr/{nativeBuildInstall-B-_lHDsS.mjs → nativeBuildInstall-Coz9G4b7.mjs} +4 -4
  97. package/.output/server/_ssr/{nativeBuildQr-C5AFtpmE.mjs → nativeBuildQr-P9qKcI7l.mjs} +2 -2
  98. package/.output/server/_ssr/{nativeBuilds-CbxOJDhO.mjs → nativeBuilds-ByQdDnHG.mjs} +2 -2
  99. package/.output/server/_ssr/{release-adoption-rpc-BBwJO2hu.mjs → release-adoption-rpc-BUWgjUxK.mjs} +5 -5
  100. package/.output/server/_ssr/{remote-config-B1g7vrQD.mjs → remote-config-BOaUVS97.mjs} +2 -2
  101. package/.output/server/_ssr/{remote-config-DjeXVIcr.mjs → remote-config-BhCwNhbj.mjs} +19 -18
  102. package/.output/server/_ssr/{remote-config-BDijmvj1.mjs → remote-config-Cman3dX5.mjs} +2 -2
  103. package/.output/server/_ssr/{remote-config-rpc-B7bzKw4N.mjs → remote-config-rpc-91lIL50e.mjs} +3 -3
  104. package/.output/server/_ssr/{router-DhxgFNWn.mjs → router-vP8kyVIT.mjs} +28 -28
  105. package/.output/server/_ssr/{routes-BDriEBtF.mjs → routes-9VwX7C55.mjs} +10 -14
  106. package/.output/server/_ssr/{routes-BC-rBuu_.mjs → routes-DdW0NOYn.mjs} +254 -377
  107. package/.output/server/_ssr/{schema-migration-rpc-CNMqY0RE.mjs → schema-migration-rpc-DnhOYQqR.mjs} +3 -3
  108. package/.output/server/_ssr/{select-hFD2e3Bh.mjs → select-FN6D0Ao7.mjs} +2 -2
  109. package/.output/server/_ssr/{server-D_hG9iIq.mjs → server-CVX8Q99N.mjs} +4 -4
  110. package/.output/server/_ssr/{sidebar-Dmq4j1qr.mjs → sidebar-DrRc4JCv.mjs} +2 -2
  111. package/.output/server/_ssr/ssr.mjs +1 -1
  112. package/.output/server/_ssr/{start-RjhaPVFE.mjs → start-C0XSSCq4.mjs} +1 -1
  113. package/.output/server/_ssr/{switch-CkNsEp9k.mjs → switch-7Tk64gr-.mjs} +2 -2
  114. package/.output/server/_ssr/{table-CTtXogFJ.mjs → table-Dp7LF293.mjs} +1 -1
  115. package/.output/server/_ssr/{tabs-BTKDM4AJ.mjs → tabs-VBn6NKr6.mjs} +2 -2
  116. package/.output/server/_tanstack-start-manifest_v-AYP07Vaf.mjs +194 -0
  117. package/.output/server/index.mjs +313 -292
  118. package/package.json +7 -7
  119. package/src/components/ChannelBadge.tsx +9 -9
  120. package/src/components/DataTable.tsx +303 -0
  121. package/src/components/HashValueDisplay.tsx +6 -3
  122. package/src/components/PlatformIcon.tsx +10 -0
  123. package/src/components/RelativeTime.tsx +31 -0
  124. package/src/components/TargetDisplay.tsx +69 -0
  125. package/src/components/features/channels/ChannelManagementDialog.tsx +3 -8
  126. package/src/components/features/insights/ReleaseActivity.tsx +1 -1
  127. package/src/components/features/native-builds/BuiltInBundleCard.tsx +29 -28
  128. package/src/components/features/native-builds/CommitLink.tsx +1 -1
  129. package/src/components/features/native-builds/ImportBuild.tsx +1 -1
  130. package/src/components/features/native-builds/NativeBuildDetailPage.tsx +4 -1
  131. package/src/components/features/native-builds/NativeBuildsPage.tsx +63 -76
  132. package/src/components/features/native-builds/NativeBuildsTable.tsx +435 -317
  133. package/src/components/features/native-builds/ShortHash.tsx +1 -1
  134. package/src/components/features/native-builds/StoreSubmission.tsx +11 -2
  135. package/src/lib/native-builds.ts +22 -6
  136. package/src/routes/index.tsx +290 -429
  137. package/src/styles.css +16 -0
  138. package/.output/public/assets/EventDetails-ly7ygfdH.js +0 -1
  139. package/.output/public/assets/HashValueDisplay-BNoXZADg.js +0 -1
  140. package/.output/public/assets/RolloutPercentageBadge-frllRncE.js +0 -1
  141. package/.output/public/assets/StoreSubmission-D8BGGGgn.js +0 -1
  142. package/.output/public/assets/api-keys-B0N3SixL.js +0 -1
  143. package/.output/public/assets/api-keys-DFAOfU4U.js +0 -1
  144. package/.output/public/assets/badge-UNnTz4Dl.js +0 -1
  145. package/.output/public/assets/download-Cf24LBde.js +0 -1
  146. package/.output/public/assets/insights-B0_8xNxr.js +0 -1
  147. package/.output/public/assets/insights-BbIzm_QG.js +0 -42
  148. package/.output/public/assets/insights-BtmYg4vg.js +0 -2
  149. package/.output/public/assets/insights_.distribution-DLxq-IKU.js +0 -1
  150. package/.output/public/assets/insights_.distribution-izFBYfJL.js +0 -2
  151. package/.output/public/assets/insights_.distribution-rdeyNhH2.js +0 -1
  152. package/.output/public/assets/installations-CWx7vYY5.js +0 -1
  153. package/.output/public/assets/installations-Ce_dTa35.js +0 -1
  154. package/.output/public/assets/native-builds-Br0onFRc.js +0 -2
  155. package/.output/public/assets/native-builds-CDYL3y0I.js +0 -1
  156. package/.output/public/assets/native-builds-DEWHul-_.js +0 -1
  157. package/.output/public/assets/native-builds_._buildId-D1XEPQ-V.js +0 -1
  158. package/.output/public/assets/native-builds_._buildId-x-uu1Vbr.js +0 -2
  159. package/.output/public/assets/remote-config-Bw6sErCV.js +0 -6
  160. package/.output/public/assets/remote-config-S3xj8r3x.js +0 -1
  161. package/.output/public/assets/routes-Dw8zgqXz.js +0 -2
  162. package/.output/public/assets/routes-nKCEKnhh.js +0 -1
  163. package/.output/public/assets/styles-uK-0vUMk.css +0 -2
  164. package/.output/public/assets/valueToPercent-DRLgSP0P.js +0 -1
  165. package/.output/server/_ssr/RolloutPercentageBadge-axz7VuIZ.mjs +0 -21
  166. package/.output/server/_ssr/StoreSubmission-BqXKtpqW.mjs +0 -139
  167. package/.output/server/_ssr/native-builds-CqFeXByK.mjs +0 -514
  168. package/.output/server/_tanstack-start-manifest_v-BuGAtKIu.mjs +0 -189
  169. /package/.output/public/assets/{NotFoundPage-fiaucvsO.js → NotFoundPage-Ckb5GMhh.js} +0 -0
  170. /package/.output/public/assets/{alert-dialog-Z_RNBrFc.js → alert-dialog-DiRLrFVe.js} +0 -0
  171. /package/.output/public/assets/{api-BEEYDSCX.js → api-LQJH44FU.js} +0 -0
  172. /package/.output/public/assets/{dialog-C2U9bINi.js → dialog-CLIaC82_.js} +0 -0
  173. /package/.output/public/assets/{dist-UQUhRoJi.js → dist-Bf1BPKMs.js} +0 -0
  174. /package/.output/public/assets/{empty-PAp07lsC.js → empty-Bhlj8PEo.js} +0 -0
  175. /package/.output/public/assets/{field-DhKRWFG5.js → field-q4sTYzNU.js} +0 -0
  176. /package/.output/public/assets/{input-group-BJfBVqeI.js → input-group-D_NfhUbX.js} +0 -0
  177. /package/.output/public/assets/{refresh-cw-C6svDMfM.js → refresh-cw-C-tvoCcE.js} +0 -0
  178. /package/.output/public/assets/{relativeTime-BscR0TsX.js → relativeTime-DvyxGIsm.js} +0 -0
  179. /package/.output/public/assets/{rotate-cw-CxFW64IG.js → rotate-cw-Clk5xTeE.js} +0 -0
  180. /package/.output/public/assets/{search-bIYGuFCt.js → search-nnvSOTEB.js} +0 -0
  181. /package/.output/public/assets/{smartphone-Bn5FtEwt.js → smartphone-r0rRdPas.js} +0 -0
  182. /package/.output/public/assets/{switch-DtUu1RCw.js → switch-CP6GsHmN.js} +0 -0
  183. /package/.output/public/assets/{table-B22H8-RL.js → table-TUtVz-2l.js} +0 -0
  184. /package/.output/public/assets/{tabs-Fgz3sA51.js → tabs-CP3CSmtI.js} +0 -0
  185. /package/.output/public/assets/{undo-2-7gOxArtb.js → undo-2-Bt0YXG26.js} +0 -0
  186. /package/.output/public/assets/{uuidv7-BLyD3pAM.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-DrRc4JCv.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-Dp7LF293.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-Bc8A5x5K.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 { i as TriangleAlert } from "../_libs/lucide-react.mjs";
4
+ import { k as cn } from "./sidebar-DrRc4JCv.mjs";
5
+ import { a as Badge } from "./badge-a-N-IVAF.mjs";
3
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-WSg7LY17.js
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/RolloutPercentageBadge-DjCq9XZy.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-a-N-IVAF.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-CB_WhdZ1.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-DrRc4JCv.mjs";
4
+ import { a as Badge } from "./badge-a-N-IVAF.mjs";
5
+ import { n as toast } from "../_libs/sonner.mjs";
6
+ import { t as HashValueDisplay } from "./HashValueDisplay-D36xeyDo.mjs";
7
+ //#region node_modules/.nitro/vite/services/ssr/assets/TargetDisplay-C8YyLT31.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-Dmq4j1qr.mjs";
3
+ import { k as cn, t as Button$1 } from "./sidebar-DrRc4JCv.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 { A as createSsrRpc } from "./sidebar-Dmq4j1qr.mjs";
3
- import { t as consoleAccess } from "./console-access-E91fYTIB.mjs";
2
+ import { A as createSsrRpc } from "./sidebar-DrRc4JCv.mjs";
3
+ import { t as consoleAccess } from "./console-access-DZRULeYA.mjs";
4
4
  import { i as useQuery, n as useMutation, s as useQueryClient } 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-qj346atQ.mjs";
6
+ import { i as channelIdOf } from "./native-builds-CWA9Y__P.mjs";
7
7
  import { n as readReleaseFilter } from "./listReleases-CQEceg8j.mjs";
8
- //#region node_modules/.nitro/vite/services/ssr/assets/api-BQ8ztUgU.js
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-XaUz0nSX.js
9
9
  var MAX_PAGE_LIMIT = 100;
10
10
  var pageLimit = (limit) => {
11
11
  const value = limit ?? 20;
@@ -1,5 +1,5 @@
1
- import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-BgHEoZ36.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-CHATVpa9.js
1
+ import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-CCNVlS2p.mjs";
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-CV4vmvoF.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
3
  import { bt as require_react, yt 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-Dmq4j1qr.mjs";
6
- import { t as consoleAccess } from "./console-access-E91fYTIB.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-DrRc4JCv.mjs";
6
+ import { t as consoleAccess } from "./console-access-DZRULeYA.mjs";
7
7
  import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
8
- 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-BYB825vl.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-lury59vV.mjs";
10
- import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-CcF1pxfR.mjs";
11
- import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-CHlDI06h.mjs";
12
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-CTtXogFJ.mjs";
8
+ import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-Dx8ksBa1.mjs";
9
+ import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-a-N-IVAF.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-DmjDvNp7.mjs";
11
+ import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-Cbpjw5dD.mjs";
12
+ import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-CFyupU05.mjs";
13
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-Dp7LF293.mjs";
13
14
  import { n as toast } from "../_libs/sonner.mjs";
14
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-DVChzF3r.js
15
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-Cgtdo2yJ.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-E91fYTIB.mjs";
2
+ import { t as consoleAccess } from "./console-access-DZRULeYA.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-DXPJTfdr.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-Ck5gixTB.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-QRTmD4Hf.mjs"), import("./runtime.server-BsTTLV-B.mjs")]);
17
+ const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-tpgT6yET.mjs"), import("./runtime.server-BsTTLV-B.mjs")]);
18
18
  const { runtime } = await prepareConfig();
19
19
  return requireFeature(runtime, "apiKeys");
20
20
  };
@@ -1,13 +1,13 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-E91fYTIB.mjs";
2
+ import { t as consoleAccess } from "./console-access-DZRULeYA.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
4
  import { o as assertCanonicalChannelName } from "./dist-B6-irDRA.mjs";
5
5
  import { i as rowToBundle } from "./databaseRows-BtRVBD0C.mjs";
6
6
  import { t as ReleaseManagementError } from "./releaseManagement-EPhok_Py.mjs";
7
- import { S as releaseNativeBuildScope, i as channelIdOf } from "./native-builds-qj346atQ.mjs";
7
+ import { S as releaseNativeBuildScope, i as channelIdOf } from "./native-builds-CWA9Y__P.mjs";
8
8
  import { n as readReleaseFilter, t as listReleases } from "./listReleases-CQEceg8j.mjs";
9
9
  import { t as addReleaseReachability } from "./releaseReachability-DaZ7ifUF.mjs";
10
- //#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-BexxmTM9.js
10
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-Cw9731T6.js
11
11
  var withPublicBundleMutationErrors = async (action) => {
12
12
  try {
13
13
  return await action();
@@ -23,7 +23,7 @@ var pageLimit = (limit) => {
23
23
  return value;
24
24
  };
25
25
  var prepare = async () => {
26
- const { prepareConfig } = await import("./config.server-QRTmD4Hf.mjs");
26
+ const { prepareConfig } = await import("./config.server-tpgT6yET.mjs");
27
27
  return prepareConfig();
28
28
  };
29
29
  var getReleases_createServerFn_handler = createServerRpc({
@@ -221,7 +221,7 @@ var getNativeBuilds = createServerFn({ method: "GET" }).middleware([consoleAcces
221
221
  ...channelIdFilter(input?.channel),
222
222
  limit: pageLimit(input?.limit)
223
223
  })).handler(getNativeBuilds_createServerFn_handler, async ({ data }) => {
224
- const [{ core }, { listNativeBuilds }] = await Promise.all([prepare(), import("./nativeBuilds-CbxOJDhO.mjs")]);
224
+ const [{ core }, { listNativeBuilds }] = await Promise.all([prepare(), import("./nativeBuilds-ByQdDnHG.mjs")]);
225
225
  return listNativeBuilds(core, data);
226
226
  });
227
227
  var getNativeBuildDetail_createServerFn_handler = createServerRpc({
@@ -230,7 +230,7 @@ var getNativeBuildDetail_createServerFn_handler = createServerRpc({
230
230
  filename: "src/lib/api-rpc.ts"
231
231
  }, (opts) => getNativeBuildDetail.__executeServer(opts));
232
232
  var getNativeBuildDetail = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildDetail_createServerFn_handler, async ({ data }) => {
233
- const [{ core }, { getNativeBuildDetail: readNativeBuildDetail }] = await Promise.all([prepare(), import("./nativeBuilds-CbxOJDhO.mjs")]);
233
+ const [{ core }, { getNativeBuildDetail: readNativeBuildDetail }] = await Promise.all([prepare(), import("./nativeBuilds-ByQdDnHG.mjs")]);
234
234
  return readNativeBuildDetail(core, data.id);
235
235
  });
236
236
  var getNativeBuildPatches_createServerFn_handler = createServerRpc({
@@ -243,7 +243,7 @@ var getNativeBuildPatches = createServerFn({ method: "GET" }).middleware([consol
243
243
  ...input.before === void 0 ? {} : { before: input.before },
244
244
  ...input.after === void 0 ? {} : { after: input.after }
245
245
  })).handler(getNativeBuildPatches_createServerFn_handler, async ({ data: { minBundleId, ...page } }) => {
246
- const [{ core }, { listNativeBuildPatches, NATIVE_BUILD_PATCH_PAGE_SIZE }] = await Promise.all([prepare(), import("./nativeBuilds-CbxOJDhO.mjs")]);
246
+ const [{ core }, { listNativeBuildPatches, NATIVE_BUILD_PATCH_PAGE_SIZE }] = await Promise.all([prepare(), import("./nativeBuilds-ByQdDnHG.mjs")]);
247
247
  return listNativeBuildPatches(core, minBundleId, {
248
248
  ...page,
249
249
  limit: NATIVE_BUILD_PATCH_PAGE_SIZE
@@ -272,7 +272,7 @@ var getNativeBuildDownloadUrl_createServerFn_handler = createServerRpc({
272
272
  filename: "src/lib/api-rpc.ts"
273
273
  }, (opts) => getNativeBuildDownloadUrl.__executeServer(opts));
274
274
  var getNativeBuildDownloadUrl = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildDownloadUrl_createServerFn_handler, async ({ data }) => {
275
- const [deps, { resolveNativeBuildDownloadUrl }] = await Promise.all([prepare(), import("./nativeBuilds-CbxOJDhO.mjs")]);
275
+ const [deps, { resolveNativeBuildDownloadUrl }] = await Promise.all([prepare(), import("./nativeBuilds-ByQdDnHG.mjs")]);
276
276
  return { url: await resolveNativeBuildDownloadUrl(data.id, deps) };
277
277
  });
278
278
  var createNativeBuildDownloadLink_createServerFn_handler = createServerRpc({
@@ -281,7 +281,7 @@ var createNativeBuildDownloadLink_createServerFn_handler = createServerRpc({
281
281
  filename: "src/lib/api-rpc.ts"
282
282
  }, (opts) => createNativeBuildDownloadLink.__executeServer(opts));
283
283
  var createNativeBuildDownloadLink = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createNativeBuildDownloadLink_createServerFn_handler, async ({ data }) => {
284
- const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-c3tcq3G5.mjs");
284
+ const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-Fbe3KJti.mjs");
285
285
  return issueNativeBuildDownloadLink(data.id);
286
286
  });
287
287
  var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
@@ -290,7 +290,7 @@ var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
290
290
  filename: "src/lib/api-rpc.ts"
291
291
  }, (opts) => getNativeBuildInstallEligibility.__executeServer(opts));
292
292
  var getNativeBuildInstallEligibility = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildInstallEligibility_createServerFn_handler, async ({ data }) => {
293
- const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-B-_lHDsS.mjs")]);
293
+ const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-Coz9G4b7.mjs")]);
294
294
  return checkNativeBuildInstall(data.id, data.udid, deps);
295
295
  });
296
296
  //#endregion
@@ -1,14 +1,14 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
2
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
3
- import { i as getRequest } from "./server-D_hG9iIq.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-BgNCvy2L.js
3
+ import { i as getRequest } from "./server-CVX8Q99N.mjs";
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-C6wvwymm.js
5
5
  var getConsoleAccessRpc_createServerFn_handler = createServerRpc({
6
6
  id: "c504696e68ba764b48c48aa8a40275938640941e473cf9cfdd7b2322d99f9d13",
7
7
  name: "getConsoleAccessRpc",
8
8
  filename: "src/lib/auth-rpc.ts"
9
9
  }, (opts) => getConsoleAccessRpc.__executeServer(opts));
10
10
  var getConsoleAccessRpc = createServerFn({ method: "GET" }).handler(getConsoleAccessRpc_createServerFn_handler, async () => {
11
- const { getConsoleAccess } = await import("./auth.server-43UW34Rd.mjs");
11
+ const { getConsoleAccess } = await import("./auth.server-CwMbNRJI.mjs");
12
12
  return getConsoleAccess(getRequest());
13
13
  });
14
14
  var getConsoleAuthProvidersRpc_createServerFn_handler = createServerRpc({
@@ -17,7 +17,7 @@ var getConsoleAuthProvidersRpc_createServerFn_handler = createServerRpc({
17
17
  filename: "src/lib/auth-rpc.ts"
18
18
  }, (opts) => getConsoleAuthProvidersRpc.__executeServer(opts));
19
19
  var getConsoleAuthProvidersRpc = createServerFn({ method: "GET" }).handler(getConsoleAuthProvidersRpc_createServerFn_handler, async () => {
20
- const { getConsoleAuthProviders } = await import("./auth.server-43UW34Rd.mjs");
20
+ const { getConsoleAuthProviders } = await import("./auth.server-CwMbNRJI.mjs");
21
21
  return getConsoleAuthProviders(getRequest());
22
22
  });
23
23
  //#endregion
@@ -8,7 +8,7 @@ import { n as projectCompiledCatalog, r as projectCompiledRollbackCatalog, t as
8
8
  import { t as isRemoteDatabase } from "./databaseConfig-XAvDetmn.mjs";
9
9
  import { n as defineTable, t as defineAggregate } from "./schema-3oDJJFWa.mjs";
10
10
  import { r as rangesIntersect } from "../_libs/verkit.mjs";
11
- //#region node_modules/.nitro/vite/services/ssr/assets/auth.server-43UW34Rd.js
11
+ //#region node_modules/.nitro/vite/services/ssr/assets/auth.server-CwMbNRJI.js
12
12
  var SHA256_FILE_HASH_RE = /^[0-9a-f]{64}$/;
13
13
  var isContentAddressedAssetFileHash = (value) => {
14
14
  return typeof value === "string" && SHA256_FILE_HASH_RE.test(value);
@@ -2803,7 +2803,7 @@ var createEngine = (database, { plugins = [], now = Date.now } = {}) => {
2803
2803
  flush: () => engine.flush()
2804
2804
  };
2805
2805
  };
2806
- var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.13";
2806
+ var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.15";
2807
2807
  /**
2808
2808
  * `/version` on both mounts. The admin mount also lists the ids of the
2809
2809
  * plugins the server runs, sorted; apps never learn which plugins a server