@hot-updater/console 1.2.0-rc.2 → 1.2.0-rc.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +1 -1
- package/.output/public/assets/{-native-builds-search-C-TGpFAm.js → -native-builds-search-OlRj4Jz0.js} +1 -1
- package/.output/public/assets/BundleIdDisplay-CP6rsdFO.js +1 -0
- package/.output/public/assets/{ConsoleFeatureUnavailable-CUtcXuY2.js → ConsoleFeatureUnavailable-DUqlpHCp.js} +1 -1
- package/.output/public/assets/EventDetails-Dcpdu7re.js +1 -0
- package/.output/public/assets/HashValueDisplay-MoZMmTeP.js +1 -0
- package/.output/public/assets/{InsightsPageHeader-DHhqY3DT.js → InsightsPageHeader-CSas9gM0.js} +1 -1
- package/.output/public/assets/{PlatformIcon-BBWQlWm9.js → PlatformIcon-CJ69KopR.js} +1 -1
- package/.output/public/assets/RelativeTime-CiZ7yXNJ.js +1 -0
- package/.output/public/assets/RolloutPercentageBadge-D-tZKnX7.js +1 -0
- package/.output/public/assets/StoreSubmission-F00RL5rI.js +1 -0
- package/.output/public/assets/TargetDisplay-CoYY8Fs4.js +1 -0
- package/.output/public/assets/api-LQJH44FU.js +1 -0
- package/.output/public/assets/api-keys-3IL4dIHe.js +1 -0
- package/.output/public/assets/api-keys-4w2-ofii.js +1 -0
- package/.output/public/assets/badge-laIuYW1U.js +1 -0
- package/.output/public/assets/card-ulgg5xHn.js +1 -0
- package/.output/public/assets/{index-CqP5HPV6.js → index-Cde2QQJq.js} +3 -3
- package/.output/public/assets/insights-0TUItqwh.js +1 -0
- package/.output/public/assets/insights-DDRfERph.js +2 -0
- package/.output/public/assets/insights-_6iMn8GR.js +42 -0
- package/.output/public/assets/{insights-search-DghCbEnk.js → insights-search-CYPrQVUC.js} +1 -1
- package/.output/public/assets/{insights-usage-rpc-CKQH0pUS.js → insights-usage-rpc-BbFllvi_.js} +1 -1
- package/.output/public/assets/insights_.distribution-AZcfvK7x.js +1 -0
- package/.output/public/assets/insights_.distribution-BGAqgPi0.js +1 -0
- package/.output/public/assets/insights_.distribution-CjYkDRA4.js +2 -0
- package/.output/public/assets/installations-Ap2G2tDs.js +1 -0
- package/.output/public/assets/{installations-B674P5Z5.js → installations-CSZfo1rG.js} +2 -2
- package/.output/public/assets/installations-CwQYwQ6K.js +1 -0
- package/.output/public/assets/native-builds-cT9Ha-jZ.js +1 -0
- package/.output/public/assets/native-builds-v5wez34c.js +2 -0
- package/.output/public/assets/native-builds_._buildId-BBwE8Pcc.js +2 -0
- package/.output/public/assets/native-builds_._buildId-DZPcR_up.js +1 -0
- package/.output/public/assets/package-ytYrywZH.js +1 -0
- package/.output/public/assets/remote-config-CIAEArwq.js +1 -0
- package/.output/public/assets/{remote-config-WjpozBG5.js → remote-config-Dwdc-sij.js} +1 -1
- package/.output/public/assets/remote-config-ZJ_IRSKE.js +6 -0
- package/.output/public/assets/routes-BUWLcUqW.js +1 -0
- package/.output/public/assets/routes-Rtz-KcQO.js +2 -0
- package/.output/public/assets/styles-bNNic0NS.css +2 -0
- package/.output/public/assets/valueToPercent-B6X9rUJM.js +1 -0
- package/.output/server/{__23tanstack-start-server-fn-resolver-BcDgi7Q7.mjs → __23tanstack-start-server-fn-resolver-C-9gAWtP.mjs} +58 -46
- package/.output/server/_chunks/ssr-renderer.mjs +2 -2
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
- package/.output/server/_libs/_.mjs +2 -0
- package/.output/server/_libs/lucide-react.mjs +1 -27
- package/.output/server/_ssr/{-native-builds-search-CwNcoXf4.mjs → -native-builds-search-Cl8EZ0Ud.mjs} +2 -2
- package/.output/server/_ssr/{BundleIdDisplay-ys5eRBiX.mjs → BundleIdDisplay-gVoZLoqU.mjs} +2 -2
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-DFrogDwc.mjs → ConsoleFeatureUnavailable-Dcibk9QQ.mjs} +7 -7
- package/.output/server/_ssr/{EventDetails-BOJR7vO-.mjs → EventDetails-CCZ9mS_F.mjs} +8 -8
- package/.output/server/_ssr/{HashValueDisplay-d4OxpYG1.mjs → HashValueDisplay-BxHC8iAG.mjs} +6 -6
- package/.output/server/_ssr/{InsightsPageHeader-D_ON_oXO.mjs → InsightsPageHeader-CqJqdi-m.mjs} +8 -8
- package/.output/server/_ssr/{NotFoundPage-BJKqYxfO.mjs → NotFoundPage-BLIrdxfa.mjs} +2 -2
- package/.output/server/_ssr/{PlatformIcon-CFLiTjh1.mjs → PlatformIcon-Cuhy0CIO.mjs} +12 -2
- package/.output/server/_ssr/RelativeTime-B1Sy1q_O.mjs +209 -0
- package/.output/server/_ssr/{git-CTA8Aqr0.mjs → RolloutPercentageBadge-BmWPR_Tb.mjs} +19 -3
- package/.output/server/_ssr/StoreSubmission-DIsoEgf-.mjs +65 -0
- package/.output/server/_ssr/TargetDisplay-C2ROSppY.mjs +100 -0
- package/.output/server/_ssr/{alert-dialog-BU7QeAL9.mjs → alert-dialog-C1y2G90R.mjs} +1 -1
- package/.output/server/_ssr/{api-Dn2NwWiq.mjs → api-D8gN7V0h.mjs} +99 -22
- package/.output/server/_ssr/{api-keys-D5rW-eAH.mjs → api-keys-DybL9aTC.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-Ckoc4av7.mjs → api-keys-W6eabF-V.mjs} +10 -9
- package/.output/server/_ssr/{api-keys-rpc-Bf2x7mQb.mjs → api-keys-rpc-CEaSDqVK.mjs} +4 -4
- package/.output/server/_ssr/{api-rpc-Bg7CTu5A.mjs → api-rpc-DloD35JY.mjs} +43 -18
- package/.output/server/_ssr/{auth-rpc-C41fl9Q5.mjs → auth-rpc-DOGHWAlV.mjs} +5 -5
- package/.output/server/_ssr/{auth.server-Dfa8DroN.mjs → auth.server-BO8fBOxh.mjs} +165 -149
- package/.output/server/_ssr/{badge-B-YGm4ng.mjs → badge-DFQ0dCIK.mjs} +2 -44
- package/.output/server/_ssr/{bundleActivity-MLrjNJCT.mjs → bundleActivity-BGVvqWx7.mjs} +1 -1
- package/.output/server/_ssr/card-Ec0pJUEs.mjs +49 -0
- package/.output/server/_ssr/{config.server-DBX318ww.mjs → config.server-AfVsZPlA.mjs} +4 -4
- package/.output/server/_ssr/{console-access-CwSkUsOn.mjs → console-access-fb0N6Nkh.mjs} +2 -2
- package/.output/server/_ssr/{console-features-BTV-XuhQ.mjs → console-features-CgdQJQlX.mjs} +1 -1
- package/.output/server/_ssr/{console-features-api-BbojT91g.mjs → console-features-api-VIcoTdNC.mjs} +5 -5
- package/.output/server/_ssr/{console-features-rpc-3bq2wS5U.mjs → console-features-rpc-BNjlCLLR.mjs} +4 -4
- package/.output/server/_ssr/{createServerRpc-BVvRVOz5.mjs → createServerRpc-DJZel12M.mjs} +1 -1
- package/.output/server/_ssr/{databaseConfig-B_Bg7qS5.mjs → databaseConfig-XAvDetmn.mjs} +1 -1
- package/.output/server/_ssr/{databaseJsonValue-kS7cvEtz.mjs → databaseJsonValue-DuUoft8j.mjs} +1 -1
- package/.output/server/_ssr/{databaseRows-B6H8Cmgq.mjs → databaseRows-BtRVBD0C.mjs} +3 -3
- package/.output/server/_ssr/{dialog-RPz_4IaA.mjs → dialog-CqqX-d24.mjs} +1 -1
- package/.output/server/_ssr/{dist-TEpM_UAD.mjs → dist-B6-irDRA.mjs} +1 -1
- package/.output/server/_ssr/{downloadBundle-DCmr7vsj.mjs → downloadBundle-BX8ODCZT.mjs} +1 -1
- package/.output/server/_ssr/{empty-BE1Gn6IB.mjs → empty-o55VPF-m.mjs} +2 -2
- package/.output/server/_ssr/{empty-plugin-adapters-zrZ0xs6n.mjs → empty-plugin-adapters-BYBYBaxo.mjs} +1 -1
- package/.output/server/_ssr/{failureReports-Cn_zU9S8.mjs → failureReports-C_CmBF4x.mjs} +3 -3
- package/.output/server/_ssr/{field-DUwSBic5.mjs → field-yKSsJRQo.mjs} +2 -2
- package/.output/server/_ssr/{getBundleChildren-rtkEEJw5.mjs → getBundleChildren-BJTufthT.mjs} +2 -2
- package/.output/server/_ssr/{input-group-BHI0ziHT.mjs → input-group-DlSVwRKN.mjs} +1 -1
- package/.output/server/_ssr/{insights-DVvFyEOH.mjs → insights-D1hSSSnf.mjs} +5 -5
- package/.output/server/_ssr/{insights-BGzKbtLf.mjs → insights-DmskI16o.mjs} +28 -27
- package/.output/server/_ssr/{insights-api-Bw_ZEDUY.mjs → insights-api-BedUQeHn.mjs} +5 -5
- package/.output/server/_ssr/{insights-errors-7BCwFybo.mjs → insights-errors-Bz3sWNZm.mjs} +2 -2
- package/.output/server/_ssr/{insights-failures-B9VPkzZE.mjs → insights-failures-DNQ9qVVf.mjs} +2 -2
- package/.output/server/_ssr/{insights-failures-rpc-BuRU2I5g.mjs → insights-failures-rpc-pyvkJiMW.mjs} +11 -11
- package/.output/server/_ssr/{insights-DF0SkYDy.mjs → insights-oydyzlp4.mjs} +2 -2
- package/.output/server/_ssr/{insights-recovery-BtXVU3ro.mjs → insights-recovery-DOkpqnQ8.mjs} +1 -1
- package/.output/server/_ssr/{insights-recovery-rpc-CsWe72mW.mjs → insights-recovery-rpc-C8oSWMSL.mjs} +7 -7
- package/.output/server/_ssr/{insights-rpc-CD5VaLy2.mjs → insights-rpc-Bt3dM8UW.mjs} +4 -4
- package/.output/server/_ssr/{insights-search-C3R6mzW-.mjs → insights-search-CH_Q2pPQ.mjs} +4 -4
- package/.output/server/_ssr/{insights-usage-DiGnuxW8.mjs → insights-usage-4KDIN3Kg.mjs} +1 -1
- package/.output/server/_ssr/{insights-usage-rpc-Bbg14JFS.mjs → insights-usage-rpc-CTZ63vhq.mjs} +7 -7
- package/.output/server/_ssr/{insights-usage-rpc-Duqu3q-H.mjs → insights-usage-rpc-CTt1yIIY.mjs} +4 -4
- package/.output/server/_ssr/{insightsUsage-ClAmoUz8.mjs → insightsUsage-DmQdJZqT.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-HZrwJteU.mjs → insights_.distribution-CxB6jrKu.mjs} +5 -5
- package/.output/server/_ssr/{insights_.distribution-DH_9B5XU.mjs → insights_.distribution-DG4pvrB8.mjs} +16 -15
- package/.output/server/_ssr/{insights_.distribution-DIA0Gi7f.mjs → insights_.distribution-DS8Dc6_5.mjs} +2 -2
- package/.output/server/_ssr/{installations-SuuoQ-xH.mjs → installations-BgVrlTdW.mjs} +12 -12
- package/.output/server/_ssr/{installations-Ct7njvit.mjs → installations-ChOjrcPZ.mjs} +4 -4
- package/.output/server/_ssr/{installations-D-O92-Nr.mjs → installations-_PSpNZM6.mjs} +2 -2
- package/.output/server/_ssr/{listReleases-D_GY00SQ.mjs → listReleases-CQEceg8j.mjs} +1 -1
- package/.output/server/_ssr/{request-guard-CPdRBuGW.mjs → local-console-Dtxlsav0.mjs} +2 -9
- package/.output/server/_ssr/native-artifact-H1MDP0Jz.mjs +593 -0
- package/.output/server/_ssr/native-builds-CHOxmjmm.mjs +548 -0
- package/.output/server/_ssr/{native-builds-DhXL5zf_.mjs → native-builds-CWA9Y__P.mjs} +58 -20
- package/.output/server/_ssr/{native-builds-DhVG-4du.mjs → native-builds-DqJ41IA-.mjs} +3 -3
- package/.output/server/_ssr/{native-builds_._buildId-dDLkfNFZ.mjs → native-builds_._buildId-Bb-mVQnh.mjs} +3 -3
- package/.output/server/_ssr/native-builds_._buildId-C1lMUjaj.mjs +1294 -0
- package/.output/server/_ssr/nativeBuildDevice-Dn16gNmZ.mjs +230 -0
- package/.output/server/_ssr/nativeBuildDownloadLink-wyUj7Oyi.mjs +96 -0
- package/.output/server/_ssr/nativeBuildInstall-i5f-2-qd.mjs +203 -0
- package/.output/server/_ssr/nativeBuildQr-P9qKcI7l.mjs +115 -0
- package/.output/server/_ssr/{nativeBuilds-B_7BPjt_.mjs → nativeBuilds-ByQdDnHG.mjs} +61 -29
- package/.output/server/_ssr/{plugins-RIryUNWj.mjs → plugins-CX7wutet.mjs} +6 -6
- package/.output/server/_ssr/publicConsoleBase-3IHSHvqd.mjs +27 -0
- package/.output/server/_ssr/{qr-code-C7kNRIDX.mjs → qr-code-pENFuyy9.mjs} +1 -1
- package/.output/server/_ssr/{release-adoption-DoAtNPED.mjs → release-adoption-C7sUFDwa.mjs} +2 -2
- package/.output/server/_ssr/{release-adoption-rpc-Cc2AJ-yS.mjs → release-adoption-rpc-BUPLEJYw.mjs} +9 -9
- package/.output/server/_ssr/{releaseAdoption-a2byXMfz.mjs → releaseAdoption-LLYlRnUB.mjs} +4 -4
- package/.output/server/_ssr/{releaseCatalogCompiler-DLcean2k.mjs → releaseCatalogCompiler-D9dAMI17.mjs} +3 -3
- package/.output/server/_ssr/{releaseManagement-DHUux2az.mjs → releaseManagement-EPhok_Py.mjs} +1 -1
- package/.output/server/_ssr/{releaseReachability-DZOK_dH-.mjs → releaseReachability-DaZ7ifUF.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-BYyQFBG8.mjs → remote-config-BMdoiYuB.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-CTZ_zxNg.mjs → remote-config-DvM_KKl6.mjs} +20 -19
- package/.output/server/_ssr/{remote-config-DvMHWxja.mjs → remote-config-XmtJFUKn.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-rpc-DibiGuw7.mjs → remote-config-rpc-DFRsn7f8.mjs} +5 -5
- package/.output/server/_ssr/request-guard-BPLyogIN.mjs +11 -0
- package/.output/server/_ssr/{router-Da0sMVN2.mjs → router-KM_t8okm.mjs} +103 -52
- package/.output/server/_ssr/{routes-CHl0_VK3.mjs → routes-Beckr53C.mjs} +260 -383
- package/.output/server/_ssr/{routes-FE2SJgBr.mjs → routes-MrSajWvI.mjs} +14 -18
- package/.output/server/_ssr/{runtime.server-BdMY1blX.mjs → runtime.server-BsTTLV-B.mjs} +4 -4
- package/.output/server/_ssr/{schema-ChlRtZIo.mjs → schema-3oDJJFWa.mjs} +1 -1
- package/.output/server/_ssr/{schema-migration-rpc-Bh7oEZEG.mjs → schema-migration-rpc-BqNKpOrg.mjs} +4 -4
- package/.output/server/_ssr/{select-BhPCNdHx.mjs → select-CUCLbsEW.mjs} +2 -2
- package/.output/server/_ssr/{server-BjkQXKZR.mjs → server-DpE_idiZ.mjs} +6 -6
- package/.output/server/_ssr/{sidebar-B7OTpt-8.mjs → sidebar-xs2XmYh9.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{start-BvDsQehg.mjs → start-C0XSSCq4.mjs} +2 -2
- package/.output/server/_ssr/{switch-CIkMfFrN.mjs → switch-CWp_RWCq.mjs} +2 -2
- package/.output/server/_ssr/{table-BIzH49v-.mjs → table-DtPvFx_v.mjs} +1 -1
- package/.output/server/_ssr/{tabs-WDYlrXEm.mjs → tabs-D0Jdy8v4.mjs} +2 -2
- package/.output/server/_ssr/{updateFailures-n-tGv90S.mjs → updateFailures-DPYzv9bE.mjs} +3 -3
- package/.output/server/_ssr/{uuidv7-BIF4nb_q.mjs → uuidv7-CmHbryZT.mjs} +2 -2
- package/.output/server/_ssr/{version-CQ98ZBpL-CWSkTT9J.mjs → version-CQ98ZBpL-NmbU0MD2.mjs} +1 -1
- package/.output/server/_tanstack-start-manifest_v-AYP07Vaf.mjs +194 -0
- package/.output/server/index.mjs +318 -297
- package/package.json +7 -7
- package/src/components/ChannelBadge.tsx +9 -9
- package/src/components/DataTable.tsx +303 -0
- package/src/components/HashValueDisplay.tsx +6 -3
- package/src/components/PlatformIcon.tsx +10 -0
- package/src/components/RelativeTime.tsx +31 -0
- package/src/components/TargetDisplay.tsx +69 -0
- package/src/components/features/channels/ChannelManagementDialog.tsx +3 -8
- package/src/components/features/insights/ReleaseActivity.tsx +1 -1
- package/src/components/features/native-builds/BuiltInBundleCard.tsx +108 -58
- package/src/components/features/native-builds/CommitLink.tsx +1 -1
- package/src/components/features/native-builds/ImportBuild.tsx +1 -1
- package/src/components/features/native-builds/InstallCard.tsx +246 -46
- package/src/components/features/native-builds/IosInstall.tsx +300 -0
- package/src/components/features/native-builds/NativeBuildDetailPage.tsx +4 -1
- package/src/components/features/native-builds/NativeBuildsPage.tsx +63 -76
- package/src/components/features/native-builds/NativeBuildsTable.tsx +436 -315
- package/src/components/features/native-builds/PatchesCard.tsx +3 -2
- package/src/components/features/native-builds/ReleaseNativeBuildLink.tsx +4 -4
- package/src/components/features/native-builds/ServedNowCard.tsx +33 -1
- package/src/components/features/native-builds/ShortHash.tsx +1 -1
- package/src/components/features/native-builds/StoreSubmission.tsx +12 -3
- package/src/lib/api-rpc.ts +55 -6
- package/src/lib/api.ts +85 -12
- package/src/lib/native-builds.ts +95 -17
- package/src/lib/server/local-console.ts +1 -1
- package/src/lib/server/nativeBuildDevice.ts +274 -0
- package/src/lib/server/nativeBuildDownloadLink.ts +193 -0
- package/src/lib/server/nativeBuildInstall.ts +355 -0
- package/src/lib/server/nativeBuildQr.ts +114 -24
- package/src/lib/server/nativeBuilds.ts +87 -33
- package/src/lib/server/plistText.ts +17 -0
- package/src/lib/server/publicConsoleBase.ts +17 -0
- package/src/routeTree.gen.ts +114 -0
- package/src/routes/[_]hot-updater/native-builds/$buildId/device-response.ts +17 -0
- package/src/routes/[_]hot-updater/native-builds/$buildId/device.ts +17 -0
- package/src/routes/[_]hot-updater/native-builds/$buildId/device[.]mobileconfig.ts +17 -0
- package/src/routes/[_]hot-updater/native-builds/$buildId/manifest[.]plist.ts +22 -0
- package/src/routes/[_]hot-updater/native-builds/preview-qr.ts +14 -0
- package/src/routes/api/native-builds/$buildId/download.ts +22 -1
- package/src/routes/index.tsx +290 -429
- package/src/styles.css +16 -0
- package/.output/public/assets/EventDetails-Dl2RvPAk.js +0 -1
- package/.output/public/assets/HashValueDisplay-6lNRxDJX.js +0 -1
- package/.output/public/assets/RolloutPercentageBadge-Cxogpi8F.js +0 -1
- package/.output/public/assets/StoreSubmission-ViTkW4eJ.js +0 -1
- package/.output/public/assets/api-P2g8dCNg.js +0 -1
- package/.output/public/assets/api-keys-DWQC2q6y.js +0 -1
- package/.output/public/assets/api-keys-FueRkF9q.js +0 -1
- package/.output/public/assets/badge-DWFcDWho.js +0 -1
- package/.output/public/assets/download-Cf24LBde.js +0 -1
- package/.output/public/assets/insights-B-0odqpt.js +0 -42
- package/.output/public/assets/insights-BSVGfxSL.js +0 -1
- package/.output/public/assets/insights-NK5B6ReS.js +0 -2
- package/.output/public/assets/insights_.distribution-CJvgwcVZ.js +0 -2
- package/.output/public/assets/insights_.distribution-DblZM0mO.js +0 -1
- package/.output/public/assets/insights_.distribution-dvk6vYDM.js +0 -1
- package/.output/public/assets/installations-BWxczZ2t.js +0 -1
- package/.output/public/assets/installations-Dv4kWQYz.js +0 -1
- package/.output/public/assets/native-builds-BOC71grI.js +0 -1
- package/.output/public/assets/native-builds-D6rldpSh.js +0 -2
- package/.output/public/assets/native-builds-DAy2678K.js +0 -1
- package/.output/public/assets/native-builds_._buildId-DD58_Phd.js +0 -1
- package/.output/public/assets/native-builds_._buildId-DvQDKnUQ.js +0 -2
- package/.output/public/assets/remote-config-B7ujqhLa.js +0 -6
- package/.output/public/assets/remote-config-gXeH6PBW.js +0 -1
- package/.output/public/assets/routes-BDdBIxYS.js +0 -1
- package/.output/public/assets/routes-CCD33Azv.js +0 -2
- package/.output/public/assets/styles-uK-0vUMk.css +0 -2
- package/.output/public/assets/valueToPercent-BLwGy_xK.js +0 -1
- package/.output/server/_ssr/RolloutPercentageBadge-BpI_iTsm.mjs +0 -21
- package/.output/server/_ssr/StoreSubmission-CXMFpHyp.mjs +0 -139
- package/.output/server/_ssr/native-builds-bTSKsvYp.mjs +0 -510
- package/.output/server/_ssr/native-builds_._buildId-D20tGR3l.mjs +0 -813
- package/.output/server/_ssr/nativeBuildQr-84cnFQPX.mjs +0 -59
- package/.output/server/_tanstack-start-manifest_v-B5nsO5L4.mjs +0 -184
- /package/.output/public/assets/{NotFoundPage-DZ3DxyRA.js → NotFoundPage-Ckb5GMhh.js} +0 -0
- /package/.output/public/assets/{alert-dialog-BqYScr9y.js → alert-dialog-DiRLrFVe.js} +0 -0
- /package/.output/public/assets/{dialog-CNUPxNxH.js → dialog-CLIaC82_.js} +0 -0
- /package/.output/public/assets/{dist-CPlO6ko9.js → dist-Bf1BPKMs.js} +0 -0
- /package/.output/public/assets/{empty-B3Uwdd6k.js → empty-Bhlj8PEo.js} +0 -0
- /package/.output/public/assets/{field-D-2-mnNh.js → field-q4sTYzNU.js} +0 -0
- /package/.output/public/assets/{history-DqHlgSuV.js → history-DakJoeSM.js} +0 -0
- /package/.output/public/assets/{input-group-D3OUBk4n.js → input-group-D_NfhUbX.js} +0 -0
- /package/.output/public/assets/{key-round-DwNKkHhy.js → key-round-DzBe6DHr.js} +0 -0
- /package/.output/public/assets/{list--NIee1FZ.js → list-B6GeoQ_b.js} +0 -0
- /package/.output/public/assets/{plus-BReVKct-.js → plus-BVhOauU3.js} +0 -0
- /package/.output/public/assets/{refresh-cw-B9HHjLej.js → refresh-cw-C-tvoCcE.js} +0 -0
- /package/.output/public/assets/{relativeTime-YQt84dYr.js → relativeTime-DvyxGIsm.js} +0 -0
- /package/.output/public/assets/{rotate-cw-Cv2aVbYr.js → rotate-cw-Clk5xTeE.js} +0 -0
- /package/.output/public/assets/{search-BCel4Oy6.js → search-nnvSOTEB.js} +0 -0
- /package/.output/public/assets/{smartphone-CMaSy_ir.js → smartphone-r0rRdPas.js} +0 -0
- /package/.output/public/assets/{switch-BpdiHL_t.js → switch-CP6GsHmN.js} +0 -0
- /package/.output/public/assets/{table-Bpy3SvSo.js → table-TUtVz-2l.js} +0 -0
- /package/.output/public/assets/{tabs-Xmt7tZeG.js → tabs-CP3CSmtI.js} +0 -0
- /package/.output/public/assets/{undo-2-CUX96_BG.js → undo-2-Bt0YXG26.js} +0 -0
- /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-xs2XmYh9.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-DtPvFx_v.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-B1Sy1q_O.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 {
|
|
3
|
+
import { i as TriangleAlert } from "../_libs/lucide-react.mjs";
|
|
4
|
+
import { k as cn } from "./sidebar-xs2XmYh9.mjs";
|
|
5
|
+
import { a as Badge } from "./badge-DFQ0dCIK.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/
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/RolloutPercentageBadge-BmWPR_Tb.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 {
|
|
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-DFQ0dCIK.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-DIsoEgf-.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-xs2XmYh9.mjs";
|
|
4
|
+
import { a as Badge } from "./badge-DFQ0dCIK.mjs";
|
|
5
|
+
import { n as toast } from "../_libs/sonner.mjs";
|
|
6
|
+
import { t as HashValueDisplay } from "./HashValueDisplay-BxHC8iAG.mjs";
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/TargetDisplay-C2ROSppY.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-
|
|
3
|
+
import { k as cn, t as Button$1 } from "./sidebar-xs2XmYh9.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 {
|
|
3
|
-
import {
|
|
2
|
+
import { A as createSsrRpc } from "./sidebar-xs2XmYh9.mjs";
|
|
3
|
+
import { t as consoleAccess } from "./console-access-fb0N6Nkh.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-
|
|
6
|
-
import {
|
|
7
|
-
import { n as readReleaseFilter } from "./listReleases-
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-
|
|
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-D8gN7V0h.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
|
|
64
|
-
*
|
|
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
|
-
*
|
|
70
|
-
*
|
|
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
|
|
109
|
-
*
|
|
110
|
-
*
|
|
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
|
|
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
|
|
228
|
-
*
|
|
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
|
|
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
|
-
|
|
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 {
|
|
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-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-Dcibk9QQ.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-DybL9aTC.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,
|
|
6
|
-
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-
|
|
7
|
-
import {
|
|
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-xs2XmYh9.mjs";
|
|
6
|
+
import { t as consoleAccess } from "./console-access-fb0N6Nkh.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-Ec0pJUEs.mjs";
|
|
9
|
+
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-DFQ0dCIK.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-C1y2G90R.mjs";
|
|
11
|
+
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-CqqX-d24.mjs";
|
|
12
|
+
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-yKSsJRQo.mjs";
|
|
13
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DtPvFx_v.mjs";
|
|
13
14
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
14
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-
|
|
15
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-W6eabF-V.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-
|
|
3
|
-
import { t as createServerRpc } from "./createServerRpc-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-fb0N6Nkh.mjs";
|
|
3
|
+
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-CEaSDqVK.js
|
|
5
5
|
var parseName = (input) => {
|
|
6
6
|
const name = typeof input === "object" && input !== null ? Reflect.get(input, "name") : void 0;
|
|
7
7
|
if (typeof name !== "string") throw new TypeError("API key name must be a string.");
|
|
@@ -14,7 +14,7 @@ var parseId = (input) => {
|
|
|
14
14
|
};
|
|
15
15
|
/** API key management, once the console's access check and the feature guard pass. */
|
|
16
16
|
var apiKeyManagement = async () => {
|
|
17
|
-
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-
|
|
17
|
+
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-AfVsZPlA.mjs"), import("./runtime.server-BsTTLV-B.mjs")]);
|
|
18
18
|
const { runtime } = await prepareConfig();
|
|
19
19
|
return requireFeature(runtime, "apiKeys");
|
|
20
20
|
};
|