@burdenoff/microfe-bigconsole 2026.1103.9 → 2026.1103.10
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.
|
@@ -45,4 +45,18 @@ export declare function getWidgetBindingStatus({ binding, loading, error, previe
|
|
|
45
45
|
status: WidgetBindingStatus;
|
|
46
46
|
missingFields: string[];
|
|
47
47
|
};
|
|
48
|
+
interface ParserTestResult {
|
|
49
|
+
success: boolean;
|
|
50
|
+
output?: unknown;
|
|
51
|
+
error?: string | null;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* What the Data tab shows for a parser test (BOFF-10172): the output when it
|
|
55
|
+
* ran, otherwise the parser's own error, so a failing binding says so every
|
|
56
|
+
* time the tab opens and not only right after the parser was picked.
|
|
57
|
+
*/
|
|
58
|
+
export declare function parserTestOutcome(result: ParserTestResult | null, fallbackError: string): {
|
|
59
|
+
preview?: unknown;
|
|
60
|
+
error: string | null;
|
|
61
|
+
};
|
|
48
62
|
export {};
|
|
@@ -115,5 +115,11 @@ function d({ binding: e, loading: t = !1, error: n, preview: r, previewComplete:
|
|
|
115
115
|
missingFields: []
|
|
116
116
|
} : u(e, Array.isArray(r) ? r[0] : r);
|
|
117
117
|
}
|
|
118
|
+
function f(e, t) {
|
|
119
|
+
return e?.success ? {
|
|
120
|
+
preview: e.output,
|
|
121
|
+
error: null
|
|
122
|
+
} : { error: e?.error || t };
|
|
123
|
+
}
|
|
118
124
|
//#endregion
|
|
119
|
-
export { o as getBindingForWidget, a as getWidgetBinding, d as getWidgetBindingStatus, s as reconcilePanelConfig, l as resolveBindingPath, c as serializeWidgetBinding, u as validateWidgetBinding };
|
|
125
|
+
export { o as getBindingForWidget, a as getWidgetBinding, d as getWidgetBindingStatus, f as parserTestOutcome, s as reconcilePanelConfig, l as resolveBindingPath, c as serializeWidgetBinding, u as validateWidgetBinding };
|