@hot-updater/console 1.2.0-rc.12 → 1.2.0-rc.13
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-DC2PutLU.js} +1 -1
- package/.output/public/assets/{ConsoleFeatureUnavailable-CUtcXuY2.js → ConsoleFeatureUnavailable-oMmbaqF6.js} +1 -1
- package/.output/public/assets/{EventDetails-Dl2RvPAk.js → EventDetails-ly7ygfdH.js} +1 -1
- package/.output/public/assets/{HashValueDisplay-6lNRxDJX.js → HashValueDisplay-BNoXZADg.js} +1 -1
- package/.output/public/assets/{InsightsPageHeader-DHhqY3DT.js → InsightsPageHeader-q2FgL8xS.js} +1 -1
- package/.output/public/assets/RolloutPercentageBadge-frllRncE.js +1 -0
- package/.output/public/assets/{StoreSubmission-ViTkW4eJ.js → StoreSubmission-D8BGGGgn.js} +1 -1
- package/.output/public/assets/api-BEEYDSCX.js +1 -0
- package/.output/public/assets/{api-keys-FueRkF9q.js → api-keys-B0N3SixL.js} +1 -1
- package/.output/public/assets/api-keys-DFAOfU4U.js +1 -0
- package/.output/public/assets/{index-DH9-mB8D.js → index-t0CToN0S.js} +3 -3
- package/.output/public/assets/insights-B0_8xNxr.js +1 -0
- package/.output/public/assets/{insights-B-0odqpt.js → insights-BbIzm_QG.js} +2 -2
- package/.output/public/assets/insights-BtmYg4vg.js +2 -0
- package/.output/public/assets/{insights-search-DghCbEnk.js → insights-search-B5cZsP6C.js} +1 -1
- package/.output/public/assets/{insights-usage-rpc-CKQH0pUS.js → insights-usage-rpc-zut_JaSS.js} +1 -1
- package/.output/public/assets/insights_.distribution-DLxq-IKU.js +1 -0
- package/.output/public/assets/insights_.distribution-izFBYfJL.js +2 -0
- package/.output/public/assets/{insights_.distribution-dvk6vYDM.js → insights_.distribution-rdeyNhH2.js} +1 -1
- package/.output/public/assets/{installations-B674P5Z5.js → installations-BRS-vuRJ.js} +2 -2
- package/.output/public/assets/installations-CWx7vYY5.js +1 -0
- package/.output/public/assets/{installations-BWxczZ2t.js → installations-Ce_dTa35.js} +1 -1
- package/.output/public/assets/native-builds-Br0onFRc.js +2 -0
- package/.output/public/assets/native-builds-CDYL3y0I.js +1 -0
- package/.output/public/assets/native-builds-DEWHul-_.js +1 -0
- package/.output/public/assets/native-builds_._buildId-D1XEPQ-V.js +1 -0
- package/.output/public/assets/native-builds_._buildId-x-uu1Vbr.js +2 -0
- package/.output/public/assets/{remote-config-B7ujqhLa.js → remote-config-Bw6sErCV.js} +3 -3
- package/.output/public/assets/{remote-config-WjpozBG5.js → remote-config-DQguWTMa.js} +1 -1
- package/.output/public/assets/remote-config-S3xj8r3x.js +1 -0
- package/.output/public/assets/{routes-CCD33Azv.js → routes-Dw8zgqXz.js} +2 -2
- package/.output/public/assets/routes-nKCEKnhh.js +1 -0
- package/.output/server/{__23tanstack-start-server-fn-resolver-C19x6erS.mjs → __23tanstack-start-server-fn-resolver-DI0OnlQe.mjs} +58 -46
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
- package/.output/server/_libs/_.mjs +2 -0
- package/.output/server/_ssr/{-native-builds-search-CwNcoXf4.mjs → -native-builds-search-Cl8EZ0Ud.mjs} +2 -2
- package/.output/server/_ssr/{BundleIdDisplay-Bf-L37zf.mjs → BundleIdDisplay-SAvC-NlE.mjs} +2 -2
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-iNGya64h.mjs → ConsoleFeatureUnavailable-BgHEoZ36.mjs} +6 -6
- package/.output/server/_ssr/{EventDetails-CZofL6Hn.mjs → EventDetails-VaS25yjE.mjs} +7 -7
- package/.output/server/_ssr/{HashValueDisplay-DC1TLS-8.mjs → HashValueDisplay-BGc-x_l8.mjs} +2 -2
- package/.output/server/_ssr/{InsightsPageHeader-sVotAhl0.mjs → InsightsPageHeader-gMuNJt-f.mjs} +7 -7
- package/.output/server/_ssr/{NotFoundPage-COb0erGp.mjs → NotFoundPage-DsRI-J4h.mjs} +2 -2
- package/.output/server/_ssr/{PlatformIcon-CFLiTjh1.mjs → PlatformIcon-BsU0d0jN.mjs} +1 -1
- package/.output/server/_ssr/{RolloutPercentageBadge-BFBh0QWv.mjs → RolloutPercentageBadge-axz7VuIZ.mjs} +3 -3
- package/.output/server/_ssr/{StoreSubmission-Bvfq8pWk.mjs → StoreSubmission-BqXKtpqW.mjs} +5 -5
- package/.output/server/_ssr/{alert-dialog-C-Mck8_M.mjs → alert-dialog-lury59vV.mjs} +1 -1
- package/.output/server/_ssr/{api-oJajV-DG.mjs → api-BQ8ztUgU.mjs} +99 -22
- package/.output/server/_ssr/{api-keys-CcqDkOcC.mjs → api-keys-CHATVpa9.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-B0L1sj-W.mjs → api-keys-DVChzF3r.mjs} +8 -8
- package/.output/server/_ssr/{api-keys-rpc-Do6Rbl0V.mjs → api-keys-rpc-DXPJTfdr.mjs} +4 -4
- package/.output/server/_ssr/{api-rpc-DE0zy7iY.mjs → api-rpc-BexxmTM9.mjs} +43 -18
- package/.output/server/_ssr/{auth-rpc-0I_10FKy.mjs → auth-rpc-BgNCvy2L.mjs} +5 -5
- package/.output/server/_ssr/{auth.server-cdIC1rxo.mjs → auth.server-43UW34Rd.mjs} +165 -149
- package/.output/server/_ssr/{badge-BZZCX8Wn.mjs → badge-BYB825vl.mjs} +1 -1
- package/.output/server/_ssr/{bundleActivity-MLrjNJCT.mjs → bundleActivity-BGVvqWx7.mjs} +1 -1
- package/.output/server/_ssr/{config.server-CydWUX0c.mjs → config.server-QRTmD4Hf.mjs} +4 -4
- package/.output/server/_ssr/{console-access-y52SJdFn.mjs → console-access-E91fYTIB.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-BDrXaElT.mjs → console-features-api-CLRjxvy2.mjs} +5 -5
- package/.output/server/_ssr/{console-features-rpc-C9kKIDeK.mjs → console-features-rpc-C2rJ0u6i.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-DKsDLcYQ.mjs → dialog-CcF1pxfR.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-D-mnqnCP.mjs → empty-DkiJ7nWt.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-Bbw5SS9L.mjs → field-CHlDI06h.mjs} +2 -2
- package/.output/server/_ssr/{getBundleChildren-rtkEEJw5.mjs → getBundleChildren-BJTufthT.mjs} +2 -2
- package/.output/server/_ssr/{git-CTA8Aqr0.mjs → git-WSg7LY17.mjs} +2 -2
- package/.output/server/_ssr/{input-group-DXofNRNJ.mjs → input-group-BPZ4UtB5.mjs} +1 -1
- package/.output/server/_ssr/{insights-Dm2UdEf_.mjs → insights-B3YetvBK.mjs} +5 -5
- package/.output/server/_ssr/{insights-C7rhyg61.mjs → insights-CEABWFk4.mjs} +26 -26
- package/.output/server/_ssr/{insights-D6kIjZuE.mjs → insights-Dn32lJ18.mjs} +2 -2
- package/.output/server/_ssr/{insights-api-DNmt4PWL.mjs → insights-api-CYPf5853.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-DkrdYXJk.mjs → insights-failures-rpc-CxPpBR1K.mjs} +11 -11
- package/.output/server/_ssr/{insights-recovery-BtXVU3ro.mjs → insights-recovery-DOkpqnQ8.mjs} +1 -1
- package/.output/server/_ssr/{insights-recovery-rpc-DWLnLF_s.mjs → insights-recovery-rpc-CwnQMTE3.mjs} +7 -7
- package/.output/server/_ssr/{insights-rpc-CdYYZ7lE.mjs → insights-rpc-CKd5ATFI.mjs} +4 -4
- package/.output/server/_ssr/{insights-search-HVXIz64-.mjs → insights-search-B_92_iEj.mjs} +4 -4
- package/.output/server/_ssr/{insights-usage-DiGnuxW8.mjs → insights-usage-4KDIN3Kg.mjs} +1 -1
- package/.output/server/_ssr/{insights-usage-rpc-CLHS5JhI.mjs → insights-usage-rpc-D90uHpJJ.mjs} +7 -7
- package/.output/server/_ssr/{insights-usage-rpc-BCMRZErp.mjs → insights-usage-rpc-RIMNhPtj.mjs} +4 -4
- package/.output/server/_ssr/{insightsUsage-ClAmoUz8.mjs → insightsUsage-DmQdJZqT.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-zbVsH0TU.mjs → insights_.distribution-D42mHSe0.mjs} +14 -14
- package/.output/server/_ssr/{insights_.distribution-3NzANTBS.mjs → insights_.distribution-D4QWsHNo.mjs} +5 -5
- package/.output/server/_ssr/{insights_.distribution-BTbT0Z4H.mjs → insights_.distribution-DwjIdjQi.mjs} +2 -2
- package/.output/server/_ssr/{installations-BsCupWHx.mjs → installations-BIu66J6Q.mjs} +2 -2
- package/.output/server/_ssr/{installations-3XOT2V1j.mjs → installations-CfmO_V_R.mjs} +4 -4
- package/.output/server/_ssr/{installations-CpjqEYh_.mjs → installations-DyzKzWuv.mjs} +11 -11
- 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-CehTsEwY.mjs → native-builds-BCp8ICrn.mjs} +3 -3
- package/.output/server/_ssr/{native-builds-vYKOMlhp.mjs → native-builds-CqFeXByK.mjs} +17 -13
- package/.output/server/_ssr/{native-builds-DhXL5zf_.mjs → native-builds-qj346atQ.mjs} +49 -12
- package/.output/server/_ssr/{native-builds_._buildId-BHxp9NcZ.mjs → native-builds_._buildId-BAxkkEFo.mjs} +600 -168
- package/.output/server/_ssr/{native-builds_._buildId-euhJ0EI7.mjs → native-builds_._buildId-C8gsW-Rh.mjs} +3 -3
- package/.output/server/_ssr/nativeBuildDevice-nU480p5A.mjs +230 -0
- package/.output/server/_ssr/nativeBuildDownloadLink-c3tcq3G5.mjs +96 -0
- package/.output/server/_ssr/nativeBuildInstall-B-_lHDsS.mjs +203 -0
- package/.output/server/_ssr/nativeBuildQr-C5AFtpmE.mjs +115 -0
- package/.output/server/_ssr/{nativeBuilds-B_7BPjt_.mjs → nativeBuilds-CbxOJDhO.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-BF8svHjV.mjs → release-adoption-rpc-BBwJO2hu.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-Bn-BZgDt.mjs → remote-config-B1g7vrQD.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-ofOYh91b.mjs → remote-config-BDijmvj1.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-DdukdePk.mjs → remote-config-DjeXVIcr.mjs} +18 -18
- package/.output/server/_ssr/{remote-config-rpc-CzSU_Gwg.mjs → remote-config-rpc-B7bzKw4N.mjs} +5 -5
- package/.output/server/_ssr/request-guard-BPLyogIN.mjs +11 -0
- package/.output/server/_ssr/{router-BQikCEhb.mjs → router-DhxgFNWn.mjs} +101 -50
- package/.output/server/_ssr/{routes-Brx45XtQ.mjs → routes-BC-rBuu_.mjs} +25 -25
- package/.output/server/_ssr/{routes-CTo-A_dj.mjs → routes-BDriEBtF.mjs} +12 -12
- 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-BcwNAFZJ.mjs → schema-migration-rpc-CNMqY0RE.mjs} +4 -4
- package/.output/server/_ssr/{select-Dk_Yv0IG.mjs → select-hFD2e3Bh.mjs} +1 -1
- package/.output/server/_ssr/{server-b1jUGuT2.mjs → server-D_hG9iIq.mjs} +6 -6
- package/.output/server/_ssr/{sidebar-CsRdKfb2.mjs → sidebar-Dmq4j1qr.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{start-BvDsQehg.mjs → start-RjhaPVFE.mjs} +2 -2
- package/.output/server/_ssr/{switch-DpYvZqIf.mjs → switch-CkNsEp9k.mjs} +2 -2
- package/.output/server/_ssr/{table-BAP-tdNn.mjs → table-CTtXogFJ.mjs} +1 -1
- package/.output/server/_ssr/{tabs-DGN9JEGV.mjs → tabs-BTKDM4AJ.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-BuGAtKIu.mjs +189 -0
- package/.output/server/index.mjs +275 -275
- package/package.json +7 -7
- package/src/components/features/native-builds/BuiltInBundleCard.tsx +82 -33
- 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/NativeBuildsTable.tsx +3 -0
- 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/StoreSubmission.tsx +1 -1
- package/src/lib/api-rpc.ts +55 -6
- package/src/lib/api.ts +85 -12
- package/src/lib/native-builds.ts +73 -11
- 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/.output/public/assets/RolloutPercentageBadge-Cxogpi8F.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/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/installations-Dv4kWQYz.js +0 -1
- package/.output/public/assets/native-builds-BGgFQTDW.js +0 -2
- package/.output/public/assets/native-builds-BOC71grI.js +0 -1
- package/.output/public/assets/native-builds-CxomzFqe.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-gXeH6PBW.js +0 -1
- package/.output/public/assets/routes-BDdBIxYS.js +0 -1
- package/.output/server/_ssr/nativeBuildQr-84cnFQPX.mjs +0 -59
- package/.output/server/_tanstack-start-manifest_v-uhJWytDm.mjs +0 -184
- /package/.output/public/assets/{NotFoundPage-DZ3DxyRA.js → NotFoundPage-fiaucvsO.js} +0 -0
- /package/.output/public/assets/{PlatformIcon-BBWQlWm9.js → PlatformIcon-DCTtCP5t.js} +0 -0
- /package/.output/public/assets/{alert-dialog-BqYScr9y.js → alert-dialog-Z_RNBrFc.js} +0 -0
- /package/.output/public/assets/{badge-DWFcDWho.js → badge-UNnTz4Dl.js} +0 -0
- /package/.output/public/assets/{dialog-CNUPxNxH.js → dialog-C2U9bINi.js} +0 -0
- /package/.output/public/assets/{dist-CPlO6ko9.js → dist-UQUhRoJi.js} +0 -0
- /package/.output/public/assets/{empty-B3Uwdd6k.js → empty-PAp07lsC.js} +0 -0
- /package/.output/public/assets/{field-D-2-mnNh.js → field-DhKRWFG5.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-BJfBVqeI.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-C6svDMfM.js} +0 -0
- /package/.output/public/assets/{relativeTime-YQt84dYr.js → relativeTime-BscR0TsX.js} +0 -0
- /package/.output/public/assets/{rotate-cw-Cv2aVbYr.js → rotate-cw-CxFW64IG.js} +0 -0
- /package/.output/public/assets/{search-BCel4Oy6.js → search-bIYGuFCt.js} +0 -0
- /package/.output/public/assets/{smartphone-CMaSy_ir.js → smartphone-Bn5FtEwt.js} +0 -0
- /package/.output/public/assets/{switch-BpdiHL_t.js → switch-DtUu1RCw.js} +0 -0
- /package/.output/public/assets/{table-Bpy3SvSo.js → table-B22H8-RL.js} +0 -0
- /package/.output/public/assets/{tabs-Xmt7tZeG.js → tabs-Fgz3sA51.js} +0 -0
- /package/.output/public/assets/{undo-2-CUX96_BG.js → undo-2-7gOxArtb.js} +0 -0
- /package/.output/public/assets/{uuidv7-zXMtwR9Q.js → uuidv7-BLyD3pAM.js} +0 -0
- /package/.output/public/assets/{valueToPercent-BLwGy_xK.js → valueToPercent-DRLgSP0P.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as projectCompiledCatalog } from "./releaseCatalogCompiler-
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/nativeBuilds-
|
|
1
|
+
import { c as nativeBuildCatalogScopeKey, l as nativeBuildChannel, v as nativeBuildScope } from "./native-builds-qj346atQ.mjs";
|
|
2
|
+
import { n as projectCompiledCatalog } from "./releaseCatalogCompiler-D9dAMI17.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/nativeBuilds-CbxOJDhO.js
|
|
4
4
|
/**
|
|
5
5
|
* One page newest first, from one keyset read: newest first for the next
|
|
6
6
|
* page, oldest first (then reversed) for the previous one. `next` is set
|
|
@@ -49,17 +49,20 @@ function listNativeBuildPatches(core, minBundleId, page) {
|
|
|
49
49
|
})), ({ bundleId }) => bundleId, page);
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
|
-
* Everything a native build's page shows, in
|
|
53
|
-
*
|
|
54
|
-
* scope's catalog, and one page of patches
|
|
52
|
+
* Everything a native build's page shows, in six reads at most: the build,
|
|
53
|
+
* then its built-in bundle, its scope's newest build and its mark, which a
|
|
54
|
+
* marked build's own row answers, its scope's catalog, and one page of patches
|
|
55
|
+
* from it. Null for an unknown ID.
|
|
55
56
|
*/
|
|
56
57
|
async function getNativeBuildDetail(core, id) {
|
|
57
58
|
const build = await core.getNativeBuild(id);
|
|
58
59
|
if (build === null) return null;
|
|
59
60
|
const catalogScopeKey = nativeBuildCatalogScopeKey(build);
|
|
60
|
-
const
|
|
61
|
+
const scope = nativeBuildScope(build);
|
|
62
|
+
const [builtIn, newestInScope, storeBuildInScope, catalog, patches] = await Promise.all([
|
|
61
63
|
core.getBundle(build.min_bundle_id),
|
|
62
|
-
core.findNativeBuild(
|
|
64
|
+
core.findNativeBuild(scope),
|
|
65
|
+
build.store_build === true ? build : core.findNativeBuild(scope, { storeBuild: true }),
|
|
63
66
|
core.getReleaseCatalogRow(catalogScopeKey),
|
|
64
67
|
listNativeBuildPatches(core, build.min_bundle_id, { limit: 20 })
|
|
65
68
|
]);
|
|
@@ -70,6 +73,7 @@ async function getNativeBuildDetail(core, id) {
|
|
|
70
73
|
catalogScopeKey,
|
|
71
74
|
builtInBundle: builtIn === null ? null : { childCount: builtIn.childCount },
|
|
72
75
|
newestInScope,
|
|
76
|
+
storeBuildInScope,
|
|
73
77
|
servedNow,
|
|
74
78
|
patches
|
|
75
79
|
};
|
|
@@ -80,54 +84,82 @@ var storageFor = (storage, storageUri) => storage.protocol === protocolOf(storag
|
|
|
80
84
|
/** A public URL no storage owns, which is its own download URL. */
|
|
81
85
|
var isPublicUrl = (storageUri) => ["http", "https"].includes(protocolOf(storageUri));
|
|
82
86
|
/**
|
|
87
|
+
* The URL a build's artifact downloads from without the console's sign-in: the
|
|
88
|
+
* storage's download URL, which may expire. Null when the storage gives none.
|
|
89
|
+
*/
|
|
90
|
+
async function nativeBuildArtifactUrl(build, storage) {
|
|
91
|
+
const storageUri = build.artifact_storage_uri;
|
|
92
|
+
const adapter = storageFor(storage, storageUri);
|
|
93
|
+
if (adapter?.getDownloadUrl !== void 0) return (await adapter.getDownloadUrl({ storageUri })).url;
|
|
94
|
+
return adapter === void 0 && isPublicUrl(storageUri) ? storageUri : null;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
83
97
|
* The URL a phone downloads a native build's artifact from, without the
|
|
84
98
|
* console's sign-in: the storage's download URL, which may expire. Null
|
|
85
99
|
* when the storage gives none, or the build is gone.
|
|
86
100
|
*/
|
|
87
101
|
async function resolveNativeBuildDownloadUrl(id, { core, storage }) {
|
|
88
102
|
const build = await core.getNativeBuild(id);
|
|
89
|
-
|
|
90
|
-
const storageUri = build.artifact_storage_uri;
|
|
91
|
-
const adapter = storageFor(storage, storageUri);
|
|
92
|
-
if (adapter?.getDownloadUrl !== void 0) return (await adapter.getDownloadUrl({ storageUri })).url;
|
|
93
|
-
return adapter === void 0 && isPublicUrl(storageUri) ? storageUri : null;
|
|
103
|
+
return build === null ? null : nativeBuildArtifactUrl(build, storage);
|
|
94
104
|
}
|
|
95
105
|
/**
|
|
106
|
+
* What Android's browser offers to install. An upload stores it, so a redirect
|
|
107
|
+
* to the storage serves it too; a streamed download sets it, for a storage
|
|
108
|
+
* whose `get` keeps no type.
|
|
109
|
+
*/
|
|
110
|
+
var APK_CONTENT_TYPE = "application/vnd.android.package-archive";
|
|
111
|
+
var noStoreRedirect = (url) => new Response(null, {
|
|
112
|
+
headers: {
|
|
113
|
+
"cache-control": "private, no-store",
|
|
114
|
+
location: url
|
|
115
|
+
},
|
|
116
|
+
status: 302
|
|
117
|
+
});
|
|
118
|
+
/**
|
|
119
|
+
* The URL a browser or script can fetch the object from by itself, or null
|
|
120
|
+
* when the storage gives none, or gives one only it can read. When the
|
|
121
|
+
* storage can't serve the object any other way, its failure stands.
|
|
122
|
+
*/
|
|
123
|
+
var publicDownloadUrl = async (adapter, storageUri) => {
|
|
124
|
+
if (adapter.getDownloadUrl === void 0) return null;
|
|
125
|
+
try {
|
|
126
|
+
const { url } = await adapter.getDownloadUrl({ storageUri });
|
|
127
|
+
return /^https?:\/\//iu.test(url) ? url : null;
|
|
128
|
+
} catch (error) {
|
|
129
|
+
if (adapter.get === void 0) throw error;
|
|
130
|
+
console.warn(`Streaming a native build through the console: ${adapter.name} gave no download URL.`, error);
|
|
131
|
+
return null;
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
96
135
|
* Downloads a native build's artifact: a redirect to the storage's download
|
|
97
|
-
* URL, or the
|
|
98
|
-
*
|
|
99
|
-
* never expires.
|
|
136
|
+
* URL, or, when the storage gives no URL a browser can fetch, the object
|
|
137
|
+
* streamed through the console, whose host then serves every byte. The
|
|
138
|
+
* redirect is resolved on each request, so the console's link never expires.
|
|
100
139
|
*/
|
|
101
140
|
async function downloadNativeBuild(id, { core, storage }) {
|
|
102
141
|
const build = await core.getNativeBuild(id);
|
|
103
142
|
if (build === null) return new Response("Build not found", { status: 404 });
|
|
104
143
|
const storageUri = build.artifact_storage_uri;
|
|
105
144
|
const adapter = storageFor(storage, storageUri);
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
return new Response(null, {
|
|
109
|
-
headers: {
|
|
110
|
-
"cache-control": "private, no-store",
|
|
111
|
-
location: url
|
|
112
|
-
},
|
|
113
|
-
status: 302
|
|
114
|
-
});
|
|
115
|
-
}
|
|
145
|
+
const url = adapter && await publicDownloadUrl(adapter, storageUri);
|
|
146
|
+
if (url) return noStoreRedirect(url);
|
|
116
147
|
if (adapter?.get !== void 0) {
|
|
117
148
|
const { response } = await adapter.get({ storageUri });
|
|
118
149
|
if (!response) return new Response("Storage object not found", { status: 404 });
|
|
119
150
|
const fileName = decodeURIComponent(storageUri.split("/").at(-1) ?? "");
|
|
120
151
|
const headers = new Headers(response.headers);
|
|
121
152
|
headers.set("cache-control", "private, no-store");
|
|
122
|
-
headers.set("content-
|
|
153
|
+
if (build.artifact_kind === "apk") headers.set("content-type", APK_CONTENT_TYPE);
|
|
154
|
+
headers.set("content-disposition", `attachment; filename="${fileName.replace(/[^\w.-]/gu, "_")}"; filename*=UTF-8''${encodeURIComponent(fileName)}`);
|
|
123
155
|
return new Response(response.body, {
|
|
124
156
|
headers,
|
|
125
157
|
status: response.status,
|
|
126
158
|
statusText: response.statusText
|
|
127
159
|
});
|
|
128
160
|
}
|
|
129
|
-
if (adapter === void 0 && isPublicUrl(storageUri)) return
|
|
161
|
+
if (adapter === void 0 && isPublicUrl(storageUri)) return noStoreRedirect(storageUri);
|
|
130
162
|
return new Response(`No storage adapter for protocol: ${protocolOf(storageUri)}`, { status: 503 });
|
|
131
163
|
}
|
|
132
164
|
//#endregion
|
|
133
|
-
export { NATIVE_BUILD_PATCH_PAGE_SIZE, downloadNativeBuild, getNativeBuildDetail, listNativeBuildPatches, listNativeBuilds, resolveNativeBuildDownloadUrl };
|
|
165
|
+
export { NATIVE_BUILD_PATCH_PAGE_SIZE, downloadNativeBuild, getNativeBuildDetail, listNativeBuildPatches, listNativeBuilds, nativeBuildArtifactUrl, resolveNativeBuildDownloadUrl };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { i as isDatabaseJsonObject, t as DatabaseAdapterInputError } from "./databaseJsonValue-
|
|
2
|
-
import { E as normalizeCohortValue, T as isValidCohort, _ as getNumericCohortValue, g as getNumericCohortRolloutPosition, w as isUUIDv7 } from "./dist-
|
|
1
|
+
import { i as isDatabaseJsonObject, t as DatabaseAdapterInputError } from "./databaseJsonValue-DuUoft8j.mjs";
|
|
2
|
+
import { E as normalizeCohortValue, T as isValidCohort, _ as getNumericCohortValue, g as getNumericCohortRolloutPosition, w as isUUIDv7 } from "./dist-B6-irDRA.mjs";
|
|
3
3
|
import { t as __exportAll } from "./rolldown-runtime-rSIU-vHC.mjs";
|
|
4
|
-
import { t as createUUIDv7 } from "./uuidv7-
|
|
5
|
-
import { o as satisfies, t as coerce } from "./version-CQ98ZBpL-
|
|
6
|
-
import { n as defineTable, t as defineAggregate } from "./schema-
|
|
4
|
+
import { t as createUUIDv7 } from "./uuidv7-CmHbryZT.mjs";
|
|
5
|
+
import { o as satisfies, t as coerce } from "./version-CQ98ZBpL-NmbU0MD2.mjs";
|
|
6
|
+
import { n as defineTable, t as defineAggregate } from "./schema-3oDJJFWa.mjs";
|
|
7
7
|
import { t as isValidRange } from "../_libs/verkit.mjs";
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/plugins-
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/plugins-CX7wutet.js
|
|
9
9
|
var semverSatisfies = (targetAppVersion, currentVersion) => {
|
|
10
10
|
const currentCoerce = coerce(currentVersion);
|
|
11
11
|
if (!currentCoerce) return false;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/publicConsoleBase-3IHSHvqd.js
|
|
2
|
+
var ESCAPES = {
|
|
3
|
+
"&": "&",
|
|
4
|
+
"<": "<",
|
|
5
|
+
">": ">",
|
|
6
|
+
"\"": """,
|
|
7
|
+
"'": "'"
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Text as an XML plist's `<string>` holds it. Control characters have no XML
|
|
11
|
+
* form at all, even escaped, so they go.
|
|
12
|
+
*/
|
|
13
|
+
var escapePlistText = (text) => [...text].filter((character) => character >= " " || " \n\r".includes(character)).map((character) => ESCAPES[character] ?? character).join("");
|
|
14
|
+
/**
|
|
15
|
+
* The console's address and path as a phone reached it, without a trailing
|
|
16
|
+
* slash, from a request to `routePath` under it. A proxy that ends TLS says so
|
|
17
|
+
* in `x-forwarded-proto`, which only upgrades the scheme: the answer goes back
|
|
18
|
+
* to whoever sent the header, and is never cached.
|
|
19
|
+
*/
|
|
20
|
+
var publicConsoleBase = (request, routePath) => {
|
|
21
|
+
const url = new URL(request.url);
|
|
22
|
+
const forwarded = request.headers.get("x-forwarded-proto")?.split(",")[0]?.trim();
|
|
23
|
+
const base = url.pathname.endsWith(routePath) ? url.pathname.slice(0, -routePath.length) : "";
|
|
24
|
+
return `${forwarded === "https" ? "https:" : url.protocol}//${url.host}${base}`;
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { publicConsoleBase as n, escapePlistText as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as encode } from "../_libs/uqr.mjs";
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/qr-code-
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/qr-code-pENFuyy9.js
|
|
3
3
|
/**
|
|
4
4
|
* A QR code of `value` as one SVG path of unit squares, with the standard
|
|
5
5
|
* four-module quiet zone: `size` is the side of its viewBox.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as recoveryWindows } from "./insights-recovery-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/release-adoption-
|
|
1
|
+
import { r as recoveryWindows } from "./insights-recovery-DOkpqnQ8.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/release-adoption-C7sUFDwa.js
|
|
3
3
|
/** A crash rate at which Release health recommends rolling a bundle back. */
|
|
4
4
|
var CRASH_RATE_THRESHOLD = .05;
|
|
5
5
|
var HOUR_MS = 36e5;
|
package/.output/server/_ssr/{release-adoption-rpc-BF8svHjV.mjs → release-adoption-rpc-BBwJO2hu.mjs}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
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
|
-
import { a as readAdoptionReleasesInput, i as readAdoptionReleaseInput, o as readBundleEventsInput } from "./release-adoption-
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/release-adoption-rpc-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-E91fYTIB.mjs";
|
|
3
|
+
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
+
import { a as readAdoptionReleasesInput, i as readAdoptionReleaseInput, o as readBundleEventsInput } from "./release-adoption-C7sUFDwa.mjs";
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/release-adoption-rpc-BBwJO2hu.js
|
|
6
6
|
var listAdoptionReleasesRpc_createServerFn_handler = createServerRpc({
|
|
7
7
|
id: "d11a48f7251928b7819e2376aed4902fa66277bf6d30312d87ca53468332f256",
|
|
8
8
|
name: "listAdoptionReleasesRpc",
|
|
9
9
|
filename: "src/lib/release-adoption-rpc.ts"
|
|
10
10
|
}, (opts) => listAdoptionReleasesRpc.__executeServer(opts));
|
|
11
11
|
var listAdoptionReleasesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readAdoptionReleasesInput).handler(listAdoptionReleasesRpc_createServerFn_handler, async ({ data }) => {
|
|
12
|
-
const [{ prepareConfig }, { listAdoptionReleases }] = await Promise.all([import("./config.server-
|
|
12
|
+
const [{ prepareConfig }, { listAdoptionReleases }] = await Promise.all([import("./config.server-QRTmD4Hf.mjs"), import("./releaseAdoption-LLYlRnUB.mjs")]);
|
|
13
13
|
const { core } = await prepareConfig();
|
|
14
14
|
return listAdoptionReleases(core, data);
|
|
15
15
|
});
|
|
@@ -19,7 +19,7 @@ var getAdoptionReleaseRpc_createServerFn_handler = createServerRpc({
|
|
|
19
19
|
filename: "src/lib/release-adoption-rpc.ts"
|
|
20
20
|
}, (opts) => getAdoptionReleaseRpc.__executeServer(opts));
|
|
21
21
|
var getAdoptionReleaseRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readAdoptionReleaseInput).handler(getAdoptionReleaseRpc_createServerFn_handler, async ({ data }) => {
|
|
22
|
-
const [{ prepareConfig }, { getAdoptionRelease }] = await Promise.all([import("./config.server-
|
|
22
|
+
const [{ prepareConfig }, { getAdoptionRelease }] = await Promise.all([import("./config.server-QRTmD4Hf.mjs"), import("./releaseAdoption-LLYlRnUB.mjs")]);
|
|
23
23
|
const { core } = await prepareConfig();
|
|
24
24
|
return getAdoptionRelease(core, data);
|
|
25
25
|
});
|
|
@@ -30,9 +30,9 @@ var getBundleEventsRpc_createServerFn_handler = createServerRpc({
|
|
|
30
30
|
}, (opts) => getBundleEventsRpc.__executeServer(opts));
|
|
31
31
|
var getBundleEventsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readBundleEventsInput).handler(getBundleEventsRpc_createServerFn_handler, async ({ data }) => {
|
|
32
32
|
const [{ prepareConfig }, { getBundleEvents }, { requireFeature }] = await Promise.all([
|
|
33
|
-
import("./config.server-
|
|
34
|
-
import("./releaseAdoption-
|
|
35
|
-
import("./runtime.server-
|
|
33
|
+
import("./config.server-QRTmD4Hf.mjs"),
|
|
34
|
+
import("./releaseAdoption-LLYlRnUB.mjs"),
|
|
35
|
+
import("./runtime.server-BsTTLV-B.mjs")
|
|
36
36
|
]);
|
|
37
37
|
const { runtime } = await prepareConfig();
|
|
38
38
|
return getBundleEvents(await requireFeature(runtime, "insightsAnalytics"), data);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as addReleaseReachability } from "./releaseReachability-
|
|
2
|
-
import { r as recoveryWindows, t as insightsPeriodEnd } from "./insights-recovery-
|
|
3
|
-
import { a as readAdoptionReleasesInput, i as readAdoptionReleaseInput, o as readBundleEventsInput } from "./release-adoption-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/releaseAdoption-
|
|
1
|
+
import { t as addReleaseReachability } from "./releaseReachability-DaZ7ifUF.mjs";
|
|
2
|
+
import { r as recoveryWindows, t as insightsPeriodEnd } from "./insights-recovery-DOkpqnQ8.mjs";
|
|
3
|
+
import { a as readAdoptionReleasesInput, i as readAdoptionReleaseInput, o as readBundleEventsInput } from "./release-adoption-C7sUFDwa.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/releaseAdoption-LLYlRnUB.js
|
|
5
5
|
/** Rows read past a focused release to find the bundle before it. */
|
|
6
6
|
var PREVIOUS_ROWS = 4;
|
|
7
7
|
var platformsOf = (platform) => platform === "all" ? ["ios", "android"] : [platform];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as normalizeRolloutCohortCount, E as normalizeCohortValue, S as isCustomCohort, _ as getNumericCohortValue, a as RELEASE_CATALOG_FALLBACK_POLICY, n as MAX_COMPILED_CATALOG_BYTES, s as canonicalizeAppVersion, w as isUUIDv7, x as getRolledOutNumericCohorts } from "./dist-
|
|
2
|
-
import { a as parseRange, n as compare, r as normalize } from "./version-CQ98ZBpL-
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/releaseCatalogCompiler-
|
|
1
|
+
import { D as normalizeRolloutCohortCount, E as normalizeCohortValue, S as isCustomCohort, _ as getNumericCohortValue, a as RELEASE_CATALOG_FALLBACK_POLICY, n as MAX_COMPILED_CATALOG_BYTES, s as canonicalizeAppVersion, w as isUUIDv7, x as getRolledOutNumericCohorts } from "./dist-B6-irDRA.mjs";
|
|
2
|
+
import { a as parseRange, n as compare, r as normalize } from "./version-CQ98ZBpL-NmbU0MD2.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/releaseCatalogCompiler-D9dAMI17.js
|
|
4
4
|
var ReleaseCatalogCompilationError = class extends Error {
|
|
5
5
|
code;
|
|
6
6
|
constructor(code, message) {
|
package/.output/server/_ssr/{releaseReachability-DZOK_dH-.mjs → releaseReachability-DaZ7ifUF.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as isReleaseEligibleForCohort, i as NUMERIC_COHORT_SIZE } from "./dist-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/releaseReachability-
|
|
1
|
+
import { C as isReleaseEligibleForCohort, i as NUMERIC_COHORT_SIZE } from "./dist-B6-irDRA.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/releaseReachability-DaZ7ifUF.js
|
|
3
3
|
var NON_TARGETED_COHORT = "release-catalog-non-targeted-cohort";
|
|
4
4
|
function collectReachableFromIndexes(catalog, indexes, reachableReleaseIds) {
|
|
5
5
|
const descriptors = indexes.flatMap((index) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
-
import { n as Route, t as RemoteConfigPage } from "./remote-config-
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-
|
|
2
|
+
import { n as Route, t as RemoteConfigPage } from "./remote-config-DjeXVIcr.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-B1g7vrQD.js
|
|
4
4
|
var import_jsx_runtime = require_jsx_runtime();
|
|
5
5
|
function RemoteConfigRoute() {
|
|
6
6
|
const { tab = "parameters" } = Route.useSearch();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-BgHEoZ36.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-BDijmvj1.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -1,28 +1,28 @@
|
|
|
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-y52SJdFn.mjs";
|
|
4
3
|
import { bt as require_react, n as Toggle, t as ToggleGroup, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
5
4
|
import { $ as Braces, D as LoaderCircle, H as Clipboard, P as GitBranch, R as Eye, _ as RefreshCw, a as Trash2, at as ArrowDown, d as SlidersHorizontal, et as ArrowUp, g as RotateCcw, i as TriangleAlert, j as History, m as Search, n as Upload, nt as ArrowRight, r as Undo2, t as X, u as Smartphone, v as Plus, y as Pencil } from "../_libs/lucide-react.mjs";
|
|
6
5
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
7
|
-
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, k as cn, n as Input, t as Button$1 } from "./sidebar-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-DKsDLcYQ.mjs";
|
|
11
|
-
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, o as FieldLegend, r as FieldError, s as FieldSet, t as Field } from "./field-Bbw5SS9L.mjs";
|
|
6
|
+
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, k as cn, n as Input, t as Button$1 } from "./sidebar-Dmq4j1qr.mjs";
|
|
7
|
+
import { t as consoleAccess } from "./console-access-E91fYTIB.mjs";
|
|
8
|
+
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
12
9
|
import { i as useQuery, n as useMutation, s as useQueryClient, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
|
|
13
10
|
import { l as keepPreviousData } from "../_libs/tanstack__query-core.mjs";
|
|
11
|
+
import { r as requireConsoleFeature } from "./console-features-api-CLRjxvy2.mjs";
|
|
12
|
+
import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-DkiJ7nWt.mjs";
|
|
13
|
+
import { a as Badge, c as CardDescription, d as CardTitle, i as AlertTitle, n as AlertAction, o as Card, r as AlertDescription, s as CardContent, t as Alert, u as CardHeader } from "./badge-BYB825vl.mjs";
|
|
14
|
+
import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-lury59vV.mjs";
|
|
15
|
+
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-CcF1pxfR.mjs";
|
|
16
|
+
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, o as FieldLegend, r as FieldError, s as FieldSet, t as Field } from "./field-CHlDI06h.mjs";
|
|
14
17
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { i as
|
|
19
|
-
import {
|
|
20
|
-
import { i as InputGroupInput, n as InputGroupAddon, o as Textarea, r as InputGroupButton, t as InputGroup } from "./input-group-DXofNRNJ.mjs";
|
|
21
|
-
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-Dk_Yv0IG.mjs";
|
|
22
|
-
import { i as useChannelsQuery } from "./api-oJajV-DG.mjs";
|
|
18
|
+
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-BTKDM4AJ.mjs";
|
|
19
|
+
import { t as PlatformIcon } from "./PlatformIcon-BsU0d0jN.mjs";
|
|
20
|
+
import { i as InputGroupInput, n as InputGroupAddon, o as Textarea, r as InputGroupButton, t as InputGroup } from "./input-group-BPZ4UtB5.mjs";
|
|
21
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-hFD2e3Bh.mjs";
|
|
22
|
+
import { i as useChannelsQuery } from "./api-BQ8ztUgU.mjs";
|
|
23
23
|
import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
|
|
24
|
-
import { n as useDialogTarget, r as useOpenSession, t as Switch$1 } from "./switch-
|
|
25
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-
|
|
24
|
+
import { n as useDialogTarget, r as useOpenSession, t as Switch$1 } from "./switch-CkNsEp9k.mjs";
|
|
25
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-DjeXVIcr.js
|
|
26
26
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
27
27
|
var import_jsx_runtime = require_jsx_runtime();
|
|
28
28
|
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
@@ -2638,8 +2638,8 @@ function RemoteConfigPage({ tab, onTabChange }) {
|
|
|
2638
2638
|
]
|
|
2639
2639
|
});
|
|
2640
2640
|
}
|
|
2641
|
-
var $$splitComponentImporter = () => import("./remote-config-
|
|
2642
|
-
var $$splitNotFoundComponentImporter = () => import("./remote-config-
|
|
2641
|
+
var $$splitComponentImporter = () => import("./remote-config-B1g7vrQD.mjs");
|
|
2642
|
+
var $$splitNotFoundComponentImporter = () => import("./remote-config-BDijmvj1.mjs");
|
|
2643
2643
|
var Route = createFileRoute("/remote-config")({
|
|
2644
2644
|
beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "remoteConfig"),
|
|
2645
2645
|
notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "notFoundComponent"),
|
package/.output/server/_ssr/{remote-config-rpc-CzSU_Gwg.mjs → remote-config-rpc-B7bzKw4N.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
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/remote-config-rpc-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-E91fYTIB.mjs";
|
|
3
|
+
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-rpc-B7bzKw4N.js
|
|
5
5
|
/** Remote Config, once the console's access check and the feature guard pass. */
|
|
6
6
|
var remoteConfig = async () => {
|
|
7
|
-
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-
|
|
7
|
+
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-QRTmD4Hf.mjs"), import("./runtime.server-BsTTLV-B.mjs")]);
|
|
8
8
|
const { runtime } = await prepareConfig();
|
|
9
9
|
return requireFeature(runtime, "remoteConfig");
|
|
10
10
|
};
|
|
@@ -97,7 +97,7 @@ var previewRemoteConfigRpc_createServerFn_handler = createServerRpc({
|
|
|
97
97
|
}, (opts) => previewRemoteConfigRpc.__executeServer(opts));
|
|
98
98
|
var previewRemoteConfigRpc = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator(parsePreview).handler(previewRemoteConfigRpc_createServerFn_handler, async ({ data }) => {
|
|
99
99
|
await remoteConfig();
|
|
100
|
-
const { evaluateRemoteConfig, RemoteConfigValidationError, validateRemoteConfigTemplate } = await import("./plugins-
|
|
100
|
+
const { evaluateRemoteConfig, RemoteConfigValidationError, validateRemoteConfigTemplate } = await import("./plugins-CX7wutet.mjs").then((n) => n.t);
|
|
101
101
|
try {
|
|
102
102
|
return {
|
|
103
103
|
status: "ok",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { t as guardLocalConsoleRequest } from "./local-console-Dtxlsav0.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/request-guard-BPLyogIN.js
|
|
3
|
+
var session = process.env["HOT_UPDATER_CONSOLE_SESSION"] || void 0;
|
|
4
|
+
var port = process.env.NITRO_PORT || process.env.PORT || void 0;
|
|
5
|
+
var request_guard_default = (request) => guardLocalConsoleRequest(request, {
|
|
6
|
+
session,
|
|
7
|
+
port,
|
|
8
|
+
checkHost: true
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { request_guard_default as default };
|