@fallen-8/studio 0.0.34 → 0.0.35
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/dist-lib/{cssMode-DYrO7mzE.js → cssMode-C_3o84wD.js} +1 -1
- package/dist-lib/f8-studio.js +1 -1
- package/dist-lib/{freemarker2-DwJ7Gnp5.js → freemarker2-2fqgZiA6.js} +1 -1
- package/dist-lib/{handlebars-WBN0RoUy.js → handlebars-CpHr0qpx.js} +1 -1
- package/dist-lib/{html-CSlk2JAN.js → html-Bug9RG5l.js} +1 -1
- package/dist-lib/{htmlMode-DJM01mlt.js → htmlMode-Ml4537rc.js} +1 -1
- package/dist-lib/{index-Bos9nOk4.js → index-B9b5xEwe.js} +11517 -11462
- package/dist-lib/{javascript-0lm5wWDk.js → javascript-DvuxCyB4.js} +1 -1
- package/dist-lib/{jsonMode-B31ZDaaW.js → jsonMode-BU3w8kmM.js} +1 -1
- package/dist-lib/{liquid-H4Ky5pbN.js → liquid-r_J0hX64.js} +1 -1
- package/dist-lib/{mdx-CE9-t0EL.js → mdx-5vg3Qy8b.js} +1 -1
- package/dist-lib/{python-jjz-2Uc2.js → python-DlLCDuTf.js} +1 -1
- package/dist-lib/{razor-CdP7MM4C.js → razor-D-OmEXY0.js} +1 -1
- package/dist-lib/{tsMode-RcVDJfHg.js → tsMode-Dophy2cR.js} +1 -1
- package/dist-lib/types/components/InstanceHealth.d.ts +23 -0
- package/dist-lib/types/lib/namespaceTotals.d.ts +47 -0
- package/dist-lib/{typescript-BVlrrfJR.js → typescript-oqqsXxrY.js} +1 -1
- package/dist-lib/{xml-C__t96fk.js → xml-pmqwhaBA.js} +1 -1
- package/dist-lib/{yaml-DS5TUYqz.js → yaml-DN1I59zm.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as Et } from "./index-
|
|
1
|
+
import { m as Et } from "./index-B9b5xEwe.js";
|
|
2
2
|
var Lt = Object.defineProperty, Ot = Object.getOwnPropertyDescriptor, Nt = Object.getOwnPropertyNames, Rt = Object.prototype.hasOwnProperty, Mt = (e, r, i, n) => {
|
|
3
3
|
if (r && typeof r == "object" || typeof r == "function")
|
|
4
4
|
for (let t of Nt(r))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as l } from "./index-
|
|
1
|
+
import { m as l } from "./index-B9b5xEwe.js";
|
|
2
2
|
var d = Object.defineProperty, s = Object.getOwnPropertyDescriptor, c = Object.getOwnPropertyNames, u = Object.prototype.hasOwnProperty, m = (t, e, r, n) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let i of c(e))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as s } from "./index-
|
|
1
|
+
import { m as s } from "./index-B9b5xEwe.js";
|
|
2
2
|
var d = Object.defineProperty, c = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, a = Object.prototype.hasOwnProperty, k = (n, e, i, r) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let o of p(e))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as o } from "./index-
|
|
1
|
+
import { m as o } from "./index-B9b5xEwe.js";
|
|
2
2
|
var a = Object.defineProperty, l = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, c = Object.prototype.hasOwnProperty, g = (t, e, n, s) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let r of p(e))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m } from "./index-
|
|
1
|
+
import { m } from "./index-B9b5xEwe.js";
|
|
2
2
|
var s = Object.defineProperty, c = Object.getOwnPropertyDescriptor, l = Object.getOwnPropertyNames, d = Object.prototype.hasOwnProperty, p = (t, e, o, n) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let r of l(e))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as O, m as I } from "./index-
|
|
1
|
+
import { t as O, m as I } from "./index-B9b5xEwe.js";
|
|
2
2
|
var N = Object.defineProperty, M = Object.getOwnPropertyDescriptor, R = Object.getOwnPropertyNames, K = Object.prototype.hasOwnProperty, E = (e, t, i, o) => {
|
|
3
3
|
if (t && typeof t == "object" || typeof t == "function")
|
|
4
4
|
for (let n of R(t))
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { InstanceConfig } from "../instances/types";
|
|
2
|
+
/**
|
|
3
|
+
* The health cell of an Instances row (feature instance-level-health). An instance is a COLLECTION
|
|
4
|
+
* of namespaces, so this cell reports the collection; the per-namespace view is the Namespaces
|
|
5
|
+
* panel one section below.
|
|
6
|
+
*
|
|
7
|
+
* Two requests, each answering the question only it can:
|
|
8
|
+
*
|
|
9
|
+
* - `/status` is the PROBE. It is the one `[AllowAnonymous]` route, so it is the only thing that can
|
|
10
|
+
* tell "unreachable" from "unauthorized" on a key-secured instance. Its counts, though, are
|
|
11
|
+
* namespace-scoped, and this row addresses instances it has not activated, so unbound means they
|
|
12
|
+
* are the reserved `default` alone: reporting them as the instance is the defect this component
|
|
13
|
+
* was rewritten to remove.
|
|
14
|
+
* - `/ns` is the SIZE: the only route that reports every namespace. It is not anonymous, so it is
|
|
15
|
+
* fetched only once the probe says the credential is good, and the row never fires a request it
|
|
16
|
+
* knows will 401.
|
|
17
|
+
*
|
|
18
|
+
* The probe's counts survive as the two degraded readings only, both labelled for what they are
|
|
19
|
+
* (see `describeWholeGraph` / `describeDefaultOnly`).
|
|
20
|
+
*/
|
|
21
|
+
export declare function InstanceHealth({ instance }: {
|
|
22
|
+
instance: InstanceConfig;
|
|
23
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { NamespaceEntry } from "../api/types";
|
|
2
|
+
/**
|
|
3
|
+
* Instance-level size, summed over the namespace inventory (feature instance-level-health): an
|
|
4
|
+
* INSTANCE is a collection of namespaces, so a number that describes one must cover all of them.
|
|
5
|
+
* The rules that make this honest live here rather than in the component that renders them.
|
|
6
|
+
*/
|
|
7
|
+
export interface NamespaceTotals {
|
|
8
|
+
/** Inventory size. Exact: `GET /ns` lists the catalog, not the residency filter. */
|
|
9
|
+
namespaces: number;
|
|
10
|
+
/**
|
|
11
|
+
* Summed over the entries that report counts, or null when NONE does. Never a stand-in zero:
|
|
12
|
+
* a namespace this server did not load reports null (feature namespace-startup-load), and
|
|
13
|
+
* folding that into the sum as 0 would claim an empty graph over data still on disk.
|
|
14
|
+
*/
|
|
15
|
+
vertices: number | null;
|
|
16
|
+
/** Summed like {@link vertices}. */
|
|
17
|
+
edges: number | null;
|
|
18
|
+
/** How many entries reported no counts, i.e. how much the sums are missing. */
|
|
19
|
+
unreported: number;
|
|
20
|
+
}
|
|
21
|
+
/** A rendered total: the cell's text, plus the tooltip that states which namespaces it covers. */
|
|
22
|
+
export interface TotalsDisplay {
|
|
23
|
+
label: string;
|
|
24
|
+
title: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Sums an inventory. An entry counts as reporting only when BOTH counts are numbers - the server
|
|
28
|
+
* moves them together (both null for a namespace it did not load), and a half-reported entry is
|
|
29
|
+
* unknown either way, so it belongs in `unreported` rather than in a sum of one dimension.
|
|
30
|
+
*/
|
|
31
|
+
export declare function summarizeInventory(entries: NamespaceEntry[]): NamespaceTotals;
|
|
32
|
+
/**
|
|
33
|
+
* The instance total: `N ns · V v · E e`. The tooltip always names the scope, because the bug this
|
|
34
|
+
* replaced was a count whose scope was unstated (it silently meant the reserved `default`).
|
|
35
|
+
*/
|
|
36
|
+
export declare function describeTotals(totals: NamespaceTotals): TotalsDisplay;
|
|
37
|
+
/**
|
|
38
|
+
* A server that predates namespaces (`GET /ns` 404s): its bare routes ARE the whole graph, so the
|
|
39
|
+
* probe's counts are already instance-level and carry no `ns` segment.
|
|
40
|
+
*/
|
|
41
|
+
export declare function describeWholeGraph(vertices: number | null, edges: number | null): TotalsDisplay;
|
|
42
|
+
/**
|
|
43
|
+
* The degraded reading: the inventory could not be read, so all we have is the probe, which is
|
|
44
|
+
* namespace-scoped and aliases `default`. The label SAYS `default:` rather than passing one
|
|
45
|
+
* namespace off as the instance - that substitution is the defect this feature exists to remove.
|
|
46
|
+
*/
|
|
47
|
+
export declare function describeDefaultOnly(vertices: number | null, edges: number | null, reason: string): TotalsDisplay;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as s } from "./index-
|
|
1
|
+
import { m as s } from "./index-B9b5xEwe.js";
|
|
2
2
|
var c = Object.defineProperty, a = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, g = Object.prototype.hasOwnProperty, l = (t, e, o, i) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let n of p(e))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as r } from "./index-
|
|
1
|
+
import { m as r } from "./index-B9b5xEwe.js";
|
|
2
2
|
var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor, l = Object.getOwnPropertyNames, d = Object.prototype.hasOwnProperty, p = (t, e, o, i) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let n of l(e))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as l } from "./index-
|
|
1
|
+
import { m as l } from "./index-B9b5xEwe.js";
|
|
2
2
|
var i = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = Object.getOwnPropertyNames, s = Object.prototype.hasOwnProperty, d = (n, e, r, o) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let t of u(e))
|
package/package.json
CHANGED