@hot-updater/console 1.2.0-rc.31 → 1.2.0-rc.33
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-BvCftqF2.js +1 -0
- package/.output/public/assets/{BundleIdDisplay-CTBdtFQ8.js → BundleIdDisplay-D8oR8mcP.js} +1 -1
- package/.output/public/assets/{ChannelBadge-CEabmopB.js → ChannelBadge-Do-lWsLM.js} +1 -1
- package/.output/public/assets/{CompositeItem-KUM5yQVr.js → CompositeItem-CyQoQkYs.js} +1 -1
- package/.output/public/assets/{ConsoleFeatureUnavailable-Be-0iTww.js → ConsoleFeatureUnavailable-C0iDIboF.js} +1 -1
- package/.output/public/assets/{EventDetails-bDOYte1z.js → EventDetails-DFWS-HcW.js} +1 -1
- package/.output/public/assets/{HashValueDisplay-D2f0HmyU.js → HashValueDisplay-DKziWjEg.js} +1 -1
- package/.output/public/assets/{InsightsPageHeader-Cj2ROSQO.js → InsightsPageHeader-BATHTZWn.js} +1 -1
- package/.output/public/assets/IosInstall-DsKczesK.js +1 -0
- package/.output/public/assets/NativeBuildsNav-D3FIlSu0.js +1 -0
- package/.output/public/assets/{NotFoundPage-CVBtl68B.js → NotFoundPage-CijSy63W.js} +1 -1
- package/.output/public/assets/{PlatformIcon-DVnzzGqM.js → PlatformIcon-Kq3q98tU.js} +1 -1
- package/.output/public/assets/QrCode-D3-Vuudy.js +1 -0
- package/.output/public/assets/{RelativeTime-Dz25a2yJ.js → RelativeTime-CP7nosYx.js} +1 -1
- package/.output/public/assets/{RolloutPercentageBadge-D_I0Raj2.js → RolloutPercentageBadge-DnmU8XbU.js} +1 -1
- package/.output/public/assets/{RowReason-CAkj76WL.js → RowReason-D7TZ2xwW.js} +1 -1
- package/.output/public/assets/SandboxBadge-BPf2uve4.js +1 -0
- package/.output/public/assets/TargetDisplay-DzSkf5yP.js +1 -0
- package/.output/public/assets/alert-dialog-Dihztkem.js +1 -0
- package/.output/public/assets/{api-C1OPeiG1.js → api-B1z_XXrQ.js} +1 -1
- package/.output/public/assets/api-keys-C_u_ZmPS.js +1 -0
- package/.output/public/assets/api-keys-DPuPM7ag.js +1 -0
- package/.output/public/assets/arrow-left-CxxDwBQs.js +1 -0
- package/.output/public/assets/arrow-right-jHG0fJt7.js +1 -0
- package/.output/public/assets/arrow-up-right-BPRe5soE.js +1 -0
- package/.output/public/assets/{badge-FZMD5vvS.js → badge-D4Tiwei-.js} +1 -1
- package/.output/public/assets/{card-CyHYmHue.js → card-BfeRlTvj.js} +1 -1
- package/.output/public/assets/check-Dz_5aNwx.js +1 -0
- package/.output/public/assets/chevron-right-CuYrscDY.js +1 -0
- package/.output/public/assets/{circle-off-BCkZpskJ.js → circle-off-BZFOMb8J.js} +1 -1
- package/.output/public/assets/{clipboard-DZrZK5gR.js → clipboard-D8uvj6FN.js} +1 -1
- package/.output/public/assets/{console-features-api-BO5V64P3.js → console-features-api-De6tXQnd.js} +1 -1
- package/.output/public/assets/{copy-CH1__JAW.js → copy-BxI24-g-.js} +1 -1
- package/.output/public/assets/dialog-e9AF5T6h.js +1 -0
- package/.output/public/assets/{dist-DAM__Tdz.js → dist-BEIz5ojx.js} +1 -1
- package/.output/public/assets/{download-B2GjTySo.js → download-ekENI2Sw.js} +1 -1
- package/.output/public/assets/{empty--YaE5Z4p.js → empty-DpSPWLc2.js} +1 -1
- package/.output/public/assets/{field-CdhSgWhI.js → field-PkdRPD3A.js} +1 -1
- package/.output/public/assets/{git-branch-DG1VDaKq.js → git-branch-BWrvONjc.js} +1 -1
- package/.output/public/assets/{history-C0wv4htz.js → history-DwdBLzJP.js} +1 -1
- package/.output/public/assets/index-BZVWufH3.js +10 -0
- package/.output/public/assets/input-group-DNfVeeYZ.js +1 -0
- package/.output/public/assets/{insights-_j_ieOyh.js → insights-Bm4Kua5R.js} +2 -2
- package/.output/public/assets/insights-CpnFoyo5.js +2 -0
- package/.output/public/assets/insights-MQrx_wbP.js +1 -0
- package/.output/public/assets/{insights-api-B6Gj74n5.js → insights-api-CXXCRZhF.js} +1 -1
- package/.output/public/assets/{insights-search-Bgvg6wSP.js → insights-search-CtEcj6lz.js} +1 -1
- package/.output/public/assets/{insights-usage-rpc-BUCinjSN.js → insights-usage-rpc-DdmD1Nuy.js} +1 -1
- package/.output/public/assets/{insights_.distribution-CRkGNelG.js → insights_.distribution-Bjo0aQE4.js} +1 -1
- package/.output/public/assets/insights_.distribution-Dd2mYz8D.js +2 -0
- package/.output/public/assets/insights_.distribution-REbBAqgL.js +1 -0
- package/.output/public/assets/{installations-BsD6LgNc.js → installations-DYT2mSjX.js} +2 -2
- package/.output/public/assets/installations-Di02gX_V.js +1 -0
- package/.output/public/assets/{installations-CYTzndfP.js → installations-iqDa8KPW.js} +1 -1
- package/.output/public/assets/{key-round-D7UgdXyA.js → key-round-B-vaAsR7.js} +1 -1
- package/.output/public/assets/{link-CN3iHC4A.js → link-D95E0fwF.js} +1 -1
- package/.output/public/assets/{list-Bm-CfN5g.js → list-Dq40Mmoj.js} +1 -1
- package/.output/public/assets/loader-circle-C26cZDSM.js +1 -0
- package/.output/public/assets/native-builds-7sC78eTq.js +1 -0
- package/.output/public/assets/native-builds-BOSmoLed.js +1 -0
- package/.output/public/assets/native-builds-CXDwW54k.js +2 -0
- package/.output/public/assets/native-builds_._buildId-C7-yUwvH.js +2 -0
- package/.output/public/assets/native-builds_._buildId-u5dG7ej5.js +1 -0
- package/.output/public/assets/native-builds_.devices-CQ_tB3SO.js +1 -0
- package/.output/public/assets/native-builds_.devices-C_YZoRxB.js +2 -0
- package/.output/public/assets/plus-Bp6IqwOH.js +1 -0
- package/.output/public/assets/{preload-helper-CRQjUQaZ.js → preload-helper-52zhjEsw.js} +1 -1
- package/.output/public/assets/{refresh-cw-BHhBYjS8.js → refresh-cw-CpCxPYma.js} +1 -1
- package/.output/public/assets/{relativeTime-BYRt19mj.js → relativeTime-D_aYJRc7.js} +1 -1
- package/.output/public/assets/remote-config-BbiN7bGR.js +6 -0
- package/.output/public/assets/remote-config-BhdrBpLM.js +1 -0
- package/.output/public/assets/remote-config-Dmuqm9xx.js +1 -0
- package/.output/public/assets/{rotate-cw-Ba-slJea.js → rotate-cw-Bn3fIWmY.js} +1 -1
- package/.output/public/assets/routes-C4MTDNA3.js +2 -0
- package/.output/public/assets/routes-Cjjfwbs_.js +1 -0
- package/.output/public/assets/search-DeKSyo9Q.js +1 -0
- package/.output/public/assets/{select-CA8r-UUe.js → select-BAd2hAoW.js} +1 -1
- package/.output/public/assets/{sidebar-yC7KdImc.js → sidebar-UnsNYOry.js} +1 -1
- package/.output/public/assets/smartphone-lSZWrqxx.js +1 -0
- package/.output/public/assets/styles-CQNxu86i.css +2 -0
- package/.output/public/assets/{switch-BsV3d4km.js → switch-C_s67MO4.js} +1 -1
- package/.output/public/assets/{table-D8YjT_ht.js → table-r_sYqKTQ.js} +1 -1
- package/.output/public/assets/{tabs-RdhEl9sE.js → tabs-BBfg-c0h.js} +1 -1
- package/.output/public/assets/{trash-2-B5KIvrXy.js → trash-2-BPH7ydek.js} +1 -1
- package/.output/public/assets/{undo-2-CFcU9dIB.js → undo-2-CGeTBZjC.js} +1 -1
- package/.output/public/assets/{useCompositeListItem-lAmUsXcc.js → useCompositeListItem-B9ONn9qn.js} +1 -1
- package/.output/public/assets/{useMutation-w3qYaU2L.js → useMutation-BWX97JX2.js} +1 -1
- package/.output/server/{__23tanstack-start-server-fn-resolver-CPVg1lWP.mjs → __23tanstack-start-server-fn-resolver-DBw1tYEH.mjs} +58 -62
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
- package/.output/server/_libs/_.mjs +1 -1
- package/.output/server/_ssr/{-native-builds-search-DD7wilC0.mjs → -native-builds-search-OJ8XmaBa.mjs} +1 -1
- package/.output/server/_ssr/{BundleIdDisplay-CHwdLSxI.mjs → BundleIdDisplay-DsNg19E8.mjs} +2 -2
- package/.output/server/_ssr/{ChannelBadge-DdrhdvMM.mjs → ChannelBadge-DWQcxohs.mjs} +3 -3
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-DPX24kXX.mjs → ConsoleFeatureUnavailable-CfcFJ4k4.mjs} +6 -6
- package/.output/server/_ssr/{EventDetails-6jBbGcbN.mjs → EventDetails-DJYShaIG.mjs} +6 -6
- package/.output/server/_ssr/{HashValueDisplay-B4--TU87.mjs → HashValueDisplay-B7FFJcIK.mjs} +2 -2
- package/.output/server/_ssr/{InsightsPageHeader-CuJ8N3TQ.mjs → InsightsPageHeader-CaceslcD.mjs} +6 -6
- package/.output/server/_ssr/{IosInstall-CHC-d6NT.mjs → IosInstall-gEVi9PFl.mjs} +164 -72
- package/.output/server/_ssr/{NativeBuildsNav-C69l7uNo.mjs → NativeBuildsNav-DoB6DGO2.mjs} +5 -5
- package/.output/server/_ssr/{NotFoundPage-ZsHGzoLS.mjs → NotFoundPage-Bu3yot-M.mjs} +2 -2
- package/.output/server/_ssr/{PlatformIcon-BXcpYcrO.mjs → PlatformIcon-X18AN8Yp.mjs} +1 -1
- package/.output/server/_ssr/QrCode-DkmvYkKS.mjs +50 -0
- package/.output/server/_ssr/{RelativeTime-7vOoIT4P.mjs → RelativeTime-Dg47Cmmt.mjs} +3 -3
- package/.output/server/_ssr/{RolloutPercentageBadge--MojdSYZ.mjs → RolloutPercentageBadge-CcEZuUxL.mjs} +3 -3
- package/.output/server/_ssr/{RowReason-CIaGuzr1.mjs → RowReason-CbKEYA9N.mjs} +4 -4
- package/.output/server/_ssr/{SandboxBadge-BqBSRE2-.mjs → SandboxBadge-CuTOlGaF.mjs} +2 -2
- package/.output/server/_ssr/{TargetDisplay-CLn4k3f5.mjs → TargetDisplay-DkRZwhNW.mjs} +3 -3
- package/.output/server/_ssr/{alert-dialog-DihcZr0y.mjs → alert-dialog-Ckdomw6e.mjs} +3 -3
- package/.output/server/_ssr/{api-nFsUxTG1.mjs → api-BIDpAoY0.mjs} +4 -4
- package/.output/server/_ssr/{api-keys-DExjZkdx.mjs → api-keys-BStTPcTe.mjs} +11 -9
- package/.output/server/_ssr/{api-keys-CN5wpM3R.mjs → api-keys-MdcfK9Zw.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-rpc-CClIn3D8.mjs → api-keys-rpc-FwkHHfJL.mjs} +3 -3
- package/.output/server/_ssr/{api-rpc-DLRzLoop.mjs → api-rpc-DI164kWO.mjs} +13 -13
- package/.output/server/_ssr/{auth-rpc-U46OWsbS.mjs → auth-rpc-DOONC4Xw.mjs} +4 -4
- package/.output/server/_ssr/{auth.server-iIXxFs8t.mjs → auth.server-MkFb8t-c.mjs} +2 -2
- package/.output/server/_ssr/{badge-jnl4Ajh1.mjs → badge-MGJQ5WNb.mjs} +1 -1
- package/.output/server/_ssr/{card-BEfQk5Ei.mjs → card-st1F0w5g.mjs} +1 -1
- package/.output/server/_ssr/{config.server-Ig1eUxaf.mjs → config.server-A4yZxfTn.mjs} +4 -4
- package/.output/server/_ssr/{console-access-BOTh4-fO.mjs → console-access-Cj95NxRZ.mjs} +2 -2
- package/.output/server/_ssr/{console-features-CzhqrCcX.mjs → console-features-DTYyXrWO.mjs} +1 -1
- package/.output/server/_ssr/{console-features-api-Dk02j_6v.mjs → console-features-api-WvvE114Q.mjs} +5 -5
- package/.output/server/_ssr/{console-features-rpc-B_V68MjF.mjs → console-features-rpc-DxhmScBd.mjs} +3 -3
- package/.output/server/_ssr/{deviceProfileToken-BbLKmrUb.mjs → deviceProfileToken-xzDLfE0T.mjs} +21 -5
- package/.output/server/_ssr/{dialog-DuyJ0HsU.mjs → dialog-jxN7lCij.mjs} +4 -4
- package/.output/server/_ssr/{empty-BDBZwsuM.mjs → empty-Dfmlc-7_.mjs} +2 -2
- package/.output/server/_ssr/{field-CX6srGIn.mjs → field-BrPlhj0S.mjs} +2 -2
- package/.output/server/_ssr/{input-group-CV_H0YX7.mjs → input-group-Ckaa4ML0.mjs} +2 -2
- package/.output/server/_ssr/{insights-CBoiq6pK.mjs → insights-BX9okQmy.mjs} +2 -2
- package/.output/server/_ssr/{insights-DQmsr9I4.mjs → insights-CmbOo4Er.mjs} +29 -24
- package/.output/server/_ssr/{insights-Td2VtKJZ.mjs → insights-DHvN6knB.mjs} +5 -5
- package/.output/server/_ssr/{insights-api-G8ZOyKKA.mjs → insights-api-t8rcSzVu.mjs} +3 -3
- package/.output/server/_ssr/{insights-failures-rpc-Ba4YSjbA.mjs → insights-failures-rpc-DadwsaxJ.mjs} +7 -7
- package/.output/server/_ssr/{insights-recovery-rpc-LKbOLo-_.mjs → insights-recovery-rpc-BK-RELe9.mjs} +4 -4
- package/.output/server/_ssr/{insights-rpc-TkflAi0Z.mjs → insights-rpc-BmDuFOYA.mjs} +3 -3
- package/.output/server/_ssr/{insights-search-aCzmEqnq.mjs → insights-search-CQ0aMRHX.mjs} +2 -2
- package/.output/server/_ssr/{insights-usage-rpc-Cbk3jKjA.mjs → insights-usage-rpc-CkeNir2v.mjs} +4 -4
- package/.output/server/_ssr/{insights-usage-rpc-NoT-iWyp.mjs → insights-usage-rpc-JhBWMZfn.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-Bo1WRLKV.mjs → insights_.distribution-BtGiM-F8.mjs} +15 -15
- package/.output/server/_ssr/{insights_.distribution-Vt7W1Xw7.mjs → insights_.distribution-CEldmJz1.mjs} +2 -2
- package/.output/server/_ssr/{insights_.distribution-Y3uFkJMX.mjs → insights_.distribution-DlBTOrjk.mjs} +5 -5
- package/.output/server/_ssr/{installations-BEUOlOQs.mjs → installations-3fgKUnRv.mjs} +11 -11
- package/.output/server/_ssr/{installations-BpcY3NSj.mjs → installations-DHbd6gfU.mjs} +2 -2
- package/.output/server/_ssr/{installations-DClqNAQn.mjs → installations-oBJc0TH1.mjs} +4 -4
- package/.output/server/_ssr/{ios-devices-rpc-DmjO2Cbe.mjs → ios-devices-rpc-DjlS64L9.mjs} +9 -21
- package/.output/server/_ssr/iosDeviceCookie-Ccxr1MR8.mjs +155 -0
- package/.output/server/_ssr/{iosDeviceProfile-CseUPyC3.mjs → iosDeviceProfile-nEW-zQnl.mjs} +13 -14
- package/.output/server/_ssr/{iosDevices-BcM0YdL8.mjs → iosDevices-gG7HCnCL.mjs} +4 -20
- package/.output/server/_ssr/{native-artifact-C-jGiTjz.mjs → native-artifact-BRNP_q-y.mjs} +1 -1
- package/.output/server/_ssr/{native-builds-CwdDL-ag.mjs → native-builds-Be2Ga-eY.mjs} +17 -17
- package/.output/server/_ssr/{native-builds-B31AnQ0z.mjs → native-builds-mq_fr3k0.mjs} +3 -3
- package/.output/server/_ssr/{native-builds-DjoHvBQf.mjs → native-builds-nRuXKypG.mjs} +63 -2
- package/.output/server/_ssr/{native-builds_._buildId-Dew-f4Ox.mjs → native-builds_._buildId-Cq-3MWHV.mjs} +3 -3
- package/.output/server/_ssr/{native-builds_._buildId-xNxhulXv.mjs → native-builds_._buildId-Du028raJ.mjs} +20 -27
- package/.output/server/_ssr/{native-builds_.devices-BBWNnbAj.mjs → native-builds_.devices-CWOFxrsg.mjs} +120 -68
- package/.output/server/_ssr/{native-builds_.devices-DpYGqdjz.mjs → native-builds_.devices-DVBT3gKp.mjs} +3 -3
- package/.output/server/_ssr/{nativeBuildDownloadLink-CMo_0eeE.mjs → nativeBuildDownloadLink-BXFMIxJ8.mjs} +2 -2
- package/.output/server/_ssr/{nativeBuildInstall-BlT6X49f.mjs → nativeBuildInstall-CjG3sJmP.mjs} +8 -7
- package/.output/server/_ssr/{nativeBuilds-DnIRDijn.mjs → nativeBuilds-DaF-TcfO.mjs} +2 -2
- package/.output/server/_ssr/plistText-DkzlCfPI.mjs +15 -0
- package/.output/server/_ssr/{publicConsoleBase-CBG0Pv8f.mjs → publicConsoleBase-wTKw3_iB.mjs} +2 -14
- package/.output/server/_ssr/{release-adoption-rpc-CNwUfrya.mjs → release-adoption-rpc-BiUppdo3.mjs} +7 -7
- package/.output/server/_ssr/{releaseAdoption-COlUf2W5.mjs → releaseAdoption-DfEYq7I4.mjs} +1 -1
- package/.output/server/_ssr/{remote-config-D1X_UwRB.mjs → remote-config-8SDPC3Ex.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-7NN5w0OC.mjs → remote-config-CKjwym6Y.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-DdcrliiZ.mjs → remote-config-MgYpLVNI.mjs} +19 -19
- package/.output/server/_ssr/{remote-config-rpc-oR3e-Ixt.mjs → remote-config-rpc-RoH5hIma.mjs} +3 -3
- package/.output/server/_ssr/{router-DxsgaBqH.mjs → router-DaSGo-53.mjs} +101 -61
- package/.output/server/_ssr/{routes-BXne94ak.mjs → routes-2wXfjE3q.mjs} +37 -33
- package/.output/server/_ssr/{routes-DdZw0VC5.mjs → routes-Y7SrNegl.mjs} +11 -10
- package/.output/server/_ssr/{runtime.server-DImJAltO.mjs → runtime.server-BUbb281Z.mjs} +2 -2
- package/.output/server/_ssr/{schema-migration-rpc-BZueLWKW.mjs → schema-migration-rpc-C302GUdI.mjs} +3 -3
- package/.output/server/_ssr/{select-DcWzmCb3.mjs → select-DsWMUB9T.mjs} +1 -1
- package/.output/server/_ssr/{server-DA_rB8Ch.mjs → server-Bx_Shfka.mjs} +4 -4
- package/.output/server/_ssr/{sidebar-BsFYs26D.mjs → sidebar-S1E-7aSS.mjs} +6 -6
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{start-Ds6WPOwH.mjs → start-BaUpXI0L.mjs} +1 -1
- package/.output/server/_ssr/{switch-CByCMAau.mjs → switch-DMCgvrFu.mjs} +3 -3
- package/.output/server/_ssr/{table-SLiL-w8T.mjs → table-BN3AmMyY.mjs} +1 -1
- package/.output/server/_ssr/{tabs-BCG8AAvJ.mjs → tabs-D3tzMdsj.mjs} +3 -3
- package/.output/server/_ssr/{updateFailures-Cl1Fxj4J.mjs → updateFailures-BwDwIoNu.mjs} +1 -1
- package/.output/server/_tanstack-start-manifest_v-DcKFR9bk.mjs +225 -0
- package/.output/server/index.mjs +431 -431
- package/package.json +7 -7
- package/src/components/AppSidebar.tsx +11 -2
- package/src/components/features/api-keys/ApiKeysPage.tsx +4 -2
- package/src/components/features/bundles/BundleMetadata.tsx +1 -1
- package/src/components/features/bundles/RolloutCohortsDialog.tsx +8 -1
- package/src/components/features/channels/ChannelManagementDialog.tsx +6 -2
- package/src/components/features/insights/FailureReports.tsx +3 -2
- package/src/components/features/insights/InsightsOverview.tsx +7 -1
- package/src/components/features/insights/ReleaseActivity.tsx +5 -1
- package/src/components/features/insights/ReleaseCombobox.tsx +1 -1
- package/src/components/features/insights/UpdateFailures.tsx +1 -0
- package/src/components/features/native-builds/BuiltInBundleCard.tsx +1 -1
- package/src/components/features/native-builds/IosDevicesPage.tsx +120 -34
- package/src/components/features/native-builds/IosInstall.tsx +85 -27
- package/src/components/features/native-builds/NativeBuildDetailPage.tsx +1 -2
- package/src/components/features/native-builds/NativeBuildsNav.tsx +2 -2
- package/src/components/features/native-builds/NativeBuildsTable.tsx +1 -1
- package/src/components/features/native-builds/ReleaseNativeBuildLink.tsx +1 -1
- package/src/components/features/releases/ReleaseEditorSheet.tsx +6 -5
- package/src/components/ui/alert-dialog.tsx +2 -2
- package/src/components/ui/dialog.tsx +3 -3
- package/src/components/ui/input.tsx +1 -1
- package/src/components/ui/sheet.tsx +1 -1
- package/src/components/ui/sidebar.tsx +2 -2
- package/src/components/ui/slider.tsx +1 -1
- package/src/components/ui/switch.tsx +1 -1
- package/src/components/ui/tabs.tsx +1 -1
- package/src/components/ui/textarea.tsx +1 -1
- package/src/lib/ios-devices-api.ts +170 -5
- package/src/lib/ios-devices-rpc.ts +0 -12
- package/src/lib/native-builds.ts +88 -0
- package/src/lib/server/deviceProfileToken.ts +37 -3
- package/src/lib/server/iosDeviceCookie.ts +239 -0
- package/src/lib/server/iosDeviceProfile.ts +4 -2
- package/src/lib/server/iosDevices.ts +0 -30
- package/src/routeTree.gen.ts +44 -0
- package/src/routes/[_]hot-updater/devices/receipt.ts +28 -0
- package/src/routes/[_]hot-updater/devices/request.ts +28 -0
- package/.output/public/assets/-native-builds-search-DdHwfe4q.js +0 -1
- package/.output/public/assets/IosInstall-B-Yt7DUj.js +0 -1
- package/.output/public/assets/NativeBuildsNav-DaqxQPnG.js +0 -1
- package/.output/public/assets/SandboxBadge-BVxHg_HF.js +0 -1
- package/.output/public/assets/TargetDisplay-B_dqT5iw.js +0 -1
- package/.output/public/assets/alert-dialog-Ch0QxRsa.js +0 -1
- package/.output/public/assets/api-keys-DLC8jjaM.js +0 -1
- package/.output/public/assets/api-keys-eDnzgFAf.js +0 -1
- package/.output/public/assets/arrow-left-DQjHJAnT.js +0 -1
- package/.output/public/assets/arrow-right-CXp_K3xK.js +0 -1
- package/.output/public/assets/arrow-up-right-BFafIOrq.js +0 -1
- package/.output/public/assets/check-CqWNyG93.js +0 -1
- package/.output/public/assets/chevron-right-DNbYTBX1.js +0 -1
- package/.output/public/assets/dialog-BLj71-Nf.js +0 -1
- package/.output/public/assets/index-IK43LiLE.js +0 -10
- package/.output/public/assets/input-group-XKLcUGoa.js +0 -1
- package/.output/public/assets/insights-C94CdeAA.js +0 -1
- package/.output/public/assets/insights-DILMVpk8.js +0 -2
- package/.output/public/assets/insights_.distribution-Bb6_S-hD.js +0 -2
- package/.output/public/assets/insights_.distribution-CyAu3RN3.js +0 -1
- package/.output/public/assets/installations-BA01mqJE.js +0 -1
- package/.output/public/assets/loader-circle-iMqC-8ZE.js +0 -1
- package/.output/public/assets/native-builds-C-Dayo63.js +0 -2
- package/.output/public/assets/native-builds-_3SRMVOS.js +0 -1
- package/.output/public/assets/native-builds_._buildId-BPJzn5LY.js +0 -2
- package/.output/public/assets/native-builds_._buildId-DJWMBKQQ.js +0 -1
- package/.output/public/assets/native-builds_.devices-BbE0s2il.js +0 -1
- package/.output/public/assets/native-builds_.devices-BiXjrMS-.js +0 -2
- package/.output/public/assets/package-BmfoZ5Zj.js +0 -1
- package/.output/public/assets/plus-Db0KxLZp.js +0 -1
- package/.output/public/assets/remote-config-Cxkr7_BP.js +0 -1
- package/.output/public/assets/remote-config-DAOyn5xL.js +0 -1
- package/.output/public/assets/remote-config-DXv25LX1.js +0 -6
- package/.output/public/assets/routes-CH42g1N9.js +0 -1
- package/.output/public/assets/routes-_QhVAS_l.js +0 -2
- package/.output/public/assets/search-dJG2BYmx.js +0 -1
- package/.output/public/assets/send-DuMOCzbD.js +0 -1
- package/.output/public/assets/smartphone-D1C6BRd_.js +0 -1
- package/.output/public/assets/styles-BYO5PJYg.css +0 -2
- package/.output/server/_tanstack-start-manifest_v-BoMD43wU.mjs +0 -225
- /package/.output/public/assets/{uuidv7-DAoOOpz9.js → uuidv7-DgXZ1zRR.js} +0 -0
|
@@ -1,63 +1,21 @@
|
|
|
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-Cj95NxRZ.mjs";
|
|
3
4
|
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
5
|
import { D as LoaderCircle, _ as RefreshCw, i as TriangleAlert, p as Send, u as Smartphone } from "../_libs/lucide-react.mjs";
|
|
5
|
-
import { A as createSsrRpc, C as Skeleton, O as buttonVariants,
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
6
|
+
import { A as createSsrRpc, C as Skeleton, O as buttonVariants, n as Input, t as Button$1 } from "./sidebar-S1E-7aSS.mjs";
|
|
7
|
+
import { i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-MGJQ5WNb.mjs";
|
|
8
|
+
import { a as FieldLabel, n as FieldDescription, r as FieldError, t as Field } from "./field-BrPlhj0S.mjs";
|
|
8
9
|
import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
9
10
|
import { l as keepPreviousData } from "../_libs/tanstack__query-core.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { m as useNativeBuildInstallEligibilityQuery } from "./api-nFsUxTG1.mjs";
|
|
11
|
+
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
12
|
+
import { N as releasePendingReceipt, c as NATIVE_BUILD_INSTALL_LINK_TTL_MS, d as consolePathOf, f as consolePathOfNativeBuildsPage, h as iosDeviceProfileUrl, i as IOS_DEVICE_RECEIPT_STORAGE_KEY, j as readPendingReceipt, m as holdPendingReceipt, o as IOS_UDID_PATTERN, s as IOS_UDID_STORAGE_KEY, w as nativeBuildItmsUrl } from "./native-builds-nRuXKypG.mjs";
|
|
13
|
+
import { m as useNativeBuildInstallEligibilityQuery } from "./api-BIDpAoY0.mjs";
|
|
14
14
|
import { n as require_dayjs_min } from "../_libs/dayjs.mjs";
|
|
15
|
-
|
|
16
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/IosInstall-CHC-d6NT.js
|
|
15
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/IosInstall-gEVi9PFl.js
|
|
17
16
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
18
17
|
var import_jsx_runtime = require_jsx_runtime();
|
|
19
18
|
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
20
|
-
/**
|
|
21
|
-
* A QR code of `value` as one SVG path of unit squares, with the standard
|
|
22
|
-
* four-module quiet zone: `size` is the side of its viewBox.
|
|
23
|
-
*/
|
|
24
|
-
var qrCodePath = (value) => {
|
|
25
|
-
const { data, size } = encode(value, {
|
|
26
|
-
ecc: "M",
|
|
27
|
-
border: 4
|
|
28
|
-
});
|
|
29
|
-
let path = "";
|
|
30
|
-
data.forEach((row, y) => row.forEach((dark, x) => {
|
|
31
|
-
if (dark) path += `M${x} ${y}h1v1h-1z`;
|
|
32
|
-
}));
|
|
33
|
-
return {
|
|
34
|
-
size,
|
|
35
|
-
path
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* A QR code of `value`, drawn as one SVG path with the standard four-module
|
|
40
|
-
* quiet zone. Phone cameras read dark modules on a light ground, so the code
|
|
41
|
-
* keeps its own two colors in both themes instead of the theme's tokens.
|
|
42
|
-
*/
|
|
43
|
-
function QrCode({ value, label, className }) {
|
|
44
|
-
const { size, path } = (0, import_react.useMemo)(() => qrCodePath(value), [value]);
|
|
45
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
|
|
46
|
-
"aria-label": label,
|
|
47
|
-
className: cn("aspect-square rounded-md", className),
|
|
48
|
-
role: "img",
|
|
49
|
-
shapeRendering: "crispEdges",
|
|
50
|
-
viewBox: `0 0 ${size} ${size}`,
|
|
51
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", {
|
|
52
|
-
fill: "#fff",
|
|
53
|
-
height: size,
|
|
54
|
-
width: size
|
|
55
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
56
|
-
d: path,
|
|
57
|
-
fill: "#000"
|
|
58
|
-
})]
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
19
|
var STATUSES = [
|
|
62
20
|
"pending",
|
|
63
21
|
"approved",
|
|
@@ -105,11 +63,6 @@ var createIosDeviceProfileLink = createServerFn({ method: "POST" }).middleware([
|
|
|
105
63
|
};
|
|
106
64
|
throw new TypeError("Invalid mode.");
|
|
107
65
|
}).handler(createSsrRpc("4b173c2b2f5ea074a1f10862282308f11f5a043c044d64b6f63e6a29d571ec64"));
|
|
108
|
-
/** Requests the iPhone this person's receipt names, for the next ad hoc build. */
|
|
109
|
-
var requestIosDeviceAccess = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => ({
|
|
110
|
-
receipt: text(input, "receipt"),
|
|
111
|
-
name: text(input, "name", 100)
|
|
112
|
-
})).handler(createSsrRpc("24005564c8e58dbdeadba89e3f567255a991f5695359cbcc2e8392e033dac8e1"));
|
|
113
66
|
/** Approves a requested device, with its name: approvers only. */
|
|
114
67
|
var approveIosDevice = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => ({
|
|
115
68
|
id: text(input, "id", 36),
|
|
@@ -139,6 +92,11 @@ var iosDeviceKeys = {
|
|
|
139
92
|
"device",
|
|
140
93
|
udid
|
|
141
94
|
],
|
|
95
|
+
kept: (receipt) => [
|
|
96
|
+
"ios-devices",
|
|
97
|
+
"kept",
|
|
98
|
+
receipt ?? ""
|
|
99
|
+
],
|
|
142
100
|
ipa: (buildId) => ["native-build-ipa-devices", buildId]
|
|
143
101
|
};
|
|
144
102
|
/**
|
|
@@ -204,7 +162,120 @@ var useInvalidatingMutation = (mutationFn) => {
|
|
|
204
162
|
var useApproveIosDeviceMutation = () => useInvalidatingMutation((input) => approveIosDevice({ data: input }));
|
|
205
163
|
var useRenameIosDeviceMutation = () => useInvalidatingMutation((input) => renameIosDevice({ data: input }));
|
|
206
164
|
var useRemoveIosDeviceMutation = () => useInvalidatingMutation((input) => removeIosDevice({ data: input }));
|
|
207
|
-
|
|
165
|
+
/** The routes this iPhone's kept proof is sent to, under the Console's path. */
|
|
166
|
+
var deviceRoute = (consolePath, name) => `${consolePath}/_hot-updater/devices/${name}`;
|
|
167
|
+
var sendDeviceRoute = async (url, init = {}) => {
|
|
168
|
+
const { json, ...rest } = init;
|
|
169
|
+
const response = await fetch(url, {
|
|
170
|
+
credentials: "same-origin",
|
|
171
|
+
...rest,
|
|
172
|
+
...json === void 0 ? {} : {
|
|
173
|
+
headers: { "content-type": "application/json" },
|
|
174
|
+
body: JSON.stringify(json)
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
const body = await response.json().catch(() => null);
|
|
178
|
+
if (!response.ok || body === null) throw new Error(body?.error ?? `Request failed (${response.status}).`);
|
|
179
|
+
return body;
|
|
180
|
+
};
|
|
181
|
+
/** Told when a trade sets the cookie, so a cached "no proof" is read again. */
|
|
182
|
+
var KEPT_EVENT = "hot-updater-ios-device-kept";
|
|
183
|
+
/**
|
|
184
|
+
* The same news for this Safari's other tabs, which share the cookie: a
|
|
185
|
+
* timestamp only, written where their `storage` event hears it.
|
|
186
|
+
*/
|
|
187
|
+
var KEPT_PING_KEY = "hot-updater-ios-device-kept";
|
|
188
|
+
/** Trades in flight or done, one per receipt: a failed one is forgotten. */
|
|
189
|
+
var trades = /* @__PURE__ */ new Map();
|
|
190
|
+
/**
|
|
191
|
+
* Trades the profile answer's fresh receipt for this Safari's HttpOnly cookie,
|
|
192
|
+
* wherever the answer lands: whatever the build page or the registry says, the
|
|
193
|
+
* proof is kept. One request per receipt while it is in flight or once it has
|
|
194
|
+
* succeeded; a failed one rejects and is forgotten, so the next refresh,
|
|
195
|
+
* refocus, or reload trades it again while it is still valid. Once traded,
|
|
196
|
+
* the receipt leaves this tab's session storage.
|
|
197
|
+
*/
|
|
198
|
+
var keepIosDeviceReceipt = (consolePath, receipt) => {
|
|
199
|
+
let trade = trades.get(receipt);
|
|
200
|
+
if (trade === void 0) {
|
|
201
|
+
trade = sendDeviceRoute(deviceRoute(consolePath, "receipt"), {
|
|
202
|
+
method: "POST",
|
|
203
|
+
json: { receipt }
|
|
204
|
+
}).then((answer) => {
|
|
205
|
+
releasePendingReceipt(receipt);
|
|
206
|
+
window.dispatchEvent(new Event(KEPT_EVENT));
|
|
207
|
+
try {
|
|
208
|
+
window.localStorage.setItem(KEPT_PING_KEY, String(Date.now()));
|
|
209
|
+
} catch {}
|
|
210
|
+
return answer;
|
|
211
|
+
}, (error) => {
|
|
212
|
+
trades.delete(receipt);
|
|
213
|
+
throw error;
|
|
214
|
+
});
|
|
215
|
+
trades.set(receipt, trade);
|
|
216
|
+
}
|
|
217
|
+
return trade;
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* The UDID this Safari has proved for the signed-in person, from its HttpOnly
|
|
221
|
+
* cookie, or null, read after the page's fresh receipt, if any, is traded for
|
|
222
|
+
* it. Read on an iPhone only.
|
|
223
|
+
*/
|
|
224
|
+
function useKeptIosDeviceQuery(consolePath, receipt, enabled) {
|
|
225
|
+
const queryClient = useQueryClient();
|
|
226
|
+
(0, import_react.useEffect)(() => {
|
|
227
|
+
const onKept = () => void queryClient.invalidateQueries({
|
|
228
|
+
queryKey: iosDeviceKeys.kept(null),
|
|
229
|
+
exact: true
|
|
230
|
+
});
|
|
231
|
+
const onStorage = (event) => {
|
|
232
|
+
if (event.key === KEPT_PING_KEY) onKept();
|
|
233
|
+
};
|
|
234
|
+
window.addEventListener(KEPT_EVENT, onKept);
|
|
235
|
+
window.addEventListener("storage", onStorage);
|
|
236
|
+
return () => {
|
|
237
|
+
window.removeEventListener(KEPT_EVENT, onKept);
|
|
238
|
+
window.removeEventListener("storage", onStorage);
|
|
239
|
+
};
|
|
240
|
+
}, [queryClient]);
|
|
241
|
+
return useQuery({
|
|
242
|
+
queryKey: iosDeviceKeys.kept(receipt),
|
|
243
|
+
queryFn: async () => {
|
|
244
|
+
let failed = null;
|
|
245
|
+
if (receipt !== null) await keepIosDeviceReceipt(consolePath, receipt).catch((error) => {
|
|
246
|
+
failed = error;
|
|
247
|
+
});
|
|
248
|
+
const kept = await sendDeviceRoute(deviceRoute(consolePath, "receipt"));
|
|
249
|
+
if (failed !== null && kept.udid === null) throw failed;
|
|
250
|
+
return kept;
|
|
251
|
+
},
|
|
252
|
+
enabled,
|
|
253
|
+
retry: false,
|
|
254
|
+
staleTime: Number.POSITIVE_INFINITY
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Forgets this Safari's proof of its iPhone before sign-out, so the next
|
|
259
|
+
* person on this Safari starts from the profile. Only an iPhone or iPad holds
|
|
260
|
+
* one; a failure leaves the cookie, which the next email ignores anyway.
|
|
261
|
+
*/
|
|
262
|
+
var forgetKeptIosDevice = async (consolePath) => {
|
|
263
|
+
await sendDeviceRoute(deviceRoute(consolePath, "receipt"), { method: "DELETE" }).catch(() => void 0);
|
|
264
|
+
};
|
|
265
|
+
/**
|
|
266
|
+
* Requests this iPhone for the signed-in person, under `name`: the UDID comes
|
|
267
|
+
* from the profile's fresh receipt when the page has one, else from the
|
|
268
|
+
* cookie that proved it before.
|
|
269
|
+
*/
|
|
270
|
+
var useRequestThisIphoneMutation = (consolePath) => useInvalidatingMutation((input) => sendDeviceRoute(deviceRoute(consolePath, "request"), {
|
|
271
|
+
method: "POST",
|
|
272
|
+
json: input.receipt === null ? { name: input.name } : {
|
|
273
|
+
name: input.name,
|
|
274
|
+
receipt: input.receipt
|
|
275
|
+
}
|
|
276
|
+
}));
|
|
277
|
+
/** Whether the cookie's UDID is this iPhone's, whatever its case. */
|
|
278
|
+
var keptIsThisIphone = (kept, udid) => kept != null && udid !== null && kept.toLowerCase() === udid.toLowerCase();
|
|
208
279
|
/**
|
|
209
280
|
* What an install does to the App Store's copy of the app on this iPhone, with
|
|
210
281
|
* the same bundle ID. The one line to change after trying it on a real iPhone.
|
|
@@ -251,6 +322,21 @@ var keep = (key, value) => {
|
|
|
251
322
|
* back to it already open. Read after the page mounts: the server
|
|
252
323
|
* renders it without a browser. Null until then.
|
|
253
324
|
*/
|
|
325
|
+
/** Tells this page's `useIosDevice` that the ID it keeps was just written. */
|
|
326
|
+
var ADOPTED_EVENT = "hot-updater-ios-device-adopted";
|
|
327
|
+
/**
|
|
328
|
+
* Adopts the UDID this Safari's cookie names, when the page kept none: Safari
|
|
329
|
+
* wipes script storage after a week away while the 30-day HttpOnly cookie
|
|
330
|
+
* stays, and the cookie is the proof. Kept again, so every page knows it.
|
|
331
|
+
*/
|
|
332
|
+
var useAdoptKeptIosDevice = (device, kept) => {
|
|
333
|
+
const adopt = device?.ios === true && device.udid === null && kept != null && IOS_UDID_PATTERN.test(kept) ? kept : null;
|
|
334
|
+
(0, import_react.useEffect)(() => {
|
|
335
|
+
if (adopt === null) return;
|
|
336
|
+
keep(IOS_UDID_STORAGE_KEY, adopt);
|
|
337
|
+
window.dispatchEvent(new Event(ADOPTED_EVENT));
|
|
338
|
+
}, [adopt]);
|
|
339
|
+
};
|
|
254
340
|
var useIosDevice = () => {
|
|
255
341
|
const [device, setDevice] = (0, import_react.useState)(null);
|
|
256
342
|
const [passed] = (0, import_react.useState)(fragmentOf);
|
|
@@ -263,24 +349,20 @@ var useIosDevice = () => {
|
|
|
263
349
|
if (fragment.udid !== null && answered) {
|
|
264
350
|
answers += 1;
|
|
265
351
|
keep(IOS_UDID_STORAGE_KEY, fragment.udid);
|
|
266
|
-
if (fragment.receipt !== null)
|
|
267
|
-
udid
|
|
268
|
-
|
|
269
|
-
}
|
|
352
|
+
if (fragment.receipt !== null) {
|
|
353
|
+
holdPendingReceipt(fragment.udid, fragment.receipt);
|
|
354
|
+
keepIosDeviceReceipt(consolePathOfNativeBuildsPage(window.location), fragment.receipt).catch(() => void 0);
|
|
355
|
+
}
|
|
270
356
|
}
|
|
271
357
|
if (fragment.udid !== null && window.location.hash !== "") window.history.replaceState(window.history.state, "", `${window.location.pathname}${window.location.search}`);
|
|
272
358
|
};
|
|
273
359
|
absorb(passed);
|
|
360
|
+
try {
|
|
361
|
+
window.localStorage.removeItem(IOS_DEVICE_RECEIPT_STORAGE_KEY);
|
|
362
|
+
} catch {}
|
|
274
363
|
const read = () => {
|
|
275
364
|
const udid = valid(readKept("hot-updater-ios-udid")) ?? latest.udid;
|
|
276
|
-
|
|
277
|
-
try {
|
|
278
|
-
const kept = JSON.parse(readKept("hot-updater-ios-device-receipt") ?? "null");
|
|
279
|
-
receipt = kept?.udid === udid && typeof kept?.receipt === "string" ? kept.receipt : null;
|
|
280
|
-
} catch {
|
|
281
|
-
receipt = null;
|
|
282
|
-
}
|
|
283
|
-
if (receipt === null && latest.udid === udid) receipt = latest.receipt;
|
|
365
|
+
const receipt = (latest.udid === udid ? latest.receipt : null) ?? readPendingReceipt(udid);
|
|
284
366
|
const requested = latest.requested;
|
|
285
367
|
const taken = answers;
|
|
286
368
|
setDevice((current) => current !== null && current.udid === udid && current.receipt === receipt && current.requested === requested && current.answers === taken ? current : {
|
|
@@ -293,7 +375,7 @@ var useIosDevice = () => {
|
|
|
293
375
|
};
|
|
294
376
|
read();
|
|
295
377
|
const onStorage = (event) => {
|
|
296
|
-
if (event.key === null || event.key === "hot-updater-ios-udid"
|
|
378
|
+
if (event.key === null || event.key === "hot-updater-ios-udid") read();
|
|
297
379
|
};
|
|
298
380
|
const onReturn = () => {
|
|
299
381
|
const fragment = fragmentOf();
|
|
@@ -304,11 +386,13 @@ var useIosDevice = () => {
|
|
|
304
386
|
read();
|
|
305
387
|
};
|
|
306
388
|
window.addEventListener("storage", onStorage);
|
|
389
|
+
window.addEventListener(ADOPTED_EVENT, read);
|
|
307
390
|
window.addEventListener("hashchange", onReturn);
|
|
308
391
|
window.addEventListener("pageshow", onReturn);
|
|
309
392
|
document.addEventListener("visibilitychange", onReturn);
|
|
310
393
|
return () => {
|
|
311
394
|
window.removeEventListener("storage", onStorage);
|
|
395
|
+
window.removeEventListener(ADOPTED_EVENT, read);
|
|
312
396
|
window.removeEventListener("hashchange", onReturn);
|
|
313
397
|
window.removeEventListener("pageshow", onReturn);
|
|
314
398
|
document.removeEventListener("visibilitychange", onReturn);
|
|
@@ -459,7 +543,10 @@ function AppleRefusal({ device, canApprove, onDevicesPage = false }) {
|
|
|
459
543
|
* Request access, which takes the UDID from this person's receipt alone.
|
|
460
544
|
*/
|
|
461
545
|
function NotInThisBuild({ build, device, registry, newerBuild, canApprove, registryReadAt }) {
|
|
462
|
-
const
|
|
546
|
+
const consolePath = consolePathOf(window.location, build.id);
|
|
547
|
+
const request = useRequestThisIphoneMutation(consolePath);
|
|
548
|
+
const kept = useKeptIosDeviceQuery(consolePath, device.receipt, device.ios && device.udid !== null && registry === null);
|
|
549
|
+
const proved = device.receipt !== null || keptIsThisIphone(kept.data?.udid, device.udid);
|
|
463
550
|
const [name, setName] = (0, import_react.useState)("");
|
|
464
551
|
const [requested, setRequested] = (0, import_react.useState)(null);
|
|
465
552
|
const standIn = requested !== null && registryReadAt <= requested.readBefore;
|
|
@@ -498,7 +585,11 @@ function NotInThisBuild({ build, device, registry, newerBuild, canApprove, regis
|
|
|
498
585
|
]
|
|
499
586
|
});
|
|
500
587
|
}
|
|
501
|
-
if (device.
|
|
588
|
+
if (!proved && kept.isPending && device.udid !== null) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, {
|
|
589
|
+
"aria-label": "Reading this iPhone",
|
|
590
|
+
className: "h-11 w-full"
|
|
591
|
+
});
|
|
592
|
+
if (!proved) return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
502
593
|
className: "flex min-w-0 flex-col gap-3",
|
|
503
594
|
children: [
|
|
504
595
|
heading,
|
|
@@ -572,6 +663,7 @@ function NotInThisBuild({ build, device, registry, newerBuild, canApprove, regis
|
|
|
572
663
|
* asked: a device registered after this IPA was signed still isn't in it.
|
|
573
664
|
*/
|
|
574
665
|
function IosInstall({ build, device }) {
|
|
666
|
+
useAdoptKeptIosDevice(device, useKeptIosDeviceQuery(consolePathOf(window.location, build.id), device.receipt, device.ios && device.udid === null).data?.udid);
|
|
575
667
|
const { udid } = device;
|
|
576
668
|
const eligibility = useNativeBuildInstallEligibilityQuery(build.id, udid);
|
|
577
669
|
const { refetch } = eligibility;
|
|
@@ -656,4 +748,4 @@ function IosInstall({ build, device }) {
|
|
|
656
748
|
});
|
|
657
749
|
}
|
|
658
750
|
//#endregion
|
|
659
|
-
export {
|
|
751
|
+
export { useRequestThisIphoneMutation as _, isIosBrowser as a, useApproveIosDeviceMutation as c, useIosDeviceQuery as d, useIosDevicesQuery as f, useRenameIosDeviceMutation as g, useRemoveIosDeviceMutation as h, iosDeviceKeys as i, useIosDevice as l, useNativeBuildIpaDevicesQuery as m, IosInstall as n, keptIsThisIphone as o, useKeptIosDeviceQuery as p, forgetKeptIosDevice as r, useAdoptKeptIosDevice as s, AppleRefusal as t, useIosDeviceProfileLinkQuery as u };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
-
import { k as cn } from "./sidebar-
|
|
2
|
+
import { k as cn } from "./sidebar-S1E-7aSS.mjs";
|
|
3
3
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
4
|
-
import { a as tabsListVariants } from "./tabs-
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/NativeBuildsNav-
|
|
4
|
+
import { a as tabsListVariants } from "./tabs-D3tzMdsj.mjs";
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/NativeBuildsNav-DoB6DGO2.js
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
|
-
var TAB_CLASS = "relative inline-flex h-full items-center justify-center rounded-md border border-transparent px-3 text-xs font-medium whitespace-nowrap text-foreground/60 transition-colors hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-none aria-[current=page]:bg-background aria-[current=page]:text-foreground aria-[current=page]:shadow-sm dark:text-muted-foreground dark:hover:text-foreground dark:aria-[current=page]:border-input dark:aria-[current=page]:bg-input/30 dark:aria-[current=page]:text-foreground";
|
|
7
|
+
var TAB_CLASS = "relative inline-flex h-full min-h-11 items-center justify-center rounded-md border border-transparent px-3 text-xs font-medium whitespace-nowrap text-foreground/60 transition-colors hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-none aria-[current=page]:bg-background aria-[current=page]:text-foreground aria-[current=page]:shadow-sm dark:text-muted-foreground dark:hover:text-foreground dark:aria-[current=page]:border-input dark:aria-[current=page]:bg-input/30 dark:aria-[current=page]:text-foreground";
|
|
8
8
|
/**
|
|
9
9
|
* The two views of Native builds: the builds, and the iOS devices ad hoc
|
|
10
10
|
* builds install on. Links, so each view has its own URL and Back works.
|
|
@@ -12,7 +12,7 @@ var TAB_CLASS = "relative inline-flex h-full items-center justify-center rounded
|
|
|
12
12
|
function NativeBuildsNav({ current }) {
|
|
13
13
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("nav", {
|
|
14
14
|
"aria-label": "Native builds views",
|
|
15
|
-
className: cn(tabsListVariants(), "h-11 sm:h-8 [&>a]:min-h-
|
|
15
|
+
className: cn(tabsListVariants(), "h-auto min-h-11 sm:h-8 sm:min-h-0 [&>a]:min-h-11 sm:[&>a]:min-h-0"),
|
|
16
16
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
|
|
17
17
|
activeOptions: {
|
|
18
18
|
exact: true,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
-
import { O as buttonVariants } from "./sidebar-
|
|
2
|
+
import { O as buttonVariants } from "./sidebar-S1E-7aSS.mjs";
|
|
3
3
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/NotFoundPage-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/NotFoundPage-Bu3yot-M.js
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
var homeSearch = {
|
|
7
7
|
afterReleaseId: void 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/PlatformIcon-
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/PlatformIcon-X18AN8Yp.js
|
|
3
3
|
var import_jsx_runtime = require_jsx_runtime();
|
|
4
4
|
function AppleIcon({ className }) {
|
|
5
5
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { i as __toESM } from "../_runtime.mjs";
|
|
2
|
+
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
+
import { k as cn } from "./sidebar-S1E-7aSS.mjs";
|
|
4
|
+
import { t as encode } from "../_libs/uqr.mjs";
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/QrCode-DkmvYkKS.js
|
|
6
|
+
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
7
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
8
|
+
/**
|
|
9
|
+
* A QR code of `value` as one SVG path of unit squares, with the standard
|
|
10
|
+
* four-module quiet zone: `size` is the side of its viewBox.
|
|
11
|
+
*/
|
|
12
|
+
var qrCodePath = (value) => {
|
|
13
|
+
const { data, size } = encode(value, {
|
|
14
|
+
ecc: "M",
|
|
15
|
+
border: 4
|
|
16
|
+
});
|
|
17
|
+
let path = "";
|
|
18
|
+
data.forEach((row, y) => row.forEach((dark, x) => {
|
|
19
|
+
if (dark) path += `M${x} ${y}h1v1h-1z`;
|
|
20
|
+
}));
|
|
21
|
+
return {
|
|
22
|
+
size,
|
|
23
|
+
path
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* A QR code of `value`, drawn as one SVG path with the standard four-module
|
|
28
|
+
* quiet zone. Phone cameras read dark modules on a light ground, so the code
|
|
29
|
+
* keeps its own two colors in both themes instead of the theme's tokens.
|
|
30
|
+
*/
|
|
31
|
+
function QrCode({ value, label, className }) {
|
|
32
|
+
const { size, path } = (0, import_react.useMemo)(() => qrCodePath(value), [value]);
|
|
33
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
|
|
34
|
+
"aria-label": label,
|
|
35
|
+
className: cn("aspect-square rounded-md", className),
|
|
36
|
+
role: "img",
|
|
37
|
+
shapeRendering: "crispEdges",
|
|
38
|
+
viewBox: `0 0 ${size} ${size}`,
|
|
39
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", {
|
|
40
|
+
fill: "#fff",
|
|
41
|
+
height: size,
|
|
42
|
+
width: size
|
|
43
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
44
|
+
d: path,
|
|
45
|
+
fill: "#000"
|
|
46
|
+
})]
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
//#endregion
|
|
50
|
+
export { QrCode as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { J as ChevronLeft, q as ChevronRight } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { C as Skeleton, O as buttonVariants, k as cn, t as Button$1 } from "./sidebar-
|
|
4
|
+
import { C as Skeleton, O as buttonVariants, k as cn, t as Button$1 } from "./sidebar-S1E-7aSS.mjs";
|
|
5
|
+
import { a as TableHeader, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BN3AmMyY.mjs";
|
|
5
6
|
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-SLiL-w8T.mjs";
|
|
7
7
|
import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/RelativeTime-
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/RelativeTime-Dg47Cmmt.js
|
|
9
9
|
var import_jsx_runtime = require_jsx_runtime();
|
|
10
10
|
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
11
11
|
var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { i as TriangleAlert } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { k as cn } from "./sidebar-
|
|
5
|
-
import { a as Badge } from "./badge-
|
|
4
|
+
import { k as cn } from "./sidebar-S1E-7aSS.mjs";
|
|
5
|
+
import { a as Badge } from "./badge-MGJQ5WNb.mjs";
|
|
6
6
|
import { r as extractTimestampFromUUIDv7 } from "./uuidv7-C0jNe2Om.mjs";
|
|
7
7
|
import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/RolloutPercentageBadge
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/RolloutPercentageBadge-CcEZuUxL.js
|
|
9
9
|
var import_jsx_runtime = require_jsx_runtime();
|
|
10
10
|
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
11
11
|
var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { q as ChevronRight } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { C as Skeleton, D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-
|
|
5
|
-
import { o as TableRow, r as TableCell } from "./table-
|
|
6
|
-
import { a as DataTableBody } from "./RelativeTime-
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/RowReason-
|
|
4
|
+
import { C as Skeleton, D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-S1E-7aSS.mjs";
|
|
5
|
+
import { o as TableRow, r as TableCell } from "./table-BN3AmMyY.mjs";
|
|
6
|
+
import { a as DataTableBody } from "./RelativeTime-Dg47Cmmt.mjs";
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/RowReason-CbKEYA9N.js
|
|
8
8
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
9
9
|
var import_jsx_runtime = require_jsx_runtime();
|
|
10
10
|
/** A fold's key on its page: the row above it, which no other fold shares. */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { p as Send } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { a as Badge } from "./badge-
|
|
4
|
+
import { a as Badge } from "./badge-MGJQ5WNb.mjs";
|
|
5
5
|
import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
|
|
6
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/SandboxBadge-
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/SandboxBadge-CuTOlGaF.js
|
|
7
7
|
var import_jsx_runtime = require_jsx_runtime();
|
|
8
8
|
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
9
9
|
var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
2
|
import { F as FingerprintPattern, V as Copy, k as KeyRound, x as Package } from "../_libs/lucide-react.mjs";
|
|
3
|
-
import { t as Button$1 } from "./sidebar-
|
|
3
|
+
import { t as Button$1 } from "./sidebar-S1E-7aSS.mjs";
|
|
4
4
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
5
|
-
import { t as HashValueDisplay } from "./HashValueDisplay-
|
|
6
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/TargetDisplay-
|
|
5
|
+
import { t as HashValueDisplay } from "./HashValueDisplay-B7FFJcIK.mjs";
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/TargetDisplay-DkRZwhNW.js
|
|
7
7
|
var import_jsx_runtime = require_jsx_runtime();
|
|
8
8
|
/** A command or link on one line, with a button that copies it. */
|
|
9
9
|
function CopyableText({ label, value, wrap = false }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime, at as DialogTitle, ct as DialogPopup, dt as DialogBackdrop, lt as DialogDescription, nt as AlertDialogTrigger$1, rt as AlertDialogRoot, st as DialogPortal, ut as DialogClose } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
-
import { k as cn, t as Button$1 } from "./sidebar-
|
|
3
|
+
import { k as cn, t as Button$1 } from "./sidebar-S1E-7aSS.mjs";
|
|
4
4
|
require_react();
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
function AlertDialog$1({ ...props }) {
|
|
@@ -32,7 +32,7 @@ function AlertDialogContent({ className, size = "default", ...props }) {
|
|
|
32
32
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(AlertDialogPortal, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertDialogOverlay, {}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogPopup, {
|
|
33
33
|
"data-slot": "alert-dialog-content",
|
|
34
34
|
"data-size": size,
|
|
35
|
-
className: cn("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-3 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-64 data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
|
|
35
|
+
className: cn("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-3 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none max-h-[calc(100dvh-2rem)] overflow-y-auto data-[size=default]:max-w-xs data-[size=sm]:max-w-64 data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
|
|
36
36
|
...props
|
|
37
37
|
})] });
|
|
38
38
|
}
|
|
@@ -46,7 +46,7 @@ function AlertDialogHeader({ className, ...props }) {
|
|
|
46
46
|
function AlertDialogFooter({ className, ...props }) {
|
|
47
47
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
48
48
|
"data-slot": "alert-dialog-footer",
|
|
49
|
-
className: cn("flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end", className),
|
|
49
|
+
className: cn("flex flex-col-reverse gap-2 max-sm:*:min-h-11 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end", className),
|
|
50
50
|
...props
|
|
51
51
|
});
|
|
52
52
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { t as consoleAccess } from "./console-access-Cj95NxRZ.mjs";
|
|
3
|
+
import { A as createSsrRpc } from "./sidebar-S1E-7aSS.mjs";
|
|
4
4
|
import { i as useQuery, n as useMutation, s as useQueryClient, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
|
|
5
5
|
import { n as assertCanonicalChannelName } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
|
|
6
|
-
import { l as channelIdOf } from "./native-builds-
|
|
6
|
+
import { l as channelIdOf } from "./native-builds-nRuXKypG.mjs";
|
|
7
7
|
import { n as readReleaseFilter } from "./listReleases-QF91GLE7.mjs";
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-BIDpAoY0.js
|
|
9
9
|
/** The bounds of a fold, checked: IDs as text. */
|
|
10
10
|
var readFoldInput = (input) => {
|
|
11
11
|
const text = (value) => typeof value === "string" && value !== "";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
3
|
+
import { t as consoleAccess } from "./console-access-Cj95NxRZ.mjs";
|
|
3
4
|
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
5
|
import { D as LoaderCircle, H as Clipboard, X as Check, _ as RefreshCw, f as ShieldOff, i as TriangleAlert, k as KeyRound, v as Plus } from "../_libs/lucide-react.mjs";
|
|
5
|
-
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-
|
|
6
|
-
import { t as
|
|
6
|
+
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-S1E-7aSS.mjs";
|
|
7
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-st1F0w5g.mjs";
|
|
8
|
+
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-MGJQ5WNb.mjs";
|
|
9
|
+
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-BrPlhj0S.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-Ckdomw6e.mjs";
|
|
11
|
+
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-jxN7lCij.mjs";
|
|
12
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BN3AmMyY.mjs";
|
|
7
13
|
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-BEfQk5Ei.mjs";
|
|
9
|
-
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-jnl4Ajh1.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-DihcZr0y.mjs";
|
|
11
|
-
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-DuyJ0HsU.mjs";
|
|
12
|
-
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-CX6srGIn.mjs";
|
|
13
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-SLiL-w8T.mjs";
|
|
14
14
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
15
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-
|
|
15
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-BStTPcTe.js
|
|
16
16
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
17
17
|
var import_jsx_runtime = require_jsx_runtime();
|
|
18
18
|
var parseName = (input) => {
|
|
@@ -89,6 +89,7 @@ function CreateApiKeyDialog() {
|
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
91
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
|
|
92
|
+
className: "max-md:h-11",
|
|
92
93
|
onClick: () => setOpen(true),
|
|
93
94
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Plus, { "data-icon": "inline-start" }), "Create API key"]
|
|
94
95
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Dialog$1, {
|
|
@@ -170,6 +171,7 @@ function RevokeApiKeyDialog({ record }) {
|
|
|
170
171
|
},
|
|
171
172
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(AlertDialogTrigger, {
|
|
172
173
|
render: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
|
|
174
|
+
className: "max-md:h-11",
|
|
173
175
|
size: "sm",
|
|
174
176
|
variant: "ghost"
|
|
175
177
|
}),
|
|
@@ -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-CfcFJ4k4.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-MdcfK9Zw.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-Cj95NxRZ.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-FwkHHfJL.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-A4yZxfTn.mjs"), import("./runtime.server-BUbb281Z.mjs")]);
|
|
18
18
|
const { runtime } = await prepareConfig();
|
|
19
19
|
return requireFeature(runtime, "apiKeys");
|
|
20
20
|
};
|