@continuous-excellence/ze-great-dashboard-aws 0.27.11 → 0.27.13
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/cli.js +2 -0
- package/dist/index.js +2 -0
- package/dist/lambda.mjs +9 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -78,6 +78,8 @@ var httpValueFactSchema = z2.object({
|
|
|
78
78
|
/** Stable address below the panel; labels and ordering may change without repointing it. */
|
|
79
79
|
id: z2.string().min(1),
|
|
80
80
|
label: z2.string().min(1),
|
|
81
|
+
/** Public destination; the proxy continues to read only `url`. */
|
|
82
|
+
link: z2.url().optional(),
|
|
81
83
|
url: z2.url(),
|
|
82
84
|
json_path: httpValueJsonPathSchema.optional()
|
|
83
85
|
});
|
package/dist/index.js
CHANGED
|
@@ -759,6 +759,8 @@ var httpValueFactSchema = z2.object({
|
|
|
759
759
|
/** Stable address below the panel; labels and ordering may change without repointing it. */
|
|
760
760
|
id: z2.string().min(1),
|
|
761
761
|
label: z2.string().min(1),
|
|
762
|
+
/** Public destination; the proxy continues to read only `url`. */
|
|
763
|
+
link: z2.url().optional(),
|
|
762
764
|
url: z2.url(),
|
|
763
765
|
json_path: httpValueJsonPathSchema.optional()
|
|
764
766
|
});
|
package/dist/lambda.mjs
CHANGED
|
@@ -68992,6 +68992,8 @@ var httpValueFactSchema = external_exports.object({
|
|
|
68992
68992
|
/** Stable address below the panel; labels and ordering may change without repointing it. */
|
|
68993
68993
|
id: external_exports.string().min(1),
|
|
68994
68994
|
label: external_exports.string().min(1),
|
|
68995
|
+
/** Public destination; the proxy continues to read only `url`. */
|
|
68996
|
+
link: external_exports.url().optional(),
|
|
68995
68997
|
url: external_exports.url(),
|
|
68996
68998
|
json_path: httpValueJsonPathSchema.optional()
|
|
68997
68999
|
});
|
|
@@ -70612,7 +70614,13 @@ async function fetchHttpValueFact(args) {
|
|
|
70612
70614
|
const fact = httpValueFact(args.panel, args.factId);
|
|
70613
70615
|
if (!fact) throw new Error(`http-value fact "${args.factId}" is not configured`);
|
|
70614
70616
|
return fetchHttpValue({
|
|
70615
|
-
panel: {
|
|
70617
|
+
panel: {
|
|
70618
|
+
id: args.panel.id,
|
|
70619
|
+
type: "http-value",
|
|
70620
|
+
url: fact.url,
|
|
70621
|
+
json_path: fact.json_path,
|
|
70622
|
+
link: fact.link
|
|
70623
|
+
},
|
|
70616
70624
|
requestHeaders: args.requestHeaders,
|
|
70617
70625
|
fetcher: args.fetcher
|
|
70618
70626
|
});
|
package/package.json
CHANGED