@fallen-8/studio 0.0.40 → 0.0.41
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-DcJKqlDO.js → cssMode-D1NlzDPx.js} +1 -1
- package/dist-lib/f8-studio.css +1 -1
- package/dist-lib/f8-studio.js +1 -1
- package/dist-lib/{freemarker2-CqsXfxrG.js → freemarker2-CrBRvGKg.js} +1 -1
- package/dist-lib/{handlebars-CWuq8civ.js → handlebars-W5SMQqxd.js} +1 -1
- package/dist-lib/{html-DXVjXiYh.js → html-DZTQl6sO.js} +1 -1
- package/dist-lib/{htmlMode-vc43Xi32.js → htmlMode-CmIqWW38.js} +1 -1
- package/dist-lib/{index-bm1ERcEP.js → index-CvTaRCl2.js} +9329 -9345
- package/dist-lib/{javascript-BAw14QCv.js → javascript-CC1plgfU.js} +1 -1
- package/dist-lib/{jsonMode-BgO9x6Pt.js → jsonMode-Dgapx20x.js} +1 -1
- package/dist-lib/{liquid-BORLQ9T_.js → liquid-CJtd-_PM.js} +1 -1
- package/dist-lib/{mdx-DjAZ-OHO.js → mdx-DklMLbYP.js} +1 -1
- package/dist-lib/{python-DSG-Ns6E.js → python-Bv0mXIds.js} +1 -1
- package/dist-lib/{razor-BhXgviY9.js → razor-BpSZBTCI.js} +1 -1
- package/dist-lib/{tsMode--dsrDMOH.js → tsMode-BeQ9glnY.js} +1 -1
- package/dist-lib/types/state/namespaces.d.ts +34 -0
- package/dist-lib/{typescript-CN4PnAKf.js → typescript-xZxa-xcs.js} +1 -1
- package/dist-lib/{xml-BgTKhrv7.js → xml-jUj0aviS.js} +1 -1
- package/dist-lib/{yaml-CDTzHXpW.js → yaml-BrunG_a8.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-CvTaRCl2.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-CvTaRCl2.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-CvTaRCl2.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-CvTaRCl2.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-CvTaRCl2.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-CvTaRCl2.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,34 @@
|
|
|
1
|
+
import type { InstanceConfig } from "../instances/types";
|
|
2
|
+
/**
|
|
3
|
+
* The key the shared /ns cache entry lives under, exported because several sites INVALIDATE it and
|
|
4
|
+
* not all of them are in a position to hold the hook. state/liveFeed.ts is a plain factory over a
|
|
5
|
+
* queryClient and debounces by key rather than calling invalidateQueries at all, and
|
|
6
|
+
* NamespaceSwitcher takes its entries as a prop; a hook-returned callback would force both to
|
|
7
|
+
* mount an observer they do not want. So the KEY is the shared thing, and this is its one home.
|
|
8
|
+
*
|
|
9
|
+
* Takes the instance id as a string rather than an InstanceConfig, because liveFeed has already
|
|
10
|
+
* stripped a bound view's /{namespace} suffix down to the raw id. undefined is accepted so the
|
|
11
|
+
* sites holding a nullable instance produce byte-identical keys to the ones they used before.
|
|
12
|
+
*/
|
|
13
|
+
export declare const namespacesKey: (instanceId: string | undefined) => readonly [string | undefined, "namespaces"];
|
|
14
|
+
/**
|
|
15
|
+
* The shared namespace inventory (feature graph-namespaces): one cache row and one poll, read by
|
|
16
|
+
* the app shell, the namespace scope, the Connect panel and each registered instance's health row.
|
|
17
|
+
*
|
|
18
|
+
* The inventory is Fallen-8-level, so it is keyed by the RAW instance id rather than per namespace,
|
|
19
|
+
* and every observer of that key rides one request instead of adding its own. It was four
|
|
20
|
+
* definitions of the same query before, agreeing on the key, the poll and the retry and disagreeing
|
|
21
|
+
* on when to ask.
|
|
22
|
+
*
|
|
23
|
+
* `enabled` NARROWS and never widens: it is ANDed with the instance being present, so no caller can
|
|
24
|
+
* hand listNamespaces a null. Each site's own predicate stays that site's business and is passed
|
|
25
|
+
* in, because react-query takes the fetch decision from whichever observer is mounted, and two of
|
|
26
|
+
* the four are the ONLY observer of this key on the routes they render on. Their gates therefore
|
|
27
|
+
* decide whether a request happens at all, not merely when, which is why they are not defaults:
|
|
28
|
+
* the app shell is alone on the routes that hang off the root rather than off a namespace, and an
|
|
29
|
+
* instance health row renders for every registered instance including the ones nothing else
|
|
30
|
+
* observes.
|
|
31
|
+
*/
|
|
32
|
+
export declare function useNamespaces(instance: InstanceConfig | null, options?: {
|
|
33
|
+
enabled?: boolean;
|
|
34
|
+
}): import("@tanstack/react-query").UseQueryResult<NoInfer<import("../api/types").NamespacesResponse | null>, Error>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as s } from "./index-
|
|
1
|
+
import { m as s } from "./index-CvTaRCl2.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-CvTaRCl2.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-CvTaRCl2.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