@hot-updater/console 1.2.0-rc.13 → 1.2.0-rc.14
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/{-native-builds-search-DC2PutLU.js → -native-builds-search-OlRj4Jz0.js} +1 -1
- package/.output/public/assets/BundleIdDisplay-CP6rsdFO.js +1 -0
- package/.output/public/assets/{ConsoleFeatureUnavailable-oMmbaqF6.js → ConsoleFeatureUnavailable-DUqlpHCp.js} +1 -1
- package/.output/public/assets/EventDetails-Dcpdu7re.js +1 -0
- package/.output/public/assets/HashValueDisplay-MoZMmTeP.js +1 -0
- package/.output/public/assets/{InsightsPageHeader-q2FgL8xS.js → InsightsPageHeader-CSas9gM0.js} +1 -1
- package/.output/public/assets/{PlatformIcon-DCTtCP5t.js → PlatformIcon-CJ69KopR.js} +1 -1
- package/.output/public/assets/RelativeTime-CiZ7yXNJ.js +1 -0
- package/.output/public/assets/RolloutPercentageBadge-D-tZKnX7.js +1 -0
- package/.output/public/assets/StoreSubmission-F00RL5rI.js +1 -0
- package/.output/public/assets/TargetDisplay-CoYY8Fs4.js +1 -0
- package/.output/public/assets/api-keys-3IL4dIHe.js +1 -0
- package/.output/public/assets/api-keys-4w2-ofii.js +1 -0
- package/.output/public/assets/badge-laIuYW1U.js +1 -0
- package/.output/public/assets/card-ulgg5xHn.js +1 -0
- package/.output/public/assets/{index-t0CToN0S.js → index-Cde2QQJq.js} +3 -3
- package/.output/public/assets/insights-0TUItqwh.js +1 -0
- package/.output/public/assets/insights-DDRfERph.js +2 -0
- package/.output/public/assets/insights-_6iMn8GR.js +42 -0
- package/.output/public/assets/{insights-search-B5cZsP6C.js → insights-search-CYPrQVUC.js} +1 -1
- package/.output/public/assets/{insights-usage-rpc-zut_JaSS.js → insights-usage-rpc-BbFllvi_.js} +1 -1
- package/.output/public/assets/insights_.distribution-AZcfvK7x.js +1 -0
- package/.output/public/assets/insights_.distribution-BGAqgPi0.js +1 -0
- package/.output/public/assets/insights_.distribution-CjYkDRA4.js +2 -0
- package/.output/public/assets/installations-Ap2G2tDs.js +1 -0
- package/.output/public/assets/{installations-BRS-vuRJ.js → installations-CSZfo1rG.js} +2 -2
- package/.output/public/assets/installations-CwQYwQ6K.js +1 -0
- package/.output/public/assets/native-builds-cT9Ha-jZ.js +1 -0
- package/.output/public/assets/native-builds-v5wez34c.js +2 -0
- package/.output/public/assets/native-builds_._buildId-BBwE8Pcc.js +2 -0
- package/.output/public/assets/native-builds_._buildId-DZPcR_up.js +1 -0
- package/.output/public/assets/package-ytYrywZH.js +1 -0
- package/.output/public/assets/remote-config-CIAEArwq.js +1 -0
- package/.output/public/assets/{remote-config-DQguWTMa.js → remote-config-Dwdc-sij.js} +1 -1
- package/.output/public/assets/remote-config-ZJ_IRSKE.js +6 -0
- package/.output/public/assets/routes-BUWLcUqW.js +1 -0
- package/.output/public/assets/routes-Rtz-KcQO.js +2 -0
- package/.output/public/assets/styles-bNNic0NS.css +2 -0
- package/.output/public/assets/valueToPercent-B6X9rUJM.js +1 -0
- package/.output/server/{__23tanstack-start-server-fn-resolver-DI0OnlQe.mjs → __23tanstack-start-server-fn-resolver-BD3yIgQW.mjs} +49 -49
- package/.output/server/_libs/_.mjs +1 -1
- package/.output/server/_libs/lucide-react.mjs +1 -27
- package/.output/server/_ssr/{BundleIdDisplay-SAvC-NlE.mjs → BundleIdDisplay-Di0dxxxD.mjs} +2 -2
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-BgHEoZ36.mjs → ConsoleFeatureUnavailable-BJM23Zg6.mjs} +6 -6
- package/.output/server/_ssr/{EventDetails-VaS25yjE.mjs → EventDetails-BatEDlOf.mjs} +7 -7
- package/.output/server/_ssr/{HashValueDisplay-BGc-x_l8.mjs → HashValueDisplay-DoVLNSRc.mjs} +6 -6
- package/.output/server/_ssr/{InsightsPageHeader-gMuNJt-f.mjs → InsightsPageHeader--Lsgjvy7.mjs} +6 -6
- package/.output/server/_ssr/{NotFoundPage-DsRI-J4h.mjs → NotFoundPage-DsX6EelI.mjs} +2 -2
- package/.output/server/_ssr/{PlatformIcon-BsU0d0jN.mjs → PlatformIcon-Cuhy0CIO.mjs} +12 -2
- package/.output/server/_ssr/RelativeTime-BVQMmkQi.mjs +209 -0
- package/.output/server/_ssr/{git-WSg7LY17.mjs → RolloutPercentageBadge-B5_ASwiR.mjs} +18 -2
- package/.output/server/_ssr/StoreSubmission-B-oliflh.mjs +65 -0
- package/.output/server/_ssr/TargetDisplay-Zy7Xom4-.mjs +100 -0
- package/.output/server/_ssr/{alert-dialog-lury59vV.mjs → alert-dialog-C4wLRSPA.mjs} +1 -1
- package/.output/server/_ssr/{api-BQ8ztUgU.mjs → api-B9fz7k5l.mjs} +4 -4
- package/.output/server/_ssr/{api-keys-CHATVpa9.mjs → api-keys-CWRy6qIm.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-DVChzF3r.mjs → api-keys-DSBFZRhe.mjs} +10 -9
- package/.output/server/_ssr/{api-keys-rpc-DXPJTfdr.mjs → api-keys-rpc-CWXJDGcR.mjs} +3 -3
- package/.output/server/_ssr/{api-rpc-BexxmTM9.mjs → api-rpc-DFAKchn0.mjs} +10 -10
- package/.output/server/_ssr/{auth-rpc-BgNCvy2L.mjs → auth-rpc-CCrZswwU.mjs} +4 -4
- package/.output/server/_ssr/{auth.server-43UW34Rd.mjs → auth.server-B_NFqTVL.mjs} +2 -2
- package/.output/server/_ssr/{badge-BYB825vl.mjs → badge-CrneyinM.mjs} +2 -44
- package/.output/server/_ssr/card-uJiVh8Ex.mjs +49 -0
- package/.output/server/_ssr/{config.server-QRTmD4Hf.mjs → config.server-DegewTDN.mjs} +3 -3
- package/.output/server/_ssr/{console-access-E91fYTIB.mjs → console-access-Dn2nyMoy.mjs} +2 -2
- package/.output/server/_ssr/{console-features-api-CLRjxvy2.mjs → console-features-api-XvLDCadj.mjs} +3 -3
- package/.output/server/_ssr/{console-features-rpc-C2rJ0u6i.mjs → console-features-rpc-BGj3a9MK.mjs} +3 -3
- package/.output/server/_ssr/{dialog-CcF1pxfR.mjs → dialog-Bd8rq2D6.mjs} +1 -1
- package/.output/server/_ssr/{empty-DkiJ7nWt.mjs → empty-CxQ3tY82.mjs} +2 -2
- package/.output/server/_ssr/{field-CHlDI06h.mjs → field-BO99RT90.mjs} +2 -2
- package/.output/server/_ssr/{input-group-BPZ4UtB5.mjs → input-group-DTHYcd9a.mjs} +1 -1
- package/.output/server/_ssr/{insights-B3YetvBK.mjs → insights-2DKWoVb_.mjs} +5 -5
- package/.output/server/_ssr/{insights-Dn32lJ18.mjs → insights-B7__SQut.mjs} +2 -2
- package/.output/server/_ssr/{insights-CEABWFk4.mjs → insights-BxElDwIK.mjs} +21 -20
- package/.output/server/_ssr/{insights-api-CYPf5853.mjs → insights-api-BJcM3WZe.mjs} +3 -3
- package/.output/server/_ssr/{insights-failures-rpc-CxPpBR1K.mjs → insights-failures-rpc-Waj0XZKw.mjs} +4 -4
- package/.output/server/_ssr/{insights-recovery-rpc-CwnQMTE3.mjs → insights-recovery-rpc-DrPel0ob.mjs} +3 -3
- package/.output/server/_ssr/{insights-rpc-CKd5ATFI.mjs → insights-rpc-ETBGnpx2.mjs} +3 -3
- package/.output/server/_ssr/{insights-search-B_92_iEj.mjs → insights-search-Dm005qPB.mjs} +2 -2
- package/.output/server/_ssr/{insights-usage-rpc-RIMNhPtj.mjs → insights-usage-rpc-DLReOGQK.mjs} +3 -3
- package/.output/server/_ssr/{insights-usage-rpc-D90uHpJJ.mjs → insights-usage-rpc-SqWTs_Dy.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-D4QWsHNo.mjs → insights_.distribution-BEUt7pIk.mjs} +5 -5
- package/.output/server/_ssr/{insights_.distribution-D42mHSe0.mjs → insights_.distribution-B_FxGnXR.mjs} +15 -14
- package/.output/server/_ssr/{insights_.distribution-DwjIdjQi.mjs → insights_.distribution-CCxFQ1g_.mjs} +2 -2
- package/.output/server/_ssr/{installations-BIu66J6Q.mjs → installations-Bphhuxoy.mjs} +2 -2
- package/.output/server/_ssr/{installations-DyzKzWuv.mjs → installations-C9cYjLEo.mjs} +12 -12
- package/.output/server/_ssr/{installations-CfmO_V_R.mjs → installations-ChnSJFAp.mjs} +4 -4
- package/.output/server/_ssr/{native-builds-BCp8ICrn.mjs → native-builds-CCLcEAUo.mjs} +2 -2
- package/.output/server/_ssr/{native-builds-qj346atQ.mjs → native-builds-CWA9Y__P.mjs} +11 -10
- package/.output/server/_ssr/native-builds-vEUV8Jcd.mjs +548 -0
- package/.output/server/_ssr/{native-builds_._buildId-C8gsW-Rh.mjs → native-builds_._buildId-C-AS0ccm.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_._buildId-BAxkkEFo.mjs → native-builds_._buildId-CDnSyuLI.mjs} +107 -58
- package/.output/server/_ssr/{nativeBuildDevice-nU480p5A.mjs → nativeBuildDevice-Dn16gNmZ.mjs} +2 -2
- package/.output/server/_ssr/{nativeBuildDownloadLink-c3tcq3G5.mjs → nativeBuildDownloadLink-XqrSsk2n.mjs} +2 -2
- package/.output/server/_ssr/{nativeBuildInstall-B-_lHDsS.mjs → nativeBuildInstall-DqyrDtdY.mjs} +4 -4
- package/.output/server/_ssr/{nativeBuildQr-C5AFtpmE.mjs → nativeBuildQr-P9qKcI7l.mjs} +2 -2
- package/.output/server/_ssr/{nativeBuilds-CbxOJDhO.mjs → nativeBuilds-ByQdDnHG.mjs} +2 -2
- package/.output/server/_ssr/{release-adoption-rpc-BBwJO2hu.mjs → release-adoption-rpc-DUnqLbyh.mjs} +5 -5
- package/.output/server/_ssr/{remote-config-B1g7vrQD.mjs → remote-config-DC9HsCJa.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-BDijmvj1.mjs → remote-config-Db3pXNkQ.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-DjeXVIcr.mjs → remote-config-jOKasCsC.mjs} +19 -18
- package/.output/server/_ssr/{remote-config-rpc-B7bzKw4N.mjs → remote-config-rpc-D4rLBAC7.mjs} +3 -3
- package/.output/server/_ssr/{router-DhxgFNWn.mjs → router-B3iMYd1N.mjs} +28 -28
- package/.output/server/_ssr/{routes-BC-rBuu_.mjs → routes-BHhqwGpi.mjs} +254 -377
- package/.output/server/_ssr/{routes-BDriEBtF.mjs → routes-Bpb4VcCf.mjs} +10 -14
- package/.output/server/_ssr/{schema-migration-rpc-CNMqY0RE.mjs → schema-migration-rpc-BY84M6ZD.mjs} +3 -3
- package/.output/server/_ssr/{select-hFD2e3Bh.mjs → select-C_ARCTCI.mjs} +2 -2
- package/.output/server/_ssr/{server-D_hG9iIq.mjs → server-yFcuyI0b.mjs} +4 -4
- package/.output/server/_ssr/{sidebar-Dmq4j1qr.mjs → sidebar-CFRWCQFu.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{start-RjhaPVFE.mjs → start-C0XSSCq4.mjs} +1 -1
- package/.output/server/_ssr/{switch-CkNsEp9k.mjs → switch-DS2sIZvU.mjs} +2 -2
- package/.output/server/_ssr/{table-CTtXogFJ.mjs → table-C4kXCYKR.mjs} +1 -1
- package/.output/server/_ssr/{tabs-BTKDM4AJ.mjs → tabs-DxOJdu7O.mjs} +2 -2
- package/.output/server/_tanstack-start-manifest_v-AYP07Vaf.mjs +194 -0
- package/.output/server/index.mjs +305 -284
- package/package.json +7 -7
- package/src/components/ChannelBadge.tsx +9 -9
- package/src/components/DataTable.tsx +303 -0
- package/src/components/HashValueDisplay.tsx +6 -3
- package/src/components/PlatformIcon.tsx +10 -0
- package/src/components/RelativeTime.tsx +31 -0
- package/src/components/TargetDisplay.tsx +69 -0
- package/src/components/features/channels/ChannelManagementDialog.tsx +3 -8
- package/src/components/features/insights/ReleaseActivity.tsx +1 -1
- package/src/components/features/native-builds/BuiltInBundleCard.tsx +29 -28
- package/src/components/features/native-builds/CommitLink.tsx +1 -1
- package/src/components/features/native-builds/ImportBuild.tsx +1 -1
- package/src/components/features/native-builds/NativeBuildDetailPage.tsx +4 -1
- package/src/components/features/native-builds/NativeBuildsPage.tsx +63 -76
- package/src/components/features/native-builds/NativeBuildsTable.tsx +435 -317
- package/src/components/features/native-builds/ShortHash.tsx +1 -1
- package/src/components/features/native-builds/StoreSubmission.tsx +11 -2
- package/src/lib/native-builds.ts +22 -6
- package/src/routes/index.tsx +290 -429
- package/src/styles.css +16 -0
- package/.output/public/assets/EventDetails-ly7ygfdH.js +0 -1
- package/.output/public/assets/HashValueDisplay-BNoXZADg.js +0 -1
- package/.output/public/assets/RolloutPercentageBadge-frllRncE.js +0 -1
- package/.output/public/assets/StoreSubmission-D8BGGGgn.js +0 -1
- package/.output/public/assets/api-keys-B0N3SixL.js +0 -1
- package/.output/public/assets/api-keys-DFAOfU4U.js +0 -1
- package/.output/public/assets/badge-UNnTz4Dl.js +0 -1
- package/.output/public/assets/download-Cf24LBde.js +0 -1
- package/.output/public/assets/insights-B0_8xNxr.js +0 -1
- package/.output/public/assets/insights-BbIzm_QG.js +0 -42
- package/.output/public/assets/insights-BtmYg4vg.js +0 -2
- package/.output/public/assets/insights_.distribution-DLxq-IKU.js +0 -1
- package/.output/public/assets/insights_.distribution-izFBYfJL.js +0 -2
- package/.output/public/assets/insights_.distribution-rdeyNhH2.js +0 -1
- package/.output/public/assets/installations-CWx7vYY5.js +0 -1
- package/.output/public/assets/installations-Ce_dTa35.js +0 -1
- package/.output/public/assets/native-builds-Br0onFRc.js +0 -2
- package/.output/public/assets/native-builds-CDYL3y0I.js +0 -1
- package/.output/public/assets/native-builds-DEWHul-_.js +0 -1
- package/.output/public/assets/native-builds_._buildId-D1XEPQ-V.js +0 -1
- package/.output/public/assets/native-builds_._buildId-x-uu1Vbr.js +0 -2
- package/.output/public/assets/remote-config-Bw6sErCV.js +0 -6
- package/.output/public/assets/remote-config-S3xj8r3x.js +0 -1
- package/.output/public/assets/routes-Dw8zgqXz.js +0 -2
- package/.output/public/assets/routes-nKCEKnhh.js +0 -1
- package/.output/public/assets/styles-uK-0vUMk.css +0 -2
- package/.output/public/assets/valueToPercent-DRLgSP0P.js +0 -1
- package/.output/server/_ssr/RolloutPercentageBadge-axz7VuIZ.mjs +0 -21
- package/.output/server/_ssr/StoreSubmission-BqXKtpqW.mjs +0 -139
- package/.output/server/_ssr/native-builds-CqFeXByK.mjs +0 -514
- package/.output/server/_tanstack-start-manifest_v-BuGAtKIu.mjs +0 -189
- /package/.output/public/assets/{NotFoundPage-fiaucvsO.js → NotFoundPage-Ckb5GMhh.js} +0 -0
- /package/.output/public/assets/{alert-dialog-Z_RNBrFc.js → alert-dialog-DiRLrFVe.js} +0 -0
- /package/.output/public/assets/{api-BEEYDSCX.js → api-LQJH44FU.js} +0 -0
- /package/.output/public/assets/{dialog-C2U9bINi.js → dialog-CLIaC82_.js} +0 -0
- /package/.output/public/assets/{dist-UQUhRoJi.js → dist-Bf1BPKMs.js} +0 -0
- /package/.output/public/assets/{empty-PAp07lsC.js → empty-Bhlj8PEo.js} +0 -0
- /package/.output/public/assets/{field-DhKRWFG5.js → field-q4sTYzNU.js} +0 -0
- /package/.output/public/assets/{input-group-BJfBVqeI.js → input-group-D_NfhUbX.js} +0 -0
- /package/.output/public/assets/{refresh-cw-C6svDMfM.js → refresh-cw-C-tvoCcE.js} +0 -0
- /package/.output/public/assets/{relativeTime-BscR0TsX.js → relativeTime-DvyxGIsm.js} +0 -0
- /package/.output/public/assets/{rotate-cw-CxFW64IG.js → rotate-cw-Clk5xTeE.js} +0 -0
- /package/.output/public/assets/{search-bIYGuFCt.js → search-nnvSOTEB.js} +0 -0
- /package/.output/public/assets/{smartphone-Bn5FtEwt.js → smartphone-r0rRdPas.js} +0 -0
- /package/.output/public/assets/{switch-DtUu1RCw.js → switch-CP6GsHmN.js} +0 -0
- /package/.output/public/assets/{table-B22H8-RL.js → table-TUtVz-2l.js} +0 -0
- /package/.output/public/assets/{tabs-Fgz3sA51.js → tabs-CP3CSmtI.js} +0 -0
- /package/.output/public/assets/{undo-2-7gOxArtb.js → undo-2-Bt0YXG26.js} +0 -0
- /package/.output/public/assets/{uuidv7-BLyD3pAM.js → uuidv7-cI6C63Fm.js} +0 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { i as __toESM } from "../_runtime.mjs";
|
|
2
|
+
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
+
import { K as ChevronRight, q as ChevronLeft } from "../_libs/lucide-react.mjs";
|
|
4
|
+
import { C as Skeleton, O as buttonVariants, k as cn, t as Button$1 } from "./sidebar-CFRWCQFu.mjs";
|
|
5
|
+
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
6
|
+
import { a as TableHeader, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-C4kXCYKR.mjs";
|
|
7
|
+
import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/RelativeTime-BVQMmkQi.js
|
|
9
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
10
|
+
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
11
|
+
var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
|
|
12
|
+
/** The bordered frame; the table or card list inside it scrolls. */
|
|
13
|
+
function DataTableFrame({ children }) {
|
|
14
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
15
|
+
className: "min-h-0 min-w-0 flex-1 overflow-hidden rounded-lg border bg-card text-card-foreground shadow-sm [&_[data-slot=table-container]]:h-full [&_[data-slot=table-container]]:overflow-auto",
|
|
16
|
+
children
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
/** A table as wide as its columns, with an uppercase header row. */
|
|
20
|
+
function DataTable({ header, children, className, ...props }) {
|
|
21
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Table, {
|
|
22
|
+
className: cn("min-w-max", className),
|
|
23
|
+
...props,
|
|
24
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableHeader, {
|
|
25
|
+
className: "bg-muted/40",
|
|
26
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableRow, {
|
|
27
|
+
className: "border-b border-border/60 hover:bg-transparent [&>th]:h-10 [&>th]:text-xs [&>th]:font-semibold [&>th]:uppercase [&>th]:text-muted-foreground",
|
|
28
|
+
children: header
|
|
29
|
+
})
|
|
30
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableBody, { children })]
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Opens an item from a click anywhere on its row or card, except on a
|
|
35
|
+
* control inside it, which keeps its own action.
|
|
36
|
+
*/
|
|
37
|
+
var openOutsideControls = (open) => (event) => {
|
|
38
|
+
if (event.target instanceof Element && event.target.closest("button, a, input, select, textarea")) return;
|
|
39
|
+
open();
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* A row that opens its item: a click outside its controls, or Enter or Space
|
|
43
|
+
* on the focused row, with hover, focus, and selection as one style.
|
|
44
|
+
*/
|
|
45
|
+
function DataTableRow({ className, onOpen, ...props }) {
|
|
46
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableRow, {
|
|
47
|
+
onClick: openOutsideControls(onOpen),
|
|
48
|
+
onKeyDown: (event) => {
|
|
49
|
+
if (event.target !== event.currentTarget || event.key !== "Enter" && event.key !== " ") return;
|
|
50
|
+
event.preventDefault();
|
|
51
|
+
onOpen();
|
|
52
|
+
},
|
|
53
|
+
tabIndex: 0,
|
|
54
|
+
className: cn("cursor-pointer transition-[background-color,filter] hover:bg-muted/10 focus-within:bg-muted/15 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring motion-reduce:transition-none data-[state=selected]:bg-muted/15 [&>td]:py-3", className),
|
|
55
|
+
...props
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
/** Placeholder rows while the first page loads. */
|
|
59
|
+
function DataTableSkeletonRows({ columns, label }) {
|
|
60
|
+
return Array.from({ length: 7 }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(TableCell, {
|
|
61
|
+
colSpan: columns,
|
|
62
|
+
children: [index === 0 && label ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
63
|
+
className: "sr-only",
|
|
64
|
+
children: label
|
|
65
|
+
}) : null, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, { className: "h-8 w-full" })]
|
|
66
|
+
}) }, index));
|
|
67
|
+
}
|
|
68
|
+
/** A row across every column, for an empty list or an inline message. */
|
|
69
|
+
function DataTableFullRow({ columns, className, children }) {
|
|
70
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
|
|
71
|
+
className: cn("h-44 text-center text-muted-foreground", className),
|
|
72
|
+
colSpan: columns,
|
|
73
|
+
children
|
|
74
|
+
}) });
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* What an empty list says: the page's icon, what is missing, and what to do
|
|
78
|
+
* about it, in a table row or a card list.
|
|
79
|
+
*/
|
|
80
|
+
function DataTableEmpty({ icon: Icon, title, children }) {
|
|
81
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
82
|
+
className: "mx-auto flex max-w-sm flex-col items-center gap-2 whitespace-normal text-center text-sm text-muted-foreground",
|
|
83
|
+
children: [
|
|
84
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, {
|
|
85
|
+
"aria-hidden": "true",
|
|
86
|
+
className: "size-5"
|
|
87
|
+
}),
|
|
88
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
|
|
89
|
+
className: "font-medium text-foreground",
|
|
90
|
+
children: title
|
|
91
|
+
}),
|
|
92
|
+
children
|
|
93
|
+
]
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
/** The empty card list on a narrow screen. */
|
|
97
|
+
function DataCardsEmpty({ children }) {
|
|
98
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
99
|
+
className: "p-8",
|
|
100
|
+
children
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
/** Placeholder cards while the first page loads on a narrow screen. */
|
|
104
|
+
function DataCardSkeletons({ label }) {
|
|
105
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
106
|
+
className: "flex flex-col gap-3 p-4",
|
|
107
|
+
children: [label ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
108
|
+
className: "sr-only",
|
|
109
|
+
children: label
|
|
110
|
+
}) : null, Array.from({ length: 5 }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, { className: "h-44 w-full" }, index))]
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
/** One item's card on a narrow screen; a tap opens it. */
|
|
114
|
+
function DataCard({ className, ...props }) {
|
|
115
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("article", {
|
|
116
|
+
className: cn("flex cursor-pointer touch-manipulation flex-col gap-4 border-b p-4 transition-[background-color,filter] last:border-b-0 hover:bg-muted/10 active:bg-muted/20 motion-reduce:transition-none data-[state=selected]:bg-muted/15", className),
|
|
117
|
+
...props
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* The bar under a list: how many entries show, and Previous and Next, links
|
|
122
|
+
* to the newer and older pages, or disabled at either end. Newest shows on any
|
|
123
|
+
* page but the first.
|
|
124
|
+
*/
|
|
125
|
+
function DataTablePagination({ count, label, pending = false, newest, previous, next }) {
|
|
126
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("nav", {
|
|
127
|
+
"aria-label": label,
|
|
128
|
+
className: "flex flex-col gap-3 px-2 sm:flex-row sm:items-center sm:justify-between",
|
|
129
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", {
|
|
130
|
+
className: "text-xs font-medium text-muted-foreground",
|
|
131
|
+
children: [
|
|
132
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
133
|
+
className: "text-foreground",
|
|
134
|
+
children: count
|
|
135
|
+
}),
|
|
136
|
+
" ",
|
|
137
|
+
count === 1 ? "entry" : "entries",
|
|
138
|
+
", newest first"
|
|
139
|
+
]
|
|
140
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
141
|
+
className: "flex flex-wrap items-center gap-3 sm:justify-end",
|
|
142
|
+
children: [
|
|
143
|
+
newest && !pending ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
|
|
144
|
+
className: buttonVariants({
|
|
145
|
+
className: "h-11 flex-1 px-3 text-xs sm:h-8 sm:flex-none",
|
|
146
|
+
size: "sm",
|
|
147
|
+
variant: "ghost"
|
|
148
|
+
}),
|
|
149
|
+
search: newest.search,
|
|
150
|
+
to: newest.to,
|
|
151
|
+
children: "Newest"
|
|
152
|
+
}) : null,
|
|
153
|
+
previous && !pending ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Link, {
|
|
154
|
+
className: buttonVariants({
|
|
155
|
+
className: "h-11 flex-1 px-3 text-xs sm:h-8 sm:flex-none",
|
|
156
|
+
size: "sm",
|
|
157
|
+
variant: "outline"
|
|
158
|
+
}),
|
|
159
|
+
search: previous.search,
|
|
160
|
+
to: previous.to,
|
|
161
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronLeft, { "data-icon": "inline-start" }), "Previous"]
|
|
162
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
|
|
163
|
+
className: "h-11 flex-1 px-3 text-xs sm:h-8 sm:flex-none",
|
|
164
|
+
disabled: true,
|
|
165
|
+
size: "sm",
|
|
166
|
+
variant: "outline",
|
|
167
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronLeft, { "data-icon": "inline-start" }), "Previous"]
|
|
168
|
+
}),
|
|
169
|
+
next && !pending ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Link, {
|
|
170
|
+
className: buttonVariants({
|
|
171
|
+
className: "h-11 flex-1 px-3 text-xs sm:h-8 sm:flex-none",
|
|
172
|
+
size: "sm",
|
|
173
|
+
variant: "outline"
|
|
174
|
+
}),
|
|
175
|
+
search: next.search,
|
|
176
|
+
to: next.to,
|
|
177
|
+
children: ["Next", /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronRight, { "data-icon": "inline-end" })]
|
|
178
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
|
|
179
|
+
className: "h-11 flex-1 px-3 text-xs sm:h-8 sm:flex-none",
|
|
180
|
+
disabled: true,
|
|
181
|
+
size: "sm",
|
|
182
|
+
variant: "outline",
|
|
183
|
+
children: ["Next", /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronRight, { "data-icon": "inline-end" })]
|
|
184
|
+
})
|
|
185
|
+
]
|
|
186
|
+
})]
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
import_dayjs_min.default.extend(import_relativeTime.default);
|
|
190
|
+
/**
|
|
191
|
+
* When something was created, as the Bundles and Native builds lists show
|
|
192
|
+
* it: relative, such as "4 hours ago", with the exact time on hover. A card
|
|
193
|
+
* has no hover, so `withDate` puts the exact time under it.
|
|
194
|
+
*/
|
|
195
|
+
function RelativeTime({ ms, withDate = false }) {
|
|
196
|
+
const date = (0, import_dayjs_min.default)(ms);
|
|
197
|
+
const exact = date.format("YYYY-MM-DD HH:mm:ss");
|
|
198
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("time", {
|
|
199
|
+
className: "flex flex-col whitespace-nowrap tabular-nums",
|
|
200
|
+
dateTime: date.toISOString(),
|
|
201
|
+
title: exact,
|
|
202
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: date.fromNow() }), withDate ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
203
|
+
className: "text-muted-foreground",
|
|
204
|
+
children: exact
|
|
205
|
+
}) : null]
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
//#endregion
|
|
209
|
+
export { DataTableEmpty as a, DataTablePagination as c, RelativeTime as d, openOutsideControls as f, DataTable as i, DataTableRow as l, DataCardSkeletons as n, DataTableFrame as o, DataCardsEmpty as r, DataTableFullRow as s, DataCard as t, DataTableSkeletonRows as u };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
+
import { i as TriangleAlert } from "../_libs/lucide-react.mjs";
|
|
4
|
+
import { k as cn } from "./sidebar-CFRWCQFu.mjs";
|
|
5
|
+
import { a as Badge } from "./badge-CrneyinM.mjs";
|
|
3
6
|
import { r as extractTimestampFromUUIDv7 } from "./uuidv7-CmHbryZT.mjs";
|
|
4
7
|
import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/RolloutPercentageBadge-B5_ASwiR.js
|
|
6
9
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
10
|
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
8
11
|
var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
|
|
@@ -52,5 +55,18 @@ var getCommitUrl = (gitUrl, commitHash) => {
|
|
|
52
55
|
} catch {}
|
|
53
56
|
return `${normalizedGitUrl}/commit/${commitHash}`;
|
|
54
57
|
};
|
|
58
|
+
function RolloutPercentageBadge({ percentage, className }) {
|
|
59
|
+
const isPartialRollout = percentage < 100;
|
|
60
|
+
const formattedPercentage = percentage.toFixed(1);
|
|
61
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Badge, {
|
|
62
|
+
className: cn("gap-1", className),
|
|
63
|
+
variant: isPartialRollout ? "secondary" : "default",
|
|
64
|
+
children: [
|
|
65
|
+
isPartialRollout ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TriangleAlert, { className: "h-3 w-3" }) : null,
|
|
66
|
+
formattedPercentage,
|
|
67
|
+
"%"
|
|
68
|
+
]
|
|
69
|
+
});
|
|
70
|
+
}
|
|
55
71
|
//#endregion
|
|
56
|
-
export {
|
|
72
|
+
export { TimestampDisplay as n, getCommitUrl as r, RolloutPercentageBadge as t };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { i as __toESM } from "../_runtime.mjs";
|
|
2
|
+
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
+
import { p as Send } from "../_libs/lucide-react.mjs";
|
|
4
|
+
import { a as Badge } from "./badge-CrneyinM.mjs";
|
|
5
|
+
import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/StoreSubmission-B-oliflh.js
|
|
7
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
8
|
+
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
9
|
+
var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
|
|
10
|
+
import_dayjs_min.default.extend(import_relativeTime.default);
|
|
11
|
+
/** Each store track's name as the stores call it. */
|
|
12
|
+
var storeTrackLabels = {
|
|
13
|
+
testflight: "TestFlight",
|
|
14
|
+
"play-internal": "Play internal"
|
|
15
|
+
};
|
|
16
|
+
/** Whether a store took the build, as its row records. */
|
|
17
|
+
var isSubmitted = (build) => build.submitted_to !== null && build.submitted_to !== void 0;
|
|
18
|
+
/** When the submission was recorded: relative, with the exact time on hover. */
|
|
19
|
+
function SubmittedAt({ ms }) {
|
|
20
|
+
if (ms === null) return null;
|
|
21
|
+
const date = (0, import_dayjs_min.default)(ms);
|
|
22
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("time", {
|
|
23
|
+
className: "text-xs text-muted-foreground",
|
|
24
|
+
dateTime: date.toISOString(),
|
|
25
|
+
title: date.format("YYYY-MM-DD HH:mm:ss"),
|
|
26
|
+
children: date.fromNow()
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
/** When the submission was recorded, as a tooltip says it. */
|
|
30
|
+
var submittedTitle = (build) => {
|
|
31
|
+
const destination = `Submitted to ${storeTrackLabels[build.submitted_to]}`;
|
|
32
|
+
if (build.submitted_at_ms === null) return destination;
|
|
33
|
+
const date = (0, import_dayjs_min.default)(build.submitted_at_ms);
|
|
34
|
+
return `${destination} ${date.fromNow()}, ${date.format("YYYY-MM-DD HH:mm:ss")}`;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* The store track a build went to, with the store's label of it, such as
|
|
38
|
+
* "TestFlight 1.7.0 (66)": none for a build no store took. Its tooltip says
|
|
39
|
+
* when it was submitted.
|
|
40
|
+
*/
|
|
41
|
+
function StoreSubmissionBadge({ build, withTime = false }) {
|
|
42
|
+
if (!isSubmitted(build)) return null;
|
|
43
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
44
|
+
className: "inline-flex flex-wrap items-center gap-1.5",
|
|
45
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Badge, {
|
|
46
|
+
className: "gap-1",
|
|
47
|
+
title: submittedTitle(build),
|
|
48
|
+
variant: "secondary",
|
|
49
|
+
children: [
|
|
50
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Send, {
|
|
51
|
+
"aria-hidden": "true",
|
|
52
|
+
className: "size-3"
|
|
53
|
+
}),
|
|
54
|
+
storeTrackLabels[build.submitted_to],
|
|
55
|
+
build.submitted_version ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
56
|
+
className: "font-mono tabular-nums",
|
|
57
|
+
translate: "no",
|
|
58
|
+
children: build.submitted_version
|
|
59
|
+
}) : null
|
|
60
|
+
]
|
|
61
|
+
}), withTime ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SubmittedAt, { ms: build.submitted_at_ms }) : null]
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
//#endregion
|
|
65
|
+
export { isSubmitted as n, StoreSubmissionBadge as t };
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
+
import { B as Copy, F as FingerprintPattern, k as KeyRound, x as Package } from "../_libs/lucide-react.mjs";
|
|
3
|
+
import { k as cn, t as Button$1 } from "./sidebar-CFRWCQFu.mjs";
|
|
4
|
+
import { a as Badge } from "./badge-CrneyinM.mjs";
|
|
5
|
+
import { n as toast } from "../_libs/sonner.mjs";
|
|
6
|
+
import { t as HashValueDisplay } from "./HashValueDisplay-DoVLNSRc.mjs";
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/TargetDisplay-Zy7Xom4-.js
|
|
8
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
9
|
+
/** The channels with their own color; any other channel is neutral. */
|
|
10
|
+
var COLORED_CHANNELS = new Set([
|
|
11
|
+
"production",
|
|
12
|
+
"staging",
|
|
13
|
+
"dev"
|
|
14
|
+
]);
|
|
15
|
+
function ChannelBadge({ channel, className }) {
|
|
16
|
+
const name = channel.toLowerCase();
|
|
17
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
|
|
18
|
+
variant: "outline",
|
|
19
|
+
translate: "no",
|
|
20
|
+
"data-channel": COLORED_CHANNELS.has(name) ? name : void 0,
|
|
21
|
+
className: cn("border-channel-other/20 bg-channel-other/10 text-channel-other", "data-[channel=production]:border-channel-production/20 data-[channel=production]:bg-channel-production/10 data-[channel=production]:text-channel-production", "data-[channel=staging]:border-channel-staging/20 data-[channel=staging]:bg-channel-staging/10 data-[channel=staging]:text-channel-staging", "data-[channel=dev]:border-channel-dev/20 data-[channel=dev]:bg-channel-dev/10 data-[channel=dev]:text-channel-dev", className),
|
|
22
|
+
children: channel
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
/** A command or link on one line, with a button that copies it. */
|
|
26
|
+
function CopyableText({ label, value, wrap = false }) {
|
|
27
|
+
const copy = async () => {
|
|
28
|
+
try {
|
|
29
|
+
await navigator.clipboard.writeText(value);
|
|
30
|
+
toast.success("Copied to clipboard");
|
|
31
|
+
} catch {
|
|
32
|
+
toast.error(`Could not copy ${label}`);
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
36
|
+
className: "flex w-full min-w-0 items-center gap-2 rounded-md border bg-muted/40 py-1 pr-1 pl-3",
|
|
37
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("code", {
|
|
38
|
+
className: wrap ? "min-w-0 flex-1 text-left font-mono text-xs whitespace-normal sm:whitespace-nowrap" : "min-w-0 flex-1 overflow-x-auto text-left font-mono text-xs whitespace-nowrap",
|
|
39
|
+
children: value
|
|
40
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
|
|
41
|
+
"aria-label": `Copy ${label}`,
|
|
42
|
+
className: "size-11 sm:size-7",
|
|
43
|
+
onClick: () => void copy(),
|
|
44
|
+
size: "icon-sm",
|
|
45
|
+
variant: "ghost",
|
|
46
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Copy, { "aria-hidden": "true" })
|
|
47
|
+
})]
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
/** A hash behind its icon, shortened to `xxxxxxxx…xxxx` and copied on click. */
|
|
51
|
+
function IconHash({ icon: Icon, value, display }) {
|
|
52
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
53
|
+
className: "flex items-center gap-2",
|
|
54
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { className: "size-4 shrink-0 text-muted-foreground" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(HashValueDisplay, {
|
|
55
|
+
display,
|
|
56
|
+
maxLength: 12,
|
|
57
|
+
value
|
|
58
|
+
})]
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
/** The cell of a missing value, such as an imported build's build key. */
|
|
62
|
+
function NoValue() {
|
|
63
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
64
|
+
className: "text-muted-foreground",
|
|
65
|
+
children: "-"
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* What OTAs target: an app version, or a fingerprint. The Bundles table's
|
|
70
|
+
* Target column and a native build's show one release's target the same way,
|
|
71
|
+
* so the two compare at a glance.
|
|
72
|
+
*/
|
|
73
|
+
function TargetDisplay({ appVersion, fingerprintHash }) {
|
|
74
|
+
if (appVersion) return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
75
|
+
className: "flex items-center gap-2",
|
|
76
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Package, { className: "size-4 shrink-0 text-muted-foreground" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
77
|
+
className: "font-medium",
|
|
78
|
+
children: appVersion
|
|
79
|
+
})]
|
|
80
|
+
});
|
|
81
|
+
if (fingerprintHash) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(IconHash, {
|
|
82
|
+
icon: FingerprintPattern,
|
|
83
|
+
value: fingerprintHash
|
|
84
|
+
});
|
|
85
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NoValue, {});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* A native build's build key, `nbk1:` and a SHA-256 of the build's inputs,
|
|
89
|
+
* shown past its prefix as a fingerprint is, and copied whole; none for an
|
|
90
|
+
* imported build.
|
|
91
|
+
*/
|
|
92
|
+
function BuildKeyDisplay({ value }) {
|
|
93
|
+
return value ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(IconHash, {
|
|
94
|
+
display: value.replace(/^nbk1:/, ""),
|
|
95
|
+
icon: KeyRound,
|
|
96
|
+
value
|
|
97
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NoValue, {});
|
|
98
|
+
}
|
|
99
|
+
//#endregion
|
|
100
|
+
export { TargetDisplay as a, NoValue as i, ChannelBadge as n, CopyableText as r, BuildKeyDisplay as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { $ as DialogTitle, X as AlertDialogTrigger$1, Z as AlertDialogRoot, at as DialogBackdrop, bt as require_react, it as DialogClose, nt as DialogPopup, rt as DialogDescription, tt as DialogPortal, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
-
import { k as cn, t as Button$1 } from "./sidebar-
|
|
3
|
+
import { k as cn, t as Button$1 } from "./sidebar-CFRWCQFu.mjs";
|
|
4
4
|
require_react();
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
function AlertDialog$1({ ...props }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
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-CFRWCQFu.mjs";
|
|
3
|
+
import { t as consoleAccess } from "./console-access-Dn2nyMoy.mjs";
|
|
4
4
|
import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
5
5
|
import { o as assertCanonicalChannelName } from "./dist-B6-irDRA.mjs";
|
|
6
|
-
import { i as channelIdOf } from "./native-builds-
|
|
6
|
+
import { i as channelIdOf } from "./native-builds-CWA9Y__P.mjs";
|
|
7
7
|
import { n as readReleaseFilter } from "./listReleases-CQEceg8j.mjs";
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-B9fz7k5l.js
|
|
9
9
|
var MAX_PAGE_LIMIT = 100;
|
|
10
10
|
var pageLimit = (limit) => {
|
|
11
11
|
const value = limit ?? 20;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-BJM23Zg6.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-CWRy6qIm.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
3
3
|
import { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
|
-
import { D as LoaderCircle,
|
|
5
|
-
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-
|
|
6
|
-
import { t as consoleAccess } from "./console-access-
|
|
4
|
+
import { D as LoaderCircle, V as Clipboard, Y as Check, _ as RefreshCw, f as ShieldOff, i as TriangleAlert, k as KeyRound, v as Plus } from "../_libs/lucide-react.mjs";
|
|
5
|
+
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-CFRWCQFu.mjs";
|
|
6
|
+
import { t as consoleAccess } from "./console-access-Dn2nyMoy.mjs";
|
|
7
7
|
import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
8
|
-
import { a as
|
|
9
|
-
import { a as
|
|
10
|
-
import { a as
|
|
11
|
-
import { a as
|
|
12
|
-
import { a as
|
|
8
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-uJiVh8Ex.mjs";
|
|
9
|
+
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-CrneyinM.mjs";
|
|
10
|
+
import { a as AlertDialogDescription, c as AlertDialogMedia, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1, u as AlertDialogTrigger } from "./alert-dialog-C4wLRSPA.mjs";
|
|
11
|
+
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-Bd8rq2D6.mjs";
|
|
12
|
+
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-BO99RT90.mjs";
|
|
13
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-C4kXCYKR.mjs";
|
|
13
14
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
14
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-
|
|
15
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-DSBFZRhe.js
|
|
15
16
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
16
17
|
var import_jsx_runtime = require_jsx_runtime();
|
|
17
18
|
var parseName = (input) => {
|
|
@@ -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-Dn2nyMoy.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-CWXJDGcR.js
|
|
5
5
|
var parseName = (input) => {
|
|
6
6
|
const name = typeof input === "object" && input !== null ? Reflect.get(input, "name") : void 0;
|
|
7
7
|
if (typeof name !== "string") throw new TypeError("API key name must be a string.");
|
|
@@ -14,7 +14,7 @@ var parseId = (input) => {
|
|
|
14
14
|
};
|
|
15
15
|
/** API key management, once the console's access check and the feature guard pass. */
|
|
16
16
|
var apiKeyManagement = async () => {
|
|
17
|
-
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-
|
|
17
|
+
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-DegewTDN.mjs"), import("./runtime.server-BsTTLV-B.mjs")]);
|
|
18
18
|
const { runtime } = await prepareConfig();
|
|
19
19
|
return requireFeature(runtime, "apiKeys");
|
|
20
20
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
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-Dn2nyMoy.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
4
|
import { o as assertCanonicalChannelName } from "./dist-B6-irDRA.mjs";
|
|
5
5
|
import { i as rowToBundle } from "./databaseRows-BtRVBD0C.mjs";
|
|
6
6
|
import { t as ReleaseManagementError } from "./releaseManagement-EPhok_Py.mjs";
|
|
7
|
-
import { S as releaseNativeBuildScope, i as channelIdOf } from "./native-builds-
|
|
7
|
+
import { S as releaseNativeBuildScope, i as channelIdOf } from "./native-builds-CWA9Y__P.mjs";
|
|
8
8
|
import { n as readReleaseFilter, t as listReleases } from "./listReleases-CQEceg8j.mjs";
|
|
9
9
|
import { t as addReleaseReachability } from "./releaseReachability-DaZ7ifUF.mjs";
|
|
10
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-
|
|
10
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-DFAKchn0.js
|
|
11
11
|
var withPublicBundleMutationErrors = async (action) => {
|
|
12
12
|
try {
|
|
13
13
|
return await action();
|
|
@@ -23,7 +23,7 @@ var pageLimit = (limit) => {
|
|
|
23
23
|
return value;
|
|
24
24
|
};
|
|
25
25
|
var prepare = async () => {
|
|
26
|
-
const { prepareConfig } = await import("./config.server-
|
|
26
|
+
const { prepareConfig } = await import("./config.server-DegewTDN.mjs");
|
|
27
27
|
return prepareConfig();
|
|
28
28
|
};
|
|
29
29
|
var getReleases_createServerFn_handler = createServerRpc({
|
|
@@ -221,7 +221,7 @@ var getNativeBuilds = createServerFn({ method: "GET" }).middleware([consoleAcces
|
|
|
221
221
|
...channelIdFilter(input?.channel),
|
|
222
222
|
limit: pageLimit(input?.limit)
|
|
223
223
|
})).handler(getNativeBuilds_createServerFn_handler, async ({ data }) => {
|
|
224
|
-
const [{ core }, { listNativeBuilds }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
224
|
+
const [{ core }, { listNativeBuilds }] = await Promise.all([prepare(), import("./nativeBuilds-ByQdDnHG.mjs")]);
|
|
225
225
|
return listNativeBuilds(core, data);
|
|
226
226
|
});
|
|
227
227
|
var getNativeBuildDetail_createServerFn_handler = createServerRpc({
|
|
@@ -230,7 +230,7 @@ var getNativeBuildDetail_createServerFn_handler = createServerRpc({
|
|
|
230
230
|
filename: "src/lib/api-rpc.ts"
|
|
231
231
|
}, (opts) => getNativeBuildDetail.__executeServer(opts));
|
|
232
232
|
var getNativeBuildDetail = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildDetail_createServerFn_handler, async ({ data }) => {
|
|
233
|
-
const [{ core }, { getNativeBuildDetail: readNativeBuildDetail }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
233
|
+
const [{ core }, { getNativeBuildDetail: readNativeBuildDetail }] = await Promise.all([prepare(), import("./nativeBuilds-ByQdDnHG.mjs")]);
|
|
234
234
|
return readNativeBuildDetail(core, data.id);
|
|
235
235
|
});
|
|
236
236
|
var getNativeBuildPatches_createServerFn_handler = createServerRpc({
|
|
@@ -243,7 +243,7 @@ var getNativeBuildPatches = createServerFn({ method: "GET" }).middleware([consol
|
|
|
243
243
|
...input.before === void 0 ? {} : { before: input.before },
|
|
244
244
|
...input.after === void 0 ? {} : { after: input.after }
|
|
245
245
|
})).handler(getNativeBuildPatches_createServerFn_handler, async ({ data: { minBundleId, ...page } }) => {
|
|
246
|
-
const [{ core }, { listNativeBuildPatches, NATIVE_BUILD_PATCH_PAGE_SIZE }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
246
|
+
const [{ core }, { listNativeBuildPatches, NATIVE_BUILD_PATCH_PAGE_SIZE }] = await Promise.all([prepare(), import("./nativeBuilds-ByQdDnHG.mjs")]);
|
|
247
247
|
return listNativeBuildPatches(core, minBundleId, {
|
|
248
248
|
...page,
|
|
249
249
|
limit: NATIVE_BUILD_PATCH_PAGE_SIZE
|
|
@@ -272,7 +272,7 @@ var getNativeBuildDownloadUrl_createServerFn_handler = createServerRpc({
|
|
|
272
272
|
filename: "src/lib/api-rpc.ts"
|
|
273
273
|
}, (opts) => getNativeBuildDownloadUrl.__executeServer(opts));
|
|
274
274
|
var getNativeBuildDownloadUrl = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildDownloadUrl_createServerFn_handler, async ({ data }) => {
|
|
275
|
-
const [deps, { resolveNativeBuildDownloadUrl }] = await Promise.all([prepare(), import("./nativeBuilds-
|
|
275
|
+
const [deps, { resolveNativeBuildDownloadUrl }] = await Promise.all([prepare(), import("./nativeBuilds-ByQdDnHG.mjs")]);
|
|
276
276
|
return { url: await resolveNativeBuildDownloadUrl(data.id, deps) };
|
|
277
277
|
});
|
|
278
278
|
var createNativeBuildDownloadLink_createServerFn_handler = createServerRpc({
|
|
@@ -281,7 +281,7 @@ var createNativeBuildDownloadLink_createServerFn_handler = createServerRpc({
|
|
|
281
281
|
filename: "src/lib/api-rpc.ts"
|
|
282
282
|
}, (opts) => createNativeBuildDownloadLink.__executeServer(opts));
|
|
283
283
|
var createNativeBuildDownloadLink = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createNativeBuildDownloadLink_createServerFn_handler, async ({ data }) => {
|
|
284
|
-
const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-
|
|
284
|
+
const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-XqrSsk2n.mjs");
|
|
285
285
|
return issueNativeBuildDownloadLink(data.id);
|
|
286
286
|
});
|
|
287
287
|
var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
|
|
@@ -290,7 +290,7 @@ var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
|
|
|
290
290
|
filename: "src/lib/api-rpc.ts"
|
|
291
291
|
}, (opts) => getNativeBuildInstallEligibility.__executeServer(opts));
|
|
292
292
|
var getNativeBuildInstallEligibility = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildInstallEligibility_createServerFn_handler, async ({ data }) => {
|
|
293
|
-
const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-
|
|
293
|
+
const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-DqyrDtdY.mjs")]);
|
|
294
294
|
return checkNativeBuildInstall(data.id, data.udid, deps);
|
|
295
295
|
});
|
|
296
296
|
//#endregion
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
2
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
3
|
-
import { i as getRequest } from "./server-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-
|
|
3
|
+
import { i as getRequest } from "./server-yFcuyI0b.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-CCrZswwU.js
|
|
5
5
|
var getConsoleAccessRpc_createServerFn_handler = createServerRpc({
|
|
6
6
|
id: "c504696e68ba764b48c48aa8a40275938640941e473cf9cfdd7b2322d99f9d13",
|
|
7
7
|
name: "getConsoleAccessRpc",
|
|
8
8
|
filename: "src/lib/auth-rpc.ts"
|
|
9
9
|
}, (opts) => getConsoleAccessRpc.__executeServer(opts));
|
|
10
10
|
var getConsoleAccessRpc = createServerFn({ method: "GET" }).handler(getConsoleAccessRpc_createServerFn_handler, async () => {
|
|
11
|
-
const { getConsoleAccess } = await import("./auth.server-
|
|
11
|
+
const { getConsoleAccess } = await import("./auth.server-B_NFqTVL.mjs");
|
|
12
12
|
return getConsoleAccess(getRequest());
|
|
13
13
|
});
|
|
14
14
|
var getConsoleAuthProvidersRpc_createServerFn_handler = createServerRpc({
|
|
@@ -17,7 +17,7 @@ var getConsoleAuthProvidersRpc_createServerFn_handler = createServerRpc({
|
|
|
17
17
|
filename: "src/lib/auth-rpc.ts"
|
|
18
18
|
}, (opts) => getConsoleAuthProvidersRpc.__executeServer(opts));
|
|
19
19
|
var getConsoleAuthProvidersRpc = createServerFn({ method: "GET" }).handler(getConsoleAuthProvidersRpc_createServerFn_handler, async () => {
|
|
20
|
-
const { getConsoleAuthProviders } = await import("./auth.server-
|
|
20
|
+
const { getConsoleAuthProviders } = await import("./auth.server-B_NFqTVL.mjs");
|
|
21
21
|
return getConsoleAuthProviders(getRequest());
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
@@ -8,7 +8,7 @@ import { n as projectCompiledCatalog, r as projectCompiledRollbackCatalog, t as
|
|
|
8
8
|
import { t as isRemoteDatabase } from "./databaseConfig-XAvDetmn.mjs";
|
|
9
9
|
import { n as defineTable, t as defineAggregate } from "./schema-3oDJJFWa.mjs";
|
|
10
10
|
import { r as rangesIntersect } from "../_libs/verkit.mjs";
|
|
11
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/auth.server-
|
|
11
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/auth.server-B_NFqTVL.js
|
|
12
12
|
var SHA256_FILE_HASH_RE = /^[0-9a-f]{64}$/;
|
|
13
13
|
var isContentAddressedAssetFileHash = (value) => {
|
|
14
14
|
return typeof value === "string" && SHA256_FILE_HASH_RE.test(value);
|
|
@@ -2803,7 +2803,7 @@ var createEngine = (database, { plugins = [], now = Date.now } = {}) => {
|
|
|
2803
2803
|
flush: () => engine.flush()
|
|
2804
2804
|
};
|
|
2805
2805
|
};
|
|
2806
|
-
var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.
|
|
2806
|
+
var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.14";
|
|
2807
2807
|
/**
|
|
2808
2808
|
* `/version` on both mounts. The admin mount also lists the ids of the
|
|
2809
2809
|
* plugins the server runs, sorted; apps never learn which plugins a server
|