@burdenoff/microfe-bigconsole 2026.1123.7 → 2026.1124.2

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.
Files changed (109) hide show
  1. package/dist/bigconsole/asof/AsOfControl.js +2 -2
  2. package/dist/bigconsole/components/dashboard/DashboardCommentsDrawer.js +107 -106
  3. package/dist/bigconsole/components/dashboard/DashboardGalleryCard.d.ts +34 -0
  4. package/dist/bigconsole/components/dashboard/DashboardGalleryCard.js +123 -0
  5. package/dist/bigconsole/components/dashboard/DashboardReviewDialog.js +1 -1
  6. package/dist/bigconsole/components/dashboard/DashboardStatusPill.js +19 -35
  7. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +119 -116
  8. package/dist/bigconsole/components/dashboard/LiveCanvasToggle.js +1 -1
  9. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.d.ts +0 -1
  10. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +172 -170
  11. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +210 -208
  12. package/dist/bigconsole/components/dashboard/TemplateInstallOptions.js +97 -97
  13. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -0
  14. package/dist/bigconsole/components/datasink/AlertExecutionHistory.js +92 -92
  15. package/dist/bigconsole/components/datasink/AlertRuleEditor.js +149 -149
  16. package/dist/bigconsole/components/datasink/AnomalyDetectorPanel.js +54 -54
  17. package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js +30 -37
  18. package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +4 -4
  19. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +130 -129
  20. package/dist/bigconsole/components/datasink/SetupStateBadge.js +24 -33
  21. package/dist/bigconsole/components/datasink/SinkWorkflowLinkForm.js +38 -38
  22. package/dist/bigconsole/components/explore/CreateQueryWidget.js +57 -56
  23. package/dist/bigconsole/components/explore/SqlDraftEditor.js +140 -140
  24. package/dist/bigconsole/components/explore/VisualBuilder.js +85 -84
  25. package/dist/bigconsole/components/explore/queryAccess/GrantsPanel.js +168 -167
  26. package/dist/bigconsole/components/explore/queryAccess/QueryAccessAdmin.js +2 -2
  27. package/dist/bigconsole/components/explore/queryAccess/RelationEditor.js +118 -117
  28. package/dist/bigconsole/components/fleet/FleetChildrenPanel.d.ts +4 -0
  29. package/dist/bigconsole/components/fleet/FleetChildrenPanel.js +174 -184
  30. package/dist/bigconsole/components/fleet/FleetCopySection.d.ts +13 -0
  31. package/dist/bigconsole/components/fleet/FleetCopySection.js +266 -0
  32. package/dist/bigconsole/components/insights/BoardLintPanel.js +2 -2
  33. package/dist/bigconsole/components/insights/OutlierSpottingDialog.js +123 -123
  34. package/dist/bigconsole/components/kpi-change/KpiChangePanel.js +2 -2
  35. package/dist/bigconsole/components/narrative/NarrativePanel.js +1 -1
  36. package/dist/bigconsole/components/overview/DataHealthCard.js +3 -0
  37. package/dist/bigconsole/components/overview/RecentDashboardsPanel.js +3 -0
  38. package/dist/bigconsole/components/parser/ParserStatusBadge.js +25 -28
  39. package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +23 -22
  40. package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js +15 -26
  41. package/dist/bigconsole/components/reconcile/KpiReconcileDialog.js +24 -24
  42. package/dist/bigconsole/components/settings/WidgetCatalogSection.js +1 -1
  43. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +188 -187
  44. package/dist/bigconsole/components/widgets/FilterNotAppliedNotice.js +1 -1
  45. package/dist/bigconsole/components/widgets/UnsupportedDataSourceNotice.js +1 -1
  46. package/dist/bigconsole/components/widgets/WidgetCompareView.js +3 -1
  47. package/dist/bigconsole/components/widgets/WidgetHeader.js +1 -1
  48. package/dist/bigconsole/components/widgets/advanced/AdvancedWidgetConfig.js +45 -44
  49. package/dist/bigconsole/components/widgets/chart/ChartConfig.js +151 -147
  50. package/dist/bigconsole/components/widgets/chart/ReferenceLinesEditor.js +48 -47
  51. package/dist/bigconsole/components/widgets/comments/WidgetComments.js +1 -1
  52. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +139 -138
  53. package/dist/bigconsole/components/widgets/form/FormWidget.js +149 -148
  54. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +80 -77
  55. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +58 -56
  56. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +75 -73
  57. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +86 -85
  58. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +80 -77
  59. package/dist/bigconsole/components/widgets/retention/RetentionView.js +1 -1
  60. package/dist/bigconsole/components/widgets/table/TableConfig.js +214 -211
  61. package/dist/bigconsole/components/widgets/table/TablePagination.js +59 -58
  62. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +140 -138
  63. package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js +74 -66
  64. package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +48 -48
  65. package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js +28 -37
  66. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +69 -69
  67. package/dist/bigconsole/hooks/useDashboardListQuery.d.ts +22 -0
  68. package/dist/bigconsole/hooks/useDashboardListQuery.js +39 -0
  69. package/dist/bigconsole/hooks/useFleetBreadcrumb.d.ts +8 -1
  70. package/dist/bigconsole/hooks/useFleetBreadcrumb.js +4 -1
  71. package/dist/bigconsole/hooks/useFleetChildren.d.ts +2 -0
  72. package/dist/bigconsole/hooks/useFleetChildren.js +10 -6
  73. package/dist/bigconsole/hooks/useFleetCopyActions.d.ts +23 -0
  74. package/dist/bigconsole/hooks/useFleetCopyActions.js +74 -0
  75. package/dist/bigconsole/hooks/useFleetFlags.d.ts +16 -0
  76. package/dist/bigconsole/hooks/useFleetFlags.js +79 -0
  77. package/dist/bigconsole/hooks/useOwnerBoundRun.d.ts +33 -0
  78. package/dist/bigconsole/hooks/useOwnerBoundRun.js +41 -0
  79. package/dist/bigconsole/pages/AdminPage.js +147 -146
  80. package/dist/bigconsole/pages/DashboardViewPage.js +292 -287
  81. package/dist/bigconsole/pages/DashboardsPage.js +647 -864
  82. package/dist/bigconsole/pages/DataParsersPage.js +5 -0
  83. package/dist/bigconsole/pages/DataSinkBuilderPage.js +4 -1
  84. package/dist/bigconsole/pages/DataSinkViewPage.js +263 -261
  85. package/dist/bigconsole/pages/DataSinksPage.js +210 -186
  86. package/dist/bigconsole/pages/InsightsPage.js +386 -383
  87. package/dist/bigconsole/pages/ParserBuilderPage.js +413 -413
  88. package/dist/bigconsole/pages/ParserViewPage.js +2 -0
  89. package/dist/bigconsole/pages/PipelineBuilderPage.js +279 -276
  90. package/dist/bigconsole/pages/PipelineViewPage.js +3 -0
  91. package/dist/bigconsole/pages/PipelinesPage.js +198 -165
  92. package/dist/bigconsole/pages/SettingsPage.js +160 -160
  93. package/dist/bigconsole/pages/WidgetDemoPage.js +2 -0
  94. package/dist/bigconsole/pages/WorkflowViewPage.js +5 -0
  95. package/dist/bigconsole/pages/WorkflowsPage.js +144 -123
  96. package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +1 -1
  97. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +123 -122
  98. package/dist/bigconsole/utils/dashboardGallery.d.ts +84 -0
  99. package/dist/bigconsole/utils/dashboardGallery.js +93 -0
  100. package/dist/bigconsole/utils/fleetFlags.d.ts +22 -0
  101. package/dist/bigconsole/utils/fleetFlags.js +40 -0
  102. package/dist/bigconsole/utils/fleetTree.d.ts +9 -0
  103. package/dist/bigconsole/utils/fleetTree.js +5 -1
  104. package/dist/bigconsole/utils/statusTone.d.ts +17 -0
  105. package/dist/bigconsole/utils/statusTone.js +44 -0
  106. package/dist/generated/wspace-operations.d.ts +101 -0
  107. package/dist/generated/wspace-operations.js +609 -90
  108. package/dist/generated/wspace-types.js +6 -4
  109. package/package.json +4 -4
@@ -0,0 +1,93 @@
1
+ import { GALLERY_PAGE_SIZE as e, clampPage as t, parsePageParam as n, totalPagesFor as r, withPageParam as i } from "@burdenoff/fe-libs/ui";
2
+ // src/bigconsole/utils/dashboardGallery.ts
3
+ function a(e) {
4
+ return `category:${e}`;
5
+ }
6
+ function o(e) {
7
+ return e.startsWith("category:") ? e.slice(9) : "";
8
+ }
9
+ var s = new Intl.Collator(void 0, {
10
+ sensitivity: "base",
11
+ numeric: !0
12
+ });
13
+ function c(e, t, n) {
14
+ let r = t.toLowerCase();
15
+ return (!n || e.status === n) && (e.name.toLowerCase().includes(r) || (e.description ?? "").toLowerCase().includes(r));
16
+ }
17
+ function l(e, t) {
18
+ let n = /* @__PURE__ */ new Map(), r = 0;
19
+ for (let i of e) c(i, t.search, t.status) && (r += 1, i.category && n.set(i.category, (n.get(i.category) ?? 0) + 1));
20
+ return t.selected && !n.has(t.selected) && n.set(t.selected, 0), {
21
+ facets: [...n].sort(([e, t], [n, r]) => r - t || s.compare(e, n)).map(([e, t]) => ({
22
+ value: a(e),
23
+ count: t
24
+ })),
25
+ total: r
26
+ };
27
+ }
28
+ function u(i, a, o = e) {
29
+ let s = n(i), c = r(a, o);
30
+ return {
31
+ requested: s,
32
+ page: t(s, c),
33
+ totalPages: c
34
+ };
35
+ }
36
+ function d(e, t) {
37
+ return e.get("page") === (t > 1 ? String(t) : null) ? null : i(e, t);
38
+ }
39
+ var f = {
40
+ search: "",
41
+ category: "",
42
+ status: "",
43
+ sort: "default"
44
+ }, p = {
45
+ search: "q",
46
+ category: "category",
47
+ status: "status",
48
+ sort: "sort"
49
+ }, m = [
50
+ "search",
51
+ "category",
52
+ "status",
53
+ "sort"
54
+ ], h = ["DRAFT", "PUBLISHED"], g = [
55
+ "default",
56
+ "name-asc",
57
+ "name-desc",
58
+ "updated-desc",
59
+ "updated-asc"
60
+ ];
61
+ function _(e) {
62
+ let t = e.get(p.status) ?? "", n = e.get(p.sort);
63
+ return {
64
+ search: e.get(p.search) ?? "",
65
+ category: e.get(p.category) ?? "",
66
+ status: h.includes(t) ? t : "",
67
+ sort: g.find((e) => e === n) ?? "default"
68
+ };
69
+ }
70
+ function v(e, t) {
71
+ let n = i(e, 1);
72
+ for (let e of m) {
73
+ let r = t[e];
74
+ r !== void 0 && (r === f[e] ? n.delete(p[e]) : n.set(p[e], r));
75
+ }
76
+ return y(n);
77
+ }
78
+ function y(e) {
79
+ let t = new URLSearchParams(e), n = _(t);
80
+ return t.has(p.status) && n.status === "" && t.delete(p.status), t.has(p.sort) && n.sort === "default" && t.delete(p.sort), t;
81
+ }
82
+ function b(e) {
83
+ return [
84
+ e.search,
85
+ e.category,
86
+ e.status,
87
+ e.sort
88
+ ].join("\0");
89
+ }
90
+ function x(e) {
91
+ return e.previousKey !== e.key || e.requestedPage <= e.totalPages ? null : d(e.params, e.page);
92
+ }
93
+ export { f as DEFAULT_DASHBOARD_LIST_QUERY, l as categoryFacets, o as categoryFromRail, a as categoryRailValue, y as cleanDashboardListParams, d as correctedPageParams, b as dashboardListQueryKey, u as galleryPage, x as pageClampParams, _ as readDashboardListQuery, v as withDashboardListQuery };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Helpers for the flags on a linked copy and for restoring it (BOFF-15410). Pure, so they are tested without a
3
+ * browser.
4
+ */
5
+ export type FlagType = 'MASTER_CHANGED' | 'MASTER_REMOVED';
6
+ export type FlagAnswer = 'ACCEPTED_MASTER' | 'KEPT_LOCAL' | 'REMOVED';
7
+ /** The wording for one changed part. A part this build does not know is shown as the server named it. */
8
+ export declare function changedFieldLabel(field: string): {
9
+ key: string;
10
+ fallback: string;
11
+ } | null;
12
+ /** The answers a flag allows: taking the master's version is not possible when the master removed the widget. */
13
+ export declare function allowedAnswers(type: FlagType | string): FlagAnswer[];
14
+ /** The flags still waiting for the owner. The server returns resolved ones too, newest first. */
15
+ export declare function openFlags<T extends {
16
+ status: string;
17
+ }>(flags: readonly T[]): T[];
18
+ /** Restoring does nothing when no edited widget would go back, none would come back, and the board has no change. */
19
+ export declare function restoreIsEmpty(counts: {
20
+ widgetsRestored: number;
21
+ widgetsBroughtBack: number;
22
+ }): boolean;
@@ -0,0 +1,40 @@
1
+ // src/bigconsole/utils/fleetFlags.ts
2
+ var e = {
3
+ title: {
4
+ key: "bigconsole.fleet.flags.field.title",
5
+ fallback: "title"
6
+ },
7
+ config: {
8
+ key: "bigconsole.fleet.flags.field.config",
9
+ fallback: "settings"
10
+ },
11
+ drilldown: {
12
+ key: "bigconsole.fleet.flags.field.drilldown",
13
+ fallback: "drilldown"
14
+ },
15
+ translations: {
16
+ key: "bigconsole.fleet.flags.field.translations",
17
+ fallback: "translations"
18
+ },
19
+ actions: {
20
+ key: "bigconsole.fleet.flags.field.actions",
21
+ fallback: "actions"
22
+ }
23
+ };
24
+ function t(t) {
25
+ return e[t] ?? null;
26
+ }
27
+ function n(e) {
28
+ return e === "MASTER_REMOVED" ? ["KEPT_LOCAL", "REMOVED"] : [
29
+ "ACCEPTED_MASTER",
30
+ "KEPT_LOCAL",
31
+ "REMOVED"
32
+ ];
33
+ }
34
+ function r(e) {
35
+ return e.filter((e) => e.status === "OPEN");
36
+ }
37
+ function i(e) {
38
+ return e.widgetsRestored === 0 && e.widgetsBroughtBack === 0;
39
+ }
40
+ export { n as allowedAnswers, t as changedFieldLabel, r as openFlags, i as restoreIsEmpty };
@@ -48,3 +48,12 @@ export declare function copyCounts(links: readonly FleetLink[]): Map<string, num
48
48
  * one of these would make a loop, so they are left out of the boards it can be linked to.
49
49
  */
50
50
  export declare function descendantIds(dashboardId: string, links: readonly FleetLink[]): Set<string>;
51
+ /**
52
+ * The name of the board a board directly follows, for the panel. The breadcrumb drops masters the caller cannot
53
+ * read, so its last name is the direct master only when that is the one the link names; otherwise it is a master
54
+ * higher up, and naming it would be wrong.
55
+ */
56
+ export declare function directMasterName(ancestors: ReadonlyArray<{
57
+ id: string;
58
+ name: string;
59
+ }>, directMasterId: string | null): string | null;
@@ -61,4 +61,8 @@ function a(e, t) {
61
61
  }
62
62
  return r;
63
63
  }
64
- export { n as ancestorIds, t as buildFleetRows, i as copyCounts, a as descendantIds, r as pendingMasterId };
64
+ function o(e, t) {
65
+ let n = e[e.length - 1];
66
+ return n && t !== null && n.id === t ? n.name : null;
67
+ }
68
+ export { n as ancestorIds, t as buildFleetRows, i as copyCounts, a as descendantIds, o as directMasterName, r as pendingMasterId };
@@ -0,0 +1,17 @@
1
+ import { DashboardListStatus } from '../hooks/useDashboardOperations';
2
+ import { DataSinkSetupState, DataSinkStatus, FluidGridsWorkflowStatus, ParserStatus, PipelineStatus } from '../types';
3
+ export type StatusTone = 'success' | 'warning' | 'error' | 'info' | 'neutral';
4
+ /** Fill, border and text of each tone. Add `border` (the width) where the element has none. */
5
+ export declare const STATUS_TONE_CLASSES: Record<StatusTone, string>;
6
+ /** Data sinks: ready, stale (out of date: a warning), failing, refreshing now. */
7
+ export declare const DATA_SINK_STATUS_TONE: Record<DataSinkStatus, StatusTone>;
8
+ /** A data sink's setup: a step someone still has to take is a warning; a workflow that runs is news. */
9
+ export declare const SETUP_STATE_TONE: Record<DataSinkSetupState, StatusTone>;
10
+ export declare const DASHBOARD_STATUS_TONE: Record<DashboardListStatus, StatusTone>;
11
+ export declare const PIPELINE_STATUS_TONE: Record<PipelineStatus, StatusTone>;
12
+ export declare const PARSER_STATUS_TONE: Record<ParserStatus, StatusTone>;
13
+ export declare const WORKFLOW_STATUS_TONE: Record<FluidGridsWorkflowStatus, StatusTone>;
14
+ /** The tone of a status, quiet when the status is not one the map knows (a value the server added later). */
15
+ export declare function statusToneOf(tones: Readonly<Record<string, StatusTone>>, status: string): StatusTone;
16
+ /** The classes of a status: its tone's fill, border and text. */
17
+ export declare function statusToneClasses(tones: Readonly<Record<string, StatusTone>>, status: string): string;
@@ -0,0 +1,44 @@
1
+ // src/bigconsole/utils/statusTone.ts
2
+ var e = {
3
+ success: "border-[var(--color-status-success-border)] bg-[var(--color-status-success-bgSubtle)] text-[var(--color-status-success-text)]",
4
+ warning: "border-[var(--color-status-warning-border)] bg-[var(--color-status-warning-bgSubtle)] text-[var(--color-status-warning-text)]",
5
+ error: "border-[var(--color-status-error-border)] bg-[var(--color-status-error-bgSubtle)] text-[var(--color-status-error-text)]",
6
+ info: "border-[var(--color-status-info-border)] bg-[var(--color-status-info-bgSubtle)] text-[var(--color-status-info-text)]",
7
+ neutral: "border-[var(--color-border-subtle)] bg-bg-sunken text-text-secondary"
8
+ }, t = {
9
+ ready: "success",
10
+ stale: "warning",
11
+ error: "error",
12
+ refreshing: "info"
13
+ }, n = {
14
+ workflow_pending: "warning",
15
+ workflow_running: "info",
16
+ workflow_completed: "warning",
17
+ configuration_pending: "warning",
18
+ completed: "success"
19
+ }, r = {
20
+ PUBLISHED: "success",
21
+ DRAFT: "neutral",
22
+ ARCHIVED: "neutral"
23
+ }, i = {
24
+ active: "success",
25
+ inactive: "neutral",
26
+ error: "error",
27
+ draft: "neutral"
28
+ }, a = {
29
+ active: "success",
30
+ inactive: "neutral"
31
+ }, o = {
32
+ active: "success",
33
+ paused: "neutral",
34
+ error: "error",
35
+ draft: "neutral",
36
+ archived: "neutral"
37
+ };
38
+ function s(e, t) {
39
+ return Object.entries(e).find(([e]) => e === t)?.[1] ?? "neutral";
40
+ }
41
+ function c(t, n) {
42
+ return e[s(t, n)];
43
+ }
44
+ export { r as DASHBOARD_STATUS_TONE, t as DATA_SINK_STATUS_TONE, a as PARSER_STATUS_TONE, i as PIPELINE_STATUS_TONE, n as SETUP_STATE_TONE, e as STATUS_TONE_CLASSES, o as WORKFLOW_STATUS_TONE, c as statusToneClasses, s as statusToneOf };
@@ -896,6 +896,13 @@ export type BigConsoleRateDashboardTemplateInput = {
896
896
  /** Template ID */
897
897
  templateId: string | number;
898
898
  };
899
+ /** Something a restore or a promote could not carry over exactly. */
900
+ export type BigConsoleRestoreNoticeCode =
901
+ /**
902
+ * The widget's drilldown led to a page the other board does not have, so it now opens
903
+ * that board's default page
904
+ */
905
+ 'DRILLDOWN_PAGE_MISSING';
899
906
  /** Input for sharing a dashboard */
900
907
  export type BigConsoleShareDashboardInput = {
901
908
  /** Dashboard ID to share */
@@ -1244,6 +1251,35 @@ export type BigConsoleWidgetEventStatus =
1244
1251
  | 'PROCESSING'
1245
1252
  /** Retrying delivery after failure */
1246
1253
  | 'RETRYING';
1254
+ /** What the owner can answer a flag with. Leaving a flag open is not answering it. */
1255
+ export type BigConsoleWidgetFlagAnswer =
1256
+ /** Take the master's version. Not available when the master removed the widget. */
1257
+ 'ACCEPTED_MASTER'
1258
+ /** Keep the widget as the copy's own. The master never flags it again. */
1259
+ | 'KEPT_LOCAL'
1260
+ /** Remove the widget from the copy. A push does not give it back. */
1261
+ | 'REMOVED';
1262
+ /** How a flag ended */
1263
+ export type BigConsoleWidgetFlagResolution =
1264
+ /** The copy's widget went back to the master's version */
1265
+ 'ACCEPTED_MASTER'
1266
+ /** The widget became the copy's own: the master no longer flags it */
1267
+ | 'KEPT_LOCAL'
1268
+ /** The copy stopped following its master */
1269
+ | 'LINK_ENDED'
1270
+ /** The master went back to the version the copy already had */
1271
+ | 'MASTER_REVERTED'
1272
+ /** The copy's widget was removed */
1273
+ | 'REMOVED'
1274
+ /** The master removed the widget, so that flag replaced this one */
1275
+ | 'SUPERSEDED';
1276
+ export type BigConsoleWidgetFlagStatus = 'OPEN' | 'RESOLVED';
1277
+ /** What a flag is about */
1278
+ export type BigConsoleWidgetFlagType =
1279
+ /** The master changed a widget the copy's owner had edited too. The owner's version stays. */
1280
+ 'MASTER_CHANGED'
1281
+ /** The master removed a widget the copy still has. It stays on the copy. */
1282
+ | 'MASTER_REMOVED';
1247
1283
  /** HTTP method for webhooks - v2.0 */
1248
1284
  export type BigConsoleWidgetHttpMethod = 'DELETE' | 'GET' | 'PATCH' | 'POST' | 'PUT';
1249
1285
  /** Widget position input - Fixed Grid (legacy v1.2) */
@@ -5586,6 +5622,25 @@ export type PushToCopiesMutation = {
5586
5622
  }>;
5587
5623
  };
5588
5624
  };
5625
+ export type ResolveWidgetFlagMutationVariables = Exact<{
5626
+ flagId: string | number;
5627
+ answer: Types.BigConsoleWidgetFlagAnswer;
5628
+ }>;
5629
+ export type ResolveWidgetFlagMutation = {
5630
+ resolveWidgetFlag: {
5631
+ flag: {
5632
+ id: string;
5633
+ status: Types.BigConsoleWidgetFlagStatus;
5634
+ resolution: Types.BigConsoleWidgetFlagResolution | null;
5635
+ widgetTitle: string;
5636
+ };
5637
+ notices: Array<{
5638
+ code: Types.BigConsoleRestoreNoticeCode;
5639
+ pageName: string;
5640
+ widgetId: string;
5641
+ }>;
5642
+ };
5643
+ };
5589
5644
  export type RespondToDashboardLinkMutationVariables = Exact<{
5590
5645
  childDashboardId: string | number;
5591
5646
  accept: boolean;
@@ -5598,6 +5653,22 @@ export type RespondToDashboardLinkMutation = {
5598
5653
  linkStatus: Types.BigConsoleDashboardLinkStatus | null;
5599
5654
  };
5600
5655
  };
5656
+ export type RestoreDashboardToOriginalMutationVariables = Exact<{
5657
+ dashboardId: string | number;
5658
+ }>;
5659
+ export type RestoreDashboardToOriginalMutation = {
5660
+ restoreDashboardToOriginal: {
5661
+ dashboardId: string;
5662
+ widgetsRestored: number;
5663
+ widgetsBroughtBack: number;
5664
+ localWidgetsKept: number;
5665
+ notices: Array<{
5666
+ code: Types.BigConsoleRestoreNoticeCode;
5667
+ pageName: string;
5668
+ widgetId: string;
5669
+ }>;
5670
+ };
5671
+ };
5601
5672
  export type SetDashboardAsMasterMutationVariables = Exact<{
5602
5673
  id: string | number;
5603
5674
  }>;
@@ -5678,6 +5749,21 @@ export type FleetChildrenQuery = {
5678
5749
  }>;
5679
5750
  };
5680
5751
  };
5752
+ export type FleetWidgetFlagsQueryVariables = Exact<{
5753
+ dashboardId: string | number;
5754
+ offset?: number | null | undefined;
5755
+ }>;
5756
+ export type FleetWidgetFlagsQuery = {
5757
+ dashboardWidgetFlags: Array<{
5758
+ id: string;
5759
+ widgetId: string;
5760
+ widgetTitle: string;
5761
+ type: Types.BigConsoleWidgetFlagType;
5762
+ status: Types.BigConsoleWidgetFlagStatus;
5763
+ changedFields: Array<string>;
5764
+ createdAt: string;
5765
+ }>;
5766
+ };
5681
5767
  export type PreviewPushToCopiesQueryVariables = Exact<{
5682
5768
  input: Types.BigConsolePushToCopiesInput;
5683
5769
  }>;
@@ -5704,6 +5790,17 @@ export type PreviewPushToCopiesQuery = {
5704
5790
  }>;
5705
5791
  };
5706
5792
  };
5793
+ export type PreviewRestoreDashboardToOriginalQueryVariables = Exact<{
5794
+ dashboardId: string | number;
5795
+ }>;
5796
+ export type PreviewRestoreDashboardToOriginalQuery = {
5797
+ previewRestoreDashboardToOriginal: {
5798
+ dashboardId: string;
5799
+ widgetsRestored: number;
5800
+ widgetsBroughtBack: number;
5801
+ localWidgetsKept: number;
5802
+ };
5803
+ };
5707
5804
  export type KpiChangeExplanationFieldsFragment = {
5708
5805
  status: Types.BigConsoleKpiChangeStatus;
5709
5806
  widgetId: string;
@@ -9690,14 +9787,18 @@ export declare const CreateLinkedCopyDocument: DocumentNode<CreateLinkedCopyMuta
9690
9787
  export declare const DetachDashboardDocument: DocumentNode<DetachDashboardMutation, DetachDashboardMutationVariables>;
9691
9788
  export declare const LinkDashboardToMasterDocument: DocumentNode<LinkDashboardToMasterMutation, LinkDashboardToMasterMutationVariables>;
9692
9789
  export declare const PushToCopiesDocument: DocumentNode<PushToCopiesMutation, PushToCopiesMutationVariables>;
9790
+ export declare const ResolveWidgetFlagDocument: DocumentNode<ResolveWidgetFlagMutation, ResolveWidgetFlagMutationVariables>;
9693
9791
  export declare const RespondToDashboardLinkDocument: DocumentNode<RespondToDashboardLinkMutation, RespondToDashboardLinkMutationVariables>;
9792
+ export declare const RestoreDashboardToOriginalDocument: DocumentNode<RestoreDashboardToOriginalMutation, RestoreDashboardToOriginalMutationVariables>;
9694
9793
  export declare const SetDashboardAsMasterDocument: DocumentNode<SetDashboardAsMasterMutation, SetDashboardAsMasterMutationVariables>;
9695
9794
  export declare const UnsetDashboardAsMasterDocument: DocumentNode<UnsetDashboardAsMasterMutation, UnsetDashboardAsMasterMutationVariables>;
9696
9795
  export declare const FleetLinksDocument: DocumentNode<FleetLinksQuery, FleetLinksQueryVariables>;
9697
9796
  export declare const FleetBoardNameDocument: DocumentNode<FleetBoardNameQuery, FleetBoardNameQueryVariables>;
9698
9797
  export declare const FleetBoardStateDocument: DocumentNode<FleetBoardStateQuery, FleetBoardStateQueryVariables>;
9699
9798
  export declare const FleetChildrenDocument: DocumentNode<FleetChildrenQuery, FleetChildrenQueryVariables>;
9799
+ export declare const FleetWidgetFlagsDocument: DocumentNode<FleetWidgetFlagsQuery, FleetWidgetFlagsQueryVariables>;
9700
9800
  export declare const PreviewPushToCopiesDocument: DocumentNode<PreviewPushToCopiesQuery, PreviewPushToCopiesQueryVariables>;
9801
+ export declare const PreviewRestoreDashboardToOriginalDocument: DocumentNode<PreviewRestoreDashboardToOriginalQuery, PreviewRestoreDashboardToOriginalQueryVariables>;
9701
9802
  export declare const ExplainKpiChangeDocument: DocumentNode<ExplainKpiChangeQuery, ExplainKpiChangeQueryVariables>;
9702
9803
  export declare const PreviewBoardMigrationDocument: DocumentNode<PreviewBoardMigrationQuery, PreviewBoardMigrationQueryVariables>;
9703
9804
  export declare const ExplainDashboardDocument: DocumentNode<ExplainDashboardQuery, ExplainDashboardQueryVariables>;