@hot-updater/console 1.2.0-rc.44 → 1.2.0-rc.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +1 -1
- package/.output/server/{__23tanstack-start-server-fn-resolver-BA7C6HMF.mjs → __23tanstack-start-server-fn-resolver-DR2hz4R_.mjs} +58 -58
- package/.output/server/_libs/_.mjs +1 -1
- package/.output/server/_ssr/{BundleIdDisplay-BLIARN1O.mjs → BundleIdDisplay-BNYiuBiv.mjs} +2 -2
- package/.output/server/_ssr/{ChannelBadge-CtYHeGVT.mjs → ChannelBadge-BoBIrNGc.mjs} +3 -3
- package/.output/server/_ssr/{ChannelPicker-8sIcyof9.mjs → ChannelPicker-DdT0Dgfg.mjs} +4 -4
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-qkDa2qZm.mjs → ConsoleFeatureUnavailable-B6Zg-Fpz.mjs} +5 -5
- package/.output/server/_ssr/{EventDetails-B2T3ZaDt.mjs → EventDetails-DXbmGtJl.mjs} +6 -6
- package/.output/server/_ssr/{HashValueDisplay-Cf2QkqwI.mjs → HashValueDisplay-Ce5bnmJz.mjs} +2 -2
- package/.output/server/_ssr/{InsightsPageHeader-BlWgU5K7.mjs → InsightsPageHeader-DkAczR4s.mjs} +5 -5
- package/.output/server/_ssr/{IosInstall-D97HX9up.mjs → IosInstall-D35khdLj.mjs} +6 -6
- package/.output/server/_ssr/{NativeBuildsNav-CNsFxpKh.mjs → NativeBuildsNav-B1gd7E1R.mjs} +3 -3
- package/.output/server/_ssr/{NotFoundPage-CHrkCQAY.mjs → NotFoundPage-DyeMvpDk.mjs} +2 -2
- package/.output/server/_ssr/{QrCode-CGBGxXYG.mjs → QrCode-ChyJ89Cd.mjs} +2 -2
- package/.output/server/_ssr/{RelativeTime-D8NokSEe.mjs → RelativeTime-DQIRhlrx.mjs} +3 -3
- package/.output/server/_ssr/{RolloutPercentageBadge-BGaRuNzp.mjs → RolloutPercentageBadge-0w1jyOvj.mjs} +3 -3
- package/.output/server/_ssr/{RowReason-Dc77Ya4v.mjs → RowReason-Ddwlxiyb.mjs} +4 -4
- package/.output/server/_ssr/{SandboxBadge-CvALSjtg.mjs → SandboxBadge-DNnhhq0P.mjs} +2 -2
- package/.output/server/_ssr/{TargetDisplay-BHM-fop6.mjs → TargetDisplay-Lzqf4bsN.mjs} +3 -3
- package/.output/server/_ssr/{alert-dialog-LmE6-LQf.mjs → alert-dialog-DPMEJ7Ls.mjs} +1 -1
- package/.output/server/_ssr/{api-keys-BA49gxRq.mjs → api-keys-D941SE9_.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-DXoxJD2L.mjs → api-keys-Di4WkA-b.mjs} +9 -9
- package/.output/server/_ssr/{api-keys-rpc-QrsCw_IT.mjs → api-keys-rpc-BI2zaPY6.mjs} +3 -3
- package/.output/server/_ssr/{api-rpc-k9_9x_sV.mjs → api-rpc-_kopo91H.mjs} +7 -7
- package/.output/server/_ssr/{api-ZWJLFPRH.mjs → api-zkgm7yZM.mjs} +3 -3
- package/.output/server/_ssr/{auth-rpc-CCtXcduC.mjs → auth-rpc-Doxa02dT.mjs} +4 -4
- package/.output/server/_ssr/{auth.server-PDZ-Phk9.mjs → auth.server-H0zx7f6j.mjs} +105 -41
- package/.output/server/_ssr/{badge-DSALbbRv.mjs → badge-DlHd-CIc.mjs} +1 -1
- package/.output/server/_ssr/{card-RRZfQMOx.mjs → card-Czh1m4EJ.mjs} +1 -1
- package/.output/server/_ssr/{config.server-BxW6IsBl.mjs → config.server-D8c-GIqm.mjs} +3 -3
- package/.output/server/_ssr/{console-access-BU8Os_1x.mjs → console-access-CRTxVxnt.mjs} +2 -2
- package/.output/server/_ssr/{console-features-api-YCkgbKIW.mjs → console-features-api-GAEXEEpN.mjs} +3 -3
- package/.output/server/_ssr/{console-features-rpc-dDgx3_Qd.mjs → console-features-rpc-Ccy3hEYw.mjs} +3 -3
- package/.output/server/_ssr/{dialog-DfWR6OA4.mjs → dialog-Bt_bjMf9.mjs} +1 -1
- package/.output/server/_ssr/{empty-B-APugkM.mjs → empty-BYNdaNT9.mjs} +2 -2
- package/.output/server/_ssr/{field-kkL53XlI.mjs → field-BSW_KvCN.mjs} +2 -2
- package/.output/server/_ssr/{input-group-CYS9MLrU.mjs → input-group-ZQx5Rx1D.mjs} +1 -1
- package/.output/server/_ssr/{insights-DGMrzet9.mjs → insights-BIlpa6qt.mjs} +2 -2
- package/.output/server/_ssr/{insights-xCMOAeFK.mjs → insights-CHih02FL.mjs} +19 -19
- package/.output/server/_ssr/{insights-hAiJi6Zz.mjs → insights-D8TQVl_1.mjs} +5 -5
- package/.output/server/_ssr/{insights-api-CArzJKr6.mjs → insights-api-C5yPuhkc.mjs} +3 -3
- package/.output/server/_ssr/{insights-failures-rpc-uPYnqRg6.mjs → insights-failures-rpc-Da76a1IN.mjs} +4 -4
- package/.output/server/_ssr/{insights-recovery-rpc-BGO03_lp.mjs → insights-recovery-rpc-CnDqnHEj.mjs} +3 -3
- package/.output/server/_ssr/{insights-rpc-pHWZg6tX.mjs → insights-rpc-Dd2U4NdE.mjs} +3 -3
- package/.output/server/_ssr/{insights-search-DCwKWQgf.mjs → insights-search-Cd7HlISl.mjs} +2 -2
- package/.output/server/_ssr/{insights-usage-rpc-mhGFd4ak.mjs → insights-usage-rpc-B2IVYxOG.mjs} +3 -3
- package/.output/server/_ssr/{insights-usage-rpc-Dp0Cz_rY.mjs → insights-usage-rpc-CFx6QSyC.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution-ZrdXsTb-.mjs → insights_.distribution-2OibEf2m.mjs} +2 -2
- package/.output/server/_ssr/{insights_.distribution-Cozsq2fd.mjs → insights_.distribution-BUH7PZWG.mjs} +13 -13
- package/.output/server/_ssr/{insights_.distribution-B0k36wib.mjs → insights_.distribution-BZeNVPjD.mjs} +5 -5
- package/.output/server/_ssr/{installations-ArxM_lfw.mjs → installations-B2YTDFZ6.mjs} +11 -11
- package/.output/server/_ssr/{installations-DoB0uA4r.mjs → installations-B9phfjAP.mjs} +4 -4
- package/.output/server/_ssr/{installations-vuthv6jh.mjs → installations-CbKmDSaG.mjs} +2 -2
- package/.output/server/_ssr/{ios-devices-rpc-C6i4lt15.mjs → ios-devices-rpc-CFuDSVI0.mjs} +7 -7
- package/.output/server/_ssr/{iosDeviceCookie-CDsc4tZv.mjs → iosDeviceCookie-CnDDd2MY.mjs} +3 -3
- package/.output/server/_ssr/{iosDeviceProfile-B6F47U7I.mjs → iosDeviceProfile-1vydo3IG.mjs} +2 -2
- package/.output/server/_ssr/{iosDevices-BqqlEbAZ.mjs → iosDevices-hOdU8r0a.mjs} +2 -2
- package/.output/server/_ssr/{native-builds-exIEX85A.mjs → native-builds-BjY0798-.mjs} +14 -14
- package/.output/server/_ssr/{native-builds-Ds8NLZZV.mjs → native-builds-DBlKF_co.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_._buildId-BM-oIvly.mjs → native-builds_._buildId-BmhZD9ve.mjs} +17 -17
- package/.output/server/_ssr/{native-builds_._buildId-BJjyBgak.mjs → native-builds_._buildId-LEuoZStY.mjs} +2 -2
- package/.output/server/_ssr/{native-builds_.devices-Bzv53ycJ.mjs → native-builds_.devices-BB59npKo.mjs} +15 -15
- package/.output/server/_ssr/{native-builds_.devices-qZiD9_M7.mjs → native-builds_.devices-DJl-zdf7.mjs} +2 -2
- package/.output/server/_ssr/{nativeBuildDownloadLink-BlSTuvCh.mjs → nativeBuildDownloadLink-7n_UOiXF.mjs} +2 -2
- package/.output/server/_ssr/{nativeBuildInstall-MIAuceJl.mjs → nativeBuildInstall-BeC6X3u2.mjs} +8 -5
- package/.output/server/_ssr/{release-adoption-rpc-BbkQeGVh.mjs → release-adoption-rpc-QhwHmhPR.mjs} +5 -5
- package/.output/server/_ssr/{remote-config-C77mBuQA.mjs → remote-config-BPNPJAsS.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-DVVcKZ3d.mjs → remote-config-DbXEyEhL.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-CkLkLPMF.mjs → remote-config-ZjvRSeuf.mjs} +17 -17
- package/.output/server/_ssr/{remote-config-rpc-B61h4Ezd.mjs → remote-config-rpc-CggQNn8Y.mjs} +3 -3
- package/.output/server/_ssr/{router-B3813vxb.mjs → router-CWN-zluP.mjs} +32 -32
- package/.output/server/_ssr/{routes-Bga1_wo6.mjs → routes-DIFmRYYP.mjs} +8 -8
- package/.output/server/_ssr/{routes-DBdeKphh.mjs → routes-DhMK5MT5.mjs} +22 -22
- package/.output/server/_ssr/{schema-migration-rpc-BXYE_J5S.mjs → schema-migration-rpc-BeeaAQhv.mjs} +3 -3
- package/.output/server/_ssr/{select-CbXoxGsI.mjs → select-C0nNVpUo.mjs} +1 -1
- package/.output/server/_ssr/{server-HO3g5g26.mjs → server-BTN1i6LB.mjs} +2 -2
- package/.output/server/_ssr/{sidebar-BNVwLBDd.mjs → sidebar-BD8QbF7B.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{switch-Cw2gDkR1.mjs → switch-BHE1EPLr.mjs} +2 -2
- package/.output/server/_ssr/{table-DLkbWzz-.mjs → table-DuWD5ifq.mjs} +1 -1
- package/.output/server/_ssr/{tabs-CBnoLDCd.mjs → tabs-Bc4_5WAj.mjs} +2 -2
- package/.output/server/index.mjs +117 -117
- package/package.json +7 -7
- package/src/lib/server/nativeBuildInstall.ts +15 -4
|
@@ -2,17 +2,17 @@ import { i as __toESM } from "../_runtime.mjs";
|
|
|
2
2
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
3
3
|
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
4
|
import { D as LoaderCircle, H as Clipboard, Z 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-
|
|
6
|
-
import { t as consoleAccess } from "./console-access-
|
|
5
|
+
import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-BD8QbF7B.mjs";
|
|
6
|
+
import { t as consoleAccess } from "./console-access-CRTxVxnt.mjs";
|
|
7
7
|
import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
8
|
-
import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-
|
|
9
|
-
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-
|
|
10
|
-
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-
|
|
11
|
-
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-
|
|
12
|
-
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-
|
|
13
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-
|
|
8
|
+
import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-Czh1m4EJ.mjs";
|
|
9
|
+
import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-DlHd-CIc.mjs";
|
|
10
|
+
import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-BSW_KvCN.mjs";
|
|
11
|
+
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-DPMEJ7Ls.mjs";
|
|
12
|
+
import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-Bt_bjMf9.mjs";
|
|
13
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DuWD5ifq.mjs";
|
|
14
14
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
15
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-
|
|
15
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-keys-Di4WkA-b.js
|
|
16
16
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
17
17
|
var import_jsx_runtime = require_jsx_runtime();
|
|
18
18
|
var parseName = (input) => {
|
|
@@ -1,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-CRTxVxnt.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-BI2zaPY6.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-D8c-GIqm.mjs"), import("./runtime.server-BUbb281Z.mjs")]);
|
|
18
18
|
const { runtime } = await prepareConfig();
|
|
19
19
|
return requireFeature(runtime, "apiKeys");
|
|
20
20
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-CRTxVxnt.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
4
|
import { i as rowToBundle } from "./databaseRows-BZMFl5QV.mjs";
|
|
5
5
|
import { n as assertCanonicalChannelName } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
|
|
6
6
|
import { t as ReleaseManagementError } from "./releaseManagement-CqIc-SDE.mjs";
|
|
7
7
|
import { N as releaseNativeBuildScope, u as channelIdOf } from "./native-builds-lEyKQemV.mjs";
|
|
8
8
|
import { n as readReleaseFilter, r as readReleaseFold, t as listReleaseFolds } from "./listReleases-QF91GLE7.mjs";
|
|
9
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-
|
|
9
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-_kopo91H.js
|
|
10
10
|
var withPublicBundleMutationErrors = async (action) => {
|
|
11
11
|
try {
|
|
12
12
|
return await action();
|
|
@@ -26,7 +26,7 @@ var readFoldInput = (input) => {
|
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
var prepare = async () => {
|
|
29
|
-
const { prepareConfig } = await import("./config.server-
|
|
29
|
+
const { prepareConfig } = await import("./config.server-D8c-GIqm.mjs");
|
|
30
30
|
return prepareConfig();
|
|
31
31
|
};
|
|
32
32
|
var getReleases_createServerFn_handler = createServerRpc({
|
|
@@ -297,7 +297,7 @@ var createNativeBuildDownloadLink_createServerFn_handler = createServerRpc({
|
|
|
297
297
|
filename: "src/lib/api-rpc.ts"
|
|
298
298
|
}, (opts) => createNativeBuildDownloadLink.__executeServer(opts));
|
|
299
299
|
var createNativeBuildDownloadLink = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createNativeBuildDownloadLink_createServerFn_handler, async ({ data }) => {
|
|
300
|
-
const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-
|
|
300
|
+
const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-7n_UOiXF.mjs");
|
|
301
301
|
return issueNativeBuildDownloadLink(data.id);
|
|
302
302
|
});
|
|
303
303
|
var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
|
|
@@ -306,12 +306,12 @@ var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
|
|
|
306
306
|
filename: "src/lib/api-rpc.ts"
|
|
307
307
|
}, (opts) => getNativeBuildInstallEligibility.__executeServer(opts));
|
|
308
308
|
var getNativeBuildInstallEligibility = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildInstallEligibility_createServerFn_handler, async ({ data }) => {
|
|
309
|
-
const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-
|
|
309
|
+
const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-BeC6X3u2.mjs")]);
|
|
310
310
|
return checkNativeBuildInstall(data.id, data.udid, deps, { canApprove: async () => {
|
|
311
311
|
const [{ getRequest }, { requireConsoleAccess }, { iosDeviceViewer }] = await Promise.all([
|
|
312
312
|
import("../_libs/_.mjs").then((n) => n.t),
|
|
313
|
-
import("./auth.server-
|
|
314
|
-
import("./iosDevices-
|
|
313
|
+
import("./auth.server-H0zx7f6j.mjs"),
|
|
314
|
+
import("./iosDevices-hOdU8r0a.mjs")
|
|
315
315
|
]);
|
|
316
316
|
return (await iosDeviceViewer(await requireConsoleAccess(getRequest()), deps.config.deviceApprovers)).canApprove;
|
|
317
317
|
} });
|
|
@@ -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-BD8QbF7B.mjs";
|
|
3
|
+
import { t as consoleAccess } from "./console-access-CRTxVxnt.mjs";
|
|
4
4
|
import { i as useQuery, n as useMutation, s as useQueryClient, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
|
|
5
5
|
import { n as assertCanonicalChannelName } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
|
|
6
6
|
import { u as channelIdOf } from "./native-builds-lEyKQemV.mjs";
|
|
7
7
|
import { n as readReleaseFilter } from "./listReleases-QF91GLE7.mjs";
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-zkgm7yZM.js
|
|
9
9
|
/** The bounds of a fold, checked: IDs as text. */
|
|
10
10
|
var readFoldInput = (input) => {
|
|
11
11
|
const text = (value) => typeof value === "string" && value !== "";
|
|
@@ -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-BTN1i6LB.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-Doxa02dT.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-H0zx7f6j.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-H0zx7f6j.mjs");
|
|
21
21
|
return getConsoleAuthProviders(getRequest());
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
@@ -9,7 +9,7 @@ import { n as projectCompiledCatalog, r as projectCompiledRollbackCatalog, t as
|
|
|
9
9
|
import { t as isRemoteDatabase } from "./databaseConfig-B56IJxlu.mjs";
|
|
10
10
|
import { n as defineTable, t as defineAggregate } from "./schema-CaIuQCXb.mjs";
|
|
11
11
|
import { r as rangesIntersect } from "../_libs/verkit.mjs";
|
|
12
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/auth.server-
|
|
12
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/auth.server-H0zx7f6j.js
|
|
13
13
|
var SHA256_FILE_HASH_RE = /^[0-9a-f]{64}$/;
|
|
14
14
|
var isContentAddressedAssetFileHash = (value) => {
|
|
15
15
|
return typeof value === "string" && SHA256_FILE_HASH_RE.test(value);
|
|
@@ -1239,6 +1239,10 @@ var iosDevices = defineTable({
|
|
|
1239
1239
|
eq: ["status"],
|
|
1240
1240
|
sort: ["id"]
|
|
1241
1241
|
},
|
|
1242
|
+
byRegistration: {
|
|
1243
|
+
eq: [],
|
|
1244
|
+
sort: ["registered_at_ms"]
|
|
1245
|
+
},
|
|
1242
1246
|
all: {
|
|
1243
1247
|
eq: [],
|
|
1244
1248
|
sort: ["id"]
|
|
@@ -1459,6 +1463,12 @@ var WINDOW_MS = 6e4;
|
|
|
1459
1463
|
/** Log rows a compaction reads from each log table for one group. */
|
|
1460
1464
|
var LOG_PAGE = 200;
|
|
1461
1465
|
/**
|
|
1466
|
+
* How old a log row this process can't apply must be before its reads step
|
|
1467
|
+
* past it: older than any transaction still committing, between servers
|
|
1468
|
+
* whose clocks agree this closely.
|
|
1469
|
+
*/
|
|
1470
|
+
var SKIP_AFTER_MS = 3e5;
|
|
1471
|
+
/**
|
|
1462
1472
|
* Groups one compaction applies: after a commit, so the request that runs
|
|
1463
1473
|
* it waits for one group; before a read; and on flush.
|
|
1464
1474
|
*/
|
|
@@ -1588,23 +1598,41 @@ var rewrite = (change, key, current) => {
|
|
|
1588
1598
|
previous: current
|
|
1589
1599
|
};
|
|
1590
1600
|
};
|
|
1601
|
+
/** A shard row's place in what `readCurrent` read. */
|
|
1602
|
+
var rowId = (model, key) => JSON.stringify([model.table.name, key]);
|
|
1603
|
+
/** The shard key each change writes: shard 0, since one compaction runs at a time. */
|
|
1604
|
+
var keysOf = (changes) => changes.map(({ key }) => [...key.slice(0, -1), 0]);
|
|
1591
1605
|
/**
|
|
1592
|
-
* The
|
|
1593
|
-
*
|
|
1594
|
-
* for gauges and sketches, whose rows are read in one batch per table.
|
|
1606
|
+
* The current rows of the changes that rewrite theirs (gauges and sketches),
|
|
1607
|
+
* each once, in one batch per table.
|
|
1595
1608
|
*/
|
|
1596
|
-
var
|
|
1597
|
-
const keys = changes
|
|
1609
|
+
var readCurrent = async (adapter, changes) => {
|
|
1610
|
+
const keys = keysOf(changes);
|
|
1598
1611
|
const reads = /* @__PURE__ */ new Map();
|
|
1599
1612
|
changes.forEach((change, at) => {
|
|
1600
|
-
if (rewrites(change))
|
|
1613
|
+
if (!rewrites(change)) return;
|
|
1614
|
+
const wanted = reads.get(change.model) ?? /* @__PURE__ */ new Map();
|
|
1615
|
+
wanted.set(rowId(change.model, keys[at]), keys[at]);
|
|
1616
|
+
reads.set(change.model, wanted);
|
|
1601
1617
|
});
|
|
1602
1618
|
const current = /* @__PURE__ */ new Map();
|
|
1603
|
-
await Promise.all([...reads].map(async ([model,
|
|
1604
|
-
const
|
|
1605
|
-
|
|
1619
|
+
await Promise.all([...reads].map(async ([model, wanted]) => {
|
|
1620
|
+
const keys = [...wanted.values()];
|
|
1621
|
+
const rows = await adapter.get(model.table, keys);
|
|
1622
|
+
keys.forEach((key, at) => {
|
|
1623
|
+
current.set(rowId(model, key), rows[at] ?? null);
|
|
1624
|
+
});
|
|
1606
1625
|
}));
|
|
1607
|
-
return
|
|
1626
|
+
return current;
|
|
1627
|
+
};
|
|
1628
|
+
/**
|
|
1629
|
+
* The write for each change: a blind increment that creates the row for
|
|
1630
|
+
* counters, and a guarded rewrite for gauges and sketches, over the rows
|
|
1631
|
+
* `current` read.
|
|
1632
|
+
*/
|
|
1633
|
+
var build = (changes, current) => {
|
|
1634
|
+
const keys = keysOf(changes);
|
|
1635
|
+
return changes.map((change, at) => rewrites(change) ? rewrite(change, keys[at], current.get(rowId(change.model, keys[at])) ?? null) : increment(change, keys[at]));
|
|
1608
1636
|
};
|
|
1609
1637
|
var isOp = (op) => op !== void 0;
|
|
1610
1638
|
var sleep = (attempt) => new Promise((resolve) => setTimeout(resolve, Math.min(250, 5 * 2 ** attempt) * Math.random()));
|
|
@@ -1686,6 +1714,16 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { windowMs =
|
|
|
1686
1714
|
let compacting;
|
|
1687
1715
|
/** Log rows this process read, by `[log table's index, id]`, for the deletes after a group. */
|
|
1688
1716
|
const known = /* @__PURE__ */ new Map();
|
|
1717
|
+
/**
|
|
1718
|
+
* Each log table's last row of a run at its head that this process can't
|
|
1719
|
+
* apply (it names an aggregate or metric this schema lacks), whose reads
|
|
1720
|
+
* start past it. The rows wait for a process that can apply them, and a
|
|
1721
|
+
* restart reads them again.
|
|
1722
|
+
*/
|
|
1723
|
+
const skipped = LOG_TABLES.map(() => void 0);
|
|
1724
|
+
const past = (shard) => skipped[shard] === void 0 ? {} : { range: { gt: skipped[shard] } };
|
|
1725
|
+
/** When a log row's transaction stamped its ID. */
|
|
1726
|
+
const stampOf = (id) => Number.parseInt(id.slice(0, 9), 36);
|
|
1689
1727
|
const idOf = (shard, id) => JSON.stringify([shard, id]);
|
|
1690
1728
|
/** The lease row as stored once `set` is written over it. */
|
|
1691
1729
|
const leaseOp = (held, set) => {
|
|
@@ -1801,14 +1839,22 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { windowMs =
|
|
|
1801
1839
|
logs: (await Promise.all(LOG_TABLES.map(async (name, shard) => {
|
|
1802
1840
|
const page = await engine.reads.findMany(name, {
|
|
1803
1841
|
index: "oldest",
|
|
1804
|
-
limit: LOG_PAGE
|
|
1842
|
+
limit: LOG_PAGE,
|
|
1843
|
+
...past(shard)
|
|
1805
1844
|
});
|
|
1806
1845
|
more ||= page.next !== void 0;
|
|
1807
|
-
|
|
1846
|
+
const decoded = await Promise.all(page.rows.map(async (row) => ({
|
|
1808
1847
|
shard,
|
|
1809
1848
|
row,
|
|
1810
1849
|
changes: await decode(String(row.changes))
|
|
1811
|
-
})))
|
|
1850
|
+
})));
|
|
1851
|
+
const settled = now() - SKIP_AFTER_MS;
|
|
1852
|
+
for (const { row, changes } of decoded) {
|
|
1853
|
+
const id = String(row.id);
|
|
1854
|
+
if (changes !== void 0 || stampOf(id) >= settled) break;
|
|
1855
|
+
skipped[shard] = id;
|
|
1856
|
+
}
|
|
1857
|
+
return decoded.flatMap(({ changes, ...entry }) => changes === void 0 ? [] : [{
|
|
1812
1858
|
...entry,
|
|
1813
1859
|
changes
|
|
1814
1860
|
}]);
|
|
@@ -1816,7 +1862,6 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { windowMs =
|
|
|
1816
1862
|
more
|
|
1817
1863
|
};
|
|
1818
1864
|
};
|
|
1819
|
-
const rowsFor = async (changes) => (await compile(adapter, changes)).filter(isOp);
|
|
1820
1865
|
/**
|
|
1821
1866
|
* Applies the oldest pending log rows whose merged changes fit in one
|
|
1822
1867
|
* atomic write with the lease, which lists them as applied; the rows are
|
|
@@ -1825,12 +1870,14 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { windowMs =
|
|
|
1825
1870
|
* log rows it applied whole, or undefined when a conflict stopped it.
|
|
1826
1871
|
*/
|
|
1827
1872
|
const applyGroup = async (held, logs) => {
|
|
1873
|
+
const current = await readCurrent(adapter, logs.flatMap((entry) => [...entry.changes.values()]));
|
|
1874
|
+
const rowsFor = (changes) => build(changes, current).filter(isOp);
|
|
1828
1875
|
for (let count = logs.length; count > 0; count = Math.floor(count / 2)) {
|
|
1829
1876
|
const batch = logs.slice(0, count);
|
|
1830
1877
|
const changes = mergeAll(/* @__PURE__ */ new Map(), batch.flatMap((entry) => [...entry.changes.values()]));
|
|
1831
1878
|
const applied = batch.map(({ shard, row }) => [shard, row.id]);
|
|
1832
1879
|
const lease = leaseOp(held, { applied: JSON.stringify(applied) });
|
|
1833
|
-
const ops = [...
|
|
1880
|
+
const ops = [...rowsFor([...changes.values()]), lease.op];
|
|
1834
1881
|
if (!adapter.fits(ops)) continue;
|
|
1835
1882
|
for (const { shard, row } of batch) known.set(idOf(shard, row.id), row);
|
|
1836
1883
|
return await commit(ops) ? {
|
|
@@ -1852,7 +1899,7 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { windowMs =
|
|
|
1852
1899
|
};
|
|
1853
1900
|
const lease = leaseOp(held, {});
|
|
1854
1901
|
const ops = [
|
|
1855
|
-
...
|
|
1902
|
+
...rowsFor(entries.slice(0, take)),
|
|
1856
1903
|
kept,
|
|
1857
1904
|
lease.op
|
|
1858
1905
|
];
|
|
@@ -1873,11 +1920,12 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { windowMs =
|
|
|
1873
1920
|
if (held === void 0) return;
|
|
1874
1921
|
let pending = true;
|
|
1875
1922
|
let clear = false;
|
|
1923
|
+
let carried;
|
|
1876
1924
|
try {
|
|
1877
1925
|
for (let group = 0;; group += 1) {
|
|
1878
1926
|
clear = await deleteApplied(held);
|
|
1879
1927
|
if (!clear || !pending || group === groups) break;
|
|
1880
|
-
const { logs, more } = await readLogs();
|
|
1928
|
+
const { logs, more } = carried ?? await readLogs();
|
|
1881
1929
|
if (logs.length === 0) {
|
|
1882
1930
|
pending = false;
|
|
1883
1931
|
break;
|
|
@@ -1885,6 +1933,11 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { windowMs =
|
|
|
1885
1933
|
const applied = await applyGroup(held, logs);
|
|
1886
1934
|
if (applied === void 0) break;
|
|
1887
1935
|
[held, clear] = [applied.held, false];
|
|
1936
|
+
const rest = applied.count === 0 ? [] : logs.slice(applied.count);
|
|
1937
|
+
carried = rest.length > 0 ? {
|
|
1938
|
+
logs: rest,
|
|
1939
|
+
more
|
|
1940
|
+
} : void 0;
|
|
1888
1941
|
pending = more || applied.count < logs.length;
|
|
1889
1942
|
}
|
|
1890
1943
|
} finally {
|
|
@@ -1904,9 +1957,10 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { windowMs =
|
|
|
1904
1957
|
});
|
|
1905
1958
|
let checking;
|
|
1906
1959
|
/** Whether any log row waits; reads at once share one check. */
|
|
1907
|
-
const hasPending = () => checking ??= Promise.all(LOG_TABLES.map((name) => engine.reads.findMany(name, {
|
|
1960
|
+
const hasPending = () => checking ??= Promise.all(LOG_TABLES.map((name, shard) => engine.reads.findMany(name, {
|
|
1908
1961
|
index: "oldest",
|
|
1909
|
-
limit: 1
|
|
1962
|
+
limit: 1,
|
|
1963
|
+
...past(shard)
|
|
1910
1964
|
}))).then((pages) => pages.some((page) => page.rows.length > 0)).finally(() => {
|
|
1911
1965
|
checking = void 0;
|
|
1912
1966
|
});
|
|
@@ -2961,7 +3015,7 @@ var createEngine = (database, { plugins = [], now = Date.now } = {}) => {
|
|
|
2961
3015
|
flush: () => engine.flush()
|
|
2962
3016
|
};
|
|
2963
3017
|
};
|
|
2964
|
-
var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.
|
|
3018
|
+
var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.45";
|
|
2965
3019
|
/**
|
|
2966
3020
|
* `/version` on both mounts. The admin mount also lists the ids of the
|
|
2967
3021
|
* plugins the server runs, sorted; apps never learn which plugins a server
|
|
@@ -3682,8 +3736,6 @@ var NAME_MAX_LENGTH = 100;
|
|
|
3682
3736
|
var EMAIL_MAX_LENGTH = 320;
|
|
3683
3737
|
/** `ios_devices.apple_issuer_id`'s bound. */
|
|
3684
3738
|
var ISSUER_MAX_LENGTH = 64;
|
|
3685
|
-
/** How many registry rows one read takes while finding its account. */
|
|
3686
|
-
var ACCOUNT_SCAN_PAGE = 200;
|
|
3687
3739
|
/** The one row of `ios_device_account`. */
|
|
3688
3740
|
var ACCOUNT_ROW = "registry";
|
|
3689
3741
|
/** `ios_devices.apple_error`'s bound. */
|
|
@@ -3758,25 +3810,19 @@ var createIosDeviceApi = (db, { now = Date.now } = {}) => {
|
|
|
3758
3810
|
/**
|
|
3759
3811
|
* The issuer of the registry's earliest registration among its rows, by
|
|
3760
3812
|
* when and then by ID, or null when no row names one: read only while the
|
|
3761
|
-
* registry has no account yet,
|
|
3813
|
+
* registry has no account yet, in one read of its first registration. A
|
|
3814
|
+
* row names an issuer exactly when it has a registration time: both are
|
|
3815
|
+
* set by its first registration and never cleared.
|
|
3762
3816
|
*/
|
|
3763
3817
|
const accountOfRows = async () => {
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
});
|
|
3773
|
-
for (const row of rows.map(pick$1)) {
|
|
3774
|
-
if (row.apple_issuer_id === null) continue;
|
|
3775
|
-
if (earliest === null || (row.registered_at_ms ?? 0) < (earliest.registered_at_ms ?? 0)) earliest = row;
|
|
3776
|
-
}
|
|
3777
|
-
if (rows.length < ACCOUNT_SCAN_PAGE) return earliest?.apple_issuer_id ?? null;
|
|
3778
|
-
after = rows.at(-1).id;
|
|
3779
|
-
}
|
|
3818
|
+
const { rows } = await db.findMany("ios_devices", {
|
|
3819
|
+
index: "byRegistration",
|
|
3820
|
+
where: {},
|
|
3821
|
+
order: "asc",
|
|
3822
|
+
limit: 1,
|
|
3823
|
+
range: { gte: 0 }
|
|
3824
|
+
});
|
|
3825
|
+
return (rows[0] === void 0 ? null : pick$1(rows[0]))?.apple_issuer_id ?? null;
|
|
3780
3826
|
};
|
|
3781
3827
|
return {
|
|
3782
3828
|
async listIosDevices(input) {
|
|
@@ -4159,6 +4205,12 @@ var EXPORT_METHODS = /* @__PURE__ */ new Set([
|
|
|
4159
4205
|
* a bundle when a build made after the bundle is the newest.
|
|
4160
4206
|
*/
|
|
4161
4207
|
var OLDER_BUILDS_PAGE = 20;
|
|
4208
|
+
/**
|
|
4209
|
+
* How many pages of older builds that look reads before it answers null: 100
|
|
4210
|
+
* builds made after the bundle in one scope, where a deploy's new bundle has
|
|
4211
|
+
* none or a few registered while it deploys.
|
|
4212
|
+
*/
|
|
4213
|
+
var OLDER_BUILDS_PAGES = 5;
|
|
4162
4214
|
/** How many times a mark runs again after losing its scope's mark to another. */
|
|
4163
4215
|
var MARK_ATTEMPTS = 8;
|
|
4164
4216
|
/** `native_builds.build_number`'s bound in core's schema. */
|
|
@@ -4394,6 +4446,10 @@ var createNativeBuildApi = (db, { now = Date.now } = {}) => ({
|
|
|
4394
4446
|
const row = await db.findOne("native_builds", { id });
|
|
4395
4447
|
return row === null ? null : pick(row);
|
|
4396
4448
|
},
|
|
4449
|
+
async findNativeBuildByBuiltInBundle(bundleId) {
|
|
4450
|
+
const row = await db.findOne("native_builds", { min_bundle_id: bundleId });
|
|
4451
|
+
return row === null ? null : pick(row);
|
|
4452
|
+
},
|
|
4397
4453
|
async findNativeBuild(scope, options) {
|
|
4398
4454
|
const scopeKey = nativeBuildScopeKey(scope);
|
|
4399
4455
|
const buildKey = options?.buildKey;
|
|
@@ -4442,7 +4498,8 @@ var createNativeBuildApi = (db, { now = Date.now } = {}) => ({
|
|
|
4442
4498
|
}).then(({ rows: [row] }) => row?.artifact_kind === artifactKind ? pick(row) : void 0) : void 0);
|
|
4443
4499
|
if (newest === void 0 || !ofKind(newest)) return null;
|
|
4444
4500
|
if (bundleId === void 0 || newest.min_bundle_id < bundleId) return newest;
|
|
4445
|
-
|
|
4501
|
+
let before = newest.id;
|
|
4502
|
+
for (let page = 0; page < OLDER_BUILDS_PAGES; page += 1) {
|
|
4446
4503
|
const { rows: older } = await read(OLDER_BUILDS_PAGE, before);
|
|
4447
4504
|
const usable = older.find(({ min_bundle_id }) => min_bundle_id < bundleId);
|
|
4448
4505
|
if (usable !== void 0) return ofKind(usable) ? pick(usable) : null;
|
|
@@ -4450,6 +4507,7 @@ var createNativeBuildApi = (db, { now = Date.now } = {}) => ({
|
|
|
4450
4507
|
if (older.length < OLDER_BUILDS_PAGE || last === void 0) return null;
|
|
4451
4508
|
before = last.id;
|
|
4452
4509
|
}
|
|
4510
|
+
return null;
|
|
4453
4511
|
},
|
|
4454
4512
|
async findNativeBuildSibling(build) {
|
|
4455
4513
|
const artifactKind = SIBLING_KINDS[build.artifact_kind];
|
|
@@ -5639,6 +5697,7 @@ var createAdminRouteHandlers = () => ({
|
|
|
5639
5697
|
return json({ data: build === null ? null : await core.findNativeBuildSibling(build) });
|
|
5640
5698
|
}),
|
|
5641
5699
|
getNativeBuild: onCore(async (core, _request, params) => json({ data: await core.getNativeBuild(requireRouteParam(params, "id")) })),
|
|
5700
|
+
findNativeBuildByBuiltInBundle: onCore(async (core, _request, params) => json({ data: await core.findNativeBuildByBuiltInBundle(requireRouteParam(params, "bundleId")) })),
|
|
5642
5701
|
listNativeBuilds: onCore(async (core, request) => {
|
|
5643
5702
|
const url = new URL(request.url);
|
|
5644
5703
|
const input = keyset(url);
|
|
@@ -5869,6 +5928,11 @@ var ADMIN_ROUTES = [
|
|
|
5869
5928
|
path: "/native-builds/latest",
|
|
5870
5929
|
handler: "findNativeBuild"
|
|
5871
5930
|
},
|
|
5931
|
+
{
|
|
5932
|
+
method: "GET",
|
|
5933
|
+
path: "/native-builds/built-in/:bundleId",
|
|
5934
|
+
handler: "findNativeBuildByBuiltInBundle"
|
|
5935
|
+
},
|
|
5872
5936
|
{
|
|
5873
5937
|
method: "GET",
|
|
5874
5938
|
path: "/native-builds/:id/sibling",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime, ft as useRender, wt as mergeProps } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
4
|
-
import { k as cn } from "./sidebar-
|
|
4
|
+
import { k as cn } from "./sidebar-BD8QbF7B.mjs";
|
|
5
5
|
require_react();
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
7
|
var alertVariants = cva("group/alert relative grid w-full gap-0.5 rounded-lg border px-2 py-1.5 text-left text-xs/relaxed has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-1.5 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-3.5", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
-
import { k as cn } from "./sidebar-
|
|
3
|
+
import { k as cn } from "./sidebar-BD8QbF7B.mjs";
|
|
4
4
|
require_react();
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
function Card({ className, ...props }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as getRequest } from "./server-
|
|
2
|
-
import { requireConsoleAccess, t as resolveConsoleConfig } from "./auth.server-
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/config.server-
|
|
1
|
+
import { i as getRequest } from "./server-BTN1i6LB.mjs";
|
|
2
|
+
import { requireConsoleAccess, t as resolveConsoleConfig } from "./auth.server-H0zx7f6j.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/config.server-D8c-GIqm.js
|
|
4
4
|
var configPromise = null;
|
|
5
5
|
var core = null;
|
|
6
6
|
var runtime = null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as createMiddleware } from "./createMiddleware-C3ACsfuG.mjs";
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/console-access-
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/console-access-CRTxVxnt.js
|
|
3
3
|
/**
|
|
4
4
|
* Refuses a caller the console does not authorize before a server function
|
|
5
5
|
* reads its input. TanStack Start runs a function's middleware before the
|
|
@@ -9,7 +9,7 @@ import { t as createMiddleware } from "./createMiddleware-C3ACsfuG.mjs";
|
|
|
9
9
|
* `console-access.spec.ts` checks that.
|
|
10
10
|
*/
|
|
11
11
|
var consoleAccess = createMiddleware({ type: "function" }).server(async ({ next }) => {
|
|
12
|
-
const [{ getRequest }, { requireConsoleAccess }] = await Promise.all([import("../_libs/_.mjs").then((n) => n.t), import("./auth.server-
|
|
12
|
+
const [{ getRequest }, { requireConsoleAccess }] = await Promise.all([import("../_libs/_.mjs").then((n) => n.t), import("./auth.server-H0zx7f6j.mjs")]);
|
|
13
13
|
await requireConsoleAccess(getRequest());
|
|
14
14
|
return next();
|
|
15
15
|
});
|
package/.output/server/_ssr/{console-features-api-YCkgbKIW.mjs → console-features-api-GAEXEEpN.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as consoleFeatures } from "./console-features-DTYyXrWO.mjs";
|
|
2
2
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
3
|
-
import { A as createSsrRpc } from "./sidebar-
|
|
4
|
-
import { t as consoleAccess } from "./console-access-
|
|
3
|
+
import { A as createSsrRpc } from "./sidebar-BD8QbF7B.mjs";
|
|
4
|
+
import { t as consoleAccess } from "./console-access-CRTxVxnt.mjs";
|
|
5
5
|
import { v as notFound } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
6
6
|
import { i as useQuery, r as queryOptions } from "../_libs/tanstack__react-query.mjs";
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/console-features-api-
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/console-features-api-GAEXEEpN.js
|
|
8
8
|
/** The features this console serves, for navigation and route guards. */
|
|
9
9
|
var getConsoleFeaturesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).handler(createSsrRpc("82ec3500e57f9e81dac6d3f3a7bd9e34915da3121429beec87b7ad153dc6eafe"));
|
|
10
10
|
var consoleFeaturesQueryKey = ["console", "features"];
|
package/.output/server/_ssr/{console-features-rpc-dDgx3_Qd.mjs → console-features-rpc-Ccy3hEYw.mjs}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-CRTxVxnt.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/console-features-rpc-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/console-features-rpc-Ccy3hEYw.js
|
|
5
5
|
var getConsoleFeaturesRpc_createServerFn_handler = createServerRpc({
|
|
6
6
|
id: "82ec3500e57f9e81dac6d3f3a7bd9e34915da3121429beec87b7ad153dc6eafe",
|
|
7
7
|
name: "getConsoleFeaturesRpc",
|
|
8
8
|
filename: "src/lib/console-features-rpc.ts"
|
|
9
9
|
}, (opts) => getConsoleFeaturesRpc.__executeServer(opts));
|
|
10
10
|
var getConsoleFeaturesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).handler(getConsoleFeaturesRpc_createServerFn_handler, async () => {
|
|
11
|
-
const { prepareConfig } = await import("./config.server-
|
|
11
|
+
const { prepareConfig } = await import("./config.server-D8c-GIqm.mjs");
|
|
12
12
|
const { runtime } = await prepareConfig();
|
|
13
13
|
return {
|
|
14
14
|
features: await runtime.features(),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime, at as DialogTitle$1, ct as DialogPopup, dt as DialogBackdrop, it as DialogTrigger$1, lt as DialogDescription$1, ot as DialogRoot, st as DialogPortal$1, ut as DialogClose } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { t as X } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { k as cn, t as Button$1 } from "./sidebar-
|
|
4
|
+
import { k as cn, t as Button$1 } from "./sidebar-BD8QbF7B.mjs";
|
|
5
5
|
require_react();
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
7
|
function Dialog$1({ ...props }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
2
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
3
|
-
import { k as cn } from "./sidebar-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/empty-
|
|
3
|
+
import { k as cn } from "./sidebar-BD8QbF7B.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/empty-BYNdaNT9.js
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
function Empty({ className, ...props }) {
|
|
7
7
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
4
|
-
import { k as cn } from "./sidebar-
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/field-
|
|
4
|
+
import { k as cn } from "./sidebar-BD8QbF7B.mjs";
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/field-BSW_KvCN.js
|
|
6
6
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
7
7
|
var import_jsx_runtime = require_jsx_runtime();
|
|
8
8
|
function Label({ className, htmlFor, ...props }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
4
|
-
import { k as cn, n as Input, t as Button$1 } from "./sidebar-
|
|
4
|
+
import { k as cn, n as Input, t as Button$1 } from "./sidebar-BD8QbF7B.mjs";
|
|
5
5
|
require_react();
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
7
|
function Textarea({ className, ...props }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-B6Zg-Fpz.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-BIlpa6qt.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|