@hot-updater/console 1.2.0-rc.50 → 1.2.0-rc.51
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-CtbmyR7f.js +1 -0
- package/.output/public/assets/{FoldedRows-1NvB9gAS.js → FoldedRows-ClHLI-NM.js} +1 -1
- package/.output/public/assets/{IosInstall-BRuSakxm.js → IosInstall-1a_GRSNg.js} +1 -1
- package/.output/public/assets/{RelativeTime-m-FKh1Jb.js → RelativeTime-BQErgQRj.js} +1 -1
- package/.output/public/assets/{TargetDisplay-Ctuz3qIp.js → TargetDisplay-D0dVdFCk.js} +1 -1
- package/.output/public/assets/{index-oTXLdUR-.js → index-B8BpJ73Y.js} +2 -2
- package/.output/public/assets/{insights-BL6Z8zFv.js → insights-BrdBpqda.js} +2 -2
- package/.output/public/assets/{insights-BMjBMtJU.js → insights-DsmTCDix.js} +2 -2
- package/.output/public/assets/{insights_.distribution-C4E-JuVI.js → insights_.distribution-BHmK7ufZ.js} +1 -1
- package/.output/public/assets/{insights_.distribution-Br_CW9s9.js → insights_.distribution-BNNw0whH.js} +2 -2
- package/.output/public/assets/native-builds-B6t0ZxKP.js +1 -0
- package/.output/public/assets/{native-builds-BC0sjxPC.js → native-builds-CgPSpNsA.js} +2 -2
- package/.output/public/assets/native-builds-TF9BhYrQ.js +1 -0
- package/.output/public/assets/{native-builds_._buildId-GPlkI_2m.js → native-builds_._buildId-2rPrtz9-.js} +2 -2
- package/.output/public/assets/native-builds_._buildId-BqUOY1Az.js +1 -0
- package/.output/public/assets/{native-builds_.devices-Cox001IR.js → native-builds_.devices-B9kLHngv.js} +2 -2
- package/.output/public/assets/{native-builds_.devices-DAW19hcQ.js → native-builds_.devices-COFYZcaA.js} +1 -1
- package/.output/public/assets/{routes-C7Pv3Cfg.js → routes-DMooqgLf.js} +1 -1
- package/.output/public/assets/{routes-JJGRGqsf.js → routes-Z2IGj8MK.js} +2 -2
- package/.output/server/{__23tanstack-start-server-fn-resolver-DY-niJR4.mjs → __23tanstack-start-server-fn-resolver-pdhJfnex.mjs} +58 -58
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
- package/.output/server/_libs/_.mjs +1 -1
- package/.output/server/_ssr/BundleIdDisplay-Bbf_lM0q.mjs +26 -0
- package/.output/server/_ssr/{ChannelPicker-J5HfKxSS.mjs → ChannelPicker-D6dQe9hV.mjs} +4 -4
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-C52o4oew.mjs → ConsoleFeatureUnavailable-cLOJizHM.mjs} +6 -6
- package/.output/server/_ssr/{EventDetails-CDLSkVNA.mjs → EventDetails-Bf9A0sIH.mjs} +6 -6
- package/.output/server/_ssr/{FoldedRows-CrRYEVkd.mjs → FoldedRows-CBXPkthB.mjs} +4 -4
- package/.output/server/_ssr/{HashValueDisplay-BrT2wgxk.mjs → HashValueDisplay-CTRuGnTF.mjs} +2 -2
- package/.output/server/_ssr/{InsightsPageHeader-DVrudLMJ.mjs → InsightsPageHeader-CZYqpzbC.mjs} +6 -6
- package/.output/server/_ssr/{IosInstall-DcKlZU_q.mjs → IosInstall-Dnv68fhL.mjs} +8 -8
- package/.output/server/_ssr/{NativeBuildsNav-BC1WIQ1W.mjs → NativeBuildsNav-Dg43O2Cd.mjs} +3 -3
- package/.output/server/_ssr/{NotFoundPage-CEhZtcst.mjs → NotFoundPage-C0hUVtGq.mjs} +2 -2
- package/.output/server/_ssr/{QrCode-Dj9BKV3l.mjs → QrCode-BbK966IU.mjs} +2 -2
- package/.output/server/_ssr/{RelativeTime-Dgbh4UPb.mjs → RelativeTime-CdBbi7fL.mjs} +3 -3
- package/.output/server/_ssr/{RolloutPercentageBadge-BYEDUW1d.mjs → RolloutPercentageBadge-CaK9SkbN.mjs} +3 -3
- package/.output/server/_ssr/{RowReason-BweNBWkA.mjs → RowReason-Cg035uIk.mjs} +3 -3
- package/.output/server/_ssr/{SandboxBadge-O8-kbXAw.mjs → SandboxBadge-Zta6e__x.mjs} +2 -2
- package/.output/server/_ssr/{TargetDisplay-D3JAXwcF.mjs → TargetDisplay-DGqswOee.mjs} +3 -3
- package/.output/server/_ssr/{alert-dialog-CxEcyUb6.mjs → alert-dialog-DFz9lm_Y.mjs} +1 -1
- package/.output/server/_ssr/{api-IIqxWeDx.mjs → api-B2LCh6pv.mjs} +4 -4
- package/.output/server/_ssr/{api-keys-wFak2vKN.mjs → api-keys-BbtiHE85.mjs} +9 -9
- package/.output/server/_ssr/{api-keys-CYefExfc.mjs → api-keys-D3oOFnP9.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-rpc-qkGQ3Sp3.mjs → api-keys-rpc-CJIR67Ch.mjs} +3 -3
- package/.output/server/_ssr/{api-rpc-3NKc545A.mjs → api-rpc-Bf7S-MaH.mjs} +16 -16
- package/.output/server/_ssr/{auth-rpc-PCSJzNJf.mjs → auth-rpc-Dp-DCqh6.mjs} +4 -4
- package/.output/server/_ssr/{auth.server-NGj7G3bq.mjs → auth.server-Cc0ZRXjk.mjs} +490 -27
- package/.output/server/_ssr/{badge-CxSJ-pjU.mjs → badge-YEmoI1eN.mjs} +1 -1
- package/.output/server/_ssr/{card-BDXDcrk_.mjs → card-D0a_6Dhh.mjs} +1 -1
- package/.output/server/_ssr/{config.server-CwUGPk-F.mjs → config.server-CZRoGrFp.mjs} +3 -3
- package/.output/server/_ssr/{console-access-BOt-Xxd7.mjs → console-access-OPT4g-IS.mjs} +2 -2
- package/.output/server/_ssr/{console-features-api-Dw_Tktev.mjs → console-features-api-tjmlaM_N.mjs} +5 -5
- package/.output/server/_ssr/{console-features-rpc-D8VFHwYj.mjs → console-features-rpc-SlXJxyZV.mjs} +3 -3
- package/.output/server/_ssr/{databaseRows-BZMFl5QV.mjs → databaseRows-D6bc51Xq.mjs} +3 -2
- package/.output/server/_ssr/{dialog-CJ4zMagm.mjs → dialog-ChHbf-yX.mjs} +1 -1
- package/.output/server/_ssr/{empty-DYy36pwa.mjs → empty-jogqtpGm.mjs} +2 -2
- package/.output/server/_ssr/{field-MI8oNc5n.mjs → field-Df_Q9TWZ.mjs} +2 -2
- package/.output/server/_ssr/{getBundleChildren-CnOf4Frp.mjs → getBundleChildren-DDqsd1pL.mjs} +2 -2
- package/.output/server/_ssr/{input-group-Bf7wHa21.mjs → input-group-CVf7oJb7.mjs} +1 -1
- package/.output/server/_ssr/{insights-b3XeQlzF.mjs → insights-CWe8WEnp.mjs} +52 -33
- package/.output/server/_ssr/{insights-CKTR62Ox.mjs → insights-DFSywrbh.mjs} +5 -5
- package/.output/server/_ssr/{insights-CbGG5htV.mjs → insights-DIRlQAyF.mjs} +2 -2
- package/.output/server/_ssr/{insights-api-CqjIxe1A.mjs → insights-api-C9rxV0Tn.mjs} +3 -3
- package/.output/server/_ssr/{insights-failures-rpc-fmWHkLhL.mjs → insights-failures-rpc-wIScA1Qn.mjs} +4 -4
- package/.output/server/_ssr/{insights-recovery-rpc-BpwoS9XL.mjs → insights-recovery-rpc-BVt-dUJZ.mjs} +3 -3
- package/.output/server/_ssr/{insights-rpc-qwXzuBUQ.mjs → insights-rpc-BDQqwXjX.mjs} +3 -3
- package/.output/server/_ssr/{insights-search-B_8PizlM.mjs → insights-search-B56U9By9.mjs} +2 -2
- package/.output/server/_ssr/{insights-usage-rpc-Cbg82l2g.mjs → insights-usage-rpc-C084r9Yl.mjs} +3 -3
- package/.output/server/_ssr/{insights-usage-rpc-D8lgk1Sk.mjs → insights-usage-rpc-D6QC7xMU.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-Ed2vqrwP.mjs → insights_.distribution-BO1VAcAm.mjs} +5 -5
- package/.output/server/_ssr/{insights_.distribution--XTBM-oT.mjs → insights_.distribution-CoTlEOe8.mjs} +14 -14
- package/.output/server/_ssr/{insights_.distribution-DTaKryjw.mjs → insights_.distribution-DP1M7WJo.mjs} +2 -2
- package/.output/server/_ssr/{installations-DyfuFp3L.mjs → installations-BczGuyup.mjs} +11 -11
- package/.output/server/_ssr/{installations-W8W7AYwn.mjs → installations-CHXPyqGZ.mjs} +4 -4
- package/.output/server/_ssr/{installations-Ce_9dNq0.mjs → installations-CY86CKgz.mjs} +2 -2
- package/.output/server/_ssr/{ios-devices-rpc-5kZM1bgU.mjs → ios-devices-rpc-B-9HHSKk.mjs} +7 -7
- package/.output/server/_ssr/{iosDeviceCookie-BTfPOUhS.mjs → iosDeviceCookie-CZArbhzA.mjs} +3 -3
- package/.output/server/_ssr/{iosDeviceProfile-BAoo32s_.mjs → iosDeviceProfile-CxeXYxc-.mjs} +3 -3
- package/.output/server/_ssr/{iosDevices-DuNmS3td.mjs → iosDevices-Ckjp_S09.mjs} +3 -3
- package/.output/server/_ssr/{native-builds-lEyKQemV.mjs → native-builds-C2xGyB-t.mjs} +19 -8
- package/.output/server/_ssr/{native-builds-DEyFHKDa.mjs → native-builds-CKoFuBrT.mjs} +21 -19
- package/.output/server/_ssr/{native-builds-1s5DIHa2.mjs → native-builds-DGckAE3j.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_._buildId-ElCXKaXI.mjs → native-builds_._buildId-BXfvqKmr.mjs} +50 -40
- package/.output/server/_ssr/{native-builds_._buildId-mJ8i0pL8.mjs → native-builds_._buildId-EqbJ7R4A.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_.devices-Dz8b48Fo.mjs → native-builds_.devices-BJ75om8d.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_.devices-DNWZLCra.mjs → native-builds_.devices-X6JpinwG.mjs} +17 -17
- package/.output/server/_ssr/{nativeBuildDownloadLink-D8Se_CCi.mjs → nativeBuildDownloadLink-BAfCV_k_.mjs} +2 -2
- package/.output/server/_ssr/{nativeBuildInstall-DemC_4Zc.mjs → nativeBuildInstall-D2rK0m4j.mjs} +5 -5
- package/.output/server/_ssr/{nativeBuilds-BFSeuC75.mjs → nativeBuilds-B3LcuLs4.mjs} +5 -5
- package/.output/server/_ssr/{release-adoption-rpc-1mKibOdV.mjs → release-adoption-rpc-xKxB0Ir0.mjs} +6 -6
- package/.output/server/_ssr/{releaseAdoption-DfEYq7I4.mjs → releaseAdoption-BNp2LKR5.mjs} +2 -1
- package/.output/server/_ssr/{releaseCatalogCompiler-CuL3ptgg.mjs → releaseCatalogCompiler-CLDa8DuR.mjs} +19 -8
- package/.output/server/_ssr/{remote-config-C_HNYPZ_.mjs → remote-config-ByjC_BCV.mjs} +18 -18
- package/.output/server/_ssr/{remote-config-D2Cohnwn.mjs → remote-config-DmEXPobC.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-rpc-6hfHFrO6.mjs → remote-config-rpc-BNPLt44i.mjs} +3 -3
- package/.output/server/_ssr/{remote-config-q9fegj-G.mjs → remote-config-w3s5hFj9.mjs} +2 -2
- package/.output/server/_ssr/{router-DODxASKG.mjs → router-C8NZ0bVd.mjs} +35 -35
- package/.output/server/_ssr/{routes-C-nYThl0.mjs → routes-B8Gmx46E.mjs} +10 -10
- package/.output/server/_ssr/{routes-BJjTUNSe.mjs → routes-DvpKW5gf.mjs} +31 -27
- package/.output/server/_ssr/{schema-migration-rpc-C31JquTn.mjs → schema-migration-rpc-DlahGhrf.mjs} +3 -3
- package/.output/server/_ssr/{select-CjACvu9s.mjs → select-Csnyblf2.mjs} +1 -1
- package/.output/server/_ssr/{server-Dyw2qgSR.mjs → server-Yr7QLPLj.mjs} +3 -3
- package/.output/server/_ssr/{sidebar-DQkRAO_e.mjs → sidebar-bKoOUlMN.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{switch-DZJSRVl3.mjs → switch-C-HJ8oZV.mjs} +2 -2
- package/.output/server/_ssr/{table-BA-6GQFs.mjs → table-DSB_9Amh.mjs} +1 -1
- package/.output/server/_ssr/{tabs-CtB3PIts.mjs → tabs-DRTBxZTO.mjs} +2 -2
- package/.output/server/{_tanstack-start-manifest_v-Bfv6fYk6.mjs → _tanstack-start-manifest_v-MJAIGQWT.mjs} +30 -30
- package/.output/server/index.mjs +188 -188
- package/package.json +7 -7
- package/src/components/BundleIdDisplay.tsx +30 -3
- package/src/components/features/insights/ComparedBundlesChart.tsx +1 -0
- package/src/components/features/insights/InsightsControls.tsx +28 -4
- package/src/components/features/insights/InsightsOverview.tsx +3 -1
- package/src/components/features/insights/ReleaseCombobox.tsx +7 -2
- package/src/components/features/insights/RollbackButton.tsx +1 -1
- package/src/components/features/native-builds/BuiltInBundleCard.tsx +3 -2
- package/src/components/features/native-builds/NativeBuildDetailPage.tsx +9 -0
- package/src/components/features/native-builds/NativeBuildsTable.tsx +7 -4
- package/src/components/features/native-builds/ServedNowCard.tsx +6 -3
- package/src/components/features/releases/ReleaseEditorSheet.tsx +6 -3
- package/src/lib/native-builds.ts +28 -20
- package/src/lib/release-adoption.ts +2 -0
- package/src/lib/server/releaseAdoption.ts +1 -0
- package/src/routes/index.tsx +5 -1
- package/.output/public/assets/BundleIdDisplay-C0X-k49t.js +0 -1
- package/.output/public/assets/native-builds-B0zJ4wjg.js +0 -1
- package/.output/public/assets/native-builds-B_pQ4D5H.js +0 -1
- package/.output/public/assets/native-builds_._buildId-CSyC7YAA.js +0 -1
- package/.output/server/_ssr/BundleIdDisplay-CGdSiouM.mjs +0 -13
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as normalizeRolloutCohortCount, d as getNumericCohortValue, g as isCustomCohort, h as getRolledOutNumericCohorts, i as RELEASE_CATALOG_FALLBACK_POLICY, n as MAX_COMPILED_CATALOG_BYTES, y as normalizeCohortValue } from "./dist-CiOq3ygH.mjs";
|
|
2
2
|
import { r as canonicalizeAppVersion, s as isUUIDv7 } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
|
|
3
3
|
import { a as parseRange, n as compare, r as normalize } from "./version-CQ98ZBpL-zW2fpHOZ.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/releaseCatalogCompiler-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/releaseCatalogCompiler-CLDa8DuR.js
|
|
5
5
|
var ReleaseCatalogCompilationError = class extends Error {
|
|
6
6
|
code;
|
|
7
7
|
constructor(code, message) {
|
|
@@ -89,7 +89,8 @@ function rangeToIntervals(range) {
|
|
|
89
89
|
throw new ReleaseCatalogCompilationError("INVALID_TARGET_RANGE", `Invalid target app-version range: ${range}`);
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
|
|
92
|
+
/** A release's descriptor; its label only when it has one and `labels`. */
|
|
93
|
+
function releaseDescriptor(release, labels) {
|
|
93
94
|
return {
|
|
94
95
|
releaseId: release.id,
|
|
95
96
|
kind: release.kind,
|
|
@@ -97,7 +98,8 @@ function releaseDescriptor(release) {
|
|
|
97
98
|
rolloutCohortCount: release.rolloutCohortCount,
|
|
98
99
|
targetCohorts: [...new Set(release.targetCohorts)].sort(),
|
|
99
100
|
shouldForceUpdate: release.shouldForceUpdate,
|
|
100
|
-
message: release.message
|
|
101
|
+
message: release.message,
|
|
102
|
+
...labels && typeof release.label === "number" ? { label: release.label } : {}
|
|
101
103
|
};
|
|
102
104
|
}
|
|
103
105
|
function validateReleases(releases, strategy) {
|
|
@@ -309,12 +311,21 @@ async function compileReleaseCatalog(input) {
|
|
|
309
311
|
const targetCohorts = new Set(releases.flatMap((release) => release.targetCohorts));
|
|
310
312
|
if (targetCohorts.size > 512) throw new ReleaseCatalogCompilationError("DISTINCT_TARGET_COHORT_LIMIT", `Scope exceeds 512 distinct target cohorts`);
|
|
311
313
|
const { envelope, retainedReleases } = input.strategy === "APP_VERSION" ? compileAppVersion(releases) : compileFingerprint(releases);
|
|
312
|
-
const
|
|
313
|
-
|
|
314
|
-
|
|
314
|
+
const compile = (labels) => {
|
|
315
|
+
const payload = {
|
|
316
|
+
...envelope,
|
|
317
|
+
releaseDescriptors: retainedReleases.map((release) => releaseDescriptor(release, labels))
|
|
318
|
+
};
|
|
319
|
+
const canonicalPayload = canonicalStringify(payload);
|
|
320
|
+
return {
|
|
321
|
+
payload,
|
|
322
|
+
canonicalPayload,
|
|
323
|
+
byteSize: new TextEncoder().encode(canonicalPayload).byteLength
|
|
324
|
+
};
|
|
315
325
|
};
|
|
316
|
-
|
|
317
|
-
|
|
326
|
+
let compiled = compile(true);
|
|
327
|
+
if (compiled.byteSize > 262144 && retainedReleases.some((release) => typeof release.label === "number")) compiled = compile(false);
|
|
328
|
+
const { payload, canonicalPayload, byteSize } = compiled;
|
|
318
329
|
if (byteSize > 262144) throw new ReleaseCatalogCompilationError("CATALOG_OVERSIZE", `Compiled Release catalog is ${byteSize} bytes; maximum is ${MAX_COMPILED_CATALOG_BYTES}`);
|
|
319
330
|
return {
|
|
320
331
|
byteSize,
|
|
@@ -1,29 +1,29 @@
|
|
|
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-OPT4g-IS.mjs";
|
|
3
4
|
import { Et as require_react, Tt as require_jsx_runtime, n as Toggle, t as ToggleGroup } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
5
|
import { D as LoaderCircle, H as Clipboard, L as Eye, N as GitBranch, _ as RefreshCw, a as Trash2, d as SlidersHorizontal, g as RotateCcw, i as TriangleAlert, it as ArrowRight, j as History, m as Search, n as Upload, nt as ArrowUp, r as Undo2, st as ArrowDown, t as X, tt as Braces, u as Smartphone, v as Plus, y as Pencil } from "../_libs/lucide-react.mjs";
|
|
5
6
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
6
|
-
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, k as cn, n as Input, t as Button$1 } from "./sidebar-
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
7
|
+
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, k as cn, n as Input, t as Button$1 } from "./sidebar-bKoOUlMN.mjs";
|
|
8
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-D0a_6Dhh.mjs";
|
|
9
|
+
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-YEmoI1eN.mjs";
|
|
10
|
+
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, o as FieldLegend, r as FieldError, s as FieldSet, t as Field } from "./field-Df_Q9TWZ.mjs";
|
|
11
|
+
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-DFz9lm_Y.mjs";
|
|
12
|
+
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-ChHbf-yX.mjs";
|
|
9
13
|
import { i as useQuery, n as useMutation, s as useQueryClient, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
|
|
10
14
|
import { l as keepPreviousData } from "../_libs/tanstack__query-core.mjs";
|
|
11
|
-
import { r as requireConsoleFeature } from "./console-features-api-Dw_Tktev.mjs";
|
|
12
|
-
import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-DYy36pwa.mjs";
|
|
13
|
-
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-BDXDcrk_.mjs";
|
|
14
|
-
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-CxSJ-pjU.mjs";
|
|
15
|
-
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, o as FieldLegend, r as FieldError, s as FieldSet, t as Field } from "./field-MI8oNc5n.mjs";
|
|
16
|
-
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-CxEcyUb6.mjs";
|
|
17
|
-
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-CJ4zMagm.mjs";
|
|
18
15
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
16
|
+
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
17
|
+
import { r as requireConsoleFeature } from "./console-features-api-tjmlaM_N.mjs";
|
|
18
|
+
import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-jogqtpGm.mjs";
|
|
19
|
+
import { i as useChannelsQuery } from "./api-B2LCh6pv.mjs";
|
|
20
|
+
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-DRTBxZTO.mjs";
|
|
21
21
|
import { t as PlatformIcon } from "./PlatformIcon-C22qEcwo.mjs";
|
|
22
|
-
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-
|
|
23
|
-
import { i as InputGroupInput, n as InputGroupAddon, o as Textarea, r as InputGroupButton, t as InputGroup } from "./input-group-
|
|
22
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-Csnyblf2.mjs";
|
|
23
|
+
import { i as InputGroupInput, n as InputGroupAddon, o as Textarea, r as InputGroupButton, t as InputGroup } from "./input-group-CVf7oJb7.mjs";
|
|
24
24
|
import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
|
|
25
|
-
import { n as useDialogTarget, r as useOpenSession, t as Switch$1 } from "./switch-
|
|
26
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-
|
|
25
|
+
import { n as useDialogTarget, r as useOpenSession, t as Switch$1 } from "./switch-C-HJ8oZV.mjs";
|
|
26
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-ByjC_BCV.js
|
|
27
27
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
28
28
|
var import_jsx_runtime = require_jsx_runtime();
|
|
29
29
|
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
@@ -2639,8 +2639,8 @@ function RemoteConfigPage({ tab, onTabChange }) {
|
|
|
2639
2639
|
]
|
|
2640
2640
|
});
|
|
2641
2641
|
}
|
|
2642
|
-
var $$splitComponentImporter = () => import("./remote-config-
|
|
2643
|
-
var $$splitNotFoundComponentImporter = () => import("./remote-config-
|
|
2642
|
+
var $$splitComponentImporter = () => import("./remote-config-DmEXPobC.mjs");
|
|
2643
|
+
var $$splitNotFoundComponentImporter = () => import("./remote-config-w3s5hFj9.mjs");
|
|
2644
2644
|
var Route = createFileRoute("/remote-config")({
|
|
2645
2645
|
beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "remoteConfig"),
|
|
2646
2646
|
notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "notFoundComponent"),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
-
import { n as Route, t as RemoteConfigPage } from "./remote-config-
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-
|
|
2
|
+
import { n as Route, t as RemoteConfigPage } from "./remote-config-ByjC_BCV.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-DmEXPobC.js
|
|
4
4
|
var import_jsx_runtime = require_jsx_runtime();
|
|
5
5
|
function RemoteConfigRoute() {
|
|
6
6
|
const { tab = "parameters" } = Route.useSearch();
|
package/.output/server/_ssr/{remote-config-rpc-6hfHFrO6.mjs → remote-config-rpc-BNPLt44i.mjs}
RENAMED
|
@@ -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-OPT4g-IS.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-rpc-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-rpc-BNPLt44i.js
|
|
5
5
|
/** Remote Config, once the console's access check and the feature guard pass. */
|
|
6
6
|
var remoteConfig = async () => {
|
|
7
|
-
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-
|
|
7
|
+
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-CZRoGrFp.mjs"), import("./runtime.server-BUbb281Z.mjs")]);
|
|
8
8
|
const { runtime } = await prepareConfig();
|
|
9
9
|
return requireFeature(runtime, "remoteConfig");
|
|
10
10
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-cLOJizHM.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/remote-config-w3s5hFj9.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -1,29 +1,29 @@
|
|
|
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-OPT4g-IS.mjs";
|
|
3
4
|
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
5
|
import { A as Info, C as OctagonX, D as LoaderCircle, E as LogOut, K as CircleCheck, M as HardDrive, V as Copy, c as Sun, h as RotateCw, i as TriangleAlert, rt as ArrowUpRight, w as Moon, x as Package } from "../_libs/lucide-react.mjs";
|
|
5
|
-
import { A as createSsrRpc, E as TooltipProvider, M as useSidebar, O as buttonVariants, S as SidebarTrigger, _ as SidebarInset, b as SidebarMenuItem, d as SidebarContent, f as SidebarFooter, g as SidebarHeader, h as SidebarGroupLabel, m as SidebarGroupContent, p as SidebarGroup, t as Button$1, u as Sidebar, v as SidebarMenu, x as SidebarProvider, y as SidebarMenuButton } from "./sidebar-
|
|
6
|
-
import { t as consoleAccess } from "./console-access-BOt-Xxd7.mjs";
|
|
7
|
-
import { a as HeadContent, d as Outlet, f as lazyRouteComponent, h as Link, i as Scripts, m as createRootRouteWithContext, p as createFileRoute, s as useRouterState, u as createRouter } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
6
|
+
import { A as createSsrRpc, E as TooltipProvider, M as useSidebar, O as buttonVariants, S as SidebarTrigger, _ as SidebarInset, b as SidebarMenuItem, d as SidebarContent, f as SidebarFooter, g as SidebarHeader, h as SidebarGroupLabel, m as SidebarGroupContent, p as SidebarGroup, t as Button$1, u as Sidebar, v as SidebarMenu, x as SidebarProvider, y as SidebarMenuButton } from "./sidebar-bKoOUlMN.mjs";
|
|
8
7
|
import { i as useQuery, r as queryOptions, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
9
8
|
import { t as QueryClient } from "../_libs/tanstack__query-core.mjs";
|
|
10
|
-
import { r as requireConsoleFeature, t as consoleFeaturesQueryOptions } from "./console-features-api-Dw_Tktev.mjs";
|
|
11
|
-
import { t as NotFoundPage } from "./NotFoundPage-CEhZtcst.mjs";
|
|
12
|
-
import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-DYy36pwa.mjs";
|
|
13
9
|
import { n as toast, t as Toaster } from "../_libs/sonner.mjs";
|
|
14
|
-
import { d as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { n as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { t as Route$
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
10
|
+
import { a as HeadContent, d as Outlet, f as lazyRouteComponent, h as Link, i as Scripts, m as createRootRouteWithContext, p as createFileRoute, s as useRouterState, u as createRouter } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
11
|
+
import { r as requireConsoleFeature, t as consoleFeaturesQueryOptions } from "./console-features-api-tjmlaM_N.mjs";
|
|
12
|
+
import { t as NotFoundPage } from "./NotFoundPage-C0hUVtGq.mjs";
|
|
13
|
+
import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-jogqtpGm.mjs";
|
|
14
|
+
import { d as consolePathFromRouter } from "./native-builds-C2xGyB-t.mjs";
|
|
15
|
+
import { t as Route$10 } from "./insights-DFSywrbh.mjs";
|
|
16
|
+
import { t as Route$11 } from "./insights_.distribution-BO1VAcAm.mjs";
|
|
17
|
+
import { n as Route$12 } from "./installations-CHXPyqGZ.mjs";
|
|
18
|
+
import { t as Route$13 } from "./native-builds-DGckAE3j.mjs";
|
|
19
|
+
import { a as isIosBrowser, r as forgetKeptIosDevice } from "./IosInstall-Dnv68fhL.mjs";
|
|
20
|
+
import { t as Route$14 } from "./native-builds_._buildId-EqbJ7R4A.mjs";
|
|
21
|
+
import { t as Route$15 } from "./native-builds_.devices-BJ75om8d.mjs";
|
|
22
|
+
import { n as Route$16 } from "./remote-config-ByjC_BCV.mjs";
|
|
23
|
+
import { c as useFeatureUi, n as Route$17 } from "./routes-B8Gmx46E.mjs";
|
|
24
24
|
import { t as setupRouterSsrQueryIntegration } from "../_libs/@tanstack/react-router-ssr-query+[...].mjs";
|
|
25
25
|
import { t as z } from "../_libs/next-themes.mjs";
|
|
26
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/router-
|
|
26
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/router-C8NZ0bVd.js
|
|
27
27
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
28
28
|
var import_jsx_runtime = require_jsx_runtime();
|
|
29
29
|
function HotUpdaterLogo({ className }) {
|
|
@@ -618,27 +618,27 @@ function AuthorizedConsole({ canSignOut }) {
|
|
|
618
618
|
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Outlet, {})
|
|
619
619
|
})] });
|
|
620
620
|
}
|
|
621
|
-
var $$splitComponentImporter = () => import("./api-keys-
|
|
622
|
-
var $$splitNotFoundComponentImporter = () => import("./api-keys-
|
|
621
|
+
var $$splitComponentImporter = () => import("./api-keys-BbtiHE85.mjs");
|
|
622
|
+
var $$splitNotFoundComponentImporter = () => import("./api-keys-D3oOFnP9.mjs");
|
|
623
623
|
var Route$8 = createFileRoute("/api-keys")({
|
|
624
624
|
beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "apiKeys"),
|
|
625
625
|
notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "notFoundComponent"),
|
|
626
626
|
component: lazyRouteComponent($$splitComponentImporter, "component")
|
|
627
627
|
});
|
|
628
628
|
var Route$7 = createFileRoute("/_hot-updater/devices/device-response")({ server: { handlers: { ANY: async ({ request }) => {
|
|
629
|
-
const [{ receiveDeviceResponse }, { loadConsole }] = await Promise.all([import("./iosDeviceProfile-
|
|
629
|
+
const [{ receiveDeviceResponse }, { loadConsole }] = await Promise.all([import("./iosDeviceProfile-CxeXYxc-.mjs"), import("./config.server-CZRoGrFp.mjs")]);
|
|
630
630
|
return receiveDeviceResponse(request, async () => (await loadConsole(request)).core);
|
|
631
631
|
} } } });
|
|
632
632
|
var Route$6 = createFileRoute("/_hot-updater/devices/device.mobileconfig")({ server: { handlers: { ANY: async ({ request }) => {
|
|
633
|
-
const { serveDeviceProfile } = await import("./iosDeviceProfile-
|
|
633
|
+
const { serveDeviceProfile } = await import("./iosDeviceProfile-CxeXYxc-.mjs");
|
|
634
634
|
return serveDeviceProfile(request);
|
|
635
635
|
} } } });
|
|
636
636
|
var Route$5 = createFileRoute("/_hot-updater/devices/receipt")({ server: { handlers: { ANY: async ({ request }) => {
|
|
637
637
|
const [cookie, { iosDeviceViewer }, { requireConsoleAccess }, config] = await Promise.all([
|
|
638
|
-
import("./iosDeviceCookie-
|
|
639
|
-
import("./iosDevices-
|
|
640
|
-
import("./auth.server-
|
|
641
|
-
import("./config.server-
|
|
638
|
+
import("./iosDeviceCookie-CZArbhzA.mjs"),
|
|
639
|
+
import("./iosDevices-Ckjp_S09.mjs"),
|
|
640
|
+
import("./auth.server-Cc0ZRXjk.mjs"),
|
|
641
|
+
import("./config.server-CZRoGrFp.mjs")
|
|
642
642
|
]);
|
|
643
643
|
const loaded = () => config.prepareConfig(request);
|
|
644
644
|
return cookie.handleIosDeviceReceipt(request, {
|
|
@@ -648,10 +648,10 @@ var Route$5 = createFileRoute("/_hot-updater/devices/receipt")({ server: { handl
|
|
|
648
648
|
} } } });
|
|
649
649
|
var Route$4 = createFileRoute("/_hot-updater/devices/request")({ server: { handlers: { ANY: async ({ request }) => {
|
|
650
650
|
const [cookie, { iosDeviceViewer }, { requireConsoleAccess }, config] = await Promise.all([
|
|
651
|
-
import("./iosDeviceCookie-
|
|
652
|
-
import("./iosDevices-
|
|
653
|
-
import("./auth.server-
|
|
654
|
-
import("./config.server-
|
|
651
|
+
import("./iosDeviceCookie-CZArbhzA.mjs"),
|
|
652
|
+
import("./iosDevices-Ckjp_S09.mjs"),
|
|
653
|
+
import("./auth.server-Cc0ZRXjk.mjs"),
|
|
654
|
+
import("./config.server-CZRoGrFp.mjs")
|
|
655
655
|
]);
|
|
656
656
|
const loaded = () => config.prepareConfig(request);
|
|
657
657
|
return cookie.handleIosDeviceRequest(request, {
|
|
@@ -660,7 +660,7 @@ var Route$4 = createFileRoute("/_hot-updater/devices/request")({ server: { handl
|
|
|
660
660
|
});
|
|
661
661
|
} } } });
|
|
662
662
|
var handleAuthRequest = async ({ request }) => {
|
|
663
|
-
const { handleConsoleAuth } = await import("./auth.server-
|
|
663
|
+
const { handleConsoleAuth } = await import("./auth.server-Cc0ZRXjk.mjs");
|
|
664
664
|
return handleConsoleAuth(request);
|
|
665
665
|
};
|
|
666
666
|
var Route$3 = createFileRoute("/api/auth/$")({ server: { handlers: {
|
|
@@ -668,11 +668,11 @@ var Route$3 = createFileRoute("/api/auth/$")({ server: { handlers: {
|
|
|
668
668
|
POST: handleAuthRequest
|
|
669
669
|
} } });
|
|
670
670
|
var Route$2 = createFileRoute("/_hot-updater/native-builds/$buildId/manifest.plist")({ server: { handlers: { GET: async ({ params, request }) => {
|
|
671
|
-
const [{ serveNativeBuildManifest }, { loadConsole }] = await Promise.all([import("./nativeBuildInstall-
|
|
671
|
+
const [{ serveNativeBuildManifest }, { loadConsole }] = await Promise.all([import("./nativeBuildInstall-D2rK0m4j.mjs"), import("./config.server-CZRoGrFp.mjs")]);
|
|
672
672
|
return serveNativeBuildManifest(request, params.buildId, () => loadConsole(request));
|
|
673
673
|
} } } });
|
|
674
674
|
var Route$1 = createFileRoute("/api/bundles/$bundleId/download")({ server: { handlers: { GET: async ({ params, request }) => {
|
|
675
|
-
const { prepareConfig } = await import("./config.server-
|
|
675
|
+
const { prepareConfig } = await import("./config.server-CZRoGrFp.mjs");
|
|
676
676
|
const { downloadBundle } = await import("./downloadBundle-C1KOnpiF.mjs");
|
|
677
677
|
const { core, storage } = await prepareConfig(request);
|
|
678
678
|
return downloadBundle(params.bundleId, {
|
|
@@ -686,11 +686,11 @@ var Route$1 = createFileRoute("/api/bundles/$bundleId/download")({ server: { han
|
|
|
686
686
|
*/
|
|
687
687
|
var isNavigation = (request) => request.headers.get("sec-fetch-mode") === "navigate" || (request.headers.get("accept") ?? "").includes("text/html");
|
|
688
688
|
var Route = createFileRoute("/api/native-builds/$buildId/download")({ server: { handlers: { GET: async ({ params, request }) => {
|
|
689
|
-
const { loadConsole, prepareConfig } = await import("./config.server-
|
|
690
|
-
const { downloadNativeBuild } = await import("./nativeBuilds-
|
|
689
|
+
const { loadConsole, prepareConfig } = await import("./config.server-CZRoGrFp.mjs");
|
|
690
|
+
const { downloadNativeBuild } = await import("./nativeBuilds-B3LcuLs4.mjs").then((n) => n.r).then((n) => n.r);
|
|
691
691
|
const token = new URL(request.url).searchParams.get("t");
|
|
692
692
|
if (token !== null) {
|
|
693
|
-
const { refuseNativeBuildDownloadToken } = await import("./nativeBuildDownloadLink-
|
|
693
|
+
const { refuseNativeBuildDownloadToken } = await import("./nativeBuildDownloadLink-BAfCV_k_.mjs");
|
|
694
694
|
return await refuseNativeBuildDownloadToken(request, params.buildId, token) ?? downloadNativeBuild(params.buildId, await loadConsole(request));
|
|
695
695
|
}
|
|
696
696
|
let deps;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { n as consoleFeatures } from "./console-features-DTYyXrWO.mjs";
|
|
2
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
+
import { t as consoleAccess } from "./console-access-OPT4g-IS.mjs";
|
|
3
3
|
import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
4
|
import { $ as ChartNoAxesCombined, d as SlidersHorizontal, et as ChartLine, k as KeyRound } from "../_libs/lucide-react.mjs";
|
|
5
|
-
import { A as createSsrRpc, C as Skeleton, O as buttonVariants, k as cn, r as Separator$1 } from "./sidebar-
|
|
6
|
-
import { t as
|
|
7
|
-
import { f as lazyRouteComponent, h as Link, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
5
|
+
import { A as createSsrRpc, C as Skeleton, O as buttonVariants, k as cn, r as Separator$1 } from "./sidebar-bKoOUlMN.mjs";
|
|
6
|
+
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, t as Card } from "./card-D0a_6Dhh.mjs";
|
|
8
7
|
import { i as useQuery } from "../_libs/tanstack__react-query.mjs";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { n as consoleFeatures } from "./console-features-DTYyXrWO.mjs";
|
|
9
|
+
import { f as lazyRouteComponent, h as Link, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
10
|
+
import { a as useConsoleFeatures, i as useConsoleFeature } from "./console-features-api-tjmlaM_N.mjs";
|
|
11
11
|
import { n as readRecoveryInput } from "./insights-recovery-Cdg3Msrj.mjs";
|
|
12
12
|
import { i as failureRate, s as formatRate } from "./insights-failures-DGO2_3Vx.mjs";
|
|
13
|
-
import { n as adoptionWindow, t as InfoTooltip } from "./insights-search-
|
|
14
|
-
import { u as useUpdateFailuresQuery } from "./insights-api-
|
|
13
|
+
import { n as adoptionWindow, t as InfoTooltip } from "./insights-search-B56U9By9.mjs";
|
|
14
|
+
import { u as useUpdateFailuresQuery } from "./insights-api-C9rxV0Tn.mjs";
|
|
15
15
|
import { r as DEFAULT_CHANNEL } from "./constants-D-2jpCiJ.mjs";
|
|
16
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/routes-
|
|
16
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/routes-B8Gmx46E.js
|
|
17
17
|
var import_jsx_runtime = require_jsx_runtime();
|
|
18
18
|
/** What API key management adds: its navigation item. */
|
|
19
19
|
var apiKeysFeatureUi = { apiKeys: { navigation: {
|
|
@@ -430,7 +430,7 @@ function showsDefaultReleases(search, channels) {
|
|
|
430
430
|
const opening = resolveReleaseSearch({}, channels);
|
|
431
431
|
return view === void 0 || opening === void 0 || JSON.stringify(releaseFilterOf(view)) === JSON.stringify(releaseFilterOf(opening));
|
|
432
432
|
}
|
|
433
|
-
var $$splitComponentImporter = () => import("./routes-
|
|
433
|
+
var $$splitComponentImporter = () => import("./routes-DvpKW5gf.mjs");
|
|
434
434
|
/** The list while its channel is unknown: loading, whatever the cache holds. */
|
|
435
435
|
/** A fold of unreachable bundles: "1 unreachable bundle", "2 …". */
|
|
436
436
|
var Route = createFileRoute("/")({
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime, a as SliderIndicator, c as SliderControl, l as SliderRoot, o as SliderThumb, s as SliderTrack } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { B as Download, D as LoaderCircle, G as CircleOff, O as List, P as Funnel, Q as Check, R as ExternalLink, T as Minus, Y as ChevronRight, Z as ChevronDown, _ as RefreshCw, a as Trash2, g as RotateCcw, i as TriangleAlert, it as ArrowRight, o as Tags, rt as ArrowUpRight, s as Tag, t as X, v as Plus, x as Package } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, a as SheetContent, c as SheetTitle, i as Sheet, j as useIsMobile, k as cn, n as Input, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-
|
|
5
|
-
import {
|
|
6
|
-
import { a as
|
|
7
|
-
import { a as
|
|
8
|
-
import { a as
|
|
9
|
-
import { a as
|
|
10
|
-
import { a as
|
|
11
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BA-6GQFs.mjs";
|
|
4
|
+
import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, a as SheetContent, c as SheetTitle, i as Sheet, j as useIsMobile, k as cn, n as Input, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-bKoOUlMN.mjs";
|
|
5
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-D0a_6Dhh.mjs";
|
|
6
|
+
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-YEmoI1eN.mjs";
|
|
7
|
+
import { a as FieldLabel, c as Label, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-Df_Q9TWZ.mjs";
|
|
8
|
+
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-DFz9lm_Y.mjs";
|
|
9
|
+
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, s as DialogTrigger, t as Dialog$1 } from "./dialog-ChHbf-yX.mjs";
|
|
10
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DSB_9Amh.mjs";
|
|
12
11
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
12
|
+
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
13
13
|
import { b as normalizeRolloutCohortCount, f as getPatchBaseBundleId, m as getPatchFileHash, p as getPatchBaseFileHash, r as NUMERIC_COHORT_SIZE, t as INVALID_COHORT_ERROR_MESSAGE, u as getNumericCohortRolloutPosition, v as isValidCohort, y as normalizeCohortValue } from "./dist-CiOq3ygH.mjs";
|
|
14
|
-
import {
|
|
14
|
+
import { M as platformLabel, P as releaseNativeBuildScope, v as nativeBuildArtifacts } from "./native-builds-C2xGyB-t.mjs";
|
|
15
15
|
import { n as normalizeRange } from "../_libs/verkit.mjs";
|
|
16
|
-
import { t as InfoTooltip } from "./insights-search-
|
|
17
|
-
import { C as useReleasesQuery, S as useReleaseQuery, _ as usePreflightReleaseMutation, a as useConfigQuery, b as useReleaseFoldQuery, c as useDeleteReleaseMutation, i as useChannelsQuery, n as useBundleChildrenQuery, o as useCreateChannelMutation, r as useBundleQuery, s as useDeleteChannelMutation, t as useBundleChildCountsQuery, v as usePromoteReleaseMutation, w as useUpdateReleaseMutation, x as useReleaseNativeBuildQuery, y as useReleaseCatalogDiagnosticsQuery } from "./api-
|
|
16
|
+
import { t as InfoTooltip } from "./insights-search-B56U9By9.mjs";
|
|
17
|
+
import { C as useReleasesQuery, S as useReleaseQuery, _ as usePreflightReleaseMutation, a as useConfigQuery, b as useReleaseFoldQuery, c as useDeleteReleaseMutation, i as useChannelsQuery, n as useBundleChildrenQuery, o as useCreateChannelMutation, r as useBundleQuery, s as useDeleteChannelMutation, t as useBundleChildCountsQuery, v as usePromoteReleaseMutation, w as useUpdateReleaseMutation, x as useReleaseNativeBuildQuery, y as useReleaseCatalogDiagnosticsQuery } from "./api-B2LCh6pv.mjs";
|
|
18
18
|
import { n as CONSOLE_GIT_URL_GUIDE_URL } from "./constants-D-2jpCiJ.mjs";
|
|
19
19
|
import { n as PlatformLabel, t as PlatformIcon } from "./PlatformIcon-C22qEcwo.mjs";
|
|
20
|
-
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-
|
|
21
|
-
import { t as BundleIdDisplay } from "./BundleIdDisplay-
|
|
22
|
-
import { a as InputGroupText, i as InputGroupInput, n as InputGroupAddon, o as Textarea, t as InputGroup } from "./input-group-
|
|
23
|
-
import { t as ChannelPicker } from "./ChannelPicker-
|
|
24
|
-
import { t as HashValueDisplay } from "./HashValueDisplay-
|
|
25
|
-
import { n as RowReason, t as ChannelBadge } from "./RowReason-
|
|
26
|
-
import { a as DataTableBody, c as DataTableFullRow, d as DataTableSkeletonRows, f as RelativeTime, i as DataTable, l as DataTablePagination, n as DataCardSkeletons, o as DataTableEmpty, p as openOutsideControls, r as DataCardsEmpty, s as DataTableFrame, t as DataCard, u as DataTableRow } from "./RelativeTime-
|
|
27
|
-
import { i as TargetDisplay, n as CopyableText } from "./TargetDisplay-
|
|
28
|
-
import { a as foldLabel, c as useOpenFolds, i as foldKey, n as DataTableFold, o as foldedTotal, r as FoldStatus, s as groupsOf, t as DataCardFold } from "./FoldedRows-
|
|
29
|
-
import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-
|
|
30
|
-
import { n as useDialogTarget, t as Switch$1 } from "./switch-
|
|
31
|
-
import { a as resolveReleaseSearch, i as releaseFilterOf, l as useReleaseColumns, n as Route, o as showsDefaultReleases, r as hasReleaseFilters, s as updateReleaseFilters, t as ReleaseSections } from "./routes-
|
|
32
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/routes-
|
|
20
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-Csnyblf2.mjs";
|
|
21
|
+
import { t as BundleIdDisplay } from "./BundleIdDisplay-Bbf_lM0q.mjs";
|
|
22
|
+
import { a as InputGroupText, i as InputGroupInput, n as InputGroupAddon, o as Textarea, t as InputGroup } from "./input-group-CVf7oJb7.mjs";
|
|
23
|
+
import { t as ChannelPicker } from "./ChannelPicker-D6dQe9hV.mjs";
|
|
24
|
+
import { t as HashValueDisplay } from "./HashValueDisplay-CTRuGnTF.mjs";
|
|
25
|
+
import { n as RowReason, t as ChannelBadge } from "./RowReason-Cg035uIk.mjs";
|
|
26
|
+
import { a as DataTableBody, c as DataTableFullRow, d as DataTableSkeletonRows, f as RelativeTime, i as DataTable, l as DataTablePagination, n as DataCardSkeletons, o as DataTableEmpty, p as openOutsideControls, r as DataCardsEmpty, s as DataTableFrame, t as DataCard, u as DataTableRow } from "./RelativeTime-CdBbi7fL.mjs";
|
|
27
|
+
import { i as TargetDisplay, n as CopyableText } from "./TargetDisplay-DGqswOee.mjs";
|
|
28
|
+
import { a as foldLabel, c as useOpenFolds, i as foldKey, n as DataTableFold, o as foldedTotal, r as FoldStatus, s as groupsOf, t as DataCardFold } from "./FoldedRows-CBXPkthB.mjs";
|
|
29
|
+
import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-CaK9SkbN.mjs";
|
|
30
|
+
import { n as useDialogTarget, t as Switch$1 } from "./switch-C-HJ8oZV.mjs";
|
|
31
|
+
import { a as resolveReleaseSearch, i as releaseFilterOf, l as useReleaseColumns, n as Route, o as showsDefaultReleases, r as hasReleaseFilters, s as updateReleaseFilters, t as ReleaseSections } from "./routes-B8Gmx46E.mjs";
|
|
32
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/routes-DvpKW5gf.js
|
|
33
33
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
34
34
|
var import_jsx_runtime = require_jsx_runtime();
|
|
35
35
|
function EnabledStatusIcon({ enabled, className, falseIcon = "x", colorMode = "semantic" }) {
|
|
@@ -903,6 +903,7 @@ function ReleaseEditorSheet({ channels, onOpenChange, onShowScope, open, release
|
|
|
903
903
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(BundleIdDisplay, {
|
|
904
904
|
bundleId: release.id,
|
|
905
905
|
fullOnMobile: true,
|
|
906
|
+
label: release.label,
|
|
906
907
|
maxLength: 18
|
|
907
908
|
}), !release.bundle_id ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
908
909
|
className: "text-xs text-foreground",
|
|
@@ -1350,14 +1351,16 @@ function ReleaseEditorSheet({ channels, onOpenChange, onShowScope, open, release
|
|
|
1350
1351
|
onClick: async () => {
|
|
1351
1352
|
if (!release) return;
|
|
1352
1353
|
try {
|
|
1353
|
-
await promote.mutateAsync({
|
|
1354
|
+
const promoted = await promote.mutateAsync({
|
|
1354
1355
|
action: promoteAction,
|
|
1355
1356
|
expectedRevision: release.revision,
|
|
1356
1357
|
releaseId: release.id,
|
|
1357
1358
|
targetChannel: normalizedTargetChannel
|
|
1358
1359
|
});
|
|
1359
1360
|
handlePromoteOpenChange(false);
|
|
1360
|
-
|
|
1361
|
+
const label = promoted.target.release?.label;
|
|
1362
|
+
const as = typeof label === "number" ? ` as v${label}` : "";
|
|
1363
|
+
toast.success(isCopyPromotion ? `Bundle copied to ${normalizedTargetChannel}${as}` : `Bundle moved to ${normalizedTargetChannel}${as}`);
|
|
1361
1364
|
} catch (caught) {
|
|
1362
1365
|
toast.error(caught instanceof Error ? caught.message : "Bundle could not be promoted.");
|
|
1363
1366
|
}
|
|
@@ -1548,7 +1551,8 @@ function BundleEntry({ expanded, onOpen, onToggleExpand, release }) {
|
|
|
1548
1551
|
type: "button",
|
|
1549
1552
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(BundleIdDisplay, {
|
|
1550
1553
|
bundleId: release.id,
|
|
1551
|
-
fullOnMobile: true
|
|
1554
|
+
fullOnMobile: true,
|
|
1555
|
+
label: release.label
|
|
1552
1556
|
}), !release.bundle_id ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
1553
1557
|
className: "inline-flex items-center gap-1.5 text-sm",
|
|
1554
1558
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(RotateCcw, { className: "size-3.5" }), " Built-in bundle"]
|
package/.output/server/_ssr/{schema-migration-rpc-C31JquTn.mjs → schema-migration-rpc-DlahGhrf.mjs}
RENAMED
|
@@ -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-OPT4g-IS.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/schema-migration-rpc-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/schema-migration-rpc-DlahGhrf.js
|
|
5
5
|
/** Compares dotted numeric versions, such as "1" and "1.2.0"; NaN when either is not one. */
|
|
6
6
|
var compareVersions = (left, right) => {
|
|
7
7
|
const parse = (version) => version.split(".").map(Number);
|
|
@@ -52,7 +52,7 @@ var getSchemaMigrationRpc_createServerFn_handler = createServerRpc({
|
|
|
52
52
|
filename: "src/lib/schema-migration-rpc.ts"
|
|
53
53
|
}, (opts) => getSchemaMigrationRpc.__executeServer(opts));
|
|
54
54
|
var getSchemaMigrationRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).handler(getSchemaMigrationRpc_createServerFn_handler, async () => {
|
|
55
|
-
const { prepareConfig } = await import("./config.server-
|
|
55
|
+
const { prepareConfig } = await import("./config.server-CZRoGrFp.mjs");
|
|
56
56
|
const { config, core } = await prepareConfig();
|
|
57
57
|
try {
|
|
58
58
|
await core.ready();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { B as SelectScrollDownArrow, Et as require_react, G as SelectPopup, H as SelectItemIndicator, J as SelectIcon, K as SelectPositioner, R as SelectGroup$1, Tt as require_jsx_runtime, U as SelectItem$1, V as SelectItemText, W as SelectList, X as SelectTrigger$1, Y as SelectValue$1, Z as SelectRoot, q as SelectPortal, z as SelectScrollUpArrow } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { J as ChevronUp, Q as Check, Z as ChevronDown } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { j as useIsMobile, k as cn } from "./sidebar-
|
|
4
|
+
import { j as useIsMobile, k as cn } from "./sidebar-bKoOUlMN.mjs";
|
|
5
5
|
require_react();
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
7
|
var Select$1 = SelectRoot;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { _ as runWithStartContext, a as TSS_SERVER_FUNCTION, b as splitSetCookieString, c as createNullProtoObject, d as getStartContext, f as getStartOptions, g as parseSetCookie, h as parse, i as TSS_FORMDATA_CONTEXT, m as mergeHeaders, n as MAX_FRAME_PAYLOAD_SIZE, o as X_TSS_RAW_RESPONSE, p as isRedirect, r as TSS_CONTENT_TYPE_FRAMED_VERSIONED, s as X_TSS_SERIALIZED, t as MAX_FRAMED_STREAMS, u as flattenMiddlewares, v as safeObjectMerge, y as serialize } from "./createServerFn-AQvBMBjJ.mjs";
|
|
3
|
-
import { t as getServerFnById } from "../__23tanstack-start-server-fn-resolver-
|
|
3
|
+
import { t as getServerFnById } from "../__23tanstack-start-server-fn-resolver-pdhJfnex.mjs";
|
|
4
4
|
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
5
5
|
import { l as RouterProvider, n as renderRouterToString, r as defineHandlerCallback, t as renderRouterToStream } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
6
6
|
import { t as __exportAll } from "./rolldown-runtime-rSIU-vHC.mjs";
|
|
@@ -3879,7 +3879,7 @@ var HEADERS = { TSS_SHELL: "X-TSS_SHELL" };
|
|
|
3879
3879
|
* the dev styles URL for route-scoped CSS collection.
|
|
3880
3880
|
*/
|
|
3881
3881
|
async function getStartManifest(matchedRoutes) {
|
|
3882
|
-
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-
|
|
3882
|
+
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-MJAIGQWT.mjs");
|
|
3883
3883
|
const startManifest = tsrStartManifest();
|
|
3884
3884
|
let routes = startManifest.routes;
|
|
3885
3885
|
routes[rootRouteId];
|
|
@@ -6834,7 +6834,7 @@ var getBaseManifest = getProdBaseManifest;
|
|
|
6834
6834
|
var createEarlyHintsForRequest = createEarlyHintsCollector;
|
|
6835
6835
|
async function loadEntries() {
|
|
6836
6836
|
const [routerEntry, startEntry, pluginAdapters] = await Promise.all([
|
|
6837
|
-
import("./router-
|
|
6837
|
+
import("./router-C8NZ0bVd.mjs"),
|
|
6838
6838
|
import("./start-BSkL2B6C.mjs"),
|
|
6839
6839
|
import("./empty-plugin-adapters-BYBYBaxo.mjs")
|
|
6840
6840
|
]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { a as TSS_SERVER_FUNCTION } from "./createServerFn-AQvBMBjJ.mjs";
|
|
3
|
-
import { t as getServerFnById } from "../__23tanstack-start-server-fn-resolver-
|
|
3
|
+
import { t as getServerFnById } from "../__23tanstack-start-server-fn-resolver-pdhJfnex.mjs";
|
|
4
4
|
import { Ct as Button, Et as require_react, Tt as require_jsx_runtime, _t as TooltipPositioner, at as DialogTitle, bt as TooltipRoot, ct as DialogPopup, dt as DialogBackdrop, ft as useRender, gt as TooltipPopup, ht as TooltipArrow, it as DialogTrigger, lt as DialogDescription, mt as TooltipProvider$1, ot as DialogRoot, pt as Separator, st as DialogPortal, ut as DialogClose, vt as TooltipPortal, wt as mergeProps, yt as TooltipTrigger$1 } from "../_libs/@base-ui/react+[...].mjs";
|
|
5
5
|
import { b as PanelLeft, t as X } from "../_libs/lucide-react.mjs";
|
|
6
6
|
import { n as clsx, t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
7
7
|
import { t as twMerge } from "../_libs/tailwind-merge.mjs";
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/sidebar-
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/sidebar-bKoOUlMN.js
|
|
9
9
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
10
10
|
var import_jsx_runtime = require_jsx_runtime();
|
|
11
11
|
var createSsrRpc = (functionId) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as createStartHandler, r as defaultStreamHandler, t as createServerEntry$1 } from "./server-
|
|
1
|
+
import { n as createStartHandler, r as defaultStreamHandler, t as createServerEntry$1 } from "./server-Yr7QLPLj.mjs";
|
|
2
2
|
//#region node_modules/.nitro/vite/services/ssr/index.js
|
|
3
3
|
var fetch = createStartHandler(defaultStreamHandler);
|
|
4
4
|
var createServerEntry = createServerEntry$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime, i as SwitchRoot, r as SwitchThumb } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
-
import { k as cn } from "./sidebar-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/switch-
|
|
3
|
+
import { k as cn } from "./sidebar-bKoOUlMN.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/switch-C-HJ8oZV.js
|
|
5
5
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
7
|
/**
|
|
@@ -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-bKoOUlMN.mjs";
|
|
4
4
|
require_react();
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
function Table({ className, ...props }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { $ as TabsPanel, Q as TabsList$1, Tt as require_jsx_runtime, et as TabsTab, tt as TabsRoot } 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/tabs-
|
|
3
|
+
import { k as cn } from "./sidebar-bKoOUlMN.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/tabs-DRTBxZTO.js
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
function Tabs$1({ className, orientation = "horizontal", ...props }) {
|
|
7
7
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TabsRoot, {
|