@hot-updater/console 1.2.0-rc.29 → 1.2.0-rc.30
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/{index-BdyQq4-k.js → index-CgwVUC2n.js} +1 -1
- package/.output/public/assets/{native-builds_.devices-CVNAQtSy.js → native-builds_.devices-CTzpCVsb.js} +1 -1
- package/.output/public/assets/{native-builds_.devices-B-u7uLLG.js → native-builds_.devices-D_kl2-bc.js} +2 -2
- package/.output/server/{__23tanstack-start-server-fn-resolver-DTuNq7_z.mjs → __23tanstack-start-server-fn-resolver-q4YFIDyr.mjs} +58 -58
- package/.output/server/_libs/_.mjs +1 -1
- package/.output/server/_ssr/{BundleIdDisplay-BX6DLh1K.mjs → BundleIdDisplay-DvzlYWq8.mjs} +2 -2
- package/.output/server/_ssr/{ChannelBadge-D7O95Ack.mjs → ChannelBadge-qF_Pc5Ud.mjs} +3 -3
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-Dfs3WUZf.mjs → ConsoleFeatureUnavailable-DKUgr0N_.mjs} +5 -5
- package/.output/server/_ssr/{EventDetails-C1Q9caVa.mjs → EventDetails-T1XtYEDD.mjs} +6 -6
- package/.output/server/_ssr/{HashValueDisplay-SIEeZe0O.mjs → HashValueDisplay-Cas_zjIS.mjs} +2 -2
- package/.output/server/_ssr/{InsightsPageHeader-CAcbXSFD.mjs → InsightsPageHeader-BrllhUl2.mjs} +5 -5
- package/.output/server/_ssr/{IosInstall-B7yxnQ7o.mjs → IosInstall-CEHI8F2M.mjs} +6 -6
- package/.output/server/_ssr/{NativeBuildsNav-BwoEX7xx.mjs → NativeBuildsNav-2xSHyA1a.mjs} +3 -3
- package/.output/server/_ssr/{NotFoundPage-Cd_nKv04.mjs → NotFoundPage-D6H9vxj_.mjs} +2 -2
- package/.output/server/_ssr/{RelativeTime-B5txzq94.mjs → RelativeTime-DpEVzDP9.mjs} +3 -3
- package/.output/server/_ssr/{RolloutPercentageBadge-BEV8btLv.mjs → RolloutPercentageBadge-DW8-_w30.mjs} +3 -3
- package/.output/server/_ssr/{RowReason-CEDEk7-N.mjs → RowReason-C-PjIxzq.mjs} +4 -4
- package/.output/server/_ssr/{SandboxBadge-wlOMZIUd.mjs → SandboxBadge-CDdNew0R.mjs} +2 -2
- package/.output/server/_ssr/{TargetDisplay-076I9qHx.mjs → TargetDisplay-BBsP7IaZ.mjs} +3 -3
- package/.output/server/_ssr/{alert-dialog-DrD4hAp4.mjs → alert-dialog-Bd4E9xdw.mjs} +1 -1
- package/.output/server/_ssr/{api-C1plnjZg.mjs → api-BT7aA8UM.mjs} +3 -3
- package/.output/server/_ssr/{api-keys-Bzn-P-lX.mjs → api-keys-D2NvcQZv.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-L8_p18pO.mjs → api-keys-DjWpM20P.mjs} +9 -9
- package/.output/server/_ssr/{api-keys-rpc-Mne2yo8z.mjs → api-keys-rpc-nM5H7V7f.mjs} +3 -3
- package/.output/server/_ssr/{api-rpc-ChVBmeca.mjs → api-rpc-DX4HynbW.mjs} +7 -7
- package/.output/server/_ssr/{auth-rpc-Dml8l_eq.mjs → auth-rpc-LCxTtYz2.mjs} +4 -4
- package/.output/server/_ssr/{auth.server-DOShgraQ.mjs → auth.server-CERo_xef.mjs} +2 -2
- package/.output/server/_ssr/{badge-BasQflNy.mjs → badge-Dpp4q7sD.mjs} +1 -1
- package/.output/server/_ssr/{card-BrGGQYC0.mjs → card-CFCftDfI.mjs} +1 -1
- package/.output/server/_ssr/{config.server-CVOdMDBk.mjs → config.server-5W5WD8x2.mjs} +3 -3
- package/.output/server/_ssr/{console-access-Bi-abtY-.mjs → console-access-B0S5YFUa.mjs} +2 -2
- package/.output/server/_ssr/{console-features-api-Bjxo5ur3.mjs → console-features-api-CV_EReEj.mjs} +3 -3
- package/.output/server/_ssr/{console-features-rpc-xzdodg3g.mjs → console-features-rpc-D3xlQsuy.mjs} +3 -3
- package/.output/server/_ssr/{dialog-7iMkt9l0.mjs → dialog-DQR_QI_X.mjs} +1 -1
- package/.output/server/_ssr/{empty-Chb-YL3R.mjs → empty-C7PFnkCH.mjs} +2 -2
- package/.output/server/_ssr/{field-mL_Aa6ff.mjs → field-BqYN8sZT.mjs} +2 -2
- package/.output/server/_ssr/{input-group-C00_xYka.mjs → input-group-Brv0mmyp.mjs} +1 -1
- package/.output/server/_ssr/{insights-C9sSQPMF.mjs → insights--xI3A0KI.mjs} +5 -5
- package/.output/server/_ssr/{insights-BdF3o0Yp.mjs → insights-CD1e3EnW.mjs} +2 -2
- package/.output/server/_ssr/{insights-BcVNQCXf.mjs → insights-Dd0VdO-1.mjs} +19 -19
- package/.output/server/_ssr/{insights-api-CShlv9dA.mjs → insights-api-Bt2XVa4Y.mjs} +3 -3
- package/.output/server/_ssr/{insights-failures-rpc-C-cv9bId.mjs → insights-failures-rpc-DBGzXP5A.mjs} +4 -4
- package/.output/server/_ssr/{insights-recovery-rpc-Ct-jIQZU.mjs → insights-recovery-rpc-C6fAh-i_.mjs} +3 -3
- package/.output/server/_ssr/{insights-rpc-Dc0I8O3n.mjs → insights-rpc-pThKC9oj.mjs} +3 -3
- package/.output/server/_ssr/{insights-search-D_vVwBwW.mjs → insights-search-iFN4UaUv.mjs} +2 -2
- package/.output/server/_ssr/{insights-usage-rpc-D60hOhzl.mjs → insights-usage-rpc-B-RLvdLZ.mjs} +3 -3
- package/.output/server/_ssr/{insights-usage-rpc-4TR94EHa.mjs → insights-usage-rpc-CGHZQ9jq.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-BgnfMzw1.mjs → insights_.distribution-C6iXJ93Y.mjs} +13 -13
- package/.output/server/_ssr/{insights_.distribution-wT1mjWsG.mjs → insights_.distribution-E6Ns2aN7.mjs} +2 -2
- package/.output/server/_ssr/{insights_.distribution-DkD7uAwA.mjs → insights_.distribution-xHmfwwa5.mjs} +5 -5
- package/.output/server/_ssr/{installations-tFsFnxKk.mjs → installations-7V-Xyui8.mjs} +11 -11
- package/.output/server/_ssr/{installations-DvxMRP5u.mjs → installations-CZnN6slr.mjs} +4 -4
- package/.output/server/_ssr/{installations-DtRbzy3N.mjs → installations-D6Upc9Rt.mjs} +2 -2
- package/.output/server/_ssr/{ios-devices-rpc-CIPuCUQ8.mjs → ios-devices-rpc-CXuHk24G.mjs} +7 -7
- package/.output/server/_ssr/{iosDeviceProfile-WyMC1593.mjs → iosDeviceProfile-BESi_onx.mjs} +2 -2
- package/.output/server/_ssr/{iosDevices-B0TjF_sb.mjs → iosDevices-BmvvvZRo.mjs} +2 -2
- package/.output/server/_ssr/{native-builds-C458T7Ts.mjs → native-builds-BUojmVWC.mjs} +2 -2
- package/.output/server/_ssr/{native-builds-C5WxR0BT.mjs → native-builds-BhDCE89P.mjs} +14 -14
- package/.output/server/_ssr/{native-builds_._buildId-UsgsqKI8.mjs → native-builds_._buildId-DRiCNDdO.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_._buildId-CyCGKZ1H.mjs → native-builds_._buildId-DkMpG-OB.mjs} +14 -14
- package/.output/server/_ssr/{native-builds_.devices-BcfLIzJs.mjs → native-builds_.devices-DSideebA.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_.devices-BpTcIWm0.mjs → native-builds_.devices-DsOx1R36.mjs} +30 -17
- package/.output/server/_ssr/{nativeBuildDownloadLink-CtB2G7qG.mjs → nativeBuildDownloadLink-DDAUVU8q.mjs} +2 -2
- package/.output/server/_ssr/{nativeBuildInstall-PavEyZtZ.mjs → nativeBuildInstall-CcBrfTsc.mjs} +3 -3
- package/.output/server/_ssr/{release-adoption-rpc-DkT6ui4_.mjs → release-adoption-rpc-BjMXMi9A.mjs} +5 -5
- package/.output/server/_ssr/{remote-config-D_nQT__6.mjs → remote-config-B1iZuZOF.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-v1hs050H.mjs → remote-config-C_DprbJz.mjs} +17 -17
- package/.output/server/_ssr/{remote-config-BKlK0dFP.mjs → remote-config-C_q6FBE4.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-rpc-BW6lyp9Y.mjs → remote-config-rpc-BFTPcMfZ.mjs} +3 -3
- package/.output/server/_ssr/{router-hKO__Vrv.mjs → router-BDXPwfwl.mjs} +23 -23
- package/.output/server/_ssr/{routes-DKxm5A7X.mjs → routes-BJeztqpQ.mjs} +21 -21
- package/.output/server/_ssr/{routes-OhljAvlx.mjs → routes-DpapxHLc.mjs} +8 -8
- package/.output/server/_ssr/{schema-migration-rpc-DrrYEFqy.mjs → schema-migration-rpc-a4bLEdaP.mjs} +3 -3
- package/.output/server/_ssr/{select-M4kWGKJW.mjs → select-C9HpIZxd.mjs} +1 -1
- package/.output/server/_ssr/{server-4hXySEh0.mjs → server-C8ZmMWnn.mjs} +3 -3
- package/.output/server/_ssr/{sidebar-CFlo6lny.mjs → sidebar-BrVL3L7R.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{switch-xTCGSBdC.mjs → switch-DtnsoZHO.mjs} +2 -2
- package/.output/server/_ssr/{table-CqdaVMjd.mjs → table-Bg7nCnct.mjs} +1 -1
- package/.output/server/_ssr/{tabs-DtMAFr25.mjs → tabs-BEIoGLTL.mjs} +2 -2
- package/.output/server/{_tanstack-start-manifest_v-CYfHRC4i.mjs → _tanstack-start-manifest_v-C_TPyfFP.mjs} +5 -5
- package/.output/server/index.mjs +176 -176
- package/package.json +7 -7
- package/src/components/features/native-builds/IosDevicesPage.tsx +22 -3
|
@@ -2,15 +2,15 @@ import { i as __toESM } from "../_runtime.mjs";
|
|
|
2
2
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
3
3
|
import { A as ScrollAreaCorner, C as ComboboxPositioner, D as ComboboxClear$1, E as ComboboxCollection$1, Et as require_react, M as ScrollAreaScrollbar, N as ScrollAreaViewport, O as ComboboxInput$1, P as ScrollAreaRoot, S as ComboboxPopup, T as ComboboxList$1, Tt as require_jsx_runtime, _ as ComboboxRoot, b as ComboboxGroupLabel, g as ComboboxItemIndicator, j as ScrollAreaThumb, k as ComboboxTrigger$1, v as ComboboxEmpty$1, w as ComboboxPortal, x as ComboboxGroup$1, y as ComboboxItem$1 } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
4
|
import { O as List, U as CircleOff, V as Copy, X as Check, Y as ChevronDown, _ as RefreshCw, g as RotateCcw, h as RotateCw, i as TriangleAlert, nt as ArrowRight, q as ChevronRight, r as Undo2, t as X, tt as ArrowUpRight } from "../_libs/lucide-react.mjs";
|
|
5
|
-
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-
|
|
6
|
-
import { t as consoleAccess } from "./console-access-
|
|
5
|
+
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-BrVL3L7R.mjs";
|
|
6
|
+
import { t as consoleAccess } from "./console-access-B0S5YFUa.mjs";
|
|
7
7
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
8
8
|
import { a as useQueries, i as useQuery, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
9
|
-
import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-
|
|
10
|
-
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-
|
|
11
|
-
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-
|
|
12
|
-
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-
|
|
13
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-
|
|
9
|
+
import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-C7PFnkCH.mjs";
|
|
10
|
+
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-CFCftDfI.mjs";
|
|
11
|
+
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-Dpp4q7sD.mjs";
|
|
12
|
+
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-Bd4E9xdw.mjs";
|
|
13
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-Bg7nCnct.mjs";
|
|
14
14
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
15
15
|
import { w as isUUIDv7 } from "./dist-B6-irDRA.mjs";
|
|
16
16
|
import { r as recoveryWindows, t as insightsPeriodEnd } from "./insights-recovery-BhOg6kz2.mjs";
|
|
@@ -18,20 +18,20 @@ import { a as failureReasonLabel, i as failureRate, o as failureStageLabel, r as
|
|
|
18
18
|
import { t as groupFailureReports } from "./insights-errors-CXHg1lLV.mjs";
|
|
19
19
|
import { n as usageMetrics } from "./insights-usage-h8fipPTv.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-DeICczY7.mjs";
|
|
21
|
-
import { i as comparedBundleIds, n as InfoTooltip, t as DEFAULT_INSIGHTS_CHANNEL } 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 { t as Route } from "./insights
|
|
24
|
-
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-
|
|
21
|
+
import { i as comparedBundleIds, n as InfoTooltip, t as DEFAULT_INSIGHTS_CHANNEL } from "./insights-search-iFN4UaUv.mjs";
|
|
22
|
+
import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-Bt2XVa4Y.mjs";
|
|
23
|
+
import { t as Route } from "./insights--xI3A0KI.mjs";
|
|
24
|
+
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-BEIoGLTL.mjs";
|
|
25
25
|
import { t as PlatformIcon } from "./PlatformIcon-BpGOEXjU.mjs";
|
|
26
|
-
import { i as InputGroupInput, n as InputGroupAddon, r as InputGroupButton, t as InputGroup } from "./input-group-
|
|
27
|
-
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-
|
|
28
|
-
import { _ as usePreflightReleaseMutation, i as useChannelsQuery, w as useUpdateReleaseMutation } from "./api-
|
|
29
|
-
import { t as BundleIdDisplay } from "./BundleIdDisplay-
|
|
30
|
-
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-
|
|
31
|
-
import { i as InsightsPeriodSelector, n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader } from "./InsightsPageHeader-
|
|
32
|
-
import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-
|
|
26
|
+
import { i as InputGroupInput, n as InputGroupAddon, r as InputGroupButton, t as InputGroup } from "./input-group-Brv0mmyp.mjs";
|
|
27
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-C9HpIZxd.mjs";
|
|
28
|
+
import { _ as usePreflightReleaseMutation, i as useChannelsQuery, w as useUpdateReleaseMutation } from "./api-BT7aA8UM.mjs";
|
|
29
|
+
import { t as BundleIdDisplay } from "./BundleIdDisplay-DvzlYWq8.mjs";
|
|
30
|
+
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-B-RLvdLZ.mjs";
|
|
31
|
+
import { i as InsightsPeriodSelector, n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader } from "./InsightsPageHeader-BrllhUl2.mjs";
|
|
32
|
+
import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-T1XtYEDD.mjs";
|
|
33
33
|
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";
|
|
34
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-
|
|
34
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-Dd0VdO-1.js
|
|
35
35
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
36
36
|
var import_jsx_runtime = require_jsx_runtime();
|
|
37
37
|
var THEMES = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { A as createSsrRpc } from "./sidebar-
|
|
3
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { A as createSsrRpc } from "./sidebar-BrVL3L7R.mjs";
|
|
3
|
+
import { t as consoleAccess } from "./console-access-B0S5YFUa.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-7zH97WOO.mjs";
|
|
6
6
|
import { n as readFailureReportsInput } from "./insights-errors-CXHg1lLV.mjs";
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-api-
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-api-Bt2XVa4Y.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-B0S5YFUa.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
4
|
import { c as readUpdateFailuresInput } from "./insights-failures-7zH97WOO.mjs";
|
|
5
5
|
import { n as readFailureReportsInput } from "./insights-errors-CXHg1lLV.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-DBGzXP5A.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-5W5WD8x2.mjs"),
|
|
15
15
|
import("./updateFailures-D0bP_Ume.mjs"),
|
|
16
16
|
import("./runtime.server-CkSbWaZm.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-5W5WD8x2.mjs"),
|
|
29
29
|
import("./failureReports-BA2eg11O.mjs"),
|
|
30
30
|
import("./runtime.server-CkSbWaZm.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-B0S5YFUa.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
4
|
import { n as readRecoveryInput } from "./insights-recovery-BhOg6kz2.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-C6fAh-i_.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-5W5WD8x2.mjs"),
|
|
25
25
|
import("./bundleActivity-BP40zYSt.mjs"),
|
|
26
26
|
import("./runtime.server-CkSbWaZm.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-B0S5YFUa.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-pThKC9oj.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-5W5WD8x2.mjs"), import("./runtime.server-CkSbWaZm.mjs")]);
|
|
8
8
|
const { runtime } = await prepareConfig();
|
|
9
9
|
return requireFeature(runtime, "insights");
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { A as Info } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-
|
|
4
|
+
import { D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-BrVL3L7R.mjs";
|
|
5
5
|
import { w as isUUIDv7 } from "./dist-B6-irDRA.mjs";
|
|
6
6
|
import { r as extractTimestampFromUUIDv7 } from "./uuidv7-CmHbryZT.mjs";
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-search-
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-search-iFN4UaUv.js
|
|
8
8
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
9
9
|
var import_jsx_runtime = require_jsx_runtime();
|
|
10
10
|
function InfoTooltip({ label, children }) {
|
package/.output/server/_ssr/{insights-usage-rpc-D60hOhzl.mjs → insights-usage-rpc-B-RLvdLZ.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
2
|
import { F as ProgressIndicator$1, I as ProgressTrack$1, L as ProgressRoot, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
-
import { A as createSsrRpc, k as cn } from "./sidebar-
|
|
4
|
-
import { t as consoleAccess } from "./console-access-
|
|
3
|
+
import { A as createSsrRpc, k as cn } from "./sidebar-BrVL3L7R.mjs";
|
|
4
|
+
import { t as consoleAccess } from "./console-access-B0S5YFUa.mjs";
|
|
5
5
|
import { t as readAppUsageInput } from "./insights-usage-h8fipPTv.mjs";
|
|
6
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-B-RLvdLZ.js
|
|
7
7
|
var import_jsx_runtime = require_jsx_runtime();
|
|
8
8
|
function Progress$1({ className, children, value, ...props }) {
|
|
9
9
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ProgressRoot, {
|
package/.output/server/_ssr/{insights-usage-rpc-4TR94EHa.mjs → insights-usage-rpc-CGHZQ9jq.mjs}
RENAMED
|
@@ -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-B0S5YFUa.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
4
|
import { t as readAppUsageInput } from "./insights-usage-h8fipPTv.mjs";
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-CGHZQ9jq.js
|
|
6
6
|
var getAppUsageReportRpc_createServerFn_handler = createServerRpc({
|
|
7
7
|
id: "8a98cd9c178e4a54185d62c25a95f09d3d59850c43d3f5baa1563e1614ad942e",
|
|
8
8
|
name: "getAppUsageReportRpc",
|
|
@@ -18,7 +18,7 @@ var getAppUsageReportRpc = createServerFn({ method: "GET" }).middleware([console
|
|
|
18
18
|
};
|
|
19
19
|
}).handler(getAppUsageReportRpc_createServerFn_handler, async ({ data }) => {
|
|
20
20
|
const [{ prepareConfig }, { getAppUsageReport }, { requireFeature }] = await Promise.all([
|
|
21
|
-
import("./config.server-
|
|
21
|
+
import("./config.server-5W5WD8x2.mjs"),
|
|
22
22
|
import("./insightsUsage-BjSiV_X_.mjs"),
|
|
23
23
|
import("./runtime.server-CkSbWaZm.mjs")
|
|
24
24
|
]);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
2
|
import { h as RotateCw, it as ArrowLeft, tt as ArrowUpRight } from "../_libs/lucide-react.mjs";
|
|
3
|
-
import { C as Skeleton, O as buttonVariants, t as Button$1 } from "./sidebar-
|
|
3
|
+
import { C as Skeleton, O as buttonVariants, t as Button$1 } from "./sidebar-BrVL3L7R.mjs";
|
|
4
4
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
5
5
|
import { i as useQuery } from "../_libs/tanstack__react-query.mjs";
|
|
6
|
-
import { i as EmptyHeader, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-
|
|
7
|
-
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, 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 FieldLabel, t as Field } from "./field-
|
|
10
|
-
import { n as InfoTooltip, o as validateInsightsSearch } from "./insights-search-
|
|
11
|
-
import { l as useInsightsRetention, r as keepsTwelveMonths } from "./insights-api-
|
|
6
|
+
import { i as EmptyHeader, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-C7PFnkCH.mjs";
|
|
7
|
+
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, t as Card } from "./card-CFCftDfI.mjs";
|
|
8
|
+
import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-Dpp4q7sD.mjs";
|
|
9
|
+
import { a as FieldLabel, t as Field } from "./field-BqYN8sZT.mjs";
|
|
10
|
+
import { n as InfoTooltip, o as validateInsightsSearch } from "./insights-search-iFN4UaUv.mjs";
|
|
11
|
+
import { l as useInsightsRetention, r as keepsTwelveMonths } from "./insights-api-Bt2XVa4Y.mjs";
|
|
12
12
|
import { t as PlatformIcon } from "./PlatformIcon-BpGOEXjU.mjs";
|
|
13
|
-
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-
|
|
14
|
-
import { t as BundleIdDisplay } from "./BundleIdDisplay-
|
|
15
|
-
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-
|
|
16
|
-
import { n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader, t as BuiltinBundleBadge } from "./InsightsPageHeader-
|
|
17
|
-
import { t as Route } from "./insights_.distribution-
|
|
18
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-
|
|
13
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-C9HpIZxd.mjs";
|
|
14
|
+
import { t as BundleIdDisplay } from "./BundleIdDisplay-DvzlYWq8.mjs";
|
|
15
|
+
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-B-RLvdLZ.mjs";
|
|
16
|
+
import { n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader, t as BuiltinBundleBadge } from "./InsightsPageHeader-BrllhUl2.mjs";
|
|
17
|
+
import { t as Route } from "./insights_.distribution-xHmfwwa5.mjs";
|
|
18
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-C6iXJ93Y.js
|
|
19
19
|
var import_jsx_runtime = require_jsx_runtime();
|
|
20
20
|
var PAGE_SIZE = 20;
|
|
21
21
|
var dates = new Intl.DateTimeFormat("en", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DKUgr0N_.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-E6Ns2aN7.js
|
|
3
3
|
/** How a distribution row's bundle reads aloud. */
|
|
4
4
|
/** The bundle an app version's native build shipped, by its ID. */
|
|
5
5
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
@@ -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 validateDistributionSearch } from "./insights-search-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-
|
|
5
|
-
var $$splitComponentImporter = () => import("./insights_.distribution-
|
|
6
|
-
var $$splitNotFoundComponentImporter = () => import("./insights_.distribution-
|
|
2
|
+
import { r as requireConsoleFeature } from "./console-features-api-CV_EReEj.mjs";
|
|
3
|
+
import { a as validateDistributionSearch } from "./insights-search-iFN4UaUv.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-xHmfwwa5.js
|
|
5
|
+
var $$splitComponentImporter = () => import("./insights_.distribution-C6iXJ93Y.mjs");
|
|
6
|
+
var $$splitNotFoundComponentImporter = () => import("./insights_.distribution-E6Ns2aN7.mjs");
|
|
7
7
|
/** How a distribution row's bundle reads aloud. */
|
|
8
8
|
/** The bundle an app version's native build shipped, by its ID. */
|
|
9
9
|
var Route = createFileRoute("/insights_/distribution")({
|
|
@@ -1,18 +1,18 @@
|
|
|
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 { X as Check, Y as ChevronDown, _ as RefreshCw, it as ArrowLeft, m as Search, t as X, tt as ArrowUpRight } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { C as Skeleton, O as buttonVariants, k as cn, r as Separator$1, t as Button$1 } from "./sidebar-
|
|
4
|
+
import { C as Skeleton, O as buttonVariants, k as cn, r as Separator$1, t as Button$1 } from "./sidebar-BrVL3L7R.mjs";
|
|
5
5
|
import { c as useElementScrollRestoration, h as Link, o as useLocation } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
6
|
-
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-
|
|
7
|
-
import { a as FieldLabel, t as Field } from "./field-
|
|
8
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-
|
|
9
|
-
import { a as useInsightsEventsQuery, c as useInsightsInstallationsQuery, l as useInsightsRetention, n as formatDays, o as useInsightsInstallationEventsQuery, s as useInsightsInstallationQuery, t as DEFAULT_INSIGHTS_RETENTION } from "./insights-api-
|
|
10
|
-
import { i as InputGroupInput, n as InputGroupAddon, r as InputGroupButton, t as InputGroup } from "./input-group-
|
|
11
|
-
import { a as PeriodSelector, n as InsightsErrorAlert, r as InsightsPageHeader, s as isBuiltinBundle, t as BuiltinBundleBadge } from "./InsightsPageHeader-
|
|
12
|
-
import { n as shortenIdentifier, t as HashValueDisplay } from "./HashValueDisplay-
|
|
13
|
-
import { a as HttpResponseDetails, n as EventTimestamp, o as useInsightsTimeFormat, r as EventTypeDetails, t as EventBundleTransition } from "./EventDetails-
|
|
14
|
-
import { a as installationsScrollRestorationKey, i as eventRanges, n as Route, o as widerEventRange, r as eventRangeBounds, t as EVENT_RANGES } from "./installations-
|
|
15
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/installations-
|
|
6
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-CFCftDfI.mjs";
|
|
7
|
+
import { a as FieldLabel, t as Field } from "./field-BqYN8sZT.mjs";
|
|
8
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-Bg7nCnct.mjs";
|
|
9
|
+
import { a as useInsightsEventsQuery, c as useInsightsInstallationsQuery, l as useInsightsRetention, n as formatDays, o as useInsightsInstallationEventsQuery, s as useInsightsInstallationQuery, t as DEFAULT_INSIGHTS_RETENTION } from "./insights-api-Bt2XVa4Y.mjs";
|
|
10
|
+
import { i as InputGroupInput, n as InputGroupAddon, r as InputGroupButton, t as InputGroup } from "./input-group-Brv0mmyp.mjs";
|
|
11
|
+
import { a as PeriodSelector, n as InsightsErrorAlert, r as InsightsPageHeader, s as isBuiltinBundle, t as BuiltinBundleBadge } from "./InsightsPageHeader-BrllhUl2.mjs";
|
|
12
|
+
import { n as shortenIdentifier, t as HashValueDisplay } from "./HashValueDisplay-Cas_zjIS.mjs";
|
|
13
|
+
import { a as HttpResponseDetails, n as EventTimestamp, o as useInsightsTimeFormat, r as EventTypeDetails, t as EventBundleTransition } from "./EventDetails-T1XtYEDD.mjs";
|
|
14
|
+
import { a as installationsScrollRestorationKey, i as eventRanges, n as Route, o as widerEventRange, r as eventRangeBounds, t as EVENT_RANGES } from "./installations-CZnN6slr.mjs";
|
|
15
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/installations-7V-Xyui8.js
|
|
16
16
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
17
17
|
var import_jsx_runtime = require_jsx_runtime();
|
|
18
18
|
function EventHistoryList({ events, formatter, renderIdentity }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/installations-
|
|
2
|
+
import { r as requireConsoleFeature } from "./console-features-api-CV_EReEj.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/installations-CZnN6slr.js
|
|
4
4
|
var DAY_MS = 864e5;
|
|
5
5
|
/** The time ranges an event list reads, shortest first. */
|
|
6
6
|
var eventRanges = {
|
|
@@ -56,8 +56,8 @@ function validateInstallationsSearch(search) {
|
|
|
56
56
|
historyBefore: readTimestamp(search.historyBefore)
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
var $$splitComponentImporter = () => import("./installations-
|
|
60
|
-
var $$splitNotFoundComponentImporter = () => import("./installations-
|
|
59
|
+
var $$splitComponentImporter = () => import("./installations-7V-Xyui8.mjs");
|
|
60
|
+
var $$splitNotFoundComponentImporter = () => import("./installations-D6Upc9Rt.mjs");
|
|
61
61
|
var Route = createFileRoute("/installations")({
|
|
62
62
|
beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "insights"),
|
|
63
63
|
notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "notFoundComponent"),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/installations-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DKUgr0N_.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/installations-D6Upc9Rt.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-B0S5YFUa.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/ios-devices-rpc-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/ios-devices-rpc-CXuHk24G.js
|
|
5
5
|
var STATUSES = [
|
|
6
6
|
"pending",
|
|
7
7
|
"approved",
|
|
@@ -23,9 +23,9 @@ var text = (input, field, max = 2048) => {
|
|
|
23
23
|
var registry = async () => {
|
|
24
24
|
const [{ getRequest }, { prepareConfig }, { requireConsoleAccess }, devices] = await Promise.all([
|
|
25
25
|
import("../_libs/_.mjs").then((n) => n.t),
|
|
26
|
-
import("./config.server-
|
|
27
|
-
import("./auth.server-
|
|
28
|
-
import("./iosDevices-
|
|
26
|
+
import("./config.server-5W5WD8x2.mjs"),
|
|
27
|
+
import("./auth.server-CERo_xef.mjs"),
|
|
28
|
+
import("./iosDevices-BmvvvZRo.mjs")
|
|
29
29
|
]);
|
|
30
30
|
const request = getRequest();
|
|
31
31
|
const [{ core, config }, principal] = await Promise.all([prepareConfig(request), requireConsoleAccess(request)]);
|
|
@@ -47,7 +47,7 @@ var getIosDevices = createServerFn({ method: "GET" }).middleware([consoleAccess]
|
|
|
47
47
|
if (status !== void 0 && !STATUSES.includes(status)) throw new TypeError("Invalid status.");
|
|
48
48
|
return status === void 0 ? {} : { status };
|
|
49
49
|
}).handler(getIosDevices_createServerFn_handler, async ({ data }) => {
|
|
50
|
-
const [{ request, core, principal, viewer, devices }, { CONSOLE_SECRET_ENV }] = await Promise.all([registry(), import("./nativeBuildDownloadLink-
|
|
50
|
+
const [{ request, core, principal, viewer, devices }, { CONSOLE_SECRET_ENV }] = await Promise.all([registry(), import("./nativeBuildDownloadLink-DDAUVU8q.mjs")]);
|
|
51
51
|
return {
|
|
52
52
|
devices: await devices.listIosDevices(core, data.status),
|
|
53
53
|
viewer,
|
|
@@ -132,7 +132,7 @@ var getNativeBuildIpaDevices_createServerFn_handler = createServerRpc({
|
|
|
132
132
|
filename: "src/lib/ios-devices-rpc.ts"
|
|
133
133
|
}, (opts) => getNativeBuildIpaDevices.__executeServer(opts));
|
|
134
134
|
var getNativeBuildIpaDevices = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => ({ id: text(input, "id", 36) })).handler(getNativeBuildIpaDevices_createServerFn_handler, async ({ data }) => {
|
|
135
|
-
const [{ prepareConfig }, { readNativeBuildIpaDevices }] = await Promise.all([import("./config.server-
|
|
135
|
+
const [{ prepareConfig }, { readNativeBuildIpaDevices }] = await Promise.all([import("./config.server-5W5WD8x2.mjs"), import("./nativeBuildInstall-CcBrfTsc.mjs")]);
|
|
136
136
|
return readNativeBuildIpaDevices(data.id, await prepareConfig());
|
|
137
137
|
});
|
|
138
138
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as nativeBuildDetailPath, a as IOS_DEVICE_RESPONSE_PATH, n as IOS_DEVICES_PATH, r as IOS_DEVICE_PROFILE_PATH } from "./native-builds-BXBkklfA.mjs";
|
|
2
2
|
import { a as readProfileServiceUdid, r as publicConsoleBase, t as escapePlistText } from "./publicConsoleBase-f67NLLXZ.mjs";
|
|
3
3
|
import { i as verifyDeviceProfileToken, r as createDeviceReceipt } from "./deviceProfileToken-CwWb1lPq.mjs";
|
|
4
|
-
import { readConsoleSecret } from "./nativeBuildDownloadLink-
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/iosDeviceProfile-
|
|
4
|
+
import { readConsoleSecret } from "./nativeBuildDownloadLink-DDAUVU8q.mjs";
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/iosDeviceProfile-BESi_onx.js
|
|
6
6
|
/** The most a Profile Service answer holds: a plist and a device's certificates. */
|
|
7
7
|
var MAX_RESPONSE_BYTES = 64 * 1024;
|
|
8
8
|
var refusal = (status, message) => new Response(message, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as verifyDeviceReceipt, n as createDeviceProfileToken, t as DEVICE_PROFILE_TOKEN_TTL_MS } from "./deviceProfileToken-CwWb1lPq.mjs";
|
|
2
|
-
import { CONSOLE_SECRET_ENV, readConsoleSecret } from "./nativeBuildDownloadLink-
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/iosDevices-
|
|
2
|
+
import { CONSOLE_SECRET_ENV, readConsoleSecret } from "./nativeBuildDownloadLink-DDAUVU8q.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/iosDevices-BmvvvZRo.js
|
|
4
4
|
/** A registry page: past an Apple account's yearly limit of devices. */
|
|
5
5
|
var PAGE = 200;
|
|
6
6
|
/** `ios_devices.name`'s bound in core's schema. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
2
|
import { r as validateNativeBuildsSearch } from "./-native-builds-search-Mm_AZoRU.mjs";
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds-
|
|
4
|
-
var $$splitComponentImporter = () => import("./native-builds-
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds-BUojmVWC.js
|
|
4
|
+
var $$splitComponentImporter = () => import("./native-builds-BhDCE89P.mjs");
|
|
5
5
|
var Route = createFileRoute("/native-builds")({
|
|
6
6
|
component: lazyRouteComponent($$splitComponentImporter, "component"),
|
|
7
7
|
validateSearch: validateNativeBuildsSearch
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
2
|
import { B as Download, I as FileUp, M as HardDrive, _ as RefreshCw, i as TriangleAlert, j as History, tt as ArrowUpRight } from "../_libs/lucide-react.mjs";
|
|
3
|
-
import { O as buttonVariants, S as SidebarTrigger, j as useIsMobile, t as Button$1 } from "./sidebar-
|
|
3
|
+
import { O as buttonVariants, S as SidebarTrigger, j as useIsMobile, t as Button$1 } from "./sidebar-BrVL3L7R.mjs";
|
|
4
4
|
import { g as useNavigate, h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
5
|
-
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-
|
|
6
|
-
import { a as DialogHeader, n as DialogContent, o as DialogTitle, r as DialogDescription, s as DialogTrigger, t as Dialog$1 } from "./dialog-
|
|
7
|
-
import { i as TableHead, r as TableCell } from "./table-
|
|
5
|
+
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-Dpp4q7sD.mjs";
|
|
6
|
+
import { a as DialogHeader, n as DialogContent, o as DialogTitle, r as DialogDescription, s as DialogTrigger, t as Dialog$1 } from "./dialog-DQR_QI_X.mjs";
|
|
7
|
+
import { i as TableHead, r as TableCell } from "./table-Bg7nCnct.mjs";
|
|
8
8
|
import { D as platformLabel, S as nativeBuildLabel, d as formatByteSize, g as nativeBuildChannel, m as nativeBuildArtifacts, v as nativeBuildDownloadPath, y as nativeBuildFileName } from "./native-builds-BXBkklfA.mjs";
|
|
9
9
|
import { r as extractTimestampFromUUIDv7 } from "./uuidv7-CmHbryZT.mjs";
|
|
10
10
|
import { n as PlatformLabel, t as PlatformIcon } from "./PlatformIcon-BpGOEXjU.mjs";
|
|
11
|
-
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-
|
|
12
|
-
import { g as useNativeBuildsQuery, i as useChannelsQuery, p as useNativeBuildFoldQuery } from "./api-
|
|
13
|
-
import { t as Route } from "./native-builds-
|
|
14
|
-
import { t as ChannelBadge } from "./ChannelBadge-
|
|
15
|
-
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-
|
|
16
|
-
import { i as TargetDisplay, n as CopyableText, r as NoValue, t as BuildKeyDisplay } from "./TargetDisplay-
|
|
17
|
-
import { a as foldKey, c as groupsOf, i as RowReason, l as useOpenFolds, n as DataTableFold, o as foldLabel, r as FoldStatus, s as foldedTotal, t as DataCardFold } from "./RowReason-
|
|
18
|
-
import { t as NativeBuildsNav } from "./NativeBuildsNav-
|
|
19
|
-
import { a as storeTrackLabels, i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge } from "./SandboxBadge-
|
|
20
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds-
|
|
11
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-C9HpIZxd.mjs";
|
|
12
|
+
import { g as useNativeBuildsQuery, i as useChannelsQuery, p as useNativeBuildFoldQuery } from "./api-BT7aA8UM.mjs";
|
|
13
|
+
import { t as Route } from "./native-builds-BUojmVWC.mjs";
|
|
14
|
+
import { t as ChannelBadge } from "./ChannelBadge-qF_Pc5Ud.mjs";
|
|
15
|
+
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-DpEVzDP9.mjs";
|
|
16
|
+
import { i as TargetDisplay, n as CopyableText, r as NoValue, t as BuildKeyDisplay } from "./TargetDisplay-BBsP7IaZ.mjs";
|
|
17
|
+
import { a as foldKey, c as groupsOf, i as RowReason, l as useOpenFolds, n as DataTableFold, o as foldLabel, r as FoldStatus, s as foldedTotal, t as DataCardFold } from "./RowReason-C-PjIxzq.mjs";
|
|
18
|
+
import { t as NativeBuildsNav } from "./NativeBuildsNav-2xSHyA1a.mjs";
|
|
19
|
+
import { a as storeTrackLabels, i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge } from "./SandboxBadge-CDdNew0R.mjs";
|
|
20
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds-BhDCE89P.js
|
|
21
21
|
var import_jsx_runtime = require_jsx_runtime();
|
|
22
22
|
/** The command that tracks a build made elsewhere. */
|
|
23
23
|
var IMPORT_COMMAND = "npx hot-updater native-build import <file>";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
2
|
import { n as validateNativeBuildDetailSearch } from "./-native-builds-search-Mm_AZoRU.mjs";
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-
|
|
4
|
-
var $$splitComponentImporter = () => import("./native-builds_._buildId-
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-DRiCNDdO.js
|
|
4
|
+
var $$splitComponentImporter = () => import("./native-builds_._buildId-DkMpG-OB.mjs");
|
|
5
5
|
var Route = createFileRoute("/native-builds_/$buildId")({
|
|
6
6
|
component: lazyRouteComponent($$splitComponentImporter, "component"),
|
|
7
7
|
validateSearch: validateNativeBuildDetailSearch
|
|
@@ -1,26 +1,26 @@
|
|
|
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 { B as Download, J as ChevronLeft, M as HardDrive, N as GitBranch, R as ExternalLink, S as PackageOpen, W as CircleCheck, _ as RefreshCw, i as TriangleAlert, j as History, q as ChevronRight, tt as ArrowUpRight, u as Smartphone } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, t as Button$1 } from "./sidebar-
|
|
4
|
+
import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, t as Button$1 } from "./sidebar-BrVL3L7R.mjs";
|
|
5
5
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
6
|
-
import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-
|
|
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 TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-
|
|
6
|
+
import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-C7PFnkCH.mjs";
|
|
7
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-CFCftDfI.mjs";
|
|
8
|
+
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-Dpp4q7sD.mjs";
|
|
9
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-Bg7nCnct.mjs";
|
|
10
10
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
11
11
|
import { i as NUMERIC_COHORT_SIZE } from "./dist-B6-irDRA.mjs";
|
|
12
12
|
import { D as platformLabel, E as nativeBuildSignedDownloadUrl, S as nativeBuildLabel, b as nativeBuildInstallCommand, d as formatByteSize, k as shellQuote, m as nativeBuildArtifacts, p as maskIosUdid, v as nativeBuildDownloadPath, y as nativeBuildFileName } from "./native-builds-BXBkklfA.mjs";
|
|
13
13
|
import { t as PlatformIcon } from "./PlatformIcon-BpGOEXjU.mjs";
|
|
14
|
-
import { a as useConfigQuery, d as useNativeBuildDownloadLinkQuery, f as useNativeBuildDownloadUrlQuery, h as useNativeBuildPatchesQuery, l as useMarkNativeBuildMutation, u as useNativeBuildDetailQuery } from "./api-
|
|
15
|
-
import { t as BundleIdDisplay } from "./BundleIdDisplay-
|
|
16
|
-
import { t as ChannelBadge } from "./ChannelBadge-
|
|
14
|
+
import { a as useConfigQuery, d as useNativeBuildDownloadLinkQuery, f as useNativeBuildDownloadUrlQuery, h as useNativeBuildPatchesQuery, l as useMarkNativeBuildMutation, u as useNativeBuildDetailQuery } from "./api-BT7aA8UM.mjs";
|
|
15
|
+
import { t as BundleIdDisplay } from "./BundleIdDisplay-DvzlYWq8.mjs";
|
|
16
|
+
import { t as ChannelBadge } from "./ChannelBadge-qF_Pc5Ud.mjs";
|
|
17
17
|
import { n as require_dayjs_min } from "../_libs/dayjs.mjs";
|
|
18
|
-
import { i as TargetDisplay, n as CopyableText, r as NoValue, t as BuildKeyDisplay } from "./TargetDisplay-
|
|
19
|
-
import { i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge, t as PLAY_TRACKS } from "./SandboxBadge-
|
|
20
|
-
import { t as Route } from "./native-builds_._buildId-
|
|
21
|
-
import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-
|
|
22
|
-
import { i as useIosDevice, n as QrCode, s as useNativeBuildIpaDevicesQuery, t as IosInstall } from "./IosInstall-
|
|
23
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-
|
|
18
|
+
import { i as TargetDisplay, n as CopyableText, r as NoValue, t as BuildKeyDisplay } from "./TargetDisplay-BBsP7IaZ.mjs";
|
|
19
|
+
import { i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge, t as PLAY_TRACKS } from "./SandboxBadge-CDdNew0R.mjs";
|
|
20
|
+
import { t as Route } from "./native-builds_._buildId-DRiCNDdO.mjs";
|
|
21
|
+
import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-DW8-_w30.mjs";
|
|
22
|
+
import { i as useIosDevice, n as QrCode, s as useNativeBuildIpaDevicesQuery, t as IosInstall } from "./IosInstall-CEHI8F2M.mjs";
|
|
23
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-DkMpG-OB.js
|
|
24
24
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
25
25
|
var import_jsx_runtime = require_jsx_runtime();
|
|
26
26
|
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
2
|
import { t as validateIosDevicesSearch } from "./-native-builds-search-Mm_AZoRU.mjs";
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-
|
|
4
|
-
var $$splitComponentImporter = () => import("./native-builds_.devices-
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-DSideebA.js
|
|
4
|
+
var $$splitComponentImporter = () => import("./native-builds_.devices-DsOx1R36.mjs");
|
|
5
5
|
var Route = createFileRoute("/native-builds_/devices")({
|
|
6
6
|
component: lazyRouteComponent($$splitComponentImporter, "component"),
|
|
7
7
|
validateSearch: validateIosDevicesSearch
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime, d as MenuRoot, f as MenuPositioner, h as MenuItem, m as MenuPopup, p as MenuPortal, pt as Separator, u as MenuTrigger } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { D as LoaderCircle, M as HardDrive, X as Check, _ as RefreshCw, a as Trash2, i as TriangleAlert, u as Smartphone, y as Pencil, z as Ellipsis } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, j as useIsMobile, k as cn, n as Input, t as Button$1 } from "./sidebar-
|
|
4
|
+
import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, j as useIsMobile, k as cn, n as Input, t as Button$1 } from "./sidebar-BrVL3L7R.mjs";
|
|
5
5
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
6
|
-
import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-
|
|
7
|
-
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-
|
|
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-
|
|
9
|
-
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-
|
|
10
|
-
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-
|
|
11
|
-
import { i as TableHead, o as TableRow, r as TableCell } from "./table-
|
|
6
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-CFCftDfI.mjs";
|
|
7
|
+
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-Dpp4q7sD.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-Bd4E9xdw.mjs";
|
|
9
|
+
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-DQR_QI_X.mjs";
|
|
10
|
+
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-BqYN8sZT.mjs";
|
|
11
|
+
import { i as TableHead, o as TableRow, r as TableCell } from "./table-Bg7nCnct.mjs";
|
|
12
12
|
import { f as iosDeviceProfileUrl, n as IOS_DEVICES_PATH, p as maskIosUdid, t as IOS_DEVICES_ADD_COMMAND, u as consolePathOf } from "./native-builds-BXBkklfA.mjs";
|
|
13
13
|
import { r as extractTimestampFromUUIDv7 } from "./uuidv7-CmHbryZT.mjs";
|
|
14
|
-
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-
|
|
14
|
+
import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-C9HpIZxd.mjs";
|
|
15
15
|
import { n as require_dayjs_min } from "../_libs/dayjs.mjs";
|
|
16
|
-
import { c as DataTableFullRow, d as DataTableSkeletonRows, f as RelativeTime, i as DataTable, n as DataCardSkeletons, o as DataTableEmpty, r as DataCardsEmpty, s as DataTableFrame, t as DataCard } from "./RelativeTime-
|
|
17
|
-
import { n as CopyableText, r as NoValue } from "./TargetDisplay-
|
|
18
|
-
import { t as NativeBuildsNav } from "./NativeBuildsNav-
|
|
19
|
-
import { a as useIosDeviceProfileLinkQuery, c as useRemoveIosDeviceMutation, i as useIosDevice, l as useRenameIosDeviceMutation, n as QrCode, o as useIosDevicesQuery, r as useApproveIosDeviceMutation } from "./IosInstall-
|
|
20
|
-
import { t as Route } from "./native-builds_.devices-
|
|
21
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-
|
|
16
|
+
import { c as DataTableFullRow, d as DataTableSkeletonRows, f as RelativeTime, i as DataTable, n as DataCardSkeletons, o as DataTableEmpty, r as DataCardsEmpty, s as DataTableFrame, t as DataCard } from "./RelativeTime-DpEVzDP9.mjs";
|
|
17
|
+
import { n as CopyableText, r as NoValue } from "./TargetDisplay-BBsP7IaZ.mjs";
|
|
18
|
+
import { t as NativeBuildsNav } from "./NativeBuildsNav-2xSHyA1a.mjs";
|
|
19
|
+
import { a as useIosDeviceProfileLinkQuery, c as useRemoveIosDeviceMutation, i as useIosDevice, l as useRenameIosDeviceMutation, n as QrCode, o as useIosDevicesQuery, r as useApproveIosDeviceMutation } from "./IosInstall-CEHI8F2M.mjs";
|
|
20
|
+
import { t as Route } from "./native-builds_.devices-DSideebA.mjs";
|
|
21
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-DsOx1R36.js
|
|
22
22
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
23
23
|
var import_jsx_runtime = require_jsx_runtime();
|
|
24
24
|
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
@@ -96,8 +96,18 @@ var actionsFor = (device, viewer) => ({
|
|
|
96
96
|
var appleRefused = (device) => device.status === "approved" && device.apple_error !== null;
|
|
97
97
|
/** Who asked for a device: a person, or a terminal for one the CLI added. */
|
|
98
98
|
var requesterOf = (device) => device.requested_by ?? "Added from a terminal";
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
/**
|
|
100
|
+
* Apple's reason. In a table cell it wraps at most two lines in a narrow
|
|
101
|
+
* column, the full text on hover and to a screen reader, so a long reason
|
|
102
|
+
* never widens the table past its frame; a card shows all of it.
|
|
103
|
+
*/
|
|
104
|
+
function AppleError({ device, inTable = false }) {
|
|
105
|
+
if (device.apple_error === null) return null;
|
|
106
|
+
return inTable ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
107
|
+
className: "line-clamp-2 max-w-48 text-xs whitespace-normal text-muted-foreground",
|
|
108
|
+
title: device.apple_error,
|
|
109
|
+
children: device.apple_error
|
|
110
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
101
111
|
className: "max-w-64 text-xs whitespace-normal text-muted-foreground",
|
|
102
112
|
children: device.apple_error
|
|
103
113
|
});
|
|
@@ -111,7 +121,10 @@ function DeviceStatus({ device, withError = true }) {
|
|
|
111
121
|
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
|
|
112
122
|
variant: STATUS_BADGES[device.status],
|
|
113
123
|
children: STATUS_LABELS[device.status]
|
|
114
|
-
}), withError ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AppleError, {
|
|
124
|
+
}), withError ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AppleError, {
|
|
125
|
+
device,
|
|
126
|
+
inTable: true
|
|
127
|
+
}) : null]
|
|
115
128
|
});
|
|
116
129
|
}
|
|
117
130
|
function DeviceBuild({ device }) {
|