@hot-updater/console 1.2.0-rc.51 → 1.2.0-rc.52
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/server/{__23tanstack-start-server-fn-resolver-pdhJfnex.mjs → __23tanstack-start-server-fn-resolver-5-sH58Zz.mjs} +58 -58
- package/.output/server/_libs/_.mjs +1 -1
- package/.output/server/_ssr/{BundleIdDisplay-Bbf_lM0q.mjs → BundleIdDisplay-BckrkdA8.mjs} +2 -2
- package/.output/server/_ssr/{ChannelPicker-D6dQe9hV.mjs → ChannelPicker-D6t_05Qj.mjs} +4 -4
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-cLOJizHM.mjs → ConsoleFeatureUnavailable-DO9N_oMb.mjs} +5 -5
- package/.output/server/_ssr/{EventDetails-Bf9A0sIH.mjs → EventDetails-eHJBruoj.mjs} +6 -6
- package/.output/server/_ssr/{FoldedRows-CBXPkthB.mjs → FoldedRows-CVbAvnm9.mjs} +4 -4
- package/.output/server/_ssr/{HashValueDisplay-CTRuGnTF.mjs → HashValueDisplay-B8AYphB-.mjs} +2 -2
- package/.output/server/_ssr/{InsightsPageHeader-CZYqpzbC.mjs → InsightsPageHeader-BFzDTBgX.mjs} +5 -5
- package/.output/server/_ssr/{IosInstall-Dnv68fhL.mjs → IosInstall-BlvkrktH.mjs} +6 -6
- package/.output/server/_ssr/{NativeBuildsNav-Dg43O2Cd.mjs → NativeBuildsNav-AfTTpjkh.mjs} +3 -3
- package/.output/server/_ssr/{NotFoundPage-C0hUVtGq.mjs → NotFoundPage-r-7WnJzQ.mjs} +2 -2
- package/.output/server/_ssr/{QrCode-BbK966IU.mjs → QrCode-DEZJJw2v.mjs} +2 -2
- package/.output/server/_ssr/{RelativeTime-CdBbi7fL.mjs → RelativeTime-D31YzeJa.mjs} +3 -3
- package/.output/server/_ssr/{RolloutPercentageBadge-CaK9SkbN.mjs → RolloutPercentageBadge-DGQCzLwL.mjs} +3 -3
- package/.output/server/_ssr/{RowReason-Cg035uIk.mjs → RowReason-XXsqcV8M.mjs} +3 -3
- package/.output/server/_ssr/{SandboxBadge-Zta6e__x.mjs → SandboxBadge-Dsbfs84l.mjs} +2 -2
- package/.output/server/_ssr/{TargetDisplay-DGqswOee.mjs → TargetDisplay-Cnnda7gi.mjs} +3 -3
- package/.output/server/_ssr/{alert-dialog-DFz9lm_Y.mjs → alert-dialog-CeW-6rPj.mjs} +1 -1
- package/.output/server/_ssr/{api-B2LCh6pv.mjs → api-BCfNV622.mjs} +3 -3
- package/.output/server/_ssr/{api-keys-BbtiHE85.mjs → api-keys-D41INr2x.mjs} +9 -9
- package/.output/server/_ssr/{api-keys-D3oOFnP9.mjs → api-keys-Pl9fE3ov.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-rpc-CJIR67Ch.mjs → api-keys-rpc-Dc63Z5sL.mjs} +3 -3
- package/.output/server/_ssr/{api-rpc-Bf7S-MaH.mjs → api-rpc-CBxVNmSb.mjs} +12 -12
- package/.output/server/_ssr/{auth-rpc-Dp-DCqh6.mjs → auth-rpc-DUiSq0md.mjs} +4 -4
- package/.output/server/_ssr/{auth.server-Cc0ZRXjk.mjs → auth.server-COR78Byc.mjs} +45 -7
- package/.output/server/_ssr/{badge-YEmoI1eN.mjs → badge-jJUdKmgf.mjs} +1 -1
- package/.output/server/_ssr/{card-D0a_6Dhh.mjs → card-lbRho9mB.mjs} +1 -1
- package/.output/server/_ssr/{config.server-CZRoGrFp.mjs → config.server-C72Rcb2P.mjs} +3 -3
- package/.output/server/_ssr/{console-access-OPT4g-IS.mjs → console-access-B6GCF0Pq.mjs} +2 -2
- package/.output/server/_ssr/{console-features-api-tjmlaM_N.mjs → console-features-api-GXe67Tju.mjs} +3 -3
- package/.output/server/_ssr/{console-features-rpc-SlXJxyZV.mjs → console-features-rpc-BB8bGBmb.mjs} +3 -3
- package/.output/server/_ssr/{dialog-ChHbf-yX.mjs → dialog-DLiITzNb.mjs} +1 -1
- package/.output/server/_ssr/{empty-jogqtpGm.mjs → empty-CRonI6yG.mjs} +2 -2
- package/.output/server/_ssr/{field-Df_Q9TWZ.mjs → field-CPlXgkpQ.mjs} +2 -2
- package/.output/server/_ssr/{input-group-CVf7oJb7.mjs → input-group-B0s6OlWV.mjs} +1 -1
- package/.output/server/_ssr/{insights-CWe8WEnp.mjs → insights-Bukk9Qg8.mjs} +19 -19
- package/.output/server/_ssr/{insights-DIRlQAyF.mjs → insights-CVUqkV9I.mjs} +2 -2
- package/.output/server/_ssr/{insights-DFSywrbh.mjs → insights-ToswhUey.mjs} +5 -5
- package/.output/server/_ssr/{insights-api-C9rxV0Tn.mjs → insights-api-CA17vWZa.mjs} +3 -3
- package/.output/server/_ssr/{insights-failures-rpc-wIScA1Qn.mjs → insights-failures-rpc-DQ15P_rm.mjs} +4 -4
- package/.output/server/_ssr/{insights-recovery-rpc-BVt-dUJZ.mjs → insights-recovery-rpc-CW4mfXig.mjs} +3 -3
- package/.output/server/_ssr/{insights-rpc-BDQqwXjX.mjs → insights-rpc-C4Xpuj96.mjs} +3 -3
- package/.output/server/_ssr/{insights-search-B56U9By9.mjs → insights-search-BULxEDkP.mjs} +2 -2
- package/.output/server/_ssr/{insights-usage-rpc-D6QC7xMU.mjs → insights-usage-rpc-BJXlIwCd.mjs} +3 -3
- package/.output/server/_ssr/{insights-usage-rpc-C084r9Yl.mjs → insights-usage-rpc-BO2bIBYf.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-BO1VAcAm.mjs → insights_.distribution-DRI0VBdO.mjs} +5 -5
- package/.output/server/_ssr/{insights_.distribution-CoTlEOe8.mjs → insights_.distribution-PeRcluc-.mjs} +13 -13
- package/.output/server/_ssr/{insights_.distribution-DP1M7WJo.mjs → insights_.distribution-SGWggxSh.mjs} +2 -2
- package/.output/server/_ssr/{installations-CY86CKgz.mjs → installations-B2QcWG6B.mjs} +2 -2
- package/.output/server/_ssr/{installations-CHXPyqGZ.mjs → installations-C692ehbS.mjs} +4 -4
- package/.output/server/_ssr/{installations-BczGuyup.mjs → installations-CJjMPoSX.mjs} +11 -11
- package/.output/server/_ssr/{ios-devices-rpc-B-9HHSKk.mjs → ios-devices-rpc-C0ksMG0_.mjs} +7 -7
- package/.output/server/_ssr/{iosDeviceCookie-CZArbhzA.mjs → iosDeviceCookie-D32VPfkD.mjs} +3 -3
- package/.output/server/_ssr/{iosDeviceProfile-CxeXYxc-.mjs → iosDeviceProfile-Ci_-qRZG.mjs} +2 -2
- package/.output/server/_ssr/{iosDevices-Ckjp_S09.mjs → iosDevices-Bk-459x2.mjs} +3 -3
- package/.output/server/_ssr/{native-builds-DGckAE3j.mjs → native-builds-2zov7e9h.mjs} +2 -2
- package/.output/server/_ssr/{native-builds-CKoFuBrT.mjs → native-builds-D8wSoxxF.mjs} +14 -14
- package/.output/server/_ssr/{native-builds_._buildId-EqbJ7R4A.mjs → native-builds_._buildId-B3rk9gG4.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_._buildId-BXfvqKmr.mjs → native-builds_._buildId-Do6W7jm2.mjs} +17 -17
- package/.output/server/_ssr/{native-builds_.devices-BJ75om8d.mjs → native-builds_.devices-KlAzG0Zy.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_.devices-X6JpinwG.mjs → native-builds_.devices-lv3e5WXD.mjs} +15 -15
- package/.output/server/_ssr/{nativeBuildDownloadLink-BAfCV_k_.mjs → nativeBuildDownloadLink-C9WaekZx.mjs} +2 -2
- package/.output/server/_ssr/{nativeBuildInstall-D2rK0m4j.mjs → nativeBuildInstall-SCpQShAb.mjs} +4 -4
- package/.output/server/_ssr/{nativeBuilds-B3LcuLs4.mjs → nativeBuilds-yTOa0vdF.mjs} +4 -4
- package/.output/server/_ssr/{release-adoption-rpc-xKxB0Ir0.mjs → release-adoption-rpc-CC35TIiN.mjs} +5 -5
- package/.output/server/_ssr/{releaseCatalogCompiler-CLDa8DuR.mjs → releaseCatalogCompiler-B7k_Eask.mjs} +72 -2
- package/.output/server/_ssr/{remote-config-w3s5hFj9.mjs → remote-config-B3udiYoT.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-DmEXPobC.mjs → remote-config-Erbkr_jI.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-rpc-BNPLt44i.mjs → remote-config-rpc-BNwGDXiU.mjs} +3 -3
- package/.output/server/_ssr/{remote-config-ByjC_BCV.mjs → remote-config-u5wKgmdI.mjs} +17 -17
- package/.output/server/_ssr/{router-C8NZ0bVd.mjs → router-BdIR78Dg.mjs} +33 -33
- package/.output/server/_ssr/{routes-B8Gmx46E.mjs → routes-DiZ2ak9R.mjs} +8 -8
- package/.output/server/_ssr/{routes-DvpKW5gf.mjs → routes-DsdrQwy2.mjs} +22 -22
- package/.output/server/_ssr/{schema-migration-rpc-DlahGhrf.mjs → schema-migration-rpc-C1KyK4Vo.mjs} +3 -3
- package/.output/server/_ssr/{select-Csnyblf2.mjs → select-E27bwyIg.mjs} +1 -1
- package/.output/server/_ssr/{server-Yr7QLPLj.mjs → server-3Oa4eaU_.mjs} +2 -2
- package/.output/server/_ssr/{sidebar-bKoOUlMN.mjs → sidebar-Di_cdJt9.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{switch-C-HJ8oZV.mjs → switch-BYzRl3rt.mjs} +2 -2
- package/.output/server/_ssr/{table-DSB_9Amh.mjs → table-BbpblfLX.mjs} +1 -1
- package/.output/server/_ssr/{tabs-DRTBxZTO.mjs → tabs-CUBGKQ4v.mjs} +2 -2
- package/.output/server/index.mjs +128 -128
- package/package.json +7 -7
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
3
|
-
import { t as consoleAccess } from "./console-access-
|
|
3
|
+
import { t as consoleAccess } from "./console-access-B6GCF0Pq.mjs";
|
|
4
4
|
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
5
5
|
import { D as LoaderCircle, H as Clipboard, Q as Check, _ as RefreshCw, f as ShieldOff, i as TriangleAlert, k as KeyRound, v as Plus } from "../_libs/lucide-react.mjs";
|
|
6
|
-
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-
|
|
7
|
-
import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-
|
|
8
|
-
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-
|
|
9
|
-
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-
|
|
10
|
-
import { a as AlertDialogDescription, c as AlertDialogMedia, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1, u as AlertDialogTrigger } from "./alert-dialog-
|
|
11
|
-
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-
|
|
12
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-
|
|
6
|
+
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-Di_cdJt9.mjs";
|
|
7
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-lbRho9mB.mjs";
|
|
8
|
+
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-jJUdKmgf.mjs";
|
|
9
|
+
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-CPlXgkpQ.mjs";
|
|
10
|
+
import { a as AlertDialogDescription, c as AlertDialogMedia, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1, u as AlertDialogTrigger } from "./alert-dialog-CeW-6rPj.mjs";
|
|
11
|
+
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-DLiITzNb.mjs";
|
|
12
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BbpblfLX.mjs";
|
|
13
13
|
import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
14
14
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
15
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-
|
|
15
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-D41INr2x.js
|
|
16
16
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
17
17
|
var import_jsx_runtime = require_jsx_runtime();
|
|
18
18
|
var parseName = (input) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DO9N_oMb.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-Pl9fE3ov.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-B6GCF0Pq.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-Dc63Z5sL.js
|
|
5
5
|
var parseName = (input) => {
|
|
6
6
|
const name = typeof input === "object" && input !== null ? Reflect.get(input, "name") : void 0;
|
|
7
7
|
if (typeof name !== "string") throw new TypeError("API key name must be a string.");
|
|
@@ -14,7 +14,7 @@ var parseId = (input) => {
|
|
|
14
14
|
};
|
|
15
15
|
/** API key management, once the console's access check and the feature guard pass. */
|
|
16
16
|
var apiKeyManagement = async () => {
|
|
17
|
-
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-
|
|
17
|
+
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-C72Rcb2P.mjs"), import("./runtime.server-BUbb281Z.mjs")]);
|
|
18
18
|
const { runtime } = await prepareConfig();
|
|
19
19
|
return requireFeature(runtime, "apiKeys");
|
|
20
20
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-B6GCF0Pq.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
4
|
import { i as rowToBundle } from "./databaseRows-D6bc51Xq.mjs";
|
|
5
5
|
import { n as assertCanonicalChannelName } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
|
|
6
6
|
import { t as ReleaseManagementError } from "./releaseManagement-CqIc-SDE.mjs";
|
|
7
7
|
import { P as releaseNativeBuildScope, u as channelIdOf } from "./native-builds-C2xGyB-t.mjs";
|
|
8
8
|
import { n as readReleaseFilter, r as readReleaseFold, t as listReleaseFolds } from "./listReleases-QF91GLE7.mjs";
|
|
9
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-
|
|
9
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-CBxVNmSb.js
|
|
10
10
|
var withPublicBundleMutationErrors = async (action) => {
|
|
11
11
|
try {
|
|
12
12
|
return await action();
|
|
@@ -26,7 +26,7 @@ var readFoldInput = (input) => {
|
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
var prepare = async () => {
|
|
29
|
-
const { prepareConfig } = await import("./config.server-
|
|
29
|
+
const { prepareConfig } = await import("./config.server-C72Rcb2P.mjs");
|
|
30
30
|
return prepareConfig();
|
|
31
31
|
};
|
|
32
32
|
var getReleases_createServerFn_handler = createServerRpc({
|
|
@@ -225,7 +225,7 @@ var getNativeBuilds = createServerFn({ method: "GET" }).middleware([consoleAcces
|
|
|
225
225
|
...input?.after === void 0 ? {} : { after: input.after },
|
|
226
226
|
...channelIdFilter(input?.channel)
|
|
227
227
|
})).handler(getNativeBuilds_createServerFn_handler, async ({ data }) => {
|
|
228
|
-
const [{ core }, { listNativeBuildFolds }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
228
|
+
const [{ core }, { listNativeBuildFolds }] = await Promise.all([prepare(), import("./nativeBuilds-yTOa0vdF.mjs").then((n) => n.r).then((n) => n.r)]);
|
|
229
229
|
return listNativeBuildFolds(core, data);
|
|
230
230
|
});
|
|
231
231
|
var getNativeBuildFold_createServerFn_handler = createServerRpc({
|
|
@@ -237,7 +237,7 @@ var getNativeBuildFold = createServerFn({ method: "GET" }).middleware([consoleAc
|
|
|
237
237
|
...channelIdFilter(input.channel),
|
|
238
238
|
...readFoldInput(input)
|
|
239
239
|
})).handler(getNativeBuildFold_createServerFn_handler, async ({ data }) => {
|
|
240
|
-
const [{ core }, { readNativeBuildFold }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
240
|
+
const [{ core }, { readNativeBuildFold }] = await Promise.all([prepare(), import("./nativeBuilds-yTOa0vdF.mjs").then((n) => n.r).then((n) => n.r)]);
|
|
241
241
|
return readNativeBuildFold(core, data);
|
|
242
242
|
});
|
|
243
243
|
var getNativeBuildDetail_createServerFn_handler = createServerRpc({
|
|
@@ -246,7 +246,7 @@ var getNativeBuildDetail_createServerFn_handler = createServerRpc({
|
|
|
246
246
|
filename: "src/lib/api-rpc.ts"
|
|
247
247
|
}, (opts) => getNativeBuildDetail.__executeServer(opts));
|
|
248
248
|
var getNativeBuildDetail = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildDetail_createServerFn_handler, async ({ data }) => {
|
|
249
|
-
const [{ core }, { getNativeBuildDetail: readNativeBuildDetail }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
249
|
+
const [{ core }, { getNativeBuildDetail: readNativeBuildDetail }] = await Promise.all([prepare(), import("./nativeBuilds-yTOa0vdF.mjs").then((n) => n.r).then((n) => n.r)]);
|
|
250
250
|
return readNativeBuildDetail(core, data.id);
|
|
251
251
|
});
|
|
252
252
|
var getNativeBuildPatches_createServerFn_handler = createServerRpc({
|
|
@@ -259,7 +259,7 @@ var getNativeBuildPatches = createServerFn({ method: "GET" }).middleware([consol
|
|
|
259
259
|
...input.before === void 0 ? {} : { before: input.before },
|
|
260
260
|
...input.after === void 0 ? {} : { after: input.after }
|
|
261
261
|
})).handler(getNativeBuildPatches_createServerFn_handler, async ({ data: { minBundleId, ...page } }) => {
|
|
262
|
-
const [{ core }, { listNativeBuildPatches, NATIVE_BUILD_PATCH_PAGE_SIZE }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
262
|
+
const [{ core }, { listNativeBuildPatches, NATIVE_BUILD_PATCH_PAGE_SIZE }] = await Promise.all([prepare(), import("./nativeBuilds-yTOa0vdF.mjs").then((n) => n.r).then((n) => n.r)]);
|
|
263
263
|
return listNativeBuildPatches(core, minBundleId, {
|
|
264
264
|
...page,
|
|
265
265
|
limit: NATIVE_BUILD_PATCH_PAGE_SIZE
|
|
@@ -288,7 +288,7 @@ var getNativeBuildDownloadUrl_createServerFn_handler = createServerRpc({
|
|
|
288
288
|
filename: "src/lib/api-rpc.ts"
|
|
289
289
|
}, (opts) => getNativeBuildDownloadUrl.__executeServer(opts));
|
|
290
290
|
var getNativeBuildDownloadUrl = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildDownloadUrl_createServerFn_handler, async ({ data }) => {
|
|
291
|
-
const [deps, { resolveNativeBuildDownloadUrl }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
291
|
+
const [deps, { resolveNativeBuildDownloadUrl }] = await Promise.all([prepare(), import("./nativeBuilds-yTOa0vdF.mjs").then((n) => n.r).then((n) => n.r)]);
|
|
292
292
|
return { url: await resolveNativeBuildDownloadUrl(data.id, deps) };
|
|
293
293
|
});
|
|
294
294
|
var createNativeBuildDownloadLink_createServerFn_handler = createServerRpc({
|
|
@@ -297,7 +297,7 @@ var createNativeBuildDownloadLink_createServerFn_handler = createServerRpc({
|
|
|
297
297
|
filename: "src/lib/api-rpc.ts"
|
|
298
298
|
}, (opts) => createNativeBuildDownloadLink.__executeServer(opts));
|
|
299
299
|
var createNativeBuildDownloadLink = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createNativeBuildDownloadLink_createServerFn_handler, async ({ data }) => {
|
|
300
|
-
const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-
|
|
300
|
+
const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-C9WaekZx.mjs");
|
|
301
301
|
return issueNativeBuildDownloadLink(data.id);
|
|
302
302
|
});
|
|
303
303
|
var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
|
|
@@ -306,12 +306,12 @@ var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
|
|
|
306
306
|
filename: "src/lib/api-rpc.ts"
|
|
307
307
|
}, (opts) => getNativeBuildInstallEligibility.__executeServer(opts));
|
|
308
308
|
var getNativeBuildInstallEligibility = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildInstallEligibility_createServerFn_handler, async ({ data }) => {
|
|
309
|
-
const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-
|
|
309
|
+
const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-SCpQShAb.mjs")]);
|
|
310
310
|
return checkNativeBuildInstall(data.id, data.udid, deps, { canApprove: async () => {
|
|
311
311
|
const [{ getRequest }, { requireConsoleAccess }, { iosDeviceViewer }] = await Promise.all([
|
|
312
312
|
import("../_libs/_.mjs").then((n) => n.t),
|
|
313
|
-
import("./auth.server-
|
|
314
|
-
import("./iosDevices-
|
|
313
|
+
import("./auth.server-COR78Byc.mjs"),
|
|
314
|
+
import("./iosDevices-Bk-459x2.mjs")
|
|
315
315
|
]);
|
|
316
316
|
return (await iosDeviceViewer(await requireConsoleAccess(getRequest()), deps.config.deviceApprovers)).canApprove;
|
|
317
317
|
} });
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
2
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
3
|
-
import { i as getRequest } from "./server-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-
|
|
3
|
+
import { i as getRequest } from "./server-3Oa4eaU_.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-DUiSq0md.js
|
|
5
5
|
var getConsoleAccessRpc_createServerFn_handler = createServerRpc({
|
|
6
6
|
id: "c504696e68ba764b48c48aa8a40275938640941e473cf9cfdd7b2322d99f9d13",
|
|
7
7
|
name: "getConsoleAccessRpc",
|
|
8
8
|
filename: "src/lib/auth-rpc.ts"
|
|
9
9
|
}, (opts) => getConsoleAccessRpc.__executeServer(opts));
|
|
10
10
|
var getConsoleAccessRpc = createServerFn({ method: "GET" }).handler(getConsoleAccessRpc_createServerFn_handler, async () => {
|
|
11
|
-
const { getConsoleAccess } = await import("./auth.server-
|
|
11
|
+
const { getConsoleAccess } = await import("./auth.server-COR78Byc.mjs");
|
|
12
12
|
return getConsoleAccess(getRequest());
|
|
13
13
|
});
|
|
14
14
|
var getConsoleAuthProvidersRpc_createServerFn_handler = createServerRpc({
|
|
@@ -17,7 +17,7 @@ var getConsoleAuthProvidersRpc_createServerFn_handler = createServerRpc({
|
|
|
17
17
|
filename: "src/lib/auth-rpc.ts"
|
|
18
18
|
}, (opts) => getConsoleAuthProvidersRpc.__executeServer(opts));
|
|
19
19
|
var getConsoleAuthProvidersRpc = createServerFn({ method: "GET" }).handler(getConsoleAuthProvidersRpc_createServerFn_handler, async () => {
|
|
20
|
-
const { getConsoleAuthProviders } = await import("./auth.server-
|
|
20
|
+
const { getConsoleAuthProviders } = await import("./auth.server-COR78Byc.mjs");
|
|
21
21
|
return getConsoleAuthProviders(getRequest());
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
@@ -5,11 +5,11 @@ import { a as decodeChannelKey, c as parseReleaseCatalogScopeKey, i as createRel
|
|
|
5
5
|
import { t as ReleaseManagementError } from "./releaseManagement-CqIc-SDE.mjs";
|
|
6
6
|
import { n as createUUIDv7After, t as createUUIDv7 } from "./uuidv7-C0jNe2Om.mjs";
|
|
7
7
|
import { i as normalizeRange } from "./version-CQ98ZBpL-zW2fpHOZ.mjs";
|
|
8
|
-
import { i as projectCompiledRollbackCatalog, n as compileReleaseCatalog, r as projectCompiledCatalog, t as ReleaseCatalogCompilationError } from "./releaseCatalogCompiler-
|
|
8
|
+
import { a as readCompiledCatalogPayload, i as projectCompiledRollbackCatalog, n as compileReleaseCatalog, r as projectCompiledCatalog, t as ReleaseCatalogCompilationError } from "./releaseCatalogCompiler-B7k_Eask.mjs";
|
|
9
9
|
import { t as isRemoteDatabase } from "./databaseConfig-B56IJxlu.mjs";
|
|
10
10
|
import { n as defineTable, t as defineAggregate } from "./schema-CaIuQCXb.mjs";
|
|
11
11
|
import { r as rangesIntersect } from "../_libs/verkit.mjs";
|
|
12
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/auth.server-
|
|
12
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/auth.server-COR78Byc.js
|
|
13
13
|
var SHA256_FILE_HASH_RE = /^[0-9a-f]{64}$/;
|
|
14
14
|
var isContentAddressedAssetFileHash = (value) => {
|
|
15
15
|
return typeof value === "string" && SHA256_FILE_HASH_RE.test(value);
|
|
@@ -600,6 +600,23 @@ var SETTINGS_TABLE = {
|
|
|
600
600
|
/** The engine's storage-layout generation; it changes only with a migration. */
|
|
601
601
|
var ENGINE_SCHEMA_KEY = "schema.engine";
|
|
602
602
|
var CORE_SCHEMA_KEY = "schema.core";
|
|
603
|
+
/** Compares dotted numeric versions, such as "1" and "1.2.0"; NaN when either is not one. */
|
|
604
|
+
var compareVersions = (left, right) => {
|
|
605
|
+
const parse = (version) => /^\d+(?:\.\d+)*$/u.test(version) ? version.split(".").map(Number) : [NaN];
|
|
606
|
+
const [a, b] = [parse(left), parse(right)];
|
|
607
|
+
if ([...a, ...b].some(Number.isNaN)) return NaN;
|
|
608
|
+
for (let index = 0; index < Math.max(a.length, b.length); index += 1) {
|
|
609
|
+
const difference = (a[index] ?? 0) - (b[index] ?? 0);
|
|
610
|
+
if (difference !== 0) return difference;
|
|
611
|
+
}
|
|
612
|
+
return 0;
|
|
613
|
+
};
|
|
614
|
+
/**
|
|
615
|
+
* The `schema.core` a newer release recorded, which `hot-updater db migrate`
|
|
616
|
+
* never moves back: the fix is to upgrade, not to migrate.
|
|
617
|
+
*/
|
|
618
|
+
var newerCore = (settings) => settings.find(({ key, expected, found }) => key === CORE_SCHEMA_KEY && found !== null && compareVersions(found, expected) > 0);
|
|
619
|
+
var newerMessage = (adapterName, { key, expected, found }) => `Hot Updater schema setting "${key}" for ${adapterName} is "${found}"; expected "${expected}". The database was migrated by Hot Updater ${found}: upgrade hot-updater and the @hot-updater packages to ${found} or later.`;
|
|
603
620
|
var stored = ({ key, expected, found }) => `"${key}" is ${found === null ? "missing" : `"${found}"`}; expected "${expected}"`;
|
|
604
621
|
/**
|
|
605
622
|
* How to migrate a database the fence refused: doctor names the command for
|
|
@@ -613,7 +630,10 @@ var pluginOf = ({ key }) => key.startsWith("schema.") && key !== "schema.engine"
|
|
|
613
630
|
var listed = (items) => items.length < 2 ? items.join("") : `${items.slice(0, -1).join(", ")} and ${items.at(-1)}`;
|
|
614
631
|
var settingsMessage = (adapterName, settings) => `Hot Updater schema settings for ${adapterName} are not migrated: ${settings.map(stored).join(", and ")}. ${MIGRATE_SCHEMA_FIX}`;
|
|
615
632
|
var pluginsMessage = (adapterName, plugins, settings, fix) => `The tables of ${plugins.length === 1 ? "plugin" : "plugins"} ${listed(plugins.map((id) => `"${id}"`))} are not migrated on ${adapterName}: schema ${settings.length === 1 ? "setting" : "settings"} ${settings.map(stored).join(", and ")}. ${fix}`;
|
|
616
|
-
/**
|
|
633
|
+
/**
|
|
634
|
+
* The database needs `hot-updater db migrate`, a new database, or a newer
|
|
635
|
+
* Hot Updater; the handler answers 503.
|
|
636
|
+
*/
|
|
617
637
|
var HotUpdaterSchemaMigrationRequiredError = class extends Error {
|
|
618
638
|
adapterName;
|
|
619
639
|
currentVersion;
|
|
@@ -628,7 +648,8 @@ var HotUpdaterSchemaMigrationRequiredError = class extends Error {
|
|
|
628
648
|
constructor(adapterName, currentVersion, setting, options) {
|
|
629
649
|
const settings = options?.settings ?? (setting === void 0 ? [] : [setting]);
|
|
630
650
|
const plugins = settings.flatMap((mismatch) => pluginOf(mismatch) ?? []);
|
|
631
|
-
|
|
651
|
+
const newer = newerCore(settings);
|
|
652
|
+
super(newer !== void 0 ? newerMessage(adapterName, newer) : setting === void 0 ? currentVersion === void 0 ? `Hot Updater database schema is not initialized for ${adapterName}. ${MIGRATE_SCHEMA_FIX}` : `Hot Updater v1 cannot migrate schema ${currentVersion} in place. Create a new empty database and run \`hot-updater db migrate\`.` : plugins.length > 0 && plugins.length === settings.length ? pluginsMessage(adapterName, plugins, settings, options?.fix ?? MIGRATE_SCHEMA_FIX) : settings.length > 1 && !(setting.key === "schema.engine" && setting.found === null) ? settingsMessage(adapterName, settings) : settingMessage(adapterName, setting), options?.cause === void 0 ? void 0 : { cause: options.cause });
|
|
632
653
|
this.adapterName = adapterName;
|
|
633
654
|
this.currentVersion = currentVersion;
|
|
634
655
|
this.setting = setting;
|
|
@@ -3077,7 +3098,7 @@ var createEngine = (database, { plugins = [], now = Date.now } = {}) => {
|
|
|
3077
3098
|
flush: () => engine.flush()
|
|
3078
3099
|
};
|
|
3079
3100
|
};
|
|
3080
|
-
var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.
|
|
3101
|
+
var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.52";
|
|
3081
3102
|
/**
|
|
3082
3103
|
* `/version` on both mounts. The admin mount also lists the ids of the
|
|
3083
3104
|
* plugins the server runs, sorted; apps never learn which plugins a server
|
|
@@ -5152,6 +5173,13 @@ var readCatalog = async (tx, scopeKey) => {
|
|
|
5152
5173
|
catalog: row === null ? null : toCatalogRow(row)
|
|
5153
5174
|
};
|
|
5154
5175
|
};
|
|
5176
|
+
/**
|
|
5177
|
+
* Refuses to rewrite a catalog a later release compiled: this release's
|
|
5178
|
+
* compiler would drop the fields that release added.
|
|
5179
|
+
*/
|
|
5180
|
+
var refuseLaterCatalog = (scope, catalog) => {
|
|
5181
|
+
if (catalog !== null && readCompiledCatalogPayload(catalog.payload).fromLaterRelease) fail$1("CATALOG_FROM_LATER_RELEASE", `The ${scope.platform} release catalog of channel "${scope.channelName}" was written by a later Hot Updater.\nUpgrade hot-updater, then try again.`);
|
|
5182
|
+
};
|
|
5155
5183
|
/** A scope with releases and no compiled catalog lost its history. */
|
|
5156
5184
|
var assertHistory = (stored, hasReleases) => {
|
|
5157
5185
|
if (stored.catalog === null && hasReleases) fail$1("CATALOG_IDENTITY_MISSING", "Catalog history is missing. Restore its catalog row from backup before rebuilding or deploying.");
|
|
@@ -5165,6 +5193,7 @@ var assertHistory = (stored, hasReleases) => {
|
|
|
5165
5193
|
var changeRelease = async (tx, { scope, change, bundle, updatedAtMs }, labels) => {
|
|
5166
5194
|
checkScope(scope);
|
|
5167
5195
|
const stored = await readCatalog(tx, scope.scopeKey);
|
|
5196
|
+
refuseLaterCatalog(scope, stored.catalog);
|
|
5168
5197
|
let enabled = await enabledReleases(tx, scope.scopeKey);
|
|
5169
5198
|
if (bundle !== void 0) {
|
|
5170
5199
|
insertBundle(tx, bundle.row);
|
|
@@ -5236,8 +5265,16 @@ var changeReleases = (db, inputs) => {
|
|
|
5236
5265
|
return results;
|
|
5237
5266
|
});
|
|
5238
5267
|
};
|
|
5239
|
-
/**
|
|
5240
|
-
|
|
5268
|
+
/**
|
|
5269
|
+
* Whether `current` is what the scope's enabled releases compile to, in the
|
|
5270
|
+
* fields this release compiles: a later release's catalog may add others.
|
|
5271
|
+
*/
|
|
5272
|
+
var isCurrent = (scope, current, compilation) => {
|
|
5273
|
+
if (current.strategy !== scope.strategy || current.channel_id !== scope.channelId || current.channel_key !== encodeChannelKey(scope.channelName) || current.platform !== scope.platform || current.fingerprint_hash !== scope.fingerprintHash) return false;
|
|
5274
|
+
if (current.catalog_hash === compilation.catalogHash) return true;
|
|
5275
|
+
const read = readCompiledCatalogPayload(current.payload);
|
|
5276
|
+
return read.fromLaterRelease && read.canonicalPayload === compilation.canonicalPayload;
|
|
5277
|
+
};
|
|
5241
5278
|
/** A compiled payload with its descriptors' labels left out. */
|
|
5242
5279
|
var withoutLabels = (payload) => {
|
|
5243
5280
|
const parsed = JSON.parse(payload);
|
|
@@ -5298,6 +5335,7 @@ var rebuildScope = async (tx, scope, updatedAtMs) => {
|
|
|
5298
5335
|
changed: false,
|
|
5299
5336
|
diagnostics: compilation.diagnostics
|
|
5300
5337
|
};
|
|
5338
|
+
refuseLaterCatalog(scope, current);
|
|
5301
5339
|
const written = await writeCatalog(tx, scope, stored, enabled, updatedAtMs);
|
|
5302
5340
|
return {
|
|
5303
5341
|
catalog: written.catalog,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime, ft as useRender, wt as mergeProps } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
4
|
-
import { k as cn } from "./sidebar-
|
|
4
|
+
import { k as cn } from "./sidebar-Di_cdJt9.mjs";
|
|
5
5
|
require_react();
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
7
|
var alertVariants = cva("group/alert relative grid w-full gap-0.5 rounded-lg border px-2 py-1.5 text-left text-xs/relaxed has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-1.5 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-3.5", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
-
import { k as cn } from "./sidebar-
|
|
3
|
+
import { k as cn } from "./sidebar-Di_cdJt9.mjs";
|
|
4
4
|
require_react();
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
function Card({ className, ...props }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as getRequest } from "./server-
|
|
2
|
-
import { requireConsoleAccess, t as resolveConsoleConfig } from "./auth.server-
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/config.server-
|
|
1
|
+
import { i as getRequest } from "./server-3Oa4eaU_.mjs";
|
|
2
|
+
import { requireConsoleAccess, t as resolveConsoleConfig } from "./auth.server-COR78Byc.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/config.server-C72Rcb2P.js
|
|
4
4
|
var configPromise = null;
|
|
5
5
|
var core = null;
|
|
6
6
|
var runtime = null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as createMiddleware } from "./createMiddleware-C3ACsfuG.mjs";
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/console-access-
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/console-access-B6GCF0Pq.js
|
|
3
3
|
/**
|
|
4
4
|
* Refuses a caller the console does not authorize before a server function
|
|
5
5
|
* reads its input. TanStack Start runs a function's middleware before the
|
|
@@ -9,7 +9,7 @@ import { t as createMiddleware } from "./createMiddleware-C3ACsfuG.mjs";
|
|
|
9
9
|
* `console-access.spec.ts` checks that.
|
|
10
10
|
*/
|
|
11
11
|
var consoleAccess = createMiddleware({ type: "function" }).server(async ({ next }) => {
|
|
12
|
-
const [{ getRequest }, { requireConsoleAccess }] = await Promise.all([import("../_libs/_.mjs").then((n) => n.t), import("./auth.server-
|
|
12
|
+
const [{ getRequest }, { requireConsoleAccess }] = await Promise.all([import("../_libs/_.mjs").then((n) => n.t), import("./auth.server-COR78Byc.mjs")]);
|
|
13
13
|
await requireConsoleAccess(getRequest());
|
|
14
14
|
return next();
|
|
15
15
|
});
|
package/.output/server/_ssr/{console-features-api-tjmlaM_N.mjs → console-features-api-GXe67Tju.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 { A as createSsrRpc } from "./sidebar-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-B6GCF0Pq.mjs";
|
|
3
|
+
import { A as createSsrRpc } from "./sidebar-Di_cdJt9.mjs";
|
|
4
4
|
import { i as useQuery, r as queryOptions } from "../_libs/tanstack__react-query.mjs";
|
|
5
5
|
import { n as consoleFeatures } from "./console-features-DTYyXrWO.mjs";
|
|
6
6
|
import { v as notFound } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/console-features-api-
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/console-features-api-GXe67Tju.js
|
|
8
8
|
/** The features this console serves, for navigation and route guards. */
|
|
9
9
|
var getConsoleFeaturesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).handler(createSsrRpc("82ec3500e57f9e81dac6d3f3a7bd9e34915da3121429beec87b7ad153dc6eafe"));
|
|
10
10
|
var consoleFeaturesQueryKey = ["console", "features"];
|
package/.output/server/_ssr/{console-features-rpc-SlXJxyZV.mjs → console-features-rpc-BB8bGBmb.mjs}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-B6GCF0Pq.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/console-features-rpc-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/console-features-rpc-BB8bGBmb.js
|
|
5
5
|
var getConsoleFeaturesRpc_createServerFn_handler = createServerRpc({
|
|
6
6
|
id: "82ec3500e57f9e81dac6d3f3a7bd9e34915da3121429beec87b7ad153dc6eafe",
|
|
7
7
|
name: "getConsoleFeaturesRpc",
|
|
8
8
|
filename: "src/lib/console-features-rpc.ts"
|
|
9
9
|
}, (opts) => getConsoleFeaturesRpc.__executeServer(opts));
|
|
10
10
|
var getConsoleFeaturesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).handler(getConsoleFeaturesRpc_createServerFn_handler, async () => {
|
|
11
|
-
const { prepareConfig } = await import("./config.server-
|
|
11
|
+
const { prepareConfig } = await import("./config.server-C72Rcb2P.mjs");
|
|
12
12
|
const { runtime } = await prepareConfig();
|
|
13
13
|
return {
|
|
14
14
|
features: await runtime.features(),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime, at as DialogTitle$1, ct as DialogPopup, dt as DialogBackdrop, it as DialogTrigger$1, lt as DialogDescription$1, ot as DialogRoot, st as DialogPortal$1, ut as DialogClose } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { t as X } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { k as cn, t as Button$1 } from "./sidebar-
|
|
4
|
+
import { k as cn, t as Button$1 } from "./sidebar-Di_cdJt9.mjs";
|
|
5
5
|
require_react();
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
7
|
function Dialog$1({ ...props }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
2
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
3
|
-
import { k as cn } from "./sidebar-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/empty-
|
|
3
|
+
import { k as cn } from "./sidebar-Di_cdJt9.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/empty-CRonI6yG.js
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
function Empty({ className, ...props }) {
|
|
7
7
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
4
|
-
import { k as cn } from "./sidebar-
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/field-
|
|
4
|
+
import { k as cn } from "./sidebar-Di_cdJt9.mjs";
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/field-CPlXgkpQ.js
|
|
6
6
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
7
7
|
var import_jsx_runtime = require_jsx_runtime();
|
|
8
8
|
function Label({ className, htmlFor, ...props }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
4
|
-
import { k as cn, n as Input, t as Button$1 } from "./sidebar-
|
|
4
|
+
import { k as cn, n as Input, t as Button$1 } from "./sidebar-Di_cdJt9.mjs";
|
|
5
5
|
require_react();
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
7
|
function Textarea({ className, ...props }) {
|
|
@@ -1,38 +1,38 @@
|
|
|
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-
|
|
3
|
+
import { t as consoleAccess } from "./console-access-B6GCF0Pq.mjs";
|
|
4
4
|
import { Et as require_react, Tt as require_jsx_runtime, d as ScrollAreaThumb, f as ScrollAreaScrollbar, m as ScrollAreaRoot, p as ScrollAreaViewport, u as ScrollAreaCorner } from "../_libs/@base-ui/react+[...].mjs";
|
|
5
5
|
import { G as CircleOff, O as List, V as Copy, Y as ChevronRight, _ as RefreshCw, g as RotateCcw, h as RotateCw, i as TriangleAlert, it as ArrowRight, r as Undo2, rt as ArrowUpRight, t as X } from "../_libs/lucide-react.mjs";
|
|
6
|
-
import { A as createSsrRpc, C as Skeleton, O as buttonVariants, a as SheetContent, c as SheetTitle, i as Sheet, k as cn, l as SheetTrigger, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-
|
|
7
|
-
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-
|
|
8
|
-
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-
|
|
9
|
-
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-
|
|
10
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-
|
|
6
|
+
import { A as createSsrRpc, C as Skeleton, O as buttonVariants, a as SheetContent, c as SheetTitle, i as Sheet, k as cn, l as SheetTrigger, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-Di_cdJt9.mjs";
|
|
7
|
+
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-lbRho9mB.mjs";
|
|
8
|
+
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-jJUdKmgf.mjs";
|
|
9
|
+
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-CeW-6rPj.mjs";
|
|
10
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BbpblfLX.mjs";
|
|
11
11
|
import { a as useQueries, i as useQuery, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
12
12
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
13
13
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
14
|
-
import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-
|
|
14
|
+
import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-CRonI6yG.mjs";
|
|
15
15
|
import { s as isUUIDv7 } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
|
|
16
16
|
import { r as recoveryWindows, t as insightsPeriodEnd } from "./insights-recovery-Cdg3Msrj.mjs";
|
|
17
17
|
import { a as failureReasonLabel, i as failureRate, o as failureStageLabel, r as failureDetailParts, s as formatRate, t as checkFailureRate } from "./insights-failures-DGO2_3Vx.mjs";
|
|
18
18
|
import { t as groupFailureReports } from "./insights-errors-DwUaDs0Z.mjs";
|
|
19
19
|
import { n as usageMetrics } from "./insights-usage-BVm7CDw9.mjs";
|
|
20
20
|
import { a as readAdoptionReleasesInput, i as readAdoptionReleaseInput, n as crashRateOf, o as readBundleEventsInput, r as defaultAdoptionReleases, s as recommendsRollback, t as CRASH_RATE_THRESHOLD } from "./release-adoption-gfhE5tz5.mjs";
|
|
21
|
-
import { r as comparedBundleIds, t as InfoTooltip } from "./insights-search-
|
|
22
|
-
import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-
|
|
23
|
-
import { _ as usePreflightReleaseMutation, w as useUpdateReleaseMutation } from "./api-
|
|
21
|
+
import { r as comparedBundleIds, t as InfoTooltip } from "./insights-search-BULxEDkP.mjs";
|
|
22
|
+
import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-CA17vWZa.mjs";
|
|
23
|
+
import { _ as usePreflightReleaseMutation, w as useUpdateReleaseMutation } from "./api-BCfNV622.mjs";
|
|
24
24
|
import { r as DEFAULT_CHANNEL } from "./constants-D-2jpCiJ.mjs";
|
|
25
|
-
import { t as Route } from "./insights-
|
|
26
|
-
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-
|
|
25
|
+
import { t as Route } from "./insights-ToswhUey.mjs";
|
|
26
|
+
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-CUBGKQ4v.mjs";
|
|
27
27
|
import { t as PlatformIcon } from "./PlatformIcon-C22qEcwo.mjs";
|
|
28
|
-
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-
|
|
29
|
-
import { t as BundleIdDisplay } from "./BundleIdDisplay-
|
|
30
|
-
import { a as ComboboxEmpty, c as ComboboxItem, d as ComboboxTrigger, f as FilterChip, i as ComboboxContent, l as ComboboxLabel, n as Combobox$1, o as ComboboxGroup, r as ComboboxCollection, s as ComboboxInput, t as ChannelPicker, u as ComboboxList } from "./ChannelPicker-
|
|
31
|
-
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-
|
|
32
|
-
import { i as InsightsPeriodSelector, n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader } from "./InsightsPageHeader-
|
|
33
|
-
import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-
|
|
28
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-E27bwyIg.mjs";
|
|
29
|
+
import { t as BundleIdDisplay } from "./BundleIdDisplay-BckrkdA8.mjs";
|
|
30
|
+
import { a as ComboboxEmpty, c as ComboboxItem, d as ComboboxTrigger, f as FilterChip, i as ComboboxContent, l as ComboboxLabel, n as Combobox$1, o as ComboboxGroup, r as ComboboxCollection, s as ComboboxInput, t as ChannelPicker, u as ComboboxList } from "./ChannelPicker-D6t_05Qj.mjs";
|
|
31
|
+
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-BO2bIBYf.mjs";
|
|
32
|
+
import { i as InsightsPeriodSelector, n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader } from "./InsightsPageHeader-BFzDTBgX.mjs";
|
|
33
|
+
import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-eHJBruoj.mjs";
|
|
34
34
|
import { a as CartesianGrid, i as Line, l as ResponsiveContainer, n as YAxis, o as ReferenceLine, r as XAxis, s as Tooltip, t as LineChart } from "../_libs/recharts+[...].mjs";
|
|
35
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-
|
|
35
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-Bukk9Qg8.js
|
|
36
36
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
37
37
|
var import_jsx_runtime = require_jsx_runtime();
|
|
38
38
|
var THEMES = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DO9N_oMb.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-CVUqkV9I.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
|
-
import { r as requireConsoleFeature } from "./console-features-api-
|
|
3
|
-
import { a as validateInsightsSearch } from "./insights-search-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-
|
|
5
|
-
var $$splitComponentImporter = () => import("./insights-
|
|
6
|
-
var $$splitNotFoundComponentImporter = () => import("./insights-
|
|
2
|
+
import { r as requireConsoleFeature } from "./console-features-api-GXe67Tju.mjs";
|
|
3
|
+
import { a as validateInsightsSearch } from "./insights-search-BULxEDkP.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-ToswhUey.js
|
|
5
|
+
var $$splitComponentImporter = () => import("./insights-Bukk9Qg8.mjs");
|
|
6
|
+
var $$splitNotFoundComponentImporter = () => import("./insights-CVUqkV9I.mjs");
|
|
7
7
|
var Route = createFileRoute("/insights")({
|
|
8
8
|
beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "insightsAnalytics"),
|
|
9
9
|
notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "notFoundComponent"),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
3
|
-
import { A as createSsrRpc } from "./sidebar-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-B6GCF0Pq.mjs";
|
|
3
|
+
import { A as createSsrRpc } from "./sidebar-Di_cdJt9.mjs";
|
|
4
4
|
import { i as useQuery, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
|
|
5
5
|
import { c as readUpdateFailuresInput } from "./insights-failures-DGO2_3Vx.mjs";
|
|
6
6
|
import { n as readFailureReportsInput } from "./insights-errors-DwUaDs0Z.mjs";
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-api-
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-api-CA17vWZa.js
|
|
8
8
|
var getUpdateFailuresRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readUpdateFailuresInput).handler(createSsrRpc("0d1dacdd1e5ee6b100e5c142fb9af03602b6f2c6fe6af79312b36c223d7f8f97"));
|
|
9
9
|
var listFailureReportsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readFailureReportsInput).handler(createSsrRpc("b4388826a9b515fb4d2113270aa8ded1c50ba13d7f07ac2b268c41396e87d0a3"));
|
|
10
10
|
/** `insights()`'s defaults, for a server that does not report its periods. */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-B6GCF0Pq.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
4
|
import { c as readUpdateFailuresInput } from "./insights-failures-DGO2_3Vx.mjs";
|
|
5
5
|
import { n as readFailureReportsInput } from "./insights-errors-DwUaDs0Z.mjs";
|
|
6
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-failures-rpc-
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-failures-rpc-DQ15P_rm.js
|
|
7
7
|
var getUpdateFailuresRpc_createServerFn_handler = createServerRpc({
|
|
8
8
|
id: "0d1dacdd1e5ee6b100e5c142fb9af03602b6f2c6fe6af79312b36c223d7f8f97",
|
|
9
9
|
name: "getUpdateFailuresRpc",
|
|
@@ -11,7 +11,7 @@ var getUpdateFailuresRpc_createServerFn_handler = createServerRpc({
|
|
|
11
11
|
}, (opts) => getUpdateFailuresRpc.__executeServer(opts));
|
|
12
12
|
var getUpdateFailuresRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readUpdateFailuresInput).handler(getUpdateFailuresRpc_createServerFn_handler, async ({ data }) => {
|
|
13
13
|
const [{ prepareConfig }, { getUpdateFailuresReport }, { requireFeature }] = await Promise.all([
|
|
14
|
-
import("./config.server-
|
|
14
|
+
import("./config.server-C72Rcb2P.mjs"),
|
|
15
15
|
import("./updateFailures-DcCONz23.mjs"),
|
|
16
16
|
import("./runtime.server-BUbb281Z.mjs")
|
|
17
17
|
]);
|
|
@@ -25,7 +25,7 @@ var listFailureReportsRpc_createServerFn_handler = createServerRpc({
|
|
|
25
25
|
}, (opts) => listFailureReportsRpc.__executeServer(opts));
|
|
26
26
|
var listFailureReportsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readFailureReportsInput).handler(listFailureReportsRpc_createServerFn_handler, async ({ data }) => {
|
|
27
27
|
const [{ prepareConfig }, { listFailureReports }, { requireFeature }] = await Promise.all([
|
|
28
|
-
import("./config.server-
|
|
28
|
+
import("./config.server-C72Rcb2P.mjs"),
|
|
29
29
|
import("./failureReports-BVufgM3l.mjs"),
|
|
30
30
|
import("./runtime.server-BUbb281Z.mjs")
|
|
31
31
|
]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-B6GCF0Pq.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
4
|
import { n as readRecoveryInput } from "./insights-recovery-Cdg3Msrj.mjs";
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-recovery-rpc-
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-recovery-rpc-CW4mfXig.js
|
|
6
6
|
function readBundleActivityInput(inputs) {
|
|
7
7
|
if (!Array.isArray(inputs) || inputs.length > 20) throw new Error("Choose up to 20 bundles.");
|
|
8
8
|
return inputs.map((input) => {
|
|
@@ -21,7 +21,7 @@ var getBundleActivityRpc_createServerFn_handler = createServerRpc({
|
|
|
21
21
|
}, (opts) => getBundleActivityRpc.__executeServer(opts));
|
|
22
22
|
var getBundleActivityRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readBundleActivityInput).handler(getBundleActivityRpc_createServerFn_handler, async ({ data }) => {
|
|
23
23
|
const [{ prepareConfig }, { getBundleActivity }, { requireFeature }] = await Promise.all([
|
|
24
|
-
import("./config.server-
|
|
24
|
+
import("./config.server-C72Rcb2P.mjs"),
|
|
25
25
|
import("./bundleActivity-a-pEDiqu.mjs"),
|
|
26
26
|
import("./runtime.server-BUbb281Z.mjs")
|
|
27
27
|
]);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-B6GCF0Pq.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-rpc-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-rpc-C4Xpuj96.js
|
|
5
5
|
/** The Insights reads, once the console's access check and the feature guard pass. */
|
|
6
6
|
var insightsReads = async () => {
|
|
7
|
-
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-
|
|
7
|
+
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-C72Rcb2P.mjs"), import("./runtime.server-BUbb281Z.mjs")]);
|
|
8
8
|
const { runtime } = await prepareConfig();
|
|
9
9
|
return requireFeature(runtime, "insights");
|
|
10
10
|
};
|