@hot-updater/console 1.0.0-rc.8 → 1.0.0
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/ConsoleFeatureUnavailable-jB4Loglh.js +1 -0
- package/.output/public/assets/EventDetails-B6yUsyNA.js +1 -0
- package/.output/public/assets/HashValueDisplay-BFX_kY3-.js +1 -0
- package/.output/public/assets/InsightsInfo-BNO0WznZ.js +1 -0
- package/.output/public/assets/InsightsPageHeader-B892oVml.js +1 -0
- package/.output/public/assets/NotFoundPage-DIqCpWa3.js +1 -0
- package/.output/public/assets/alert-dialog-Bbk_4-WJ.js +1 -0
- package/.output/public/assets/api-DCM0wr6O.js +1 -0
- package/.output/public/assets/api-keys-CIO9L_wu.js +1 -0
- package/.output/public/assets/api-keys-DVTL_--f.js +1 -0
- package/.output/public/assets/arrow-left-CnMYpqB7.js +1 -0
- package/.output/public/assets/arrow-up-right-BtffZA6e.js +1 -0
- package/.output/public/assets/chevron-right-BqD5wtFb.js +1 -0
- package/.output/public/assets/clipboard-DS9ucUQL.js +1 -0
- package/.output/public/assets/console-features-api-BH5m_PtQ.js +1 -0
- package/.output/public/assets/dialog-Bqbb7B0N.js +1 -0
- package/.output/public/assets/dist-LxKJB-Vu.js +1 -0
- package/.output/public/assets/empty-CuT2UhFp.js +1 -0
- package/.output/public/assets/field-BBDpjIqu.js +1 -0
- package/.output/public/assets/index-6o51GkFe.js +11 -0
- package/.output/public/assets/input-group-ja_30qaF.js +1 -0
- package/.output/public/assets/insights-CmraDzQh.js +1 -0
- package/.output/public/assets/insights-CxZ2GCYV.js +2 -0
- package/.output/public/assets/insights-api-BigAU9sZ.js +1 -0
- package/.output/public/assets/insights-usage-rpc-DYEhsCKT.js +1 -0
- package/.output/public/assets/insights-vNRCrfnS.js +42 -0
- package/.output/public/assets/insights_.distribution-ChOerfJt.js +1 -0
- package/.output/public/assets/insights_.distribution-D-e4iga8.js +1 -0
- package/.output/public/assets/insights_.distribution-DZtkibX1.js +2 -0
- package/.output/public/assets/installations-BazSJXE0.js +2 -0
- package/.output/public/assets/installations-ClHTqdAO.js +1 -0
- package/.output/public/assets/installations-DpKsBuHi.js +1 -0
- package/.output/public/assets/key-round-wS_SIZ6b.js +1 -0
- package/.output/public/assets/list-CgrYiadM.js +1 -0
- package/.output/public/assets/refresh-cw-BYgoNCco.js +1 -0
- package/.output/public/assets/remote-config-BWwHOkCK.js +1 -0
- package/.output/public/assets/remote-config-Br56BODb.js +6 -0
- package/.output/public/assets/remote-config-CXOi0LRu.js +1 -0
- package/.output/public/assets/routes-B88Erkpk.js +2 -0
- package/.output/public/assets/routes-CfzsAleC.js +1 -0
- package/.output/public/assets/search-DaTDPW25.js +1 -0
- package/.output/public/assets/select-BZZBXMkr.js +1 -0
- package/.output/public/assets/sidebar-DNVyJPfX.js +3 -0
- package/.output/public/assets/smartphone-DpTFgtKf.js +1 -0
- package/.output/public/assets/styles-DTGEAJFv.css +2 -0
- package/.output/public/assets/switch-DZ1TPwx-.js +1 -0
- package/.output/public/assets/table-Gm4qRWwE.js +1 -0
- package/.output/public/assets/tabs-C7FOEjFC.js +1 -0
- package/.output/public/assets/undo-2-CmrHjwFc.js +1 -0
- package/.output/public/assets/useCompositeListItem-9E4pj_CH.js +1 -0
- package/.output/public/assets/valueToPercent-CH8GCHaL.js +1 -0
- package/.output/server/__23tanstack-start-server-fn-resolver-BpRlos5Q.mjs +170 -0
- package/.output/server/_libs/@base-ui/react+[...].mjs +4389 -4207
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +3802 -4022
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +140 -97
- package/.output/server/_libs/lucide-react.mjs +221 -9
- package/.output/server/_libs/next-themes.mjs +1 -1
- package/.output/server/_libs/react-redux+[...].mjs +1 -1
- package/.output/server/_libs/recharts+[...].mjs +483 -901
- package/.output/server/_libs/sonner.mjs +1 -1
- package/.output/server/_libs/tanstack__history.mjs +68 -41
- package/.output/server/_libs/tanstack__query-core.mjs +2010 -309
- package/.output/server/_libs/tanstack__react-query.mjs +448 -21
- package/.output/server/_libs/verkit.mjs +102 -1
- package/.output/server/_ssr/BundleIdDisplay-x94o9rlU.mjs +13 -0
- package/.output/server/_ssr/ConsoleFeatureUnavailable-ldW8v8-q.mjs +58 -0
- package/.output/server/_ssr/EventDetails-Q8kfj9Nr.mjs +344 -0
- package/.output/server/_ssr/{HashValueDisplay-C5tS4oGo.mjs → HashValueDisplay-n1GholGS.mjs} +3 -3
- package/.output/server/_ssr/InsightsInfo-DuJFatQO.mjs +75 -0
- package/.output/server/_ssr/InsightsPageHeader-BSUX3Ye9.mjs +145 -0
- package/.output/server/_ssr/NotFoundPage-DZzOOzS3.mjs +37 -0
- package/.output/server/_ssr/{dialog-WiIAKl4L.mjs → alert-dialog-C43Doa0I.mjs} +6 -83
- package/.output/server/_ssr/{api-keys-aXriWrv7.mjs → api-keys-B4sYm8dM.mjs} +48 -9
- package/.output/server/_ssr/api-keys-CEnM9fqG.mjs +5 -0
- package/.output/server/_ssr/api-keys-rpc-BIFuUgMt.mjs +52 -0
- package/.output/server/_ssr/api-oZjRn9tP.mjs +186 -0
- package/.output/server/_ssr/api-rpc-BNiFRRK8.mjs +240 -0
- package/.output/server/_ssr/{auth-BF8mbAgF.mjs → auth-UP0wXs4i.mjs} +1 -1
- package/.output/server/_ssr/{auth-rpc-B7w3AdRr.mjs → auth-rpc-DnZqYxyq.mjs} +6 -6
- package/.output/server/_ssr/auth.server-DFpyxRDd.mjs +5374 -0
- package/.output/server/_ssr/bundleActivity-M5gzBFNg.mjs +18 -0
- package/.output/server/_ssr/config-WVX4IxSR.mjs +15 -0
- package/.output/server/_ssr/config.server-DskXCAyI.mjs +35 -0
- package/.output/server/_ssr/console-access-BJfAXknd.mjs +17 -0
- package/.output/server/_ssr/console-features-Oz0q20jJ.mjs +61 -0
- package/.output/server/_ssr/console-features-api-C9kiKvaV.mjs +43 -0
- package/.output/server/_ssr/console-features-rpc-P0GL7Z-R.mjs +19 -0
- package/.output/server/_ssr/{createServerFn-B2hcXoPM.mjs → createMiddleware-Cm6Tn0_Y.mjs} +67 -56
- package/.output/server/_ssr/{createServerRpc-DB29C_5p.mjs → createServerRpc-RLR4H-Fn.mjs} +2 -2
- package/.output/server/_ssr/databaseConfig-C5SkAyUy.mjs +5 -0
- package/.output/server/_ssr/{databaseJsonValue-d6I3nAS4.mjs → databaseJsonValue-Csbuzc9Q.mjs} +28 -5
- package/.output/server/_ssr/databaseRows-CPphvbag.mjs +73 -0
- package/.output/server/_ssr/dialog-BbYDMjdC.mjs +84 -0
- package/.output/server/_ssr/{dist-CyzPaI5v.mjs → dist-CbQbBIw-.mjs} +140 -7
- package/.output/server/_ssr/{downloadBundle-CI7JUKvC.mjs → downloadBundle-CZysjmNW.mjs} +10 -10
- package/.output/server/_ssr/empty-CVLGfxuu.mjs +60 -0
- package/.output/server/_ssr/{empty-plugin-adapters-B5QvGpEl.mjs → empty-plugin-adapters-CPtwX8a7.mjs} +1 -1
- package/.output/server/_ssr/failureReports-DKDhVsXA.mjs +33 -0
- package/.output/server/_ssr/field-asw83X0v.mjs +189 -0
- package/.output/server/_ssr/getBundleChildren-Cv9iz1As.mjs +22 -0
- package/.output/server/_ssr/{input-group-Coj6SwVP.mjs → input-group-CuYJHosb.mjs} +2 -2
- package/.output/server/_ssr/insights-B55FG5fm.mjs +14 -0
- package/.output/server/_ssr/insights-CWnHIFUV.mjs +5 -0
- package/.output/server/_ssr/insights-CpLpedFZ.mjs +2315 -0
- package/.output/server/_ssr/insights-api-sjws23WF.mjs +122 -0
- package/.output/server/_ssr/insights-errors-BjnFUyZj.mjs +34 -0
- package/.output/server/_ssr/insights-failures-rpc-BvbWvqNf.mjs +36 -0
- package/.output/server/_ssr/insights-failures-xaa41Buf.mjs +46 -0
- package/.output/server/_ssr/insights-recovery-BWQhiZaF.mjs +28 -0
- package/.output/server/_ssr/insights-recovery-rpc-GiYXdkaY.mjs +32 -0
- package/.output/server/_ssr/{insights-rpc-l2-oBYth.mjs → insights-rpc-DP_8Rmz4.mjs} +22 -14
- package/.output/server/_ssr/insights-usage-BpBM0U0c.mjs +29 -0
- package/.output/server/_ssr/insights-usage-rpc-BiolgB8e.mjs +29 -0
- package/.output/server/_ssr/insights-usage-rpc-KStL0zOx.mjs +41 -0
- package/.output/server/_ssr/insightsUsage-CzhVjsc8.mjs +56 -0
- package/.output/server/_ssr/insights_.distribution-CVrnbP3R.mjs +7 -0
- package/.output/server/_ssr/insights_.distribution-D2HaNTAA.mjs +16 -0
- package/.output/server/_ssr/{insights_.distribution-INw6QxbU.mjs → insights_.distribution-DN9pR422.mjs} +50 -22
- package/.output/server/_ssr/installations-BHmbbnH8.mjs +5 -0
- package/.output/server/_ssr/{installations-DH-tQuRo.mjs → installations-BSCmFq8Q.mjs} +279 -367
- package/.output/server/_ssr/installations-DD1g__Nc.mjs +69 -0
- package/.output/server/_ssr/listReleases-BfUBlCHo.mjs +79 -0
- package/.output/server/_ssr/plugins-BaD1slHx.mjs +2086 -0
- package/.output/server/_ssr/release-adoption-005tQRpo.mjs +55 -0
- package/.output/server/_ssr/release-adoption-rpc-BsstqxUp.mjs +41 -0
- package/.output/server/_ssr/releaseAdoption-CtOFkwli.mjs +114 -0
- package/.output/server/_ssr/releaseManagement-DFMUnDF5.mjs +11 -0
- package/.output/server/_ssr/remote-config-C2Ee8lXO.mjs +5 -0
- package/.output/server/_ssr/remote-config-Dv1ccMo-.mjs +17 -0
- package/.output/server/_ssr/remote-config-of0lGQH8.mjs +2648 -0
- package/.output/server/_ssr/remote-config-rpc-BzX31mUS.mjs +115 -0
- package/.output/server/_ssr/rolldown-runtime-rSIU-vHC.mjs +13 -0
- package/.output/server/_ssr/{router-DfFyAp5p.mjs → router-D8NuoJ_I.mjs} +117 -136
- package/.output/server/_ssr/{routes-BtsfVx-p.mjs → routes-DgvnFqDy.mjs} +195 -429
- package/.output/server/_ssr/routes-V8sDybGf.mjs +409 -0
- package/.output/server/_ssr/runtime.server-De0QVWc9.mjs +104 -0
- package/.output/server/_ssr/schema-BiAVyEj2.mjs +361 -0
- package/.output/server/_ssr/{select-CyvLaMza.mjs → select-t3iXRwc9.mjs} +3 -3
- package/.output/server/_ssr/server-h4VxnExB.mjs +8325 -0
- package/.output/server/_ssr/{createSsrRpc-C-dLcQuy.mjs → sidebar-DJcErBMo.mjs} +107 -47
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/start-BfFbHKMK.mjs +4 -0
- package/.output/server/_ssr/switch-E-btwMGt.mjs +43 -0
- package/.output/server/_ssr/{table-CkVhsNpe.mjs → table-37Dd23TN.mjs} +2 -2
- package/.output/server/_ssr/tabs-DEFnTm95.mjs +45 -0
- package/.output/server/_ssr/updateFailures-H6pnnYK4.mjs +40 -0
- package/.output/server/_ssr/{uuidv7-D0QFkPL_.mjs → uuidv7-C88s9jWF.mjs} +2 -2
- package/.output/server/_tanstack-start-manifest_v-55AGsehh.mjs +139 -0
- package/.output/server/index.mjs +303 -205
- package/LICENSE +13 -14
- package/README.md +80 -71
- package/lib/index.d.mts +23 -11
- package/lib/vite-internal.mjs +13 -3
- package/lib/vite.d.mts +2 -0
- package/package.json +14 -14
- package/src/components/AppSidebar.tsx +74 -75
- package/src/components/ConsoleAccessPage.tsx +5 -1
- package/src/components/ConsoleFeatureUnavailable.tsx +80 -0
- package/src/components/NotFoundPage.tsx +7 -7
- package/src/components/features/FeatureSlots.tsx +103 -0
- package/src/components/features/api-keys/apiKeysFeatureUi.tsx +15 -0
- package/src/components/features/bundles/BundleMetadata.tsx +8 -5
- package/src/components/features/bundles/RolloutCohortsDialog.tsx +1 -1
- package/src/components/features/channels/ChannelManagementDialog.tsx +8 -6
- package/src/components/features/insights/AppUsage.tsx +41 -14
- package/src/components/features/insights/BuiltinBundle.tsx +36 -0
- package/src/components/features/insights/ComparedBundlesChart.tsx +310 -0
- package/src/components/features/insights/EstimatedCount.tsx +18 -0
- package/src/components/features/insights/EventDetails.tsx +390 -26
- package/src/components/features/insights/EventHistoryCard.tsx +111 -25
- package/src/components/features/insights/EventHistoryList.tsx +1 -1
- package/src/components/features/insights/FailureReports.tsx +407 -0
- package/src/components/features/insights/InsightsControls.tsx +240 -142
- package/src/components/features/insights/InsightsErrorAlert.tsx +14 -1
- package/src/components/features/insights/InsightsOverview.tsx +601 -403
- package/src/components/features/insights/InsightsPageHeader.tsx +19 -14
- package/src/components/features/insights/InsightsPeriodSelector.tsx +67 -12
- package/src/components/features/insights/InstallationHistoryCard.tsx +65 -10
- package/src/components/features/insights/InstallationMatchesCard.tsx +1 -1
- package/src/components/features/insights/ReleaseActivity.tsx +308 -0
- package/src/components/features/insights/ReportingDevicesSummary.tsx +13 -13
- package/src/components/features/insights/RollbackButton.tsx +118 -0
- package/src/components/features/insights/UpdateFailures.tsx +382 -0
- package/src/components/features/insights/insightsFeatureUi.tsx +35 -0
- package/src/components/features/releases/ReleaseEditorSheet.tsx +27 -13
- package/src/components/features/remote-config/ConditionDialog.tsx +592 -0
- package/src/components/features/remote-config/ConditionsCard.tsx +247 -0
- package/src/components/features/remote-config/ParameterDialog.tsx +426 -0
- package/src/components/features/remote-config/ParametersCard.tsx +254 -0
- package/src/components/features/remote-config/PreviewCard.tsx +284 -0
- package/src/components/features/remote-config/PublishDialog.tsx +325 -0
- package/src/components/features/remote-config/RemoteConfigPage.tsx +353 -0
- package/src/components/features/remote-config/RuleSummary.tsx +21 -0
- package/src/components/features/remote-config/ValueInput.tsx +151 -0
- package/src/components/features/remote-config/VersionsCard.tsx +384 -0
- package/src/components/features/remote-config/remoteConfigFeatureUi.tsx +15 -0
- package/src/components/features/remote-config/useDateTimeText.ts +16 -0
- package/src/components/ui/sidebar.tsx +22 -29
- package/src/index.ts +26 -19
- package/src/lib/api-keys-api.ts +0 -28
- package/src/lib/api-keys-rpc.ts +27 -38
- package/src/lib/api-rpc.ts +125 -288
- package/src/lib/api.ts +15 -134
- package/src/lib/bundle-activity.ts +24 -4
- package/src/lib/console-access.ts +20 -0
- package/src/lib/console-features-api.ts +68 -0
- package/src/lib/console-features-rpc.ts +13 -0
- package/src/lib/console-features.ts +98 -0
- package/src/lib/insights-api.ts +56 -2
- package/src/lib/insights-errors.ts +64 -0
- package/src/lib/insights-failures-rpc.ts +36 -0
- package/src/lib/insights-failures.ts +130 -0
- package/src/lib/insights-recovery-rpc.ts +13 -17
- package/src/lib/insights-recovery.ts +12 -36
- package/src/lib/insights-retention.ts +21 -0
- package/src/lib/insights-rpc.ts +30 -12
- package/src/lib/insights-search.ts +50 -4
- package/src/lib/insights-usage-rpc.ts +15 -9
- package/src/lib/insights-usage.ts +41 -3
- package/src/lib/insights-view.ts +34 -5
- package/src/lib/release-adoption-api.ts +214 -0
- package/src/lib/release-adoption-rpc.ts +49 -0
- package/src/lib/release-adoption.ts +164 -0
- package/src/lib/remote-config-api.ts +119 -0
- package/src/lib/remote-config-draft.ts +666 -0
- package/src/lib/remote-config-rpc.ts +196 -0
- package/src/lib/scroll-restoration.ts +21 -0
- package/src/lib/server/auth.server.ts +13 -5
- package/src/lib/server/bundleActivity.ts +27 -28
- package/src/lib/server/config.server.ts +21 -76
- package/src/lib/server/console-feature-apis.ts +70 -0
- package/src/lib/server/console-runtime.server.ts +82 -38
- package/src/lib/server/downloadBundle.ts +14 -15
- package/src/lib/server/failureReports.ts +50 -0
- package/src/lib/server/getBundleChildren.ts +31 -122
- package/src/lib/server/insightsUsage.ts +52 -113
- package/src/lib/server/listReleases.ts +109 -44
- package/src/lib/server/releaseAdoption.ts +151 -0
- package/src/lib/server/releaseReachability.ts +8 -8
- package/src/lib/server/remoteConfig.ts +75 -0
- package/src/lib/server/runtime.server.ts +120 -31
- package/src/lib/server/updateFailures.ts +66 -0
- package/src/lib/use-dialog-target.ts +27 -0
- package/src/routeTree.gen.ts +44 -44
- package/src/router.tsx +3 -2
- package/src/routes/-installations-search.ts +32 -8
- package/src/routes/-releases-search.ts +76 -29
- package/src/routes/__root.tsx +7 -1
- package/src/routes/api/bundles/$bundleId/download.ts +2 -5
- package/src/routes/api-keys.tsx +5 -2
- package/src/routes/index.tsx +210 -152
- package/src/routes/insights.tsx +91 -23
- package/src/routes/insights_.distribution.tsx +50 -9
- package/src/routes/installations.tsx +97 -40
- package/src/routes/remote-config.tsx +42 -0
- package/src/styles.css +9 -0
- package/src/vite-internal.ts +15 -3
- package/src/vite.ts +2 -0
- package/.output/public/assets/HashValueDisplay-BpTc3Oyg.js +0 -1
- package/.output/public/assets/InsightsPageHeader-DC2eEst8.js +0 -1
- package/.output/public/assets/api-CdUyUqzR.js +0 -42
- package/.output/public/assets/api-keys-64PM9PwW.js +0 -1
- package/.output/public/assets/api-keys-api-BeaJnvY5.js +0 -1
- package/.output/public/assets/arrow-left-04Rh8Zgp.js +0 -1
- package/.output/public/assets/card-CYHs5FZv.js +0 -1
- package/.output/public/assets/chart-no-axes-combined-DwyMsVFW.js +0 -1
- package/.output/public/assets/createServerFn-DU71xucx.js +0 -3
- package/.output/public/assets/dialog-IVMkBRCq.js +0 -1
- package/.output/public/assets/dist-BR4GzeEu.js +0 -1
- package/.output/public/assets/field-B3CYDpjg.js +0 -1
- package/.output/public/assets/index-C39o7rJH.js +0 -10
- package/.output/public/assets/info-C3y9HNoU.js +0 -1
- package/.output/public/assets/input-group-nLZylhWF.js +0 -1
- package/.output/public/assets/insights-Bm9v8uO3.js +0 -2
- package/.output/public/assets/insights-DS3iO7Up.js +0 -1
- package/.output/public/assets/insights-search-Byj3g3Mp.js +0 -1
- package/.output/public/assets/insights-usage-rpc-BaGR3lgq.js +0 -1
- package/.output/public/assets/insights_.distribution-B1i6cjlQ.js +0 -1
- package/.output/public/assets/insights_.distribution-C1Wf27eB.js +0 -2
- package/.output/public/assets/installations-CkFW4fV9.js +0 -2
- package/.output/public/assets/installations-DxTaIcHD.js +0 -1
- package/.output/public/assets/lazyRouteComponent-BapzjYnb.js +0 -1
- package/.output/public/assets/list-Dqt53fWZ.js +0 -1
- package/.output/public/assets/loader-circle-CUKfUqow.js +0 -1
- package/.output/public/assets/preload-helper-ClBMtM1g.js +0 -1
- package/.output/public/assets/refresh-cw-CNE_2PnD.js +0 -1
- package/.output/public/assets/routes-Cgtvspjg.js +0 -2
- package/.output/public/assets/routes-O2r2UUN8.js +0 -1
- package/.output/public/assets/shield-check-BFcJ46kz.js +0 -1
- package/.output/public/assets/signing-BgspC-xP.js +0 -1
- package/.output/public/assets/styles-DnrWuBwd.css +0 -2
- package/.output/public/assets/table-BuWQgxJJ.js +0 -1
- package/.output/public/assets/useMutation-CSV9NCUl.js +0 -1
- package/.output/public/assets/useOpenInteractionType-D5kduCTD.js +0 -1
- package/.output/public/assets/valueToPercent-BAtcbSLk.js +0 -1
- package/.output/server/__23tanstack-start-server-fn-resolver-CmYkol9D.mjs +0 -150
- package/.output/server/_ssr/InsightsPageHeader-Dma3dVj1.mjs +0 -64
- package/.output/server/_ssr/api-C3bGmgY0.mjs +0 -332
- package/.output/server/_ssr/api-keys-api-BRF6rbRC.mjs +0 -60
- package/.output/server/_ssr/api-keys-rpc-BMa1ZM6N.mjs +0 -136
- package/.output/server/_ssr/api-rpc-BYQ2e0z6.mjs +0 -1399
- package/.output/server/_ssr/auth.server-CmicHh0J.mjs +0 -47
- package/.output/server/_ssr/bundle-signing-rpc-DbQ4pFAX.mjs +0 -16
- package/.output/server/_ssr/bundle-signing.server-Uqt1OF49.mjs +0 -12
- package/.output/server/_ssr/bundleActivity-pBrPSG01.mjs +0 -28
- package/.output/server/_ssr/card-B7KSO_25.mjs +0 -108
- package/.output/server/_ssr/config-Dv8qLDZ0.mjs +0 -13
- package/.output/server/_ssr/config.server-C-d1QaBU.mjs +0 -368
- package/.output/server/_ssr/databaseRows-5bCRTxm-.mjs +0 -126
- package/.output/server/_ssr/deleteBundle-8X-jq7Z7.mjs +0 -66
- package/.output/server/_ssr/field-BDwuU8RE.mjs +0 -74
- package/.output/server/_ssr/getBundleChildren-DoL8l_AS.mjs +0 -50
- package/.output/server/_ssr/insights-BDJjaDLp.mjs +0 -938
- package/.output/server/_ssr/insights-D0FWpfOS.mjs +0 -10
- package/.output/server/_ssr/insights-recovery-Cv6RSyeR.mjs +0 -21
- package/.output/server/_ssr/insights-recovery-rpc-BE9YsK_T.mjs +0 -37
- package/.output/server/_ssr/insights-search-1czJMZgk.mjs +0 -21
- package/.output/server/_ssr/insights-usage-rpc-BE_aCnea.mjs +0 -184
- package/.output/server/_ssr/insights-usage-rpc-CtAolz-t.mjs +0 -24
- package/.output/server/_ssr/insightsContract-B09K_Px1.mjs +0 -303
- package/.output/server/_ssr/insightsHistory-Ci4rYAgl.mjs +0 -41
- package/.output/server/_ssr/insightsRecovery-CaghWL2t.mjs +0 -113
- package/.output/server/_ssr/insightsUsage-DNIj6jxF.mjs +0 -71
- package/.output/server/_ssr/insights_.distribution-Cp0kf1vW.mjs +0 -10
- package/.output/server/_ssr/installations-Bhyiwx8G.mjs +0 -29
- package/.output/server/_ssr/routes-xBkI2Fmt.mjs +0 -37
- package/.output/server/_ssr/runtime.server-CsiKFp_Z.mjs +0 -436
- package/.output/server/_ssr/server-BdkuOWe8.mjs +0 -7468
- package/.output/server/_ssr/signing-CQ70saFm.mjs +0 -133
- package/.output/server/_ssr/start-DpViQGnt.mjs +0 -4
- package/.output/server/_tanstack-start-manifest_v-CrBsoKQQ.mjs +0 -125
- package/src/components/features/bundles/BundleActivityChart.tsx +0 -97
- package/src/components/features/bundles/BundleInsightsSummary.tsx +0 -126
- package/src/components/features/signing/BundleSigningPage.tsx +0 -139
- package/src/lib/bundle-signing-api.ts +0 -14
- package/src/lib/bundle-signing-rpc.ts +0 -16
- package/src/lib/server/bundle-signing.server.ts +0 -23
- package/src/lib/server/deleteBundle.ts +0 -145
- package/src/lib/server/insightsHistory.ts +0 -52
- package/src/lib/server/insightsRecovery.ts +0 -187
- package/src/routes/signing.tsx +0 -37
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { ConsoleSigningConfig } from "../../index";
|
|
2
|
-
|
|
3
|
-
const DEFAULT_PROVIDER = "Configured provider";
|
|
4
|
-
|
|
5
|
-
export type BundleSigningInspection =
|
|
6
|
-
| { readonly status: "disabled" }
|
|
7
|
-
| {
|
|
8
|
-
readonly status: "enabled";
|
|
9
|
-
readonly provider: string;
|
|
10
|
-
readonly algorithm: "RSA-SHA256";
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const inspectBundleSigning = async (
|
|
14
|
-
signing: ConsoleSigningConfig | undefined,
|
|
15
|
-
): Promise<BundleSigningInspection> => {
|
|
16
|
-
if (!signing?.enabled) return { status: "disabled" };
|
|
17
|
-
|
|
18
|
-
return {
|
|
19
|
-
algorithm: "RSA-SHA256",
|
|
20
|
-
provider: signing.provider ?? DEFAULT_PROVIDER,
|
|
21
|
-
status: "enabled",
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getBundlePatches,
|
|
3
|
-
getManifestStorageUri,
|
|
4
|
-
getPatchStorageUri,
|
|
5
|
-
} from "@hot-updater/core";
|
|
6
|
-
import type {
|
|
7
|
-
Bundle,
|
|
8
|
-
DatabaseClient,
|
|
9
|
-
StoragePluginWith,
|
|
10
|
-
} from "@hot-updater/plugin-core";
|
|
11
|
-
|
|
12
|
-
interface DeleteBundleInput {
|
|
13
|
-
bundleId: string;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
interface DeleteBundlesInput {
|
|
17
|
-
bundleIds: readonly string[];
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface DeleteBundleDependencies {
|
|
21
|
-
databaseClient: DatabaseClient;
|
|
22
|
-
storagePlugin: StoragePluginWith<"delete">;
|
|
23
|
-
waitForStorageCleanup?: boolean;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
function resolveStorageUriForDeletion(
|
|
27
|
-
storageUri: string,
|
|
28
|
-
storagePlugin: StoragePluginWith<"delete">,
|
|
29
|
-
) {
|
|
30
|
-
const protocol = new URL(storageUri).protocol.replace(":", "");
|
|
31
|
-
|
|
32
|
-
if (storagePlugin.protocol === protocol) {
|
|
33
|
-
return storageUri;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
if (protocol === "http" || protocol === "https") {
|
|
37
|
-
return null;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
throw new Error(`No storage plugin for protocol: ${protocol}`);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
async function cleanupBundleStorage(
|
|
44
|
-
bundle: Bundle,
|
|
45
|
-
storagePlugin: StoragePluginWith<"delete">,
|
|
46
|
-
) {
|
|
47
|
-
const cleanupUris = new Set<string>();
|
|
48
|
-
const addCleanupUri = (storageUri: string | undefined) => {
|
|
49
|
-
if (!storageUri) return;
|
|
50
|
-
const resolvedStorageUri = resolveStorageUriForDeletion(
|
|
51
|
-
storageUri,
|
|
52
|
-
storagePlugin,
|
|
53
|
-
);
|
|
54
|
-
if (resolvedStorageUri) cleanupUris.add(resolvedStorageUri);
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
addCleanupUri(bundle.storageUri);
|
|
58
|
-
addCleanupUri(getManifestStorageUri(bundle) ?? undefined);
|
|
59
|
-
addCleanupUri(getPatchStorageUri(bundle) ?? undefined);
|
|
60
|
-
for (const patch of getBundlePatches(bundle)) {
|
|
61
|
-
addCleanupUri(patch.patchStorageUri);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
for (const storageUri of cleanupUris) {
|
|
65
|
-
try {
|
|
66
|
-
await storagePlugin.delete({ storageUri });
|
|
67
|
-
} catch (error) {
|
|
68
|
-
console.error("Failed to delete bundle from storage:", error);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export async function deleteBundles(
|
|
74
|
-
{ bundleIds }: DeleteBundlesInput,
|
|
75
|
-
{
|
|
76
|
-
databaseClient,
|
|
77
|
-
storagePlugin,
|
|
78
|
-
waitForStorageCleanup = true,
|
|
79
|
-
}: DeleteBundleDependencies,
|
|
80
|
-
) {
|
|
81
|
-
const uniqueBundleIds = [...new Set(bundleIds)];
|
|
82
|
-
const { data: matchedBundles } = await databaseClient.getBundles({
|
|
83
|
-
where: { id: { in: uniqueBundleIds } },
|
|
84
|
-
limit: uniqueBundleIds.length,
|
|
85
|
-
});
|
|
86
|
-
const matchedById = new Map(
|
|
87
|
-
matchedBundles.map((bundle) => [bundle.id, bundle]),
|
|
88
|
-
);
|
|
89
|
-
const bundles = uniqueBundleIds.flatMap((bundleId) => {
|
|
90
|
-
const bundle = matchedById.get(bundleId);
|
|
91
|
-
return bundle ? [bundle] : [];
|
|
92
|
-
});
|
|
93
|
-
const missingBundleIds = uniqueBundleIds.filter(
|
|
94
|
-
(bundleId) => !matchedById.has(bundleId),
|
|
95
|
-
);
|
|
96
|
-
|
|
97
|
-
for (const bundle of bundles) {
|
|
98
|
-
const cleanupCandidates = [
|
|
99
|
-
bundle.storageUri,
|
|
100
|
-
getManifestStorageUri(bundle),
|
|
101
|
-
getPatchStorageUri(bundle),
|
|
102
|
-
...getBundlePatches(bundle).map((patch) => patch.patchStorageUri),
|
|
103
|
-
].filter((value): value is string => Boolean(value));
|
|
104
|
-
for (const candidate of cleanupCandidates) {
|
|
105
|
-
resolveStorageUriForDeletion(candidate, storagePlugin);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
if (bundles.length > 0) {
|
|
110
|
-
await databaseClient.mutate(async (mutation) => {
|
|
111
|
-
for (const bundle of bundles) {
|
|
112
|
-
await mutation.deleteBundleById(bundle.id);
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
const cleanupStorage = async () => {
|
|
118
|
-
for (const bundle of bundles) {
|
|
119
|
-
await cleanupBundleStorage(bundle, storagePlugin);
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
if (waitForStorageCleanup) {
|
|
124
|
-
await cleanupStorage();
|
|
125
|
-
} else {
|
|
126
|
-
void cleanupStorage().catch((error) => {
|
|
127
|
-
console.error("Failed to clean up bundle storage:", error);
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
return {
|
|
132
|
-
deletedBundleIds: bundles.map((bundle) => bundle.id),
|
|
133
|
-
missingBundleIds,
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export async function deleteBundle(
|
|
138
|
-
{ bundleId }: DeleteBundleInput,
|
|
139
|
-
dependencies: DeleteBundleDependencies,
|
|
140
|
-
) {
|
|
141
|
-
const result = await deleteBundles({ bundleIds: [bundleId] }, dependencies);
|
|
142
|
-
if (result.missingBundleIds.length > 0) {
|
|
143
|
-
throw new Error(`Bundle not found: ${bundleId}`);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
BundleEventRow,
|
|
3
|
-
InsightsEventCursor,
|
|
4
|
-
InsightsModel,
|
|
5
|
-
} from "@hot-updater/plugin-core";
|
|
6
|
-
|
|
7
|
-
import { recoveryWindows, type RecoveryInput } from "../insights-recovery";
|
|
8
|
-
|
|
9
|
-
export async function readInsightsHistory(
|
|
10
|
-
model: InsightsModel,
|
|
11
|
-
window: RecoveryInput["window"],
|
|
12
|
-
beforeReceivedAtMs = Date.now(),
|
|
13
|
-
) {
|
|
14
|
-
const { durationMs, intervalMs } = recoveryWindows[window];
|
|
15
|
-
const sinceMs = Math.max(0, beforeReceivedAtMs - durationMs);
|
|
16
|
-
let completeSinceMs = sinceMs;
|
|
17
|
-
let after: InsightsEventCursor | undefined;
|
|
18
|
-
let truncated = false;
|
|
19
|
-
const events: BundleEventRow[] = [];
|
|
20
|
-
while (events.length < 50_000) {
|
|
21
|
-
const limit = Math.min(100, 50_000 - events.length);
|
|
22
|
-
const rows = await model.listEvents({
|
|
23
|
-
filter: { kind: "all" },
|
|
24
|
-
sinceMs,
|
|
25
|
-
beforeReceivedAtMs,
|
|
26
|
-
after,
|
|
27
|
-
limit: limit + 1,
|
|
28
|
-
});
|
|
29
|
-
const page = rows.slice(0, limit);
|
|
30
|
-
events.push(...page);
|
|
31
|
-
const last = page.at(-1);
|
|
32
|
-
if (!last || rows.length <= limit) break;
|
|
33
|
-
after = { id: last.id, receivedAtMs: last.received_at_ms };
|
|
34
|
-
if (events.length === 50_000) {
|
|
35
|
-
truncated = true;
|
|
36
|
-
// Exclude the partially read interval, including its unknown denominator.
|
|
37
|
-
completeSinceMs =
|
|
38
|
-
Math.floor(last.received_at_ms / intervalMs) * intervalMs + intervalMs;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
events: events
|
|
43
|
-
.filter((row) => row.received_at_ms >= completeSinceMs)
|
|
44
|
-
.reverse(),
|
|
45
|
-
sinceMs: completeSinceMs,
|
|
46
|
-
beforeReceivedAtMs,
|
|
47
|
-
intervalMs,
|
|
48
|
-
truncated,
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export type InsightsHistory = Awaited<ReturnType<typeof readInsightsHistory>>;
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
import type { InsightsModel } from "@hot-updater/plugin-core";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
readRecoveryInput,
|
|
5
|
-
type RecoveryInput,
|
|
6
|
-
type RecoveryReport,
|
|
7
|
-
type RecoverySeries,
|
|
8
|
-
} from "../insights-recovery";
|
|
9
|
-
import { readInsightsHistory, type InsightsHistory } from "./insightsHistory";
|
|
10
|
-
|
|
11
|
-
export async function getRecoveryReport(
|
|
12
|
-
model: InsightsModel,
|
|
13
|
-
input: RecoveryInput,
|
|
14
|
-
beforeReceivedAtMs = Date.now(),
|
|
15
|
-
): Promise<RecoveryReport> {
|
|
16
|
-
readRecoveryInput(input);
|
|
17
|
-
return buildRecoveryReport(
|
|
18
|
-
await readInsightsHistory(model, input.window, beforeReceivedAtMs),
|
|
19
|
-
input,
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export function buildRecoveryReport(
|
|
24
|
-
history: InsightsHistory,
|
|
25
|
-
input: RecoveryInput,
|
|
26
|
-
): RecoveryReport {
|
|
27
|
-
const { events, sinceMs, beforeReceivedAtMs, intervalMs, truncated } =
|
|
28
|
-
history;
|
|
29
|
-
const bucketStart = (time: number) =>
|
|
30
|
-
Math.floor(time / intervalMs) * intervalMs;
|
|
31
|
-
const releases = new Map<
|
|
32
|
-
string,
|
|
33
|
-
{
|
|
34
|
-
firstAppliedAtMs: number | null;
|
|
35
|
-
recovered: Set<string>;
|
|
36
|
-
buckets: Map<
|
|
37
|
-
number,
|
|
38
|
-
{
|
|
39
|
-
applied: number;
|
|
40
|
-
recovered: number;
|
|
41
|
-
installations: Set<string>;
|
|
42
|
-
lastRecoveredAtMs: number;
|
|
43
|
-
}
|
|
44
|
-
>;
|
|
45
|
-
}
|
|
46
|
-
>();
|
|
47
|
-
const ensureRelease = (id: string) => {
|
|
48
|
-
let release = releases.get(id);
|
|
49
|
-
if (!release) {
|
|
50
|
-
release = {
|
|
51
|
-
firstAppliedAtMs: null,
|
|
52
|
-
recovered: new Set(),
|
|
53
|
-
buckets: new Map(),
|
|
54
|
-
};
|
|
55
|
-
releases.set(id, release);
|
|
56
|
-
}
|
|
57
|
-
return release;
|
|
58
|
-
};
|
|
59
|
-
const latest = new Map<
|
|
60
|
-
string,
|
|
61
|
-
{ releaseId: string | null; bundleId: string; inScope: boolean }
|
|
62
|
-
>();
|
|
63
|
-
const active = new Map<string, number>();
|
|
64
|
-
const snapshots = new Map<number, Map<string, number> | null>();
|
|
65
|
-
let unattributedInstallations = 0;
|
|
66
|
-
let observed = false;
|
|
67
|
-
let eventIndex = 0;
|
|
68
|
-
for (
|
|
69
|
-
let startMs = bucketStart(sinceMs);
|
|
70
|
-
startMs < beforeReceivedAtMs;
|
|
71
|
-
startMs += intervalMs
|
|
72
|
-
) {
|
|
73
|
-
while (
|
|
74
|
-
eventIndex < events.length &&
|
|
75
|
-
events[eventIndex].received_at_ms < startMs + intervalMs
|
|
76
|
-
) {
|
|
77
|
-
const row = events[eventIndex++];
|
|
78
|
-
const inScope =
|
|
79
|
-
(input.platform === "all" || row.platform === input.platform) &&
|
|
80
|
-
row.channel === input.channel &&
|
|
81
|
-
(input.appVersion === undefined ||
|
|
82
|
-
row.app_version === input.appVersion);
|
|
83
|
-
const previous = latest.get(row.install_id);
|
|
84
|
-
// Lifecycle reports can omit the ID on UNCHANGED. Only retain an observed ID for the same file and scope.
|
|
85
|
-
const releaseId =
|
|
86
|
-
row.to_release_id ??
|
|
87
|
-
(row.type === "UNCHANGED" &&
|
|
88
|
-
previous?.bundleId === row.to_bundle_id &&
|
|
89
|
-
previous.inScope === inScope
|
|
90
|
-
? previous.releaseId
|
|
91
|
-
: null);
|
|
92
|
-
if (previous?.inScope) {
|
|
93
|
-
if (previous.releaseId)
|
|
94
|
-
active.set(
|
|
95
|
-
previous.releaseId,
|
|
96
|
-
(active.get(previous.releaseId) ?? 0) - 1,
|
|
97
|
-
);
|
|
98
|
-
else unattributedInstallations -= 1;
|
|
99
|
-
}
|
|
100
|
-
latest.set(row.install_id, {
|
|
101
|
-
releaseId,
|
|
102
|
-
bundleId: row.to_bundle_id,
|
|
103
|
-
inScope,
|
|
104
|
-
});
|
|
105
|
-
if (!inScope) continue;
|
|
106
|
-
observed = true;
|
|
107
|
-
if (releaseId) {
|
|
108
|
-
ensureRelease(releaseId);
|
|
109
|
-
active.set(releaseId, (active.get(releaseId) ?? 0) + 1);
|
|
110
|
-
} else unattributedInstallations += 1;
|
|
111
|
-
if (row.from_release_id) ensureRelease(row.from_release_id);
|
|
112
|
-
const outcomeId =
|
|
113
|
-
row.type === "RECOVERED" ? row.from_release_id : row.to_release_id;
|
|
114
|
-
if (
|
|
115
|
-
!outcomeId ||
|
|
116
|
-
(row.type !== "RECOVERED" && row.type !== "UPDATE_APPLIED")
|
|
117
|
-
)
|
|
118
|
-
continue;
|
|
119
|
-
const release = ensureRelease(outcomeId);
|
|
120
|
-
const bucket = release.buckets.get(startMs) ?? {
|
|
121
|
-
applied: 0,
|
|
122
|
-
recovered: 0,
|
|
123
|
-
installations: new Set<string>(),
|
|
124
|
-
lastRecoveredAtMs: -1,
|
|
125
|
-
};
|
|
126
|
-
if (row.type === "RECOVERED") {
|
|
127
|
-
bucket.recovered += 1;
|
|
128
|
-
bucket.installations.add(row.install_id);
|
|
129
|
-
bucket.lastRecoveredAtMs = row.received_at_ms;
|
|
130
|
-
release.recovered.add(row.install_id);
|
|
131
|
-
} else {
|
|
132
|
-
bucket.applied += 1;
|
|
133
|
-
release.firstAppliedAtMs ??= row.received_at_ms;
|
|
134
|
-
}
|
|
135
|
-
release.buckets.set(startMs, bucket);
|
|
136
|
-
}
|
|
137
|
-
// Before the first report there is no observed installation state to chart.
|
|
138
|
-
snapshots.set(startMs, observed ? new Map(active) : null);
|
|
139
|
-
}
|
|
140
|
-
const series: RecoverySeries[] = [];
|
|
141
|
-
for (const [releaseId, release] of releases) {
|
|
142
|
-
if (input.releaseId && input.releaseId !== releaseId) continue;
|
|
143
|
-
let previousRate: number | null = null;
|
|
144
|
-
const points = Array.from(snapshots, ([startMs, snapshot]) => {
|
|
145
|
-
const bucket = release.buckets.get(startMs);
|
|
146
|
-
const applied = bucket?.applied ?? 0;
|
|
147
|
-
const recovered = bucket?.recovered ?? 0;
|
|
148
|
-
const total = applied + recovered;
|
|
149
|
-
const rate = total === 0 ? null : (recovered / total) * 100;
|
|
150
|
-
const spike =
|
|
151
|
-
release.firstAppliedAtMs !== null &&
|
|
152
|
-
(bucket?.lastRecoveredAtMs ?? -1) >= release.firstAppliedAtMs &&
|
|
153
|
-
(!truncated || previousRate !== null) &&
|
|
154
|
-
rate !== null &&
|
|
155
|
-
total >= 10 &&
|
|
156
|
-
recovered >= 3 &&
|
|
157
|
-
rate >= 10 &&
|
|
158
|
-
rate - (previousRate ?? 0) >= 10;
|
|
159
|
-
if (rate !== null) previousRate = rate;
|
|
160
|
-
return {
|
|
161
|
-
startMs,
|
|
162
|
-
active: snapshot ? (snapshot.get(releaseId) ?? 0) : null,
|
|
163
|
-
recoveredInstallations: bucket?.installations.size ?? 0,
|
|
164
|
-
applied,
|
|
165
|
-
recovered,
|
|
166
|
-
rate,
|
|
167
|
-
spike,
|
|
168
|
-
};
|
|
169
|
-
});
|
|
170
|
-
series.push({
|
|
171
|
-
releaseId,
|
|
172
|
-
firstAppliedAtMs: release.firstAppliedAtMs,
|
|
173
|
-
activeInstallations: active.get(releaseId) ?? 0,
|
|
174
|
-
recoveredInstallations: release.recovered.size,
|
|
175
|
-
points,
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
series.sort((a, b) => b.releaseId.localeCompare(a.releaseId));
|
|
179
|
-
return {
|
|
180
|
-
sinceMs,
|
|
181
|
-
beforeReceivedAtMs,
|
|
182
|
-
intervalMs,
|
|
183
|
-
truncated,
|
|
184
|
-
unattributedInstallations,
|
|
185
|
-
series,
|
|
186
|
-
};
|
|
187
|
-
}
|
package/src/routes/signing.tsx
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { createFileRoute } from "@tanstack/react-router";
|
|
2
|
-
import { ShieldCheck } from "lucide-react";
|
|
3
|
-
|
|
4
|
-
import { BundleSigningPage } from "@/components/features/signing/BundleSigningPage";
|
|
5
|
-
import { Badge } from "@/components/ui/badge";
|
|
6
|
-
import { SidebarTrigger } from "@/components/ui/sidebar";
|
|
7
|
-
|
|
8
|
-
export const Route = createFileRoute("/signing")({
|
|
9
|
-
component: BundleSigningRoute,
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
function BundleSigningRoute() {
|
|
13
|
-
return (
|
|
14
|
-
<div className="flex h-svh min-h-0 flex-col">
|
|
15
|
-
<header className="sticky top-0 z-10 flex shrink-0 flex-wrap items-center gap-x-3 gap-y-1 border-b bg-background px-3 py-3 sm:min-h-12 sm:flex-nowrap sm:bg-card/70 sm:px-4 sm:backdrop-blur-sm">
|
|
16
|
-
<SidebarTrigger className="-ml-1" />
|
|
17
|
-
<div className="flex items-center gap-1.5">
|
|
18
|
-
<ShieldCheck
|
|
19
|
-
aria-hidden="true"
|
|
20
|
-
className="size-3.5 text-muted-foreground"
|
|
21
|
-
/>
|
|
22
|
-
<h1 className="text-sm font-medium">Bundle signing</h1>
|
|
23
|
-
</div>
|
|
24
|
-
<Badge variant="outline">Read-only</Badge>
|
|
25
|
-
<p className="basis-full pl-9 text-xs text-muted-foreground sm:basis-auto sm:pl-0">
|
|
26
|
-
Inspect the public key used to verify signed updates.
|
|
27
|
-
</p>
|
|
28
|
-
</header>
|
|
29
|
-
|
|
30
|
-
<div className="min-h-0 min-w-0 flex-1 overflow-y-auto bg-muted/5 p-3 sm:p-6">
|
|
31
|
-
<div className="mx-auto w-full max-w-5xl">
|
|
32
|
-
<BundleSigningPage />
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
);
|
|
37
|
-
}
|