@burdenoff/microfe-bigconsole 2026.1118.9 → 2026.1119.1
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/bigconsole/asof/AsOfBanner.d.ts +3 -0
- package/dist/bigconsole/asof/AsOfBanner.js +38 -0
- package/dist/bigconsole/asof/AsOfControl.d.ts +4 -0
- package/dist/bigconsole/asof/AsOfControl.js +96 -0
- package/dist/bigconsole/asof/AsOfProvider.d.ts +24 -0
- package/dist/bigconsole/asof/AsOfProvider.js +76 -0
- package/dist/bigconsole/asof/asOfMessage.d.ts +12 -0
- package/dist/bigconsole/asof/asOfMessage.js +12 -0
- package/dist/bigconsole/asof/asOfParam.d.ts +48 -0
- package/dist/bigconsole/asof/asOfParam.js +34 -0
- package/dist/bigconsole/asof/index.d.ts +7 -0
- package/dist/bigconsole/asof/index.js +6 -0
- package/dist/bigconsole/components/dashboard/BoardMigrationReport.d.ts +7 -0
- package/dist/bigconsole/components/dashboard/BoardMigrationReport.js +136 -0
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js +142 -138
- package/dist/bigconsole/components/dashboard/DashboardToolbar.js +97 -92
- package/dist/bigconsole/components/dashboard/ImportFromToolDialog.d.ts +8 -0
- package/dist/bigconsole/components/dashboard/ImportFromToolDialog.js +464 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +78 -74
- package/dist/bigconsole/components/dashboard/index.d.ts +2 -0
- package/dist/bigconsole/components/dashboard/index.js +2 -0
- package/dist/bigconsole/components/widgets/WidgetMenu.js +98 -96
- package/dist/bigconsole/components/widgets/WidgetWrapper.js +345 -306
- package/dist/bigconsole/constants/backendErrors.js +1 -0
- package/dist/bigconsole/hooks/index.d.ts +1 -0
- package/dist/bigconsole/hooks/index.js +14 -13
- package/dist/bigconsole/hooks/useBoardMigrationPreview.d.ts +22 -0
- package/dist/bigconsole/hooks/useBoardMigrationPreview.js +62 -0
- package/dist/bigconsole/hooks/useFilterFieldValues.js +52 -22
- package/dist/bigconsole/hooks/useWidgetData.d.ts +7 -0
- package/dist/bigconsole/hooks/useWidgetData.js +53 -43
- package/dist/bigconsole/pages/DashboardViewPage.d.ts +7 -1
- package/dist/bigconsole/pages/DashboardViewPage.js +300 -278
- package/dist/bigconsole/pages/DashboardsPage.js +396 -376
- package/dist/bigconsole/pages/index.d.ts +1 -1
- package/dist/bigconsole/types/index.d.ts +13 -0
- package/dist/bigconsole/utils/backendError.js +46 -24
- package/dist/bigconsole/utils/boardMigration.d.ts +53 -0
- package/dist/bigconsole/utils/boardMigration.js +92 -0
- package/dist/bigconsole/utils/widgetDisplayData.d.ts +6 -0
- package/dist/bigconsole/utils/widgetDisplayData.js +4 -0
- package/dist/generated/wspace-operations.d.ts +116 -0
- package/dist/generated/wspace-operations.js +793 -183
- package/dist/generated/wspace-types.d.ts +78 -0
- package/dist/generated/wspace-types.js +12 -10
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export { OverviewPage } from './OverviewPage';
|
|
7
7
|
export { DashboardsPage } from './DashboardsPage';
|
|
8
|
-
export { DashboardViewPage } from './DashboardViewPage';
|
|
8
|
+
export { default as DashboardViewPage } from './DashboardViewPage';
|
|
9
9
|
export { DashboardBuilderPage } from './DashboardBuilderPage';
|
|
10
10
|
export { DataSourcesPage } from './DataSourcesPage';
|
|
11
11
|
export { InsightsPage } from './InsightsPage';
|
|
@@ -280,6 +280,19 @@ export interface WidgetData {
|
|
|
280
280
|
fetchedAt: string;
|
|
281
281
|
cached: boolean;
|
|
282
282
|
error?: string | null;
|
|
283
|
+
/** Set only on an as-of read (BOFF-14757): what version of the data and parser answered. */
|
|
284
|
+
asOf?: {
|
|
285
|
+
requestedAt: string;
|
|
286
|
+
historyAvailable: boolean;
|
|
287
|
+
reason?: string | null;
|
|
288
|
+
version?: number | null;
|
|
289
|
+
ingestedAt?: string | null;
|
|
290
|
+
parser?: {
|
|
291
|
+
versionNumber: number;
|
|
292
|
+
effectiveFrom: string;
|
|
293
|
+
exact: boolean;
|
|
294
|
+
} | null;
|
|
295
|
+
} | null;
|
|
283
296
|
}
|
|
284
297
|
export interface WidgetTypeInfo {
|
|
285
298
|
type: WidgetType;
|
|
@@ -1,40 +1,62 @@
|
|
|
1
|
+
import { BACKEND_ERROR_MESSAGES as e } from "../constants/backendErrors.js";
|
|
1
2
|
// src/bigconsole/utils/backendError.ts
|
|
2
|
-
function
|
|
3
|
+
function t(e) {
|
|
3
4
|
return typeof e == "object" && !!e;
|
|
4
5
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
function n(e) {
|
|
7
|
+
if (!t(e)) return typeof e == "string" ? { message: e } : {};
|
|
8
|
+
let n = e, r = Array.isArray(n.graphQLErrors) ? n.graphQLErrors : [];
|
|
9
|
+
for (let e of r) {
|
|
10
|
+
let t = e?.extensions?.code;
|
|
11
|
+
if (typeof t == "string" && t.length > 0) return {
|
|
12
|
+
code: t,
|
|
13
|
+
message: typeof e.message == "string" ? e.message : void 0
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
let i = e, a = i.extensions?.code, o = typeof i.message == "string" ? i.message : void 0;
|
|
17
|
+
return typeof a == "string" && a.length > 0 ? {
|
|
18
|
+
code: a,
|
|
19
|
+
message: o
|
|
20
|
+
} : { message: o };
|
|
21
|
+
}
|
|
22
|
+
function r(t, r) {
|
|
23
|
+
let { code: i, message: a } = n(r), o = (i ? e[i] : void 0) ?? a ?? "Something went wrong.";
|
|
24
|
+
return i ? t(`bigconsole.errors.${i}`, o) : o;
|
|
25
|
+
}
|
|
26
|
+
var i = 4;
|
|
27
|
+
function a(e) {
|
|
28
|
+
return Array.isArray(e) ? e.flatMap((e) => {
|
|
29
|
+
let n = t(e) && t(e.extensions) ? e.extensions.code : void 0;
|
|
8
30
|
return typeof n == "string" && n.length > 0 ? [n] : [];
|
|
9
31
|
}) : [];
|
|
10
32
|
}
|
|
11
|
-
function
|
|
12
|
-
if (typeof
|
|
33
|
+
function o(e) {
|
|
34
|
+
if (typeof e != "string" || e.length === 0) return [];
|
|
13
35
|
try {
|
|
14
|
-
let
|
|
15
|
-
return
|
|
36
|
+
let n = JSON.parse(e);
|
|
37
|
+
return t(n) ? a(n.errors) : [];
|
|
16
38
|
} catch {
|
|
17
39
|
return [];
|
|
18
40
|
}
|
|
19
41
|
}
|
|
20
|
-
function
|
|
21
|
-
let
|
|
22
|
-
if (!e
|
|
23
|
-
|
|
24
|
-
let
|
|
42
|
+
function s(e) {
|
|
43
|
+
let n = /* @__PURE__ */ new Set(), r = (e, s) => {
|
|
44
|
+
if (!t(e) || s > i || n.has(e)) return [];
|
|
45
|
+
n.add(e);
|
|
46
|
+
let c = t(e.extensions) ? e.extensions.code : void 0;
|
|
25
47
|
return [
|
|
26
|
-
...
|
|
27
|
-
...
|
|
28
|
-
...e
|
|
29
|
-
...
|
|
30
|
-
...typeof
|
|
31
|
-
...
|
|
32
|
-
...
|
|
48
|
+
...a(e.errors),
|
|
49
|
+
...a(e.graphQLErrors),
|
|
50
|
+
...t(e.result) ? a(e.result.errors) : [],
|
|
51
|
+
...o(e.bodyText),
|
|
52
|
+
...typeof c == "string" && c.length > 0 ? [c] : [],
|
|
53
|
+
...r(e.cause, s + 1),
|
|
54
|
+
...r(e.error, s + 1)
|
|
33
55
|
];
|
|
34
56
|
};
|
|
35
|
-
return [...new Set(
|
|
57
|
+
return [...new Set(r(e, 0))];
|
|
36
58
|
}
|
|
37
|
-
function
|
|
38
|
-
return
|
|
59
|
+
function c(e, t) {
|
|
60
|
+
return s(e).some((e) => t.has(e));
|
|
39
61
|
}
|
|
40
|
-
export {
|
|
62
|
+
export { s as graphQLErrorCodes, c as hasGraphQLErrorCode, r as resolveBackendErrorMessage };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Helpers for the "import from another tool" wizard (BOFF-14149).
|
|
3
|
+
*
|
|
4
|
+
* Kept free of React so the rules can be tested directly.
|
|
5
|
+
*/
|
|
6
|
+
/** The tools a board can be imported from. */
|
|
7
|
+
export type MigrationSourceId = 'METABASE' | 'TABLEAU' | 'POWER_BI';
|
|
8
|
+
export declare const MIGRATION_SOURCES: readonly MigrationSourceId[];
|
|
9
|
+
/** The ways reading the board JSON can fail, each with its own message. */
|
|
10
|
+
export type BoardJsonProblem = 'empty' | 'not-json' | 'not-object';
|
|
11
|
+
export type ParsedBoardJson = {
|
|
12
|
+
ok: true;
|
|
13
|
+
value: Record<string, unknown>;
|
|
14
|
+
} | {
|
|
15
|
+
ok: false;
|
|
16
|
+
problem: BoardJsonProblem;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Read the text a user pasted or uploaded. The board has to be one JSON object,
|
|
20
|
+
* which is what the source tool's API returns for a single dashboard.
|
|
21
|
+
*/
|
|
22
|
+
export declare function parseBoardJson(text: string): ParsedBoardJson;
|
|
23
|
+
/** A source URL is optional; blank means none. */
|
|
24
|
+
export declare function normalizeSourceUrl(value: string): string | undefined;
|
|
25
|
+
export type MigrationStatus = 'CLEAN' | 'APPROXIMATE' | 'UNSUPPORTED';
|
|
26
|
+
/** Badge variant for a status, using the design system's own variants. */
|
|
27
|
+
export declare function statusBadgeVariant(status: MigrationStatus): 'success' | 'warning' | 'destructive';
|
|
28
|
+
/** Whether the converted board can be imported as it is, with nothing to acknowledge. */
|
|
29
|
+
export declare function canImportWithoutAcknowledging(validation: {
|
|
30
|
+
isValid: boolean;
|
|
31
|
+
warnings: readonly unknown[];
|
|
32
|
+
}): boolean;
|
|
33
|
+
/** A Tableau workbook is sent as its XML text with the file name, minus the extension, as the name. */
|
|
34
|
+
export declare function buildTableauBoard(fileName: string, xml: string): Record<string, unknown>;
|
|
35
|
+
/** Whether a path inside a chosen folder is one of the three kinds of PBIR file the conversion reads. */
|
|
36
|
+
export declare function isPbirFile(path: string): boolean;
|
|
37
|
+
export type PowerBiProblem = 'no-pages' | 'not-json';
|
|
38
|
+
export type GatheredPowerBi = {
|
|
39
|
+
ok: true;
|
|
40
|
+
board: Record<string, unknown>;
|
|
41
|
+
} | {
|
|
42
|
+
ok: false;
|
|
43
|
+
problem: PowerBiProblem;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Gather a Power BI report in the PBIR folder format into the single document the
|
|
47
|
+
* service reads. `entries` are the files of a chosen folder with their relative
|
|
48
|
+
* paths (only those passing `isPbirFile` are looked at).
|
|
49
|
+
*/
|
|
50
|
+
export declare function gatherPowerBiBoard(entries: ReadonlyArray<{
|
|
51
|
+
path: string;
|
|
52
|
+
text: string;
|
|
53
|
+
}>): GatheredPowerBi;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// src/bigconsole/utils/boardMigration.ts
|
|
2
|
+
var e = [
|
|
3
|
+
"METABASE",
|
|
4
|
+
"TABLEAU",
|
|
5
|
+
"POWER_BI"
|
|
6
|
+
];
|
|
7
|
+
function t(e) {
|
|
8
|
+
if (e.trim() === "") return {
|
|
9
|
+
ok: !1,
|
|
10
|
+
problem: "empty"
|
|
11
|
+
};
|
|
12
|
+
let t;
|
|
13
|
+
try {
|
|
14
|
+
t = JSON.parse(e);
|
|
15
|
+
} catch {
|
|
16
|
+
return {
|
|
17
|
+
ok: !1,
|
|
18
|
+
problem: "not-json"
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
return typeof t != "object" || !t || Array.isArray(t) ? {
|
|
22
|
+
ok: !1,
|
|
23
|
+
problem: "not-object"
|
|
24
|
+
} : {
|
|
25
|
+
ok: !0,
|
|
26
|
+
value: Object.fromEntries(Object.entries(t))
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function n(e) {
|
|
30
|
+
let t = e.trim();
|
|
31
|
+
return t === "" ? void 0 : t;
|
|
32
|
+
}
|
|
33
|
+
function r(e) {
|
|
34
|
+
return e === "CLEAN" ? "success" : e === "APPROXIMATE" ? "warning" : "destructive";
|
|
35
|
+
}
|
|
36
|
+
function i(e) {
|
|
37
|
+
return e.isValid && e.warnings.length === 0;
|
|
38
|
+
}
|
|
39
|
+
function a(e, t) {
|
|
40
|
+
return {
|
|
41
|
+
name: e.replace(/\.twb$/i, ""),
|
|
42
|
+
workbook: t
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
var o = /(?:^|\/)definition\/pages\/([^/]+)\/page\.json$/, s = /(?:^|\/)definition\/pages\/([^/]+)\/visuals\/[^/]+\/visual\.json$/, c = /(?:^|\/)definition\/pages\/pages\.json$/;
|
|
46
|
+
function l(e) {
|
|
47
|
+
return o.test(e) || s.test(e) || c.test(e);
|
|
48
|
+
}
|
|
49
|
+
function u(e) {
|
|
50
|
+
try {
|
|
51
|
+
let t = JSON.parse(e);
|
|
52
|
+
return typeof t != "object" || !t || Array.isArray(t) ? null : Object.fromEntries(Object.entries(t));
|
|
53
|
+
} catch {
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
function d(e) {
|
|
58
|
+
let t = /* @__PURE__ */ new Map(), n = (e) => {
|
|
59
|
+
let n = t.get(e);
|
|
60
|
+
if (n) return n;
|
|
61
|
+
let r = {
|
|
62
|
+
page: null,
|
|
63
|
+
visuals: []
|
|
64
|
+
};
|
|
65
|
+
return t.set(e, r), r;
|
|
66
|
+
}, r, i = "";
|
|
67
|
+
for (let { path: t, text: a } of e) {
|
|
68
|
+
let e = o.exec(t), l = s.exec(t);
|
|
69
|
+
if (!e && !l && !c.test(t)) continue;
|
|
70
|
+
let d = u(a);
|
|
71
|
+
if (d === null) return {
|
|
72
|
+
ok: !1,
|
|
73
|
+
problem: "not-json"
|
|
74
|
+
};
|
|
75
|
+
e?.[1] ? n(e[1]).page = d : l?.[1] ? n(l[1]).visuals.push(d) : r = d.pageOrder;
|
|
76
|
+
let f = t.split("/")[0] ?? "";
|
|
77
|
+
i === "" && f !== "definition" && !f.endsWith(".json") && (i = f.replace(/\.Report$/i, ""));
|
|
78
|
+
}
|
|
79
|
+
let a = [...t.values()].filter((e) => e.page !== null);
|
|
80
|
+
return a.length === 0 ? {
|
|
81
|
+
ok: !1,
|
|
82
|
+
problem: "no-pages"
|
|
83
|
+
} : {
|
|
84
|
+
ok: !0,
|
|
85
|
+
board: {
|
|
86
|
+
name: i || "Power BI report",
|
|
87
|
+
pageOrder: r,
|
|
88
|
+
pages: a
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
export { e as MIGRATION_SOURCES, a as buildTableauBoard, i as canImportWithoutAcknowledging, d as gatherPowerBiBoard, l as isPbirFile, n as normalizeSourceUrl, t as parseBoardJson, r as statusBadgeVariant };
|
|
@@ -14,6 +14,12 @@ export declare function resolveWidgetDisplayData(input: {
|
|
|
14
14
|
mockSource?: boolean;
|
|
15
15
|
/** When set, an embedded sample must match this widget's shape to be used (BOFF-9994). */
|
|
16
16
|
widgetType?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The widget is shown as of a past time (BOFF-14757). Only the as-of read may
|
|
19
|
+
* supply data: the persisted (live) value and sample data would look like
|
|
20
|
+
* history and must never stand in for it.
|
|
21
|
+
*/
|
|
22
|
+
asOf?: boolean;
|
|
17
23
|
}): WidgetDisplayData;
|
|
18
24
|
/** Export the same resolved and filtered rows the renderer receives. */
|
|
19
25
|
export declare function widgetExportRows(value: unknown, widgetType?: string): Record<string, unknown>[] | null;
|
|
@@ -26,6 +26,10 @@ function a(e) {
|
|
|
26
26
|
return typeof e?.dataPath == "string" && e.dataPath.trim() !== "";
|
|
27
27
|
}
|
|
28
28
|
function o(o) {
|
|
29
|
+
if (o.asOf) return {
|
|
30
|
+
data: i(o.fetched, !a(o.config)),
|
|
31
|
+
isSample: !1
|
|
32
|
+
};
|
|
29
33
|
if (o.explicit !== void 0 && o.explicit !== null) return {
|
|
30
34
|
data: o.explicit,
|
|
31
35
|
isSample: !1
|
|
@@ -31,6 +31,47 @@ export type BigConsoleAnomalyDetectionMethod =
|
|
|
31
31
|
/** Mean ± (threshold × stddev); threshold defaults to 3. */
|
|
32
32
|
| 'ZSCORE';
|
|
33
33
|
export type BigConsoleAnomalyDirection = 'HIGH' | 'LOW';
|
|
34
|
+
/** Why an as-of read has no data. */
|
|
35
|
+
export type BigConsoleAsOfUnavailableReason =
|
|
36
|
+
/** The data source has no versioned history (for example it is not on the lake). */
|
|
37
|
+
'HISTORY_NOT_AVAILABLE'
|
|
38
|
+
/** The data source has history, but it starts after the requested time. */
|
|
39
|
+
| 'NO_DATA_AT_DATE'
|
|
40
|
+
/**
|
|
41
|
+
* The widget's parser is missing or inactive, so the historical rows cannot be
|
|
42
|
+
* shaped for the widget.
|
|
43
|
+
*/
|
|
44
|
+
| 'PARSER_UNAVAILABLE'
|
|
45
|
+
/**
|
|
46
|
+
* The data version has more rows than one read may load. It is refused rather than
|
|
47
|
+
* returned truncated, which would give wrong totals.
|
|
48
|
+
*/
|
|
49
|
+
| 'PAYLOAD_TOO_LARGE'
|
|
50
|
+
/** The history could not be read. */
|
|
51
|
+
| 'READ_FAILED';
|
|
52
|
+
/** What kind of source item a report row describes. */
|
|
53
|
+
export type BigConsoleBoardMigrationItemKind = 'FILTER' | 'WIDGET';
|
|
54
|
+
/** What kind of query a source card ran. */
|
|
55
|
+
export type BigConsoleBoardMigrationQueryKind = 'NATIVE' | 'STRUCTURED' | 'UNKNOWN';
|
|
56
|
+
/** The tool a board is imported from. */
|
|
57
|
+
export type BigConsoleBoardMigrationSource =
|
|
58
|
+
/** Metabase. Pass the JSON returned by GET /api/dashboard/:id. */
|
|
59
|
+
'METABASE'
|
|
60
|
+
/**
|
|
61
|
+
* Power BI. Pass `{ name, pageOrder, pages: [{ page, visuals }] }`, the PBIR
|
|
62
|
+
* `page.json` and `visual.json` files gathered into one document.
|
|
63
|
+
*/
|
|
64
|
+
| 'POWER_BI'
|
|
65
|
+
/** Tableau. Pass the .twb XML as a JSON string, or `{ name, workbook }`. */
|
|
66
|
+
| 'TABLEAU';
|
|
67
|
+
/** How well a source item carried over. */
|
|
68
|
+
export type BigConsoleBoardMigrationStatus =
|
|
69
|
+
/** Carried over, but something changed. The reason says what. */
|
|
70
|
+
'APPROXIMATE'
|
|
71
|
+
/** Carried over as it was. */
|
|
72
|
+
| 'CLEAN'
|
|
73
|
+
/** Has no BigConsole equivalent. A text placeholder keeps its place on the board. */
|
|
74
|
+
| 'UNSUPPORTED';
|
|
34
75
|
/** Input for cloning a dashboard */
|
|
35
76
|
export type BigConsoleCloneDashboardInput = {
|
|
36
77
|
/**
|
|
@@ -5082,6 +5123,51 @@ export type GetFilterPresetsQuery = {
|
|
|
5082
5123
|
updatedAt: string;
|
|
5083
5124
|
}>;
|
|
5084
5125
|
};
|
|
5126
|
+
export type PreviewBoardMigrationQueryVariables = Exact<{
|
|
5127
|
+
source: Types.BigConsoleBoardMigrationSource;
|
|
5128
|
+
boardJson: Record<string, unknown>;
|
|
5129
|
+
sourceUrl?: string | null | undefined;
|
|
5130
|
+
}>;
|
|
5131
|
+
export type PreviewBoardMigrationQuery = {
|
|
5132
|
+
previewBoardMigration: {
|
|
5133
|
+
definition: string;
|
|
5134
|
+
report: {
|
|
5135
|
+
sourceName: string;
|
|
5136
|
+
totalCount: number;
|
|
5137
|
+
cleanCount: number;
|
|
5138
|
+
approximateCount: number;
|
|
5139
|
+
unsupportedCount: number;
|
|
5140
|
+
warnings: Array<string>;
|
|
5141
|
+
items: Array<{
|
|
5142
|
+
kind: Types.BigConsoleBoardMigrationItemKind;
|
|
5143
|
+
title: string;
|
|
5144
|
+
sourceType: string;
|
|
5145
|
+
status: Types.BigConsoleBoardMigrationStatus;
|
|
5146
|
+
targetType: string;
|
|
5147
|
+
reason: string | null;
|
|
5148
|
+
page: string | null;
|
|
5149
|
+
}>;
|
|
5150
|
+
dataNeeds: Array<{
|
|
5151
|
+
widgetTitle: string;
|
|
5152
|
+
page: string;
|
|
5153
|
+
queryKind: Types.BigConsoleBoardMigrationQueryKind;
|
|
5154
|
+
summary: string;
|
|
5155
|
+
}>;
|
|
5156
|
+
};
|
|
5157
|
+
validation: {
|
|
5158
|
+
isValid: boolean;
|
|
5159
|
+
errors: Array<{
|
|
5160
|
+
code: string;
|
|
5161
|
+
message: string;
|
|
5162
|
+
}>;
|
|
5163
|
+
warnings: Array<{
|
|
5164
|
+
code: string;
|
|
5165
|
+
message: string;
|
|
5166
|
+
suggestion: string | null;
|
|
5167
|
+
}>;
|
|
5168
|
+
};
|
|
5169
|
+
};
|
|
5170
|
+
};
|
|
5085
5171
|
export type NarrativeFieldsFragment = {
|
|
5086
5172
|
id: string;
|
|
5087
5173
|
kind: Types.BigConsoleNarrativeKind;
|
|
@@ -7640,6 +7726,34 @@ export type GetWidgetActionsQuery = {
|
|
|
7640
7726
|
} | null;
|
|
7641
7727
|
}>;
|
|
7642
7728
|
};
|
|
7729
|
+
export type GetWidgetDataAsOfQueryVariables = Exact<{
|
|
7730
|
+
id: string | number;
|
|
7731
|
+
asOf: string;
|
|
7732
|
+
}>;
|
|
7733
|
+
export type GetWidgetDataAsOfQuery = {
|
|
7734
|
+
getWidget: {
|
|
7735
|
+
id: string;
|
|
7736
|
+
data: {
|
|
7737
|
+
raw: Record<string, unknown>;
|
|
7738
|
+
processed: Record<string, unknown>;
|
|
7739
|
+
fetchedAt: string;
|
|
7740
|
+
cached: boolean;
|
|
7741
|
+
error: string | null;
|
|
7742
|
+
asOf: {
|
|
7743
|
+
requestedAt: string;
|
|
7744
|
+
historyAvailable: boolean;
|
|
7745
|
+
reason: Types.BigConsoleAsOfUnavailableReason | null;
|
|
7746
|
+
version: number | null;
|
|
7747
|
+
ingestedAt: string | null;
|
|
7748
|
+
parser: {
|
|
7749
|
+
versionNumber: number;
|
|
7750
|
+
effectiveFrom: string;
|
|
7751
|
+
exact: boolean;
|
|
7752
|
+
} | null;
|
|
7753
|
+
} | null;
|
|
7754
|
+
} | null;
|
|
7755
|
+
} | null;
|
|
7756
|
+
};
|
|
7643
7757
|
export type GetWidgetDrilldownTargetQueryVariables = Exact<{
|
|
7644
7758
|
widgetId: string | number;
|
|
7645
7759
|
}>;
|
|
@@ -8643,6 +8757,7 @@ export declare const UpdateFilterPresetDocument: DocumentNode<UpdateFilterPreset
|
|
|
8643
8757
|
export declare const GetDefaultFilterPresetDocument: DocumentNode<GetDefaultFilterPresetQuery, GetDefaultFilterPresetQueryVariables>;
|
|
8644
8758
|
export declare const GetFilterPresetDocument: DocumentNode<GetFilterPresetQuery, GetFilterPresetQueryVariables>;
|
|
8645
8759
|
export declare const GetFilterPresetsDocument: DocumentNode<GetFilterPresetsQuery, GetFilterPresetsQueryVariables>;
|
|
8760
|
+
export declare const PreviewBoardMigrationDocument: DocumentNode<PreviewBoardMigrationQuery, PreviewBoardMigrationQueryVariables>;
|
|
8646
8761
|
export declare const ExplainDashboardDocument: DocumentNode<ExplainDashboardQuery, ExplainDashboardQueryVariables>;
|
|
8647
8762
|
export declare const ExplainWidgetDocument: DocumentNode<ExplainWidgetQuery, ExplainWidgetQueryVariables>;
|
|
8648
8763
|
export declare const LatestDashboardDigestDocument: DocumentNode<LatestDashboardDigestQuery, LatestDashboardDigestQueryVariables>;
|
|
@@ -8711,6 +8826,7 @@ export declare const GetEventWebhookMappingDocument: DocumentNode<GetEventWebhoo
|
|
|
8711
8826
|
export declare const GetLegacyWidgetTypesDocument: DocumentNode<GetLegacyWidgetTypesQuery, GetLegacyWidgetTypesQueryVariables>;
|
|
8712
8827
|
export declare const GetWidgetDocument: DocumentNode<GetWidgetQuery, GetWidgetQueryVariables>;
|
|
8713
8828
|
export declare const GetWidgetActionsDocument: DocumentNode<GetWidgetActionsQuery, GetWidgetActionsQueryVariables>;
|
|
8829
|
+
export declare const GetWidgetDataAsOfDocument: DocumentNode<GetWidgetDataAsOfQuery, GetWidgetDataAsOfQueryVariables>;
|
|
8714
8830
|
export declare const GetWidgetDrilldownTargetDocument: DocumentNode<GetWidgetDrilldownTargetQuery, GetWidgetDrilldownTargetQueryVariables>;
|
|
8715
8831
|
export declare const GetWidgetTypesDocument: DocumentNode<GetWidgetTypesQuery, GetWidgetTypesQueryVariables>;
|
|
8716
8832
|
export declare const GetWidgetWithDataDocument: DocumentNode<GetWidgetWithDataQuery, GetWidgetWithDataQueryVariables>;
|