@hot-updater/console 0.36.7 → 1.0.0-rc.1
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/BundleIdDisplay-D4ErdU5_.js +1 -0
- package/.output/public/assets/InsightsCapabilityContext-B42VqvP6.js +1 -0
- package/.output/public/assets/api-keys-api-DGVTTvTJ.js +1 -0
- package/.output/public/assets/api-keys-z16OZIP4.js +1 -0
- package/.output/public/assets/badge-Br_KDO0J.js +1 -0
- package/.output/public/assets/card-DzuEXvyJ.js +1 -0
- package/.output/public/assets/chart-no-axes-combined-FaYMGmQS.js +1 -0
- package/.output/public/assets/createServerFn-gM2-LFBy.js +3 -0
- package/.output/public/assets/dialog-BeAENgez.js +1 -0
- package/.output/public/assets/dist-Bssh_cv0.js +1 -0
- package/.output/public/assets/field-Buq148-A.js +1 -0
- package/.output/public/assets/index-uOpQAIC4.js +10 -0
- package/.output/public/assets/input-group-B3p5UpyW.js +1 -0
- package/.output/public/assets/insights-DJTr7Ozn.js +1 -0
- package/.output/public/assets/insights-api-DVMOoRMS.js +1 -0
- package/.output/public/assets/installations-BY64iIAK.js +2 -0
- package/.output/public/assets/installations-D5v9i3AL.js +1 -0
- package/.output/public/assets/lazyRouteComponent-DKYu5cZJ.js +1 -0
- package/.output/public/assets/preload-helper-CQ36nxok.js +1 -0
- package/.output/public/assets/refresh-cw-BkbfZ62O.js +1 -0
- package/.output/public/assets/routes-BuoI5-Cr.js +2 -0
- package/.output/public/assets/routes-C8fvgETO.js +1 -0
- package/.output/public/assets/search-qsIDvS2I.js +1 -0
- package/.output/public/assets/shield-check-DE_hVuHu.js +1 -0
- package/.output/public/assets/signing-mJD88Y4C.js +1 -0
- package/.output/public/assets/styles-BZIG7t42.css +2 -0
- package/.output/public/assets/table-RamFEclP.js +1 -0
- package/.output/public/assets/useCompositeListItem-ChzDqdpc.js +42 -0
- package/.output/public/assets/useMutation-JsGVjQMY.js +1 -0
- package/.output/public/assets/useOpenInteractionType-Dwfy-SpA.js +1 -0
- package/.output/server/__23tanstack-start-server-fn-resolver-Dftxlm2E.mjs +146 -0
- package/.output/server/_libs/@base-ui/react+[...].mjs +16124 -0
- package/.output/server/_libs/@reduxjs/toolkit+[...].mjs +1554 -0
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +41 -10
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +132 -0
- package/.output/server/_libs/d3-array.mjs +231 -0
- package/.output/server/_libs/d3-color.mjs +330 -0
- package/.output/server/_libs/d3-format.mjs +252 -0
- package/.output/server/_libs/d3-interpolate.mjs +207 -0
- package/.output/server/_libs/d3-path.mjs +77 -0
- package/.output/server/_libs/d3-scale+[...].mjs +1907 -0
- package/.output/server/_libs/d3-shape.mjs +818 -0
- package/.output/server/_libs/decimal.js-light.mjs +884 -0
- package/.output/server/_libs/es-toolkit.mjs +1134 -0
- package/.output/server/_libs/eventemitter3.mjs +236 -0
- package/.output/server/_libs/immer.mjs +532 -0
- package/.output/server/_libs/lucide-react.mjs +141 -13
- package/.output/server/_libs/next-themes.mjs +2 -2
- package/.output/server/_libs/react-redux+[...].mjs +205 -0
- package/.output/server/_libs/recharts+[...].mjs +14117 -0
- package/.output/server/_libs/sonner.mjs +2 -2
- package/.output/server/_libs/tanstack__query-core.mjs +114 -1
- package/.output/server/_libs/tanstack__react-query.mjs +3 -4
- package/.output/server/_runtime.mjs +10 -1
- package/.output/server/_ssr/BundleActivityChart-CWcdPuUn.mjs +288 -0
- package/.output/server/_ssr/BundleIdDisplay-BEvB3MvA.mjs +13 -0
- package/.output/server/_ssr/InsightsCapabilityContext-Cx8fjm2s.mjs +15 -0
- package/.output/server/_ssr/api-keys-CpBqHpuC.mjs +300 -0
- package/.output/server/_ssr/api-keys-api-Czkp57UV.mjs +60 -0
- package/.output/server/_ssr/api-keys-rpc-BTtMDSoR.mjs +136 -0
- package/.output/server/_ssr/api-rpc-BEX8ISai.mjs +1468 -0
- package/.output/server/_ssr/auth-BF8mbAgF.mjs +21 -0
- package/.output/server/_ssr/auth-rpc-BFMEC-TT.mjs +24 -0
- package/.output/server/_ssr/auth.server-DW71WzsD.mjs +47 -0
- package/.output/server/_ssr/badge-CpWXQwyF.mjs +26 -0
- package/.output/server/_ssr/bundle-signing-rpc-BbCFUQSu.mjs +16 -0
- package/.output/server/_ssr/bundle-signing.server-C4NW5mWx.mjs +12 -0
- package/.output/server/_ssr/card-Bsc8mRis.mjs +86 -0
- package/.output/server/_ssr/config-Dv8qLDZ0.mjs +13 -0
- package/.output/server/_ssr/config.server-DQYEr_5X.mjs +361 -0
- package/.output/server/_ssr/{createServerFn-DzU0k62V.mjs → createServerFn-B2hcXoPM.mjs} +1 -1
- package/.output/server/_ssr/createServerRpc-DB29C_5p.mjs +12 -0
- package/.output/server/_ssr/{sidebar-Cv_H0_Jv.mjs → createSsrRpc-DhfrxEjg.mjs} +68 -50
- package/.output/server/_ssr/databaseRows-QlCYLi0H.mjs +166 -0
- package/.output/server/_ssr/deleteBundle-Cu_XOMt0.mjs +66 -0
- package/.output/server/_ssr/dialog-C0vKUp8R.mjs +170 -0
- package/.output/server/_ssr/dist-BVSLTpoP.mjs +250 -0
- package/.output/server/_ssr/downloadBundle-CNnYxYO2.mjs +24 -0
- package/.output/server/_ssr/{empty-plugin-adapters-B4HCzgmM.mjs → empty-plugin-adapters-B5QvGpEl.mjs} +1 -1
- package/.output/server/_ssr/field-DASCh-5d.mjs +74 -0
- package/.output/server/_ssr/{getBundleChildren-CVtSiH5t.mjs → getBundleChildren-BcRMFoDF.mjs} +10 -18
- package/.output/server/_ssr/input-group-etIsBUqv.mjs +288 -0
- package/.output/server/_ssr/insights-api-C1F7UreR.mjs +71 -0
- package/.output/server/_ssr/insights-input-9fEJF-ZG.mjs +96 -0
- package/.output/server/_ssr/insights-rpc-C-8R6kED.mjs +155 -0
- package/.output/server/_ssr/insights-ygT_aIfo.mjs +858 -0
- package/.output/server/_ssr/installations-DqRT1QTd.mjs +535 -0
- package/.output/server/_ssr/installations-K8TCYTYh.mjs +19 -0
- package/.output/server/_ssr/router-BxBEvtF1.mjs +513 -0
- package/.output/server/_ssr/routes-BC7rn-tf.mjs +37 -0
- package/.output/server/_ssr/routes-CM5KAwpB.mjs +2285 -0
- package/.output/server/_ssr/runtime.server-la7TRAH_.mjs +527 -0
- package/.output/server/_ssr/server-CpzW--lT.mjs +7468 -0
- package/.output/server/_ssr/signing-jk4HANnl.mjs +134 -0
- package/.output/server/_ssr/ssr.mjs +4 -5740
- package/.output/server/_ssr/start-DpViQGnt.mjs +4 -0
- package/.output/server/_ssr/table-CU58HeI7.mjs +53 -0
- package/.output/server/_ssr/uuidv7-CaKuKXrV.mjs +31 -0
- package/.output/server/_tanstack-start-manifest_v-Mz9MmSlD.mjs +103 -0
- package/.output/server/index.mjs +229 -47
- package/README.md +29 -8
- package/lib/index.d.mts +35 -0
- package/lib/index.mjs +4 -0
- package/lib/vite-internal.mjs +127 -0
- package/lib/vite.d.mts +10 -0
- package/lib/vite.mjs +5 -0
- package/package.json +51 -29
- package/public/apple-touch-icon.png +0 -0
- package/public/favicon-16x16.png +0 -0
- package/public/favicon-32x32.png +0 -0
- package/public/favicon.ico +0 -0
- package/public/logo.svg +1 -0
- package/public/manifest.json +30 -0
- package/public/robots.txt +3 -0
- package/src/components/AppSidebar.tsx +159 -0
- package/src/components/BundleIdDisplay.tsx +18 -0
- package/src/components/ChannelBadge.tsx +31 -0
- package/src/components/ConsoleAccessPage.tsx +122 -0
- package/src/components/EnabledStatusIcon.tsx +54 -0
- package/src/components/HashValueDisplay.tsx +85 -0
- package/src/components/HotUpdaterLogo.tsx +30 -0
- package/src/components/NotFoundPage.tsx +33 -0
- package/src/components/PlatformIcon.tsx +39 -0
- package/src/components/RolloutPercentageBadge.tsx +28 -0
- package/src/components/ThemeProvider.tsx +116 -0
- package/src/components/TimestampDisplay.tsx +41 -0
- package/src/components/features/api-keys/ApiKeysPage.tsx +377 -0
- package/src/components/features/bundles/BundleActivityChart.tsx +193 -0
- package/src/components/features/bundles/BundleChildrenPanel.tsx +201 -0
- package/src/components/features/bundles/BundleInsightsSummary.tsx +123 -0
- package/src/components/features/bundles/BundleMetadata.tsx +136 -0
- package/src/components/features/bundles/RolloutCohortsDialog.tsx +201 -0
- package/src/components/features/channels/ChannelManagementDialog.tsx +228 -0
- package/src/components/features/insights/ActivityChart.tsx +150 -0
- package/src/components/features/insights/BundleDistribution.tsx +133 -0
- package/src/components/features/insights/BundleSelector.tsx +114 -0
- package/src/components/features/insights/InsightsCapabilityContext.tsx +24 -0
- package/src/components/features/insights/InsightsControls.tsx +115 -0
- package/src/components/features/insights/InsightsErrorAlert.tsx +21 -0
- package/src/components/features/insights/InsightsOverview.tsx +208 -0
- package/src/components/features/insights/InstallationHistoryCard.tsx +248 -0
- package/src/components/features/insights/InstallationMatchesCard.tsx +132 -0
- package/src/components/features/insights/InstallationPageHeader.tsx +138 -0
- package/src/components/features/insights/InstallationPagination.tsx +48 -0
- package/src/components/features/insights/InstallationSearch.tsx +230 -0
- package/src/components/features/insights/UpdateOutcomes.tsx +147 -0
- package/src/components/features/releases/ReleaseEditorSheet.tsx +879 -0
- package/src/components/features/releases/ReleaseStateBadge.tsx +20 -0
- package/src/components/features/signing/BundleSigningPage.tsx +139 -0
- package/src/components/ui/alert-dialog.tsx +185 -0
- package/src/components/ui/alert.tsx +76 -0
- package/src/components/ui/badge.tsx +49 -0
- package/src/components/ui/button.tsx +58 -0
- package/src/components/ui/card.tsx +89 -0
- package/src/components/ui/chart.tsx +371 -0
- package/src/components/ui/combobox.tsx +303 -0
- package/src/components/ui/dialog.tsx +156 -0
- package/src/components/ui/dropdown-menu.tsx +270 -0
- package/src/components/ui/field.tsx +235 -0
- package/src/components/ui/input-group.tsx +147 -0
- package/src/components/ui/input.tsx +19 -0
- package/src/components/ui/label.tsx +25 -0
- package/src/components/ui/progress.tsx +84 -0
- package/src/components/ui/select.tsx +205 -0
- package/src/components/ui/separator.tsx +23 -0
- package/src/components/ui/sheet.tsx +132 -0
- package/src/components/ui/sidebar.tsx +779 -0
- package/src/components/ui/skeleton.tsx +13 -0
- package/src/components/ui/slider.tsx +56 -0
- package/src/components/ui/sonner.tsx +45 -0
- package/src/components/ui/switch.tsx +25 -0
- package/src/components/ui/table.tsx +114 -0
- package/src/components/ui/textarea.tsx +18 -0
- package/src/components/ui/toggle-group.tsx +89 -0
- package/src/components/ui/toggle.tsx +43 -0
- package/src/components/ui/tooltip.tsx +66 -0
- package/src/hooks/use-mobile.ts +30 -0
- package/src/index.ts +47 -0
- package/src/lib/api-keys-api.ts +69 -0
- package/src/lib/api-keys-rpc.ts +87 -0
- package/src/lib/api-rpc.ts +478 -0
- package/src/lib/api.ts +444 -0
- package/src/lib/auth-rpc.ts +16 -0
- package/src/lib/bundle-signing-api.ts +14 -0
- package/src/lib/bundle-signing-rpc.ts +16 -0
- package/src/lib/constants.ts +1 -0
- package/src/lib/git.ts +51 -0
- package/src/lib/insights-api.ts +144 -0
- package/src/lib/insights-error.ts +19 -0
- package/src/lib/insights-input.ts +187 -0
- package/src/lib/insights-overview.ts +170 -0
- package/src/lib/insights-rpc.ts +218 -0
- package/src/lib/server/auth.server.ts +43 -0
- package/src/lib/server/bundle-signing.server.ts +23 -0
- package/src/lib/server/config.server.ts +109 -0
- package/src/lib/server/console-runtime.server.ts +61 -0
- package/src/lib/server/deleteBundle.ts +145 -0
- package/src/lib/server/downloadBundle.ts +46 -0
- package/src/lib/server/getBundleChildren.ts +130 -0
- package/src/lib/server/listReleases.ts +61 -0
- package/src/lib/server/releaseActivity.ts +27 -0
- package/src/lib/server/releaseReachability.ts +95 -0
- package/src/lib/server/runtime.server.ts +172 -0
- package/src/lib/utils.ts +9 -0
- package/src/logo.svg +1 -0
- package/src/routeTree.gen.ts +199 -0
- package/src/router.tsx +21 -0
- package/src/routes/-installations-search.ts +19 -0
- package/src/routes/-releases-search.ts +74 -0
- package/src/routes/__root.tsx +174 -0
- package/src/routes/api/auth/$.ts +19 -0
- package/src/routes/api/bundles/$bundleId/download.ts +17 -0
- package/src/routes/api-keys.tsx +37 -0
- package/src/routes/index.tsx +982 -0
- package/src/routes/insights.tsx +139 -0
- package/src/routes/installations.tsx +194 -0
- package/src/routes/signing.tsx +37 -0
- package/src/styles.css +152 -0
- package/src/virtual-modules.d.ts +21 -0
- package/src/vite-env.d.ts +1 -0
- package/src/vite-internal.ts +195 -0
- package/src/vite.ts +12 -0
- package/.output/public/assets/dist-DJX53faP.js +0 -3
- package/.output/public/assets/index-Iylis5kY.js +0 -10
- package/.output/public/assets/routes-HT21hs0C.js +0 -54
- package/.output/public/assets/styles-C0Re4quB.css +0 -2
- package/.output/server/__23tanstack-start-server-fn-resolver-CgwgZ0-i.mjs +0 -66
- package/.output/server/_libs/@floating-ui/core+[...].mjs +0 -698
- package/.output/server/_libs/@floating-ui/dom+[...].mjs +0 -644
- package/.output/server/_libs/@floating-ui/react-dom+[...].mjs +0 -839
- package/.output/server/_libs/@radix-ui/react-alert-dialog+[...].mjs +0 -2138
- package/.output/server/_libs/@radix-ui/react-popper+[...].mjs +0 -308
- package/.output/server/_libs/@radix-ui/react-select+[...].mjs +0 -1038
- package/.output/server/_libs/@tanstack/devtools-event-client+[...].mjs +0 -196
- package/.output/server/_libs/@tanstack/form-core+[...].mjs +0 -3228
- package/.output/server/_libs/@tanstack/react-form+[...].mjs +0 -430
- package/.output/server/_libs/@tanstack/react-table+[...].mjs +0 -2382
- package/.output/server/_libs/radix-ui__number.mjs +0 -6
- package/.output/server/_libs/radix-ui__primitive.mjs +0 -9
- package/.output/server/_libs/radix-ui__react-arrow.mjs +0 -23
- package/.output/server/_libs/radix-ui__react-collection.mjs +0 -78
- package/.output/server/_libs/radix-ui__react-direction.mjs +0 -13
- package/.output/server/_libs/radix-ui__react-label.mjs +0 -22
- package/.output/server/_libs/radix-ui__react-separator.mjs +0 -30
- package/.output/server/_libs/radix-ui__react-slider.mjs +0 -510
- package/.output/server/_libs/radix-ui__react-switch.mjs +0 -157
- package/.output/server/_libs/radix-ui__react-tooltip.mjs +0 -493
- package/.output/server/_ssr/api-rpc-BIbDUKSz.mjs +0 -292
- package/.output/server/_ssr/config.server-BSS366KT.mjs +0 -41
- package/.output/server/_ssr/deleteBundle-BgbZTtpW.mjs +0 -141
- package/.output/server/_ssr/dist-KboydRVk.mjs +0 -120
- package/.output/server/_ssr/router-C3hqEy3k.mjs +0 -307
- package/.output/server/_ssr/routes-B0lQvvlC.mjs +0 -3048
- package/.output/server/_ssr/start-02sLteYG.mjs +0 -4
- package/.output/server/_ssr/storageProfile-FVkjPoGb.mjs +0 -9
- package/.output/server/_tanstack-start-manifest_v-Bpx52WOU.mjs +0 -20
- package/.output/server/node_modules/tslib/modules/index.js +0 -70
- package/.output/server/node_modules/tslib/modules/package.json +0 -3
- package/.output/server/node_modules/tslib/package.json +0 -47
- package/.output/server/node_modules/tslib/tslib.js +0 -484
- package/.output/server/package.json +0 -9
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import type { ActiveInstallationWindow } from "@hot-updater/server";
|
|
2
|
+
import { createFileRoute, useNavigate } from "@tanstack/react-router";
|
|
3
|
+
import { ChartNoAxesCombined } from "lucide-react";
|
|
4
|
+
import { useState } from "react";
|
|
5
|
+
|
|
6
|
+
import { useInsightsCapability } from "@/components/features/insights/InsightsCapabilityContext";
|
|
7
|
+
import { InsightsControls } from "@/components/features/insights/InsightsControls";
|
|
8
|
+
import { InsightsOverview } from "@/components/features/insights/InsightsOverview";
|
|
9
|
+
import type { UpdateOutcomeState } from "@/components/features/insights/UpdateOutcomes";
|
|
10
|
+
import { SidebarTrigger } from "@/components/ui/sidebar";
|
|
11
|
+
import { useBundleEventInsightsQuery } from "@/lib/api";
|
|
12
|
+
import {
|
|
13
|
+
ensureInsightsRouteAccess,
|
|
14
|
+
useActiveInstallationQuery,
|
|
15
|
+
useInsightsOverviewQuery,
|
|
16
|
+
} from "@/lib/insights-api";
|
|
17
|
+
|
|
18
|
+
export const Route = createFileRoute("/insights")({
|
|
19
|
+
beforeLoad: ({ context }) => ensureInsightsRouteAccess(context.queryClient),
|
|
20
|
+
component: InsightsPage,
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
function InsightsPage() {
|
|
24
|
+
const capability = useInsightsCapability();
|
|
25
|
+
const navigate = useNavigate();
|
|
26
|
+
const [window, setWindow] = useState<ActiveInstallationWindow>("30d");
|
|
27
|
+
const [selectedBundleId, setSelectedBundleId] = useState("");
|
|
28
|
+
const catalog = useInsightsOverviewQuery(capability);
|
|
29
|
+
const active = useActiveInstallationQuery(capability, { window });
|
|
30
|
+
const configuredById = new Map(
|
|
31
|
+
catalog.data?.configuredRollouts.map((rollout) => [
|
|
32
|
+
rollout.bundleId,
|
|
33
|
+
rollout,
|
|
34
|
+
]) ?? [],
|
|
35
|
+
);
|
|
36
|
+
const bundleIds = new Set([
|
|
37
|
+
...(active.data?.bundles.map(({ bundleId }) => bundleId) ?? []),
|
|
38
|
+
...(catalog.data?.configuredRollouts.map(({ bundleId }) => bundleId) ?? []),
|
|
39
|
+
]);
|
|
40
|
+
const bundleOptions = [...bundleIds].map((bundleId) => {
|
|
41
|
+
const configured = configuredById.get(bundleId);
|
|
42
|
+
const appVersion = configured?.bundle.targetAppVersion ?? "all versions";
|
|
43
|
+
return {
|
|
44
|
+
bundleId,
|
|
45
|
+
description: configured
|
|
46
|
+
? `${configured.bundle.platform === "ios" ? "iOS" : "Android"} · ${configured.bundle.channel} · ${appVersion}`
|
|
47
|
+
: "Metadata unavailable",
|
|
48
|
+
};
|
|
49
|
+
});
|
|
50
|
+
const bundleId = bundleIds.has(selectedBundleId)
|
|
51
|
+
? selectedBundleId
|
|
52
|
+
: (bundleOptions[0]?.bundleId ?? "");
|
|
53
|
+
const outcomes = useBundleEventInsightsQuery(
|
|
54
|
+
{
|
|
55
|
+
bundleId,
|
|
56
|
+
window,
|
|
57
|
+
limit: 1,
|
|
58
|
+
offset: 0,
|
|
59
|
+
},
|
|
60
|
+
capability.status === "supported" && bundleId.length > 0,
|
|
61
|
+
);
|
|
62
|
+
const outcomeState: UpdateOutcomeState = !bundleId
|
|
63
|
+
? { status: "idle" }
|
|
64
|
+
: outcomes.isLoading
|
|
65
|
+
? { status: "loading", bundleId }
|
|
66
|
+
: outcomes.error
|
|
67
|
+
? { status: "error", bundleId, error: outcomes.error }
|
|
68
|
+
: outcomes.data
|
|
69
|
+
? {
|
|
70
|
+
status: "success",
|
|
71
|
+
bundleId,
|
|
72
|
+
data: outcomes.data,
|
|
73
|
+
}
|
|
74
|
+
: { status: "loading", bundleId };
|
|
75
|
+
const insightsError = active.error ?? catalog.error;
|
|
76
|
+
|
|
77
|
+
return (
|
|
78
|
+
<div className="flex h-svh min-h-0 flex-col">
|
|
79
|
+
<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">
|
|
80
|
+
<SidebarTrigger className="-ml-1" />
|
|
81
|
+
<div className="flex items-center gap-1.5">
|
|
82
|
+
<ChartNoAxesCombined
|
|
83
|
+
aria-hidden="true"
|
|
84
|
+
className="size-3.5 text-muted-foreground"
|
|
85
|
+
/>
|
|
86
|
+
<h1 className="text-sm font-medium">Insights</h1>
|
|
87
|
+
</div>
|
|
88
|
+
<p className="basis-full pl-9 text-xs text-muted-foreground sm:basis-auto sm:pl-0">
|
|
89
|
+
Bundle adoption and movement over time.
|
|
90
|
+
</p>
|
|
91
|
+
</header>
|
|
92
|
+
|
|
93
|
+
<div className="min-h-0 min-w-0 flex-1 overflow-y-auto bg-muted/5 p-3 sm:p-6">
|
|
94
|
+
<div className="mx-auto flex w-full max-w-6xl flex-col gap-6">
|
|
95
|
+
{capability.status === "supported" &&
|
|
96
|
+
capability.mode === "bounded" ? (
|
|
97
|
+
<p className="text-xs text-muted-foreground">
|
|
98
|
+
This database scans up to{" "}
|
|
99
|
+
{capability.maxMatchingRows.toLocaleString()} matching insights
|
|
100
|
+
records per query.
|
|
101
|
+
</p>
|
|
102
|
+
) : null}
|
|
103
|
+
<InsightsControls
|
|
104
|
+
onInstallationSearch={(query) => {
|
|
105
|
+
void navigate({
|
|
106
|
+
to: "/installations",
|
|
107
|
+
search: {
|
|
108
|
+
query,
|
|
109
|
+
installId: undefined,
|
|
110
|
+
searchOffset: 0,
|
|
111
|
+
historyOffset: 0,
|
|
112
|
+
},
|
|
113
|
+
});
|
|
114
|
+
}}
|
|
115
|
+
onWindowChange={setWindow}
|
|
116
|
+
window={window}
|
|
117
|
+
/>
|
|
118
|
+
{active.isLoading || catalog.isLoading ? (
|
|
119
|
+
<InsightsOverview status="loading" />
|
|
120
|
+
) : insightsError ? (
|
|
121
|
+
<InsightsOverview status="error" error={insightsError} />
|
|
122
|
+
) : active.data && catalog.data ? (
|
|
123
|
+
<InsightsOverview
|
|
124
|
+
active={active.data}
|
|
125
|
+
bundleId={bundleId}
|
|
126
|
+
bundles={bundleOptions}
|
|
127
|
+
catalog={catalog.data}
|
|
128
|
+
onBundleChange={setSelectedBundleId}
|
|
129
|
+
outcomes={outcomeState}
|
|
130
|
+
status="success"
|
|
131
|
+
/>
|
|
132
|
+
) : (
|
|
133
|
+
<InsightsOverview status="loading" />
|
|
134
|
+
)}
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
);
|
|
139
|
+
}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { createFileRoute } from "@tanstack/react-router";
|
|
2
|
+
import { useEffect, useMemo, useState } from "react";
|
|
3
|
+
|
|
4
|
+
import { useInsightsCapability } from "@/components/features/insights/InsightsCapabilityContext";
|
|
5
|
+
import { InstallationHistoryCard } from "@/components/features/insights/InstallationHistoryCard";
|
|
6
|
+
import { InstallationMatchesCard } from "@/components/features/insights/InstallationMatchesCard";
|
|
7
|
+
import {
|
|
8
|
+
InstallationPageHeader,
|
|
9
|
+
InstallationResultsSkeleton,
|
|
10
|
+
InstallationSearchPanel,
|
|
11
|
+
} from "@/components/features/insights/InstallationPageHeader";
|
|
12
|
+
import {
|
|
13
|
+
type InstallationSearchRow,
|
|
14
|
+
useInstallationHistoryQuery,
|
|
15
|
+
useInstallationSearchQuery,
|
|
16
|
+
} from "@/lib/api";
|
|
17
|
+
import {
|
|
18
|
+
ensureInsightsRouteAccess,
|
|
19
|
+
isInsightsQueryEnabled,
|
|
20
|
+
} from "@/lib/insights-api";
|
|
21
|
+
|
|
22
|
+
import { validateInstallationsSearch } from "./-installations-search";
|
|
23
|
+
|
|
24
|
+
const SEARCH_LIMIT = 20;
|
|
25
|
+
const HISTORY_LIMIT = 50;
|
|
26
|
+
|
|
27
|
+
export const Route = createFileRoute("/installations")({
|
|
28
|
+
beforeLoad: ({ context }) => ensureInsightsRouteAccess(context.queryClient),
|
|
29
|
+
component: InstallationsPage,
|
|
30
|
+
validateSearch: validateInstallationsSearch,
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
function InstallationsPage() {
|
|
34
|
+
const capability = useInsightsCapability();
|
|
35
|
+
const insightsQueriesEnabled = isInsightsQueryEnabled(capability);
|
|
36
|
+
const search = Route.useSearch();
|
|
37
|
+
const navigate = Route.useNavigate();
|
|
38
|
+
const [draftQuery, setDraftQuery] = useState(search.query ?? "");
|
|
39
|
+
|
|
40
|
+
useEffect(() => {
|
|
41
|
+
setDraftQuery(search.query ?? "");
|
|
42
|
+
}, [search.query]);
|
|
43
|
+
|
|
44
|
+
const query = search.query?.trim() ?? "";
|
|
45
|
+
const {
|
|
46
|
+
data: results,
|
|
47
|
+
error: searchError,
|
|
48
|
+
isLoading: isSearchLoading,
|
|
49
|
+
} = useInstallationSearchQuery(
|
|
50
|
+
{
|
|
51
|
+
query,
|
|
52
|
+
limit: SEARCH_LIMIT,
|
|
53
|
+
offset: search.searchOffset,
|
|
54
|
+
},
|
|
55
|
+
insightsQueriesEnabled,
|
|
56
|
+
);
|
|
57
|
+
const selectedInstallId = search.installId ?? "";
|
|
58
|
+
const firstMatchingInstallId = results?.data[0]?.installId;
|
|
59
|
+
|
|
60
|
+
useEffect(() => {
|
|
61
|
+
if (selectedInstallId || !firstMatchingInstallId) return;
|
|
62
|
+
void navigate({
|
|
63
|
+
to: "/installations",
|
|
64
|
+
search: {
|
|
65
|
+
query: search.query,
|
|
66
|
+
installId: firstMatchingInstallId,
|
|
67
|
+
searchOffset: search.searchOffset,
|
|
68
|
+
historyOffset: 0,
|
|
69
|
+
},
|
|
70
|
+
replace: true,
|
|
71
|
+
});
|
|
72
|
+
}, [
|
|
73
|
+
firstMatchingInstallId,
|
|
74
|
+
navigate,
|
|
75
|
+
search.query,
|
|
76
|
+
search.searchOffset,
|
|
77
|
+
selectedInstallId,
|
|
78
|
+
]);
|
|
79
|
+
|
|
80
|
+
const {
|
|
81
|
+
data: history,
|
|
82
|
+
error: historyError,
|
|
83
|
+
isLoading: isHistoryLoading,
|
|
84
|
+
} = useInstallationHistoryQuery(
|
|
85
|
+
{
|
|
86
|
+
installId: selectedInstallId,
|
|
87
|
+
limit: HISTORY_LIMIT,
|
|
88
|
+
offset: search.historyOffset,
|
|
89
|
+
},
|
|
90
|
+
insightsQueriesEnabled,
|
|
91
|
+
);
|
|
92
|
+
const selectedInstallation = useMemo(
|
|
93
|
+
() =>
|
|
94
|
+
results?.data.find(
|
|
95
|
+
(event: InstallationSearchRow) => event.installId === selectedInstallId,
|
|
96
|
+
) ?? null,
|
|
97
|
+
[results?.data, selectedInstallId],
|
|
98
|
+
);
|
|
99
|
+
const selectedEvent = selectedInstallation ?? history?.data[0];
|
|
100
|
+
|
|
101
|
+
const updateSearch = (
|
|
102
|
+
nextSearch: {
|
|
103
|
+
query?: string;
|
|
104
|
+
installId?: string;
|
|
105
|
+
searchOffset?: number;
|
|
106
|
+
historyOffset?: number;
|
|
107
|
+
},
|
|
108
|
+
replace = false,
|
|
109
|
+
) => {
|
|
110
|
+
void navigate({
|
|
111
|
+
to: "/installations",
|
|
112
|
+
search: {
|
|
113
|
+
query: nextSearch.query,
|
|
114
|
+
installId: nextSearch.installId,
|
|
115
|
+
searchOffset: nextSearch.searchOffset ?? 0,
|
|
116
|
+
historyOffset: nextSearch.historyOffset ?? 0,
|
|
117
|
+
},
|
|
118
|
+
replace,
|
|
119
|
+
});
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
const hasQuery = query.length > 0 || selectedInstallId.length > 0;
|
|
123
|
+
|
|
124
|
+
return (
|
|
125
|
+
<div className="flex h-svh min-h-0 flex-col">
|
|
126
|
+
<InstallationPageHeader />
|
|
127
|
+
<div className="min-h-0 min-w-0 flex-1 overflow-y-auto bg-muted/5 p-3 sm:p-6">
|
|
128
|
+
<div className="mx-auto flex w-full max-w-7xl flex-col gap-6">
|
|
129
|
+
<InstallationSearchPanel
|
|
130
|
+
draftQuery={draftQuery}
|
|
131
|
+
hasQuery={hasQuery}
|
|
132
|
+
onClear={() => {
|
|
133
|
+
setDraftQuery("");
|
|
134
|
+
updateSearch({ query: undefined, installId: undefined });
|
|
135
|
+
}}
|
|
136
|
+
onDraftQueryChange={setDraftQuery}
|
|
137
|
+
onSubmit={() => {
|
|
138
|
+
const nextQuery = draftQuery.trim();
|
|
139
|
+
updateSearch({
|
|
140
|
+
query: nextQuery || undefined,
|
|
141
|
+
installId: undefined,
|
|
142
|
+
});
|
|
143
|
+
}}
|
|
144
|
+
/>
|
|
145
|
+
{!hasQuery ? null : isSearchLoading ? (
|
|
146
|
+
<InstallationResultsSkeleton />
|
|
147
|
+
) : (
|
|
148
|
+
<div className="grid min-h-0 min-w-0 items-stretch gap-6 lg:min-h-96 lg:grid-cols-[minmax(18rem,20rem)_minmax(0,1fr)]">
|
|
149
|
+
<InstallationMatchesCard
|
|
150
|
+
error={searchError}
|
|
151
|
+
limit={SEARCH_LIMIT}
|
|
152
|
+
offset={search.searchOffset}
|
|
153
|
+
results={results}
|
|
154
|
+
selectedInstallId={selectedInstallId}
|
|
155
|
+
onOffsetChange={(searchOffset) =>
|
|
156
|
+
updateSearch({
|
|
157
|
+
query: search.query,
|
|
158
|
+
installId: undefined,
|
|
159
|
+
searchOffset,
|
|
160
|
+
historyOffset: 0,
|
|
161
|
+
})
|
|
162
|
+
}
|
|
163
|
+
onSelect={(installId) =>
|
|
164
|
+
updateSearch({
|
|
165
|
+
query: search.query,
|
|
166
|
+
installId,
|
|
167
|
+
searchOffset: search.searchOffset,
|
|
168
|
+
})
|
|
169
|
+
}
|
|
170
|
+
/>
|
|
171
|
+
<InstallationHistoryCard
|
|
172
|
+
error={historyError}
|
|
173
|
+
history={history}
|
|
174
|
+
isLoading={isHistoryLoading}
|
|
175
|
+
limit={HISTORY_LIMIT}
|
|
176
|
+
offset={search.historyOffset}
|
|
177
|
+
selectedEvent={selectedEvent}
|
|
178
|
+
selectedInstallId={selectedInstallId}
|
|
179
|
+
onOffsetChange={(historyOffset) =>
|
|
180
|
+
updateSearch({
|
|
181
|
+
query: search.query,
|
|
182
|
+
installId: selectedInstallId,
|
|
183
|
+
searchOffset: search.searchOffset,
|
|
184
|
+
historyOffset,
|
|
185
|
+
})
|
|
186
|
+
}
|
|
187
|
+
/>
|
|
188
|
+
</div>
|
|
189
|
+
)}
|
|
190
|
+
</div>
|
|
191
|
+
</div>
|
|
192
|
+
</div>
|
|
193
|
+
);
|
|
194
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
}
|
package/src/styles.css
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
@import "tw-animate-css";
|
|
3
|
+
@import "shadcn/tailwind.css";
|
|
4
|
+
@import "@fontsource-variable/inter";
|
|
5
|
+
|
|
6
|
+
@source "./";
|
|
7
|
+
|
|
8
|
+
@custom-variant dark (&:is(.dark *));
|
|
9
|
+
|
|
10
|
+
body {
|
|
11
|
+
@apply m-0;
|
|
12
|
+
font-family:
|
|
13
|
+
-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
|
|
14
|
+
"Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
|
15
|
+
-webkit-font-smoothing: antialiased;
|
|
16
|
+
-moz-osx-font-smoothing: grayscale;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
code {
|
|
20
|
+
font-family:
|
|
21
|
+
source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:root {
|
|
25
|
+
color-scheme: light;
|
|
26
|
+
--background: oklch(1 0 0);
|
|
27
|
+
--foreground: oklch(0.147 0.004 49.25);
|
|
28
|
+
--card: oklch(1 0 0);
|
|
29
|
+
--card-foreground: oklch(0.147 0.004 49.25);
|
|
30
|
+
--popover: oklch(1 0 0);
|
|
31
|
+
--popover-foreground: oklch(0.147 0.004 49.25);
|
|
32
|
+
--primary: oklch(0.646 0.222 41.116);
|
|
33
|
+
--primary-foreground: oklch(0.98 0.016 73.684);
|
|
34
|
+
--secondary: oklch(0.967 0.001 286.375);
|
|
35
|
+
--secondary-foreground: oklch(0.21 0.006 285.885);
|
|
36
|
+
--muted: oklch(0.97 0.001 106.424);
|
|
37
|
+
--muted-foreground: oklch(0.553 0.013 58.071);
|
|
38
|
+
--accent: oklch(0.646 0.222 41.116);
|
|
39
|
+
--accent-foreground: oklch(0.98 0.016 73.684);
|
|
40
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
41
|
+
--border: oklch(0.923 0.003 48.717);
|
|
42
|
+
--input: oklch(0.923 0.003 48.717);
|
|
43
|
+
--ring: oklch(0.709 0.01 56.259);
|
|
44
|
+
--chart-1: oklch(0.837 0.128 66.29);
|
|
45
|
+
--chart-2: oklch(0.705 0.213 47.604);
|
|
46
|
+
--chart-3: oklch(0.646 0.222 41.116);
|
|
47
|
+
--chart-4: oklch(0.553 0.195 38.402);
|
|
48
|
+
--chart-5: oklch(0.47 0.157 37.304);
|
|
49
|
+
--radius: 0.45rem;
|
|
50
|
+
--sidebar: oklch(0.985 0.001 106.423);
|
|
51
|
+
--sidebar-foreground: oklch(0.147 0.004 49.25);
|
|
52
|
+
--sidebar-primary: oklch(0.646 0.222 41.116);
|
|
53
|
+
--sidebar-primary-foreground: oklch(0.98 0.016 73.684);
|
|
54
|
+
--sidebar-accent: oklch(0.646 0.222 41.116);
|
|
55
|
+
--sidebar-accent-foreground: oklch(0.98 0.016 73.684);
|
|
56
|
+
--sidebar-border: oklch(0.923 0.003 48.717);
|
|
57
|
+
--sidebar-ring: oklch(0.709 0.01 56.259);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.dark {
|
|
61
|
+
color-scheme: dark;
|
|
62
|
+
--background: oklch(0.147 0.004 49.25);
|
|
63
|
+
--foreground: oklch(0.985 0.001 106.423);
|
|
64
|
+
--card: oklch(0.216 0.006 56.043);
|
|
65
|
+
--card-foreground: oklch(0.985 0.001 106.423);
|
|
66
|
+
--popover: oklch(0.216 0.006 56.043);
|
|
67
|
+
--popover-foreground: oklch(0.985 0.001 106.423);
|
|
68
|
+
--primary: oklch(0.705 0.213 47.604);
|
|
69
|
+
--primary-foreground: oklch(0.98 0.016 73.684);
|
|
70
|
+
--secondary: oklch(0.274 0.006 286.033);
|
|
71
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
72
|
+
--muted: oklch(0.268 0.007 34.298);
|
|
73
|
+
--muted-foreground: oklch(0.709 0.01 56.259);
|
|
74
|
+
--accent: oklch(0.705 0.213 47.604);
|
|
75
|
+
--accent-foreground: oklch(0.98 0.016 73.684);
|
|
76
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
77
|
+
--border: oklch(1 0 0 / 10%);
|
|
78
|
+
--input: oklch(1 0 0 / 15%);
|
|
79
|
+
--ring: oklch(0.553 0.013 58.071);
|
|
80
|
+
--chart-1: oklch(0.837 0.128 66.29);
|
|
81
|
+
--chart-2: oklch(0.705 0.213 47.604);
|
|
82
|
+
--chart-3: oklch(0.646 0.222 41.116);
|
|
83
|
+
--chart-4: oklch(0.553 0.195 38.402);
|
|
84
|
+
--chart-5: oklch(0.47 0.157 37.304);
|
|
85
|
+
--sidebar: oklch(0.216 0.006 56.043);
|
|
86
|
+
--sidebar-foreground: oklch(0.985 0.001 106.423);
|
|
87
|
+
--sidebar-primary: oklch(0.705 0.213 47.604);
|
|
88
|
+
--sidebar-primary-foreground: oklch(0.98 0.016 73.684);
|
|
89
|
+
--sidebar-accent: oklch(0.705 0.213 47.604);
|
|
90
|
+
--sidebar-accent-foreground: oklch(0.98 0.016 73.684);
|
|
91
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
92
|
+
--sidebar-ring: oklch(0.553 0.013 58.071);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@theme inline {
|
|
96
|
+
--font-sans: "Inter Variable", sans-serif;
|
|
97
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
98
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
99
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
100
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
101
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
102
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
103
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
104
|
+
--color-sidebar: var(--sidebar);
|
|
105
|
+
--color-chart-5: var(--chart-5);
|
|
106
|
+
--color-chart-4: var(--chart-4);
|
|
107
|
+
--color-chart-3: var(--chart-3);
|
|
108
|
+
--color-chart-2: var(--chart-2);
|
|
109
|
+
--color-chart-1: var(--chart-1);
|
|
110
|
+
--color-ring: var(--ring);
|
|
111
|
+
--color-input: var(--input);
|
|
112
|
+
--color-border: var(--border);
|
|
113
|
+
--color-destructive: var(--destructive);
|
|
114
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
115
|
+
--color-accent: var(--accent);
|
|
116
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
117
|
+
--color-muted: var(--muted);
|
|
118
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
119
|
+
--color-secondary: var(--secondary);
|
|
120
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
121
|
+
--color-primary: var(--primary);
|
|
122
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
123
|
+
--color-popover: var(--popover);
|
|
124
|
+
--color-card-foreground: var(--card-foreground);
|
|
125
|
+
--color-card: var(--card);
|
|
126
|
+
--color-foreground: var(--foreground);
|
|
127
|
+
--color-background: var(--background);
|
|
128
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
129
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
130
|
+
--radius-lg: var(--radius);
|
|
131
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
132
|
+
--radius-2xl: calc(var(--radius) + 8px);
|
|
133
|
+
--radius-3xl: calc(var(--radius) + 12px);
|
|
134
|
+
--radius-4xl: calc(var(--radius) + 16px);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@layer base {
|
|
138
|
+
* {
|
|
139
|
+
@apply border-border outline-ring/50;
|
|
140
|
+
}
|
|
141
|
+
body {
|
|
142
|
+
@apply font-sans bg-background text-foreground;
|
|
143
|
+
}
|
|
144
|
+
html {
|
|
145
|
+
@apply font-sans;
|
|
146
|
+
}
|
|
147
|
+
html,
|
|
148
|
+
body {
|
|
149
|
+
min-height: 100%;
|
|
150
|
+
background-color: var(--background);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare module "virtual:hot-updater-console/auth" {
|
|
2
|
+
import type { ConsoleAuthAdapter } from "./index";
|
|
3
|
+
|
|
4
|
+
const auth: ConsoleAuthAdapter;
|
|
5
|
+
export default auth;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare module "virtual:hot-updater-console/config" {
|
|
9
|
+
import type { HotUpdaterConsoleConfigSource } from "./index";
|
|
10
|
+
|
|
11
|
+
const config: HotUpdaterConsoleConfigSource;
|
|
12
|
+
export default config;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare module "virtual:hot-updater-console/package-router" {
|
|
16
|
+
export { getRouter } from "./router";
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare module "virtual:hot-updater-console/route-tree" {
|
|
20
|
+
export { routeTree } from "./routeTree.gen";
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|