@hot-updater/console 1.1.15 → 1.1.17
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/{EventDetails-gbD_fCqc.js → EventDetails-Bsa_tO26.js} +1 -1
- package/.output/public/assets/HashValueDisplay-Dbmvvu_Z.js +1 -0
- package/.output/public/assets/{index-C83dZaQw.js → index-Yhuo-5CC.js} +2 -2
- package/.output/public/assets/{insights-C-5t8wh2.js → insights-CDaHmPLH.js} +2 -2
- package/.output/public/assets/{insights-KigRBDgC.js → insights-D8lUTlfV.js} +1 -1
- package/.output/public/assets/{installations-K2iJ_r0h.js → installations-CKvlapZ_.js} +1 -1
- package/.output/public/assets/{installations-BskJ1xQr.js → installations-D-jBJZdy.js} +2 -2
- package/.output/public/assets/{routes-D2PhnxCg.js → routes-DGDyRuBO.js} +2 -2
- package/.output/public/assets/routes-D__bl2-N.js +1 -0
- package/.output/public/assets/styles-llBVC-wU.css +2 -0
- package/.output/server/{__23tanstack-start-server-fn-resolver-C0Nfg0xV.mjs → __23tanstack-start-server-fn-resolver-BV89hFG6.mjs} +40 -40
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
- package/.output/server/_ssr/{BundleIdDisplay-CAX-Pi5B.mjs → BundleIdDisplay-Brv3HmMC.mjs} +2 -2
- package/.output/server/_ssr/{ConsoleFeatureUnavailable-CUOPC1kc.mjs → ConsoleFeatureUnavailable-DBgNuqZn.mjs} +6 -6
- package/.output/server/_ssr/{EventDetails-H-gQ1TLz.mjs → EventDetails-BuAsPvHQ.mjs} +6 -6
- package/.output/server/_ssr/HashValueDisplay-EK85YuH4.mjs +65 -0
- package/.output/server/_ssr/{InsightsPageHeader-C6m8iqeB.mjs → InsightsPageHeader-DDj2xwD8.mjs} +6 -6
- package/.output/server/_ssr/{NotFoundPage-k-LajOjo.mjs → NotFoundPage-CaXrlpP6.mjs} +2 -2
- package/.output/server/_ssr/{alert-dialog-BqgXE9x8.mjs → alert-dialog-DKl3ZJk6.mjs} +1 -1
- package/.output/server/_ssr/{api-C5f2NPlA.mjs → api-LKdyvkpU.mjs} +4 -4
- package/.output/server/_ssr/{api-keys-CKgXiJ5b.mjs → api-keys-BEJK2sLo.mjs} +2 -2
- package/.output/server/_ssr/{api-keys-Ap3gXOSP.mjs → api-keys-Bn2_7nDy.mjs} +8 -8
- package/.output/server/_ssr/{api-keys-rpc-BCLqAKsN.mjs → api-keys-rpc-CoqOL_Fg.mjs} +3 -3
- package/.output/server/_ssr/{api-rpc-CkNRyszD.mjs → api-rpc-p75iBVDS.mjs} +4 -4
- package/.output/server/_ssr/{auth-rpc-CIwvO6iC.mjs → auth-rpc-k0Tcry71.mjs} +4 -4
- package/.output/server/_ssr/{auth.server-D9qYlZNn.mjs → auth.server-Cs8MR8yf.mjs} +73 -21
- package/.output/server/_ssr/{badge-DOKRPSIV.mjs → badge-CsjpijFf.mjs} +1 -1
- package/.output/server/_ssr/{config.server-CX_gilCG.mjs → config.server-B_rXBeVR.mjs} +3 -3
- package/.output/server/_ssr/{console-access-Bn2eH3D4.mjs → console-access-CAUYjrQV.mjs} +2 -2
- package/.output/server/_ssr/{console-features-api-Bit2_elI.mjs → console-features-api-BJvOz5xc.mjs} +5 -5
- package/.output/server/_ssr/{console-features-rpc-D95demk1.mjs → console-features-rpc-3JZlQfRT.mjs} +3 -3
- package/.output/server/_ssr/{dialog-Dlq8RcdH.mjs → dialog-DpDIp_ym.mjs} +1 -1
- package/.output/server/_ssr/{empty-93yDvYPO.mjs → empty-0UVfn2Oa.mjs} +2 -2
- package/.output/server/_ssr/{field-DL4wTu7F.mjs → field-DQVx_tbZ.mjs} +2 -2
- package/.output/server/_ssr/{input-group-CVoEEgU7.mjs → input-group-DpHcWHRy.mjs} +1 -1
- package/.output/server/_ssr/{insights-Do8K-IMa.mjs → insights-BZf9Sj9i.mjs} +19 -19
- package/.output/server/_ssr/{insights-DUkkuVtk.mjs → insights-Dd0WXu-8.mjs} +5 -5
- package/.output/server/_ssr/{insights-Bpe6gJeb.mjs → insights-Ds9Q-8lU.mjs} +2 -2
- package/.output/server/_ssr/{insights-api-Ck12SvnL.mjs → insights-api-CG-dVIiC.mjs} +3 -3
- package/.output/server/_ssr/{insights-failures-rpc-_Et0xoAA.mjs → insights-failures-rpc-Bq2M90vP.mjs} +4 -4
- package/.output/server/_ssr/{insights-recovery-rpc-DisR-4nK.mjs → insights-recovery-rpc-C4d8XQDB.mjs} +3 -3
- package/.output/server/_ssr/{insights-rpc-UuS3UL6i.mjs → insights-rpc-BkeVca1Y.mjs} +3 -3
- package/.output/server/_ssr/{insights-search-BUXeKkGB.mjs → insights-search-CTKW2IGw.mjs} +2 -2
- package/.output/server/_ssr/{insights-usage-rpc-DONm85xf.mjs → insights-usage-rpc-C2LM8bPZ.mjs} +3 -3
- package/.output/server/_ssr/{insights-usage-rpc-CoKSCIWR.mjs → insights-usage-rpc-CNslbgI0.mjs} +3 -3
- package/.output/server/_ssr/{insights_.distribution--hX9EHzJ.mjs → insights_.distribution-CgOUh0Qr.mjs} +13 -13
- package/.output/server/_ssr/{insights_.distribution-CqXXbWvu.mjs → insights_.distribution-IhXVERQd.mjs} +2 -2
- package/.output/server/_ssr/{insights_.distribution-Cca_QCJS.mjs → insights_.distribution-TGxnjZi9.mjs} +5 -5
- package/.output/server/_ssr/{installations-BbpJL-py.mjs → installations-D-ysze7n.mjs} +2 -2
- package/.output/server/_ssr/{installations-bAMyrejd.mjs → installations-Dsq_z8N-.mjs} +4 -4
- package/.output/server/_ssr/{installations-BPJZjxAr.mjs → installations-Jb6JCrpI.mjs} +11 -11
- package/.output/server/_ssr/{listReleases-BfUBlCHo.mjs → listReleases-CqSrm0HE.mjs} +3 -2
- package/.output/server/_ssr/{release-adoption-rpc-Dp4XJ1Ji.mjs → release-adoption-rpc-5M89UyR0.mjs} +5 -5
- package/.output/server/_ssr/{remote-config-BzSMF9qf.mjs → remote-config-BCmNLuiH.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-DOLey--e.mjs → remote-config-BfSiFYHi.mjs} +17 -17
- package/.output/server/_ssr/{remote-config-ydXG43y8.mjs → remote-config-DOk_sHQ0.mjs} +2 -2
- package/.output/server/_ssr/{remote-config-rpc-C3Ki1MVz.mjs → remote-config-rpc-COoz9SqF.mjs} +3 -3
- package/.output/server/_ssr/{router-CzxtV5bN.mjs → router-Bh21qcpm.mjs} +15 -15
- package/.output/server/_ssr/{routes-CdFSfjxJ.mjs → routes-BBqtSP5F.mjs} +10 -10
- package/.output/server/_ssr/{routes-BC5QxzFh.mjs → routes-zGnRKfHt.mjs} +35 -16
- package/.output/server/_ssr/{select-Xxl_8OWl.mjs → select-B-WYWlnd.mjs} +1 -1
- package/.output/server/_ssr/{server-CFDAdVS8.mjs → server-8fm0iura.mjs} +3 -3
- package/.output/server/_ssr/{sidebar-CCVfZV3D.mjs → sidebar-B_GDqHcb.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/{switch-DzTTOWtC.mjs → switch--NW-CMWA.mjs} +2 -2
- package/.output/server/_ssr/{table-F8hvstUR.mjs → table-CzeI0z7n.mjs} +1 -1
- package/.output/server/_ssr/{tabs-4emU9uuE.mjs → tabs-D4ZRUFEl.mjs} +2 -2
- package/.output/server/{_tanstack-start-manifest_v-Ch7hhxra.mjs → _tanstack-start-manifest_v-BiLQUQTD.mjs} +18 -18
- package/.output/server/index.mjs +105 -105
- package/package.json +7 -7
- package/src/components/HashValueDisplay.tsx +21 -5
- package/src/components/features/bundles/BundleMetadata.tsx +21 -0
- package/src/lib/constants.ts +3 -0
- package/.output/public/assets/HashValueDisplay-BGkDPaYi.js +0 -1
- package/.output/public/assets/routes-CdST5uVt.js +0 -1
- package/.output/public/assets/styles-CpiW_YdW.css +0 -2
- package/.output/server/_ssr/HashValueDisplay-AnV7pKnC.mjs +0 -55
|
@@ -6,7 +6,7 @@ import { n as createUUIDv7After, t as createUUIDv7 } from "./uuidv7-C88s9jWF.mjs
|
|
|
6
6
|
import { a as normalize, i as defineTable, n as compare, o as normalizeRange, r as defineAggregate, s as parseRange } from "./schema-BiAVyEj2.mjs";
|
|
7
7
|
import { t as isRemoteDatabase } from "./databaseConfig-C5SkAyUy.mjs";
|
|
8
8
|
import { r as rangesIntersect } from "../_libs/verkit.mjs";
|
|
9
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/auth.server-
|
|
9
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/auth.server-Cs8MR8yf.js
|
|
10
10
|
var SHA256_FILE_HASH_RE = /^[0-9a-f]{64}$/;
|
|
11
11
|
var isContentAddressedAssetFileHash = (value) => {
|
|
12
12
|
return typeof value === "string" && SHA256_FILE_HASH_RE.test(value);
|
|
@@ -1510,6 +1510,12 @@ var WINDOW_MS = {
|
|
|
1510
1510
|
/** Log rows a compaction reads from each log table for one group. */
|
|
1511
1511
|
var LOG_PAGE = 200;
|
|
1512
1512
|
/**
|
|
1513
|
+
* How old a log row this process can't apply must be before its reads step
|
|
1514
|
+
* past it: older than any transaction still committing, between servers
|
|
1515
|
+
* whose clocks agree this closely.
|
|
1516
|
+
*/
|
|
1517
|
+
var SKIP_AFTER_MS = 3e5;
|
|
1518
|
+
/**
|
|
1513
1519
|
* Groups one compaction applies: after a commit, so the request that runs
|
|
1514
1520
|
* it waits for one group; before a read; and on flush.
|
|
1515
1521
|
*/
|
|
@@ -1641,24 +1647,44 @@ var rewrite = (change, key, current) => {
|
|
|
1641
1647
|
previous: current
|
|
1642
1648
|
};
|
|
1643
1649
|
};
|
|
1650
|
+
/** A shard row's place in what `readCurrent` read. */
|
|
1651
|
+
var rowId = (model, key) => JSON.stringify([model.table.name, key]);
|
|
1652
|
+
/** The shard key each change writes. */
|
|
1653
|
+
var keysOf = (changes, shard) => changes.map(({ model, key }) => [...key.slice(0, -1), shard(model)]);
|
|
1644
1654
|
/**
|
|
1645
|
-
* The
|
|
1646
|
-
*
|
|
1647
|
-
* rows are read in one batch per table.
|
|
1655
|
+
* The current rows of the changes that rewrite theirs (gauges and sketches),
|
|
1656
|
+
* each once, in one batch per table.
|
|
1648
1657
|
*/
|
|
1649
|
-
var
|
|
1650
|
-
const keys = changes
|
|
1658
|
+
var readCurrent = async (adapter, changes, shard) => {
|
|
1659
|
+
const keys = keysOf(changes, shard);
|
|
1651
1660
|
const reads = /* @__PURE__ */ new Map();
|
|
1652
1661
|
changes.forEach((change, at) => {
|
|
1653
|
-
if (rewrites(change))
|
|
1662
|
+
if (!rewrites(change)) return;
|
|
1663
|
+
const wanted = reads.get(change.model) ?? /* @__PURE__ */ new Map();
|
|
1664
|
+
wanted.set(rowId(change.model, keys[at]), keys[at]);
|
|
1665
|
+
reads.set(change.model, wanted);
|
|
1654
1666
|
});
|
|
1655
1667
|
const current = /* @__PURE__ */ new Map();
|
|
1656
|
-
await Promise.all([...reads].map(async ([model,
|
|
1657
|
-
const
|
|
1658
|
-
|
|
1668
|
+
await Promise.all([...reads].map(async ([model, wanted]) => {
|
|
1669
|
+
const keys = [...wanted.values()];
|
|
1670
|
+
const rows = await adapter.get(model.table, keys);
|
|
1671
|
+
keys.forEach((key, at) => {
|
|
1672
|
+
current.set(rowId(model, key), rows[at] ?? null);
|
|
1673
|
+
});
|
|
1659
1674
|
}));
|
|
1660
|
-
return
|
|
1675
|
+
return current;
|
|
1676
|
+
};
|
|
1677
|
+
/**
|
|
1678
|
+
* The write for each change on its shard: a blind increment that creates
|
|
1679
|
+
* the row for counters, and a guarded rewrite for gauges and sketches, over
|
|
1680
|
+
* the rows `current` read.
|
|
1681
|
+
*/
|
|
1682
|
+
var build = (changes, shard, current) => {
|
|
1683
|
+
const keys = keysOf(changes, shard);
|
|
1684
|
+
return changes.map((change, at) => rewrites(change) ? rewrite(change, keys[at], current.get(rowId(change.model, keys[at])) ?? null) : increment(change, keys[at]));
|
|
1661
1685
|
};
|
|
1686
|
+
/** `build` over rows read for these changes. */
|
|
1687
|
+
var compile = async (adapter, changes, shard) => build(changes, shard, await readCurrent(adapter, changes, shard));
|
|
1662
1688
|
var isOp = (op) => op !== void 0;
|
|
1663
1689
|
var sleep = (attempt) => new Promise((resolve) => setTimeout(resolve, Math.min(250, 5 * 2 ** attempt) * Math.random()));
|
|
1664
1690
|
/** Runs of one character, where shorter: a sparse sketch packs into a few. */
|
|
@@ -1802,6 +1828,16 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { mode = "log
|
|
|
1802
1828
|
let compacting;
|
|
1803
1829
|
/** Log rows this process read, by `[log table's index, id]`, for the deletes after a group. */
|
|
1804
1830
|
const known = /* @__PURE__ */ new Map();
|
|
1831
|
+
/**
|
|
1832
|
+
* Each log table's last row of a run at its head that this process can't
|
|
1833
|
+
* apply (it names an aggregate or metric this schema lacks), whose reads
|
|
1834
|
+
* start past it. The rows wait for a process that can apply them, and a
|
|
1835
|
+
* restart reads them again.
|
|
1836
|
+
*/
|
|
1837
|
+
const skipped = LOG_TABLES.map(() => void 0);
|
|
1838
|
+
const past = (shard) => skipped[shard] === void 0 ? {} : { range: { gt: skipped[shard] } };
|
|
1839
|
+
/** When a log row's transaction stamped its ID. */
|
|
1840
|
+
const stampOf = (id) => Number.parseInt(id.slice(0, 9), 36);
|
|
1805
1841
|
const idOf = (shard, id) => JSON.stringify([shard, id]);
|
|
1806
1842
|
/** The lease row as stored once `set` is written over it. */
|
|
1807
1843
|
const leaseOp = (held, set) => {
|
|
@@ -1917,14 +1953,22 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { mode = "log
|
|
|
1917
1953
|
logs: (await Promise.all(LOG_TABLES.map(async (name, shard) => {
|
|
1918
1954
|
const page = await engine.reads.findMany(name, {
|
|
1919
1955
|
index: "oldest",
|
|
1920
|
-
limit: LOG_PAGE
|
|
1956
|
+
limit: LOG_PAGE,
|
|
1957
|
+
...past(shard)
|
|
1921
1958
|
});
|
|
1922
1959
|
more ||= page.next !== void 0;
|
|
1923
|
-
|
|
1960
|
+
const decoded = await Promise.all(page.rows.map(async (row) => ({
|
|
1924
1961
|
shard,
|
|
1925
1962
|
row,
|
|
1926
1963
|
changes: await decode(String(row.changes))
|
|
1927
|
-
})))
|
|
1964
|
+
})));
|
|
1965
|
+
const settled = now() - SKIP_AFTER_MS;
|
|
1966
|
+
for (const { row, changes } of decoded) {
|
|
1967
|
+
const id = String(row.id);
|
|
1968
|
+
if (changes !== void 0 || stampOf(id) >= settled) break;
|
|
1969
|
+
skipped[shard] = id;
|
|
1970
|
+
}
|
|
1971
|
+
return decoded.flatMap(({ changes, ...entry }) => changes === void 0 ? [] : [{
|
|
1928
1972
|
...entry,
|
|
1929
1973
|
changes
|
|
1930
1974
|
}]);
|
|
@@ -1932,7 +1976,6 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { mode = "log
|
|
|
1932
1976
|
more
|
|
1933
1977
|
};
|
|
1934
1978
|
};
|
|
1935
|
-
const rowsFor = async (changes) => (await compile(adapter, changes, () => 0)).filter(isOp);
|
|
1936
1979
|
/**
|
|
1937
1980
|
* Applies the oldest pending log rows whose merged changes fit in one
|
|
1938
1981
|
* atomic write with the lease, which lists them as applied; the rows are
|
|
@@ -1941,12 +1984,14 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { mode = "log
|
|
|
1941
1984
|
* log rows it applied whole, or undefined when a conflict stopped it.
|
|
1942
1985
|
*/
|
|
1943
1986
|
const applyGroup = async (held, logs) => {
|
|
1987
|
+
const current = await readCurrent(adapter, logs.flatMap((entry) => [...entry.changes.values()]), () => 0);
|
|
1988
|
+
const rowsFor = (changes) => build(changes, () => 0, current).filter(isOp);
|
|
1944
1989
|
for (let count = logs.length; count > 0; count = Math.floor(count / 2)) {
|
|
1945
1990
|
const batch = logs.slice(0, count);
|
|
1946
1991
|
const changes = mergeAll(/* @__PURE__ */ new Map(), batch.flatMap((entry) => [...entry.changes.values()]));
|
|
1947
1992
|
const applied = batch.map(({ shard, row }) => [shard, row.id]);
|
|
1948
1993
|
const lease = leaseOp(held, { applied: JSON.stringify(applied) });
|
|
1949
|
-
const ops = [...
|
|
1994
|
+
const ops = [...rowsFor([...changes.values()]), lease.op];
|
|
1950
1995
|
if (!adapter.fits(ops)) continue;
|
|
1951
1996
|
for (const { shard, row } of batch) known.set(idOf(shard, row.id), row);
|
|
1952
1997
|
return await commit(ops) ? {
|
|
@@ -1968,7 +2013,7 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { mode = "log
|
|
|
1968
2013
|
};
|
|
1969
2014
|
const lease = leaseOp(held, {});
|
|
1970
2015
|
const ops = [
|
|
1971
|
-
...
|
|
2016
|
+
...rowsFor(entries.slice(0, take)),
|
|
1972
2017
|
kept,
|
|
1973
2018
|
lease.op
|
|
1974
2019
|
];
|
|
@@ -1989,11 +2034,12 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { mode = "log
|
|
|
1989
2034
|
if (held === void 0) return;
|
|
1990
2035
|
let pending = true;
|
|
1991
2036
|
let clear = false;
|
|
2037
|
+
let carried;
|
|
1992
2038
|
try {
|
|
1993
2039
|
for (let group = 0;; group += 1) {
|
|
1994
2040
|
clear = await deleteApplied(held);
|
|
1995
2041
|
if (!clear || !pending || group === groups) break;
|
|
1996
|
-
const { logs, more } = await readLogs();
|
|
2042
|
+
const { logs, more } = carried ?? await readLogs();
|
|
1997
2043
|
if (logs.length === 0) {
|
|
1998
2044
|
pending = false;
|
|
1999
2045
|
break;
|
|
@@ -2001,6 +2047,11 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { mode = "log
|
|
|
2001
2047
|
const applied = await applyGroup(held, logs);
|
|
2002
2048
|
if (applied === void 0) break;
|
|
2003
2049
|
[held, clear] = [applied.held, false];
|
|
2050
|
+
const rest = applied.count === 0 ? [] : logs.slice(applied.count);
|
|
2051
|
+
carried = rest.length > 0 ? {
|
|
2052
|
+
logs: rest,
|
|
2053
|
+
more
|
|
2054
|
+
} : void 0;
|
|
2004
2055
|
pending = more || applied.count < logs.length;
|
|
2005
2056
|
}
|
|
2006
2057
|
} finally {
|
|
@@ -2020,9 +2071,10 @@ var createAggregateBatches = ({ engine, adapter, schema, batching: { mode = "log
|
|
|
2020
2071
|
});
|
|
2021
2072
|
let checking;
|
|
2022
2073
|
/** Whether any log row waits; reads at once share one check. */
|
|
2023
|
-
const hasPending = () => checking ??= Promise.all(LOG_TABLES.map((name) => engine.reads.findMany(name, {
|
|
2074
|
+
const hasPending = () => checking ??= Promise.all(LOG_TABLES.map((name, shard) => engine.reads.findMany(name, {
|
|
2024
2075
|
index: "oldest",
|
|
2025
|
-
limit: 1
|
|
2076
|
+
limit: 1,
|
|
2077
|
+
...past(shard)
|
|
2026
2078
|
}))).then((pages) => pages.some((page) => page.rows.length > 0)).finally(() => {
|
|
2027
2079
|
checking = void 0;
|
|
2028
2080
|
});
|
|
@@ -3098,7 +3150,7 @@ var createEngine = (database, { plugins = [], now = Date.now } = {}) => {
|
|
|
3098
3150
|
dispose: () => engine.dispose()
|
|
3099
3151
|
};
|
|
3100
3152
|
};
|
|
3101
|
-
var HOT_UPDATER_SERVER_VERSION = "1.1.
|
|
3153
|
+
var HOT_UPDATER_SERVER_VERSION = "1.1.17";
|
|
3102
3154
|
/**
|
|
3103
3155
|
* `/version` on both mounts. The admin mount also lists the ids of the
|
|
3104
3156
|
* plugins the server runs, sorted; apps never learn which plugins a server
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../_runtime.mjs";
|
|
2
2
|
import { bt as require_react, ot as useRender, vt as mergeProps, yt 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-
|
|
4
|
+
import { k as cn } from "./sidebar-B_GDqHcb.mjs";
|
|
5
5
|
require_react();
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
7
|
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-8fm0iura.mjs";
|
|
2
|
+
import { requireConsoleAccess, t as resolveConsoleConfig } from "./auth.server-Cs8MR8yf.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/config.server-B_rXBeVR.js
|
|
4
4
|
var configPromise = null;
|
|
5
5
|
var core = null;
|
|
6
6
|
var runtime = null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as createMiddleware } from "./createMiddleware-B1iPez7u.mjs";
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/console-access-
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/console-access-CAUYjrQV.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 { c as createMiddleware } from "./createMiddleware-B1iPez7u.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("./server-
|
|
12
|
+
const [{ getRequest }, { requireConsoleAccess }] = await Promise.all([import("./server-8fm0iura.mjs").then((n) => n.t), import("./auth.server-Cs8MR8yf.mjs")]);
|
|
13
13
|
await requireConsoleAccess(getRequest());
|
|
14
14
|
return next();
|
|
15
15
|
});
|
package/.output/server/_ssr/{console-features-api-Bit2_elI.mjs → console-features-api-BJvOz5xc.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-Bn2eH3D4.mjs";
|
|
3
|
-
import { A as createSsrRpc } from "./sidebar-CCVfZV3D.mjs";
|
|
4
|
-
import { i as useQuery, r as queryOptions } from "../_libs/tanstack__react-query.mjs";
|
|
5
1
|
import { n as consoleFeatures } from "./console-features-4xAGfZHw.mjs";
|
|
2
|
+
import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
|
|
3
|
+
import { A as createSsrRpc } from "./sidebar-B_GDqHcb.mjs";
|
|
4
|
+
import { t as consoleAccess } from "./console-access-CAUYjrQV.mjs";
|
|
6
5
|
import { _ as notFound } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
7
|
-
|
|
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-BJvOz5xc.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-D95demk1.mjs → console-features-rpc-3JZlQfRT.mjs}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-CAUYjrQV.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-BaDJLGBx.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-3JZlQfRT.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-B_rXBeVR.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 { $ as DialogTitle$1, Q as DialogTrigger$1, at as DialogBackdrop, bt as require_react, et as DialogRoot, it as DialogClose, nt as DialogPopup, rt as DialogDescription$1, tt as DialogPortal$1, yt as require_jsx_runtime } 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-B_GDqHcb.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 { yt 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-B_GDqHcb.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/empty-0UVfn2Oa.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 { bt as require_react, yt 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-B_GDqHcb.mjs";
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/field-DQVx_tbZ.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 { bt as require_react, yt 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-B_GDqHcb.mjs";
|
|
5
5
|
require_react();
|
|
6
6
|
var import_jsx_runtime = require_jsx_runtime();
|
|
7
7
|
function Textarea({ className, ...props }) {
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
|
|
3
|
-
import { t as consoleAccess } from "./console-access-Bn2eH3D4.mjs";
|
|
4
3
|
import { C as ComboboxTrigger$1, D as ScrollAreaViewport, E as ScrollAreaScrollbar, O as ScrollAreaRoot, S as ComboboxInput$1, T as ScrollAreaThumb, _ as ComboboxPositioner, b as ComboboxCollection$1, bt as require_react, d as ComboboxRoot, f as ComboboxEmpty$1, g as ComboboxPopup, h as ComboboxGroup$1, m as ComboboxGroupLabel, p as ComboboxItem$1, u as ComboboxItemIndicator, v as ComboboxPortal, w as ScrollAreaCorner, x as ComboboxClear$1, y as ComboboxList$1, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
5
4
|
import { E as List, G as Check, H as ChevronRight, I as Copy, R as CircleOff, W as ChevronDown, X as ArrowUpRight, Z as ArrowRight, g as RefreshCw, h as RotateCcw, i as TriangleAlert, m as RotateCw, r as Undo2, t as X } from "../_libs/lucide-react.mjs";
|
|
6
|
-
import { A as createSsrRpc, C as Skeleton, O as buttonVariants, a as SheetContent, c as SheetTitle, i as Sheet, k as cn, l as SheetTrigger, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-F8hvstUR.mjs";
|
|
5
|
+
import { A as createSsrRpc, C as Skeleton, O as buttonVariants, a as SheetContent, c as SheetTitle, i as Sheet, k as cn, l as SheetTrigger, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-B_GDqHcb.mjs";
|
|
6
|
+
import { t as consoleAccess } from "./console-access-CAUYjrQV.mjs";
|
|
7
|
+
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
10
8
|
import { a as useQueries, i as useQuery, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
|
|
9
|
+
import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-0UVfn2Oa.mjs";
|
|
10
|
+
import { a as Badge, c as CardDescription, d as CardTitle, i as AlertTitle, l as CardFooter, o as Card, r as AlertDescription, s as CardContent, t as Alert, u as CardHeader } from "./badge-CsjpijFf.mjs";
|
|
11
|
+
import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-DKl3ZJk6.mjs";
|
|
12
|
+
import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-CzeI0z7n.mjs";
|
|
11
13
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
12
|
-
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
13
|
-
import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-93yDvYPO.mjs";
|
|
14
14
|
import { C as isUUIDv7 } from "./dist-CbQbBIw-.mjs";
|
|
15
15
|
import { r as recoveryWindows, t as insightsPeriodEnd } from "./insights-recovery-BUuQdlA3.mjs";
|
|
16
16
|
import { a as failureReasonLabel, i as failureRate, o as failureStageLabel, r as failureDetailParts, s as formatRate, t as checkFailureRate } from "./insights-failures-BJN3RfLu.mjs";
|
|
17
17
|
import { t as groupFailureReports } from "./insights-errors-Iy-lBaM7.mjs";
|
|
18
18
|
import { n as usageMetrics } from "./insights-usage-CHqvtehH.mjs";
|
|
19
19
|
import { a as readAdoptionReleasesInput, i as readAdoptionReleaseInput, n as crashRateOf, o as readBundleEventsInput, r as defaultAdoptionReleases, s as recommendsRollback, t as CRASH_RATE_THRESHOLD } from "./release-adoption-DuYJTGuX.mjs";
|
|
20
|
-
import { i as comparedBundleIds, n as InfoTooltip, t as DEFAULT_INSIGHTS_CHANNEL } from "./insights-search-
|
|
21
|
-
import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-
|
|
22
|
-
import { t as Route } from "./insights-
|
|
23
|
-
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-
|
|
24
|
-
import { a as SelectItem, i as SelectGroup, n as Select$1, o as SelectTrigger, r as SelectContent, s as SelectValue, t as PlatformIcon } from "./select-
|
|
25
|
-
import { i as InputGroupInput, n as InputGroupAddon, r as InputGroupButton, t as InputGroup } from "./input-group-
|
|
26
|
-
import { i as useChannelsQuery, l as usePreflightReleaseMutation, m as useUpdateReleaseMutation } from "./api-
|
|
27
|
-
import { t as BundleIdDisplay } from "./BundleIdDisplay-
|
|
28
|
-
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-
|
|
29
|
-
import { i as InsightsPeriodSelector, n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader } from "./InsightsPageHeader-
|
|
30
|
-
import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-
|
|
20
|
+
import { i as comparedBundleIds, n as InfoTooltip, t as DEFAULT_INSIGHTS_CHANNEL } from "./insights-search-CTKW2IGw.mjs";
|
|
21
|
+
import { i as useFailureReportsQuery, l as useInsightsRetention, r as keepsTwelveMonths, t as DEFAULT_INSIGHTS_RETENTION, u as useUpdateFailuresQuery } from "./insights-api-CG-dVIiC.mjs";
|
|
22
|
+
import { t as Route } from "./insights-Dd0WXu-8.mjs";
|
|
23
|
+
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-D4ZRUFEl.mjs";
|
|
24
|
+
import { a as SelectItem, i as SelectGroup, n as Select$1, o as SelectTrigger, r as SelectContent, s as SelectValue, t as PlatformIcon } from "./select-B-WYWlnd.mjs";
|
|
25
|
+
import { i as InputGroupInput, n as InputGroupAddon, r as InputGroupButton, t as InputGroup } from "./input-group-DpHcWHRy.mjs";
|
|
26
|
+
import { i as useChannelsQuery, l as usePreflightReleaseMutation, m as useUpdateReleaseMutation } from "./api-LKdyvkpU.mjs";
|
|
27
|
+
import { t as BundleIdDisplay } from "./BundleIdDisplay-Brv3HmMC.mjs";
|
|
28
|
+
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-C2LM8bPZ.mjs";
|
|
29
|
+
import { i as InsightsPeriodSelector, n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader } from "./InsightsPageHeader-DDj2xwD8.mjs";
|
|
30
|
+
import { i as HttpResponseBody, n as EventTimestamp, o as useInsightsTimeFormat, t as EventBundleTransition } from "./EventDetails-BuAsPvHQ.mjs";
|
|
31
31
|
import { a as CartesianGrid, i as Line, l as ResponsiveContainer, n as YAxis, o as ReferenceLine, r as XAxis, s as Tooltip, t as LineChart } from "../_libs/recharts+[...].mjs";
|
|
32
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-
|
|
32
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-BZf9Sj9i.js
|
|
33
33
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
34
34
|
var import_jsx_runtime = require_jsx_runtime();
|
|
35
35
|
var THEMES = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
|
-
import { r as requireConsoleFeature } from "./console-features-api-
|
|
3
|
-
import { o as validateInsightsSearch } from "./insights-search-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-
|
|
5
|
-
var $$splitComponentImporter = () => import("./insights-
|
|
6
|
-
var $$splitNotFoundComponentImporter = () => import("./insights-
|
|
2
|
+
import { r as requireConsoleFeature } from "./console-features-api-BJvOz5xc.mjs";
|
|
3
|
+
import { o as validateInsightsSearch } from "./insights-search-CTKW2IGw.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-Dd0WXu-8.js
|
|
5
|
+
var $$splitComponentImporter = () => import("./insights-BZf9Sj9i.mjs");
|
|
6
|
+
var $$splitNotFoundComponentImporter = () => import("./insights-Ds9Q-8lU.mjs");
|
|
7
7
|
var Route = createFileRoute("/insights")({
|
|
8
8
|
beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "insightsAnalytics"),
|
|
9
9
|
notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "notFoundComponent"),
|
|
@@ -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-DBgNuqZn.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-Ds9Q-8lU.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { A as createSsrRpc } from "./sidebar-B_GDqHcb.mjs";
|
|
3
|
+
import { t as consoleAccess } from "./console-access-CAUYjrQV.mjs";
|
|
4
4
|
import { i as useQuery, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
|
|
5
5
|
import { c as readUpdateFailuresInput } from "./insights-failures-BJN3RfLu.mjs";
|
|
6
6
|
import { n as readFailureReportsInput } from "./insights-errors-Iy-lBaM7.mjs";
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-api-
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-api-CG-dVIiC.js
|
|
8
8
|
var getUpdateFailuresRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readUpdateFailuresInput).handler(createSsrRpc("0d1dacdd1e5ee6b100e5c142fb9af03602b6f2c6fe6af79312b36c223d7f8f97"));
|
|
9
9
|
var listFailureReportsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readFailureReportsInput).handler(createSsrRpc("b4388826a9b515fb4d2113270aa8ded1c50ba13d7f07ac2b268c41396e87d0a3"));
|
|
10
10
|
/** `insights()`'s defaults, for a server that does not report its periods. */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-CAUYjrQV.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-BaDJLGBx.mjs";
|
|
4
4
|
import { c as readUpdateFailuresInput } from "./insights-failures-BJN3RfLu.mjs";
|
|
5
5
|
import { n as readFailureReportsInput } from "./insights-errors-Iy-lBaM7.mjs";
|
|
6
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-failures-rpc-
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-failures-rpc-Bq2M90vP.js
|
|
7
7
|
var getUpdateFailuresRpc_createServerFn_handler = createServerRpc({
|
|
8
8
|
id: "0d1dacdd1e5ee6b100e5c142fb9af03602b6f2c6fe6af79312b36c223d7f8f97",
|
|
9
9
|
name: "getUpdateFailuresRpc",
|
|
@@ -11,7 +11,7 @@ var getUpdateFailuresRpc_createServerFn_handler = createServerRpc({
|
|
|
11
11
|
}, (opts) => getUpdateFailuresRpc.__executeServer(opts));
|
|
12
12
|
var getUpdateFailuresRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readUpdateFailuresInput).handler(getUpdateFailuresRpc_createServerFn_handler, async ({ data }) => {
|
|
13
13
|
const [{ prepareConfig }, { getUpdateFailuresReport }, { requireFeature }] = await Promise.all([
|
|
14
|
-
import("./config.server-
|
|
14
|
+
import("./config.server-B_rXBeVR.mjs"),
|
|
15
15
|
import("./updateFailures-z1IQy_4q.mjs"),
|
|
16
16
|
import("./runtime.server-DsHqVqTr.mjs")
|
|
17
17
|
]);
|
|
@@ -25,7 +25,7 @@ var listFailureReportsRpc_createServerFn_handler = createServerRpc({
|
|
|
25
25
|
}, (opts) => listFailureReportsRpc.__executeServer(opts));
|
|
26
26
|
var listFailureReportsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readFailureReportsInput).handler(listFailureReportsRpc_createServerFn_handler, async ({ data }) => {
|
|
27
27
|
const [{ prepareConfig }, { listFailureReports }, { requireFeature }] = await Promise.all([
|
|
28
|
-
import("./config.server-
|
|
28
|
+
import("./config.server-B_rXBeVR.mjs"),
|
|
29
29
|
import("./failureReports-Bh22wois.mjs"),
|
|
30
30
|
import("./runtime.server-DsHqVqTr.mjs")
|
|
31
31
|
]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-CAUYjrQV.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-BaDJLGBx.mjs";
|
|
4
4
|
import { n as readRecoveryInput } from "./insights-recovery-BUuQdlA3.mjs";
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-recovery-rpc-
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-recovery-rpc-C4d8XQDB.js
|
|
6
6
|
function readBundleActivityInput(inputs) {
|
|
7
7
|
if (!Array.isArray(inputs) || inputs.length > 20) throw new Error("Choose up to 20 bundles.");
|
|
8
8
|
return inputs.map((input) => {
|
|
@@ -21,7 +21,7 @@ var getBundleActivityRpc_createServerFn_handler = createServerRpc({
|
|
|
21
21
|
}, (opts) => getBundleActivityRpc.__executeServer(opts));
|
|
22
22
|
var getBundleActivityRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readBundleActivityInput).handler(getBundleActivityRpc_createServerFn_handler, async ({ data }) => {
|
|
23
23
|
const [{ prepareConfig }, { getBundleActivity }, { requireFeature }] = await Promise.all([
|
|
24
|
-
import("./config.server-
|
|
24
|
+
import("./config.server-B_rXBeVR.mjs"),
|
|
25
25
|
import("./bundleActivity-0qFIcvqt.mjs"),
|
|
26
26
|
import("./runtime.server-DsHqVqTr.mjs")
|
|
27
27
|
]);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-CAUYjrQV.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-BaDJLGBx.mjs";
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-rpc-
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-rpc-BkeVca1Y.js
|
|
5
5
|
/** The Insights reads, once the console's access check and the feature guard pass. */
|
|
6
6
|
var insightsReads = async () => {
|
|
7
|
-
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-
|
|
7
|
+
const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-B_rXBeVR.mjs"), import("./runtime.server-DsHqVqTr.mjs")]);
|
|
8
8
|
const { runtime } = await prepareConfig();
|
|
9
9
|
return requireFeature(runtime, "insights");
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { i as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { O as Info } from "../_libs/lucide-react.mjs";
|
|
4
|
-
import { D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-
|
|
4
|
+
import { D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-B_GDqHcb.mjs";
|
|
5
5
|
import { C as isUUIDv7 } from "./dist-CbQbBIw-.mjs";
|
|
6
6
|
import { r as extractTimestampFromUUIDv7 } from "./uuidv7-C88s9jWF.mjs";
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-search-
|
|
7
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-search-CTKW2IGw.js
|
|
8
8
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
9
9
|
var import_jsx_runtime = require_jsx_runtime();
|
|
10
10
|
function InfoTooltip({ label, children }) {
|
package/.output/server/_ssr/{insights-usage-rpc-DONm85xf.mjs → insights-usage-rpc-C2LM8bPZ.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-Bn2eH3D4.mjs";
|
|
3
2
|
import { A as ProgressTrack$1, j as ProgressRoot, k as ProgressIndicator$1, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
|
-
import { A as createSsrRpc, k as cn } from "./sidebar-
|
|
3
|
+
import { A as createSsrRpc, k as cn } from "./sidebar-B_GDqHcb.mjs";
|
|
4
|
+
import { t as consoleAccess } from "./console-access-CAUYjrQV.mjs";
|
|
5
5
|
import { t as readAppUsageInput } from "./insights-usage-CHqvtehH.mjs";
|
|
6
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-C2LM8bPZ.js
|
|
7
7
|
var import_jsx_runtime = require_jsx_runtime();
|
|
8
8
|
function Progress$1({ className, children, value, ...props }) {
|
|
9
9
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ProgressRoot, {
|
package/.output/server/_ssr/{insights-usage-rpc-CoKSCIWR.mjs → insights-usage-rpc-CNslbgI0.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { u as createServerFn } from "./createMiddleware-B1iPez7u.mjs";
|
|
2
|
-
import { t as consoleAccess } from "./console-access-
|
|
2
|
+
import { t as consoleAccess } from "./console-access-CAUYjrQV.mjs";
|
|
3
3
|
import { t as createServerRpc } from "./createServerRpc-BaDJLGBx.mjs";
|
|
4
4
|
import { t as readAppUsageInput } from "./insights-usage-CHqvtehH.mjs";
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights-usage-rpc-CNslbgI0.js
|
|
6
6
|
var getAppUsageReportRpc_createServerFn_handler = createServerRpc({
|
|
7
7
|
id: "8a98cd9c178e4a54185d62c25a95f09d3d59850c43d3f5baa1563e1614ad942e",
|
|
8
8
|
name: "getAppUsageReportRpc",
|
|
@@ -18,7 +18,7 @@ var getAppUsageReportRpc = createServerFn({ method: "GET" }).middleware([console
|
|
|
18
18
|
};
|
|
19
19
|
}).handler(getAppUsageReportRpc_createServerFn_handler, async ({ data }) => {
|
|
20
20
|
const [{ prepareConfig }, { getAppUsageReport }, { requireFeature }] = await Promise.all([
|
|
21
|
-
import("./config.server-
|
|
21
|
+
import("./config.server-B_rXBeVR.mjs"),
|
|
22
22
|
import("./insightsUsage-COUG-_-U.mjs"),
|
|
23
23
|
import("./runtime.server-DsHqVqTr.mjs")
|
|
24
24
|
]);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
2
|
import { $ as ArrowLeft, X as ArrowUpRight, m as RotateCw } from "../_libs/lucide-react.mjs";
|
|
3
|
-
import { C as Skeleton, O as buttonVariants, t as Button$1 } from "./sidebar-
|
|
4
|
-
import { a as Badge, d as CardTitle, i as AlertTitle, l as CardFooter, o as Card, r as AlertDescription, s as CardContent, t as Alert, u as CardHeader } from "./badge-DOKRPSIV.mjs";
|
|
5
|
-
import { a as FieldLabel, t as Field } from "./field-DL4wTu7F.mjs";
|
|
6
|
-
import { i as useQuery } from "../_libs/tanstack__react-query.mjs";
|
|
3
|
+
import { C as Skeleton, O as buttonVariants, t as Button$1 } from "./sidebar-B_GDqHcb.mjs";
|
|
7
4
|
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
8
|
-
import { i as
|
|
9
|
-
import {
|
|
10
|
-
import { l as
|
|
11
|
-
import { a as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { n as
|
|
15
|
-
import { t as
|
|
16
|
-
|
|
5
|
+
import { i as useQuery } from "../_libs/tanstack__react-query.mjs";
|
|
6
|
+
import { i as EmptyHeader, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-0UVfn2Oa.mjs";
|
|
7
|
+
import { a as Badge, d as CardTitle, i as AlertTitle, l as CardFooter, o as Card, r as AlertDescription, s as CardContent, t as Alert, u as CardHeader } from "./badge-CsjpijFf.mjs";
|
|
8
|
+
import { a as FieldLabel, t as Field } from "./field-DQVx_tbZ.mjs";
|
|
9
|
+
import { n as InfoTooltip, o as validateInsightsSearch } from "./insights-search-CTKW2IGw.mjs";
|
|
10
|
+
import { l as useInsightsRetention, r as keepsTwelveMonths } from "./insights-api-CG-dVIiC.mjs";
|
|
11
|
+
import { a as SelectItem, i as SelectGroup, n as Select$1, o as SelectTrigger, r as SelectContent, s as SelectValue, t as PlatformIcon } from "./select-B-WYWlnd.mjs";
|
|
12
|
+
import { t as BundleIdDisplay } from "./BundleIdDisplay-Brv3HmMC.mjs";
|
|
13
|
+
import { n as getAppUsageReportRpc, t as Progress$1 } from "./insights-usage-rpc-C2LM8bPZ.mjs";
|
|
14
|
+
import { n as InsightsErrorAlert, o as UsagePeriodSelector, r as InsightsPageHeader, t as BuiltinBundleBadge } from "./InsightsPageHeader-DDj2xwD8.mjs";
|
|
15
|
+
import { t as Route } from "./insights_.distribution-TGxnjZi9.mjs";
|
|
16
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-CgOUh0Qr.js
|
|
17
17
|
var import_jsx_runtime = require_jsx_runtime();
|
|
18
18
|
var PAGE_SIZE = 20;
|
|
19
19
|
var dates = new Intl.DateTimeFormat("en", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DBgNuqZn.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-IhXVERQd.js
|
|
3
3
|
/** How a distribution row's bundle reads aloud. */
|
|
4
4
|
/** The bundle an app version's native build shipped, by its ID. */
|
|
5
5
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
|
-
import { r as requireConsoleFeature } from "./console-features-api-
|
|
3
|
-
import { a as validateDistributionSearch } from "./insights-search-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-
|
|
5
|
-
var $$splitComponentImporter = () => import("./insights_.distribution
|
|
6
|
-
var $$splitNotFoundComponentImporter = () => import("./insights_.distribution-
|
|
2
|
+
import { r as requireConsoleFeature } from "./console-features-api-BJvOz5xc.mjs";
|
|
3
|
+
import { a as validateDistributionSearch } from "./insights-search-CTKW2IGw.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/insights_.distribution-TGxnjZi9.js
|
|
5
|
+
var $$splitComponentImporter = () => import("./insights_.distribution-CgOUh0Qr.mjs");
|
|
6
|
+
var $$splitNotFoundComponentImporter = () => import("./insights_.distribution-IhXVERQd.mjs");
|
|
7
7
|
/** How a distribution row's bundle reads aloud. */
|
|
8
8
|
/** The bundle an app version's native build shipped, by its ID. */
|
|
9
9
|
var Route = createFileRoute("/insights_/distribution")({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/installations-
|
|
1
|
+
import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DBgNuqZn.mjs";
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/installations-D-ysze7n.js
|
|
3
3
|
var SplitNotFoundComponent = ConsoleFeatureUnavailable;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { SplitNotFoundComponent as notFoundComponent };
|