@burdenoff/microfe-bigconsole 2026.1124.1 → 2026.1124.3

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 (38) hide show
  1. package/dist/bigconsole/components/fleet/FleetChildrenPanel.d.ts +12 -0
  2. package/dist/bigconsole/components/fleet/FleetChildrenPanel.js +179 -184
  3. package/dist/bigconsole/components/fleet/FleetCopySection.d.ts +18 -0
  4. package/dist/bigconsole/components/fleet/FleetCopySection.js +263 -0
  5. package/dist/bigconsole/components/fleet/FleetWidgetActions.d.ts +36 -0
  6. package/dist/bigconsole/components/fleet/FleetWidgetActions.js +82 -0
  7. package/dist/bigconsole/components/widgets/WidgetMenu.js +146 -96
  8. package/dist/bigconsole/hooks/useFleetBreadcrumb.d.ts +8 -1
  9. package/dist/bigconsole/hooks/useFleetBreadcrumb.js +4 -1
  10. package/dist/bigconsole/hooks/useFleetChildren.d.ts +2 -0
  11. package/dist/bigconsole/hooks/useFleetChildren.js +10 -6
  12. package/dist/bigconsole/hooks/useFleetConfirm.d.ts +7 -0
  13. package/dist/bigconsole/hooks/useFleetConfirm.js +17 -0
  14. package/dist/bigconsole/hooks/useFleetCopyActions.d.ts +23 -0
  15. package/dist/bigconsole/hooks/useFleetCopyActions.js +74 -0
  16. package/dist/bigconsole/hooks/useFleetFlags.d.ts +16 -0
  17. package/dist/bigconsole/hooks/useFleetFlags.js +79 -0
  18. package/dist/bigconsole/hooks/useFleetWidgetActions.d.ts +10 -0
  19. package/dist/bigconsole/hooks/useFleetWidgetActions.js +41 -0
  20. package/dist/bigconsole/hooks/useOwnerBoundRun.d.ts +28 -0
  21. package/dist/bigconsole/hooks/useOwnerBoundRun.js +56 -0
  22. package/dist/bigconsole/hooks/useWidgetOperations.js +2 -0
  23. package/dist/bigconsole/pages/DashboardViewPage.js +335 -320
  24. package/dist/bigconsole/pages/DashboardsPage.js +13 -13
  25. package/dist/bigconsole/types/index.d.ts +4 -0
  26. package/dist/bigconsole/utils/fleetFlags.d.ts +22 -0
  27. package/dist/bigconsole/utils/fleetFlags.js +40 -0
  28. package/dist/bigconsole/utils/fleetNotices.d.ts +12 -0
  29. package/dist/bigconsole/utils/fleetNotices.js +5 -0
  30. package/dist/bigconsole/utils/fleetTree.d.ts +9 -0
  31. package/dist/bigconsole/utils/fleetTree.js +5 -1
  32. package/dist/bigconsole/utils/fleetWidgetMenu.d.ts +20 -0
  33. package/dist/bigconsole/utils/fleetWidgetMenu.js +13 -0
  34. package/dist/generated/wspace-operations.d.ts +155 -0
  35. package/dist/generated/wspace-operations.js +928 -99
  36. package/dist/generated/wspace-types.d.ts +395 -9
  37. package/dist/generated/wspace-types.js +6 -4
  38. package/package.json +1 -1
@@ -335,23 +335,23 @@ var bt = "bf-bigconsole-dashboards-view", xt = "bf-bigconsole-dashboards-nested"
335
335
  g
336
336
  ]), Yn = d(async (e, t) => {
337
337
  t?.stopPropagation();
338
- let n = g("bigconsole.fleet.detach.confirm", "\"{{name}}\" will keep a plain copy of everything and stop following its master. Detach it?", { name: e.name }), r = await c({
338
+ let n = H.current, r = () => H.current !== n, i = g("bigconsole.fleet.detach.confirm", "\"{{name}}\" will keep a plain copy of everything and stop following its master. Detach it?", { name: e.name }), a = await c({
339
339
  title: g("bigconsole.fleet.detach.title", "Detach from master?"),
340
- message: n,
340
+ message: i,
341
341
  okButtonTitle: g("bigconsole.fleet.detach.ok", "Detach"),
342
342
  cancelButtonTitle: g("bigconsole.fleet.link.cancel", "Cancel")
343
343
  });
344
- if (!(r === null ? window.confirm(n) : r)) return;
345
- let i = H.current, a = () => H.current !== i;
346
- F(!0);
347
- try {
348
- if (await Kt(e.id), await Promise.all([j(), P()]), a()) return;
349
- U(g("bigconsole.fleet.notice.detached", "\"{{name}}\" no longer follows a master.", { name: e.name }));
350
- } catch (e) {
351
- if (a()) return;
352
- U(e instanceof Error && e.message ? e.message : g("bigconsole.fleet.error.detach", "The board could not be detached."));
353
- } finally {
354
- a() || F(!1);
344
+ if ((a === null ? window.confirm(i) : a) && !r()) {
345
+ F(!0);
346
+ try {
347
+ if (await Kt(e.id), await Promise.all([j(), P()]), r()) return;
348
+ U(g("bigconsole.fleet.notice.detached", "\"{{name}}\" no longer follows a master.", { name: e.name }));
349
+ } catch (e) {
350
+ if (r()) return;
351
+ U(e instanceof Error && e.message ? e.message : g("bigconsole.fleet.error.detach", "The board could not be detached."));
352
+ } finally {
353
+ r() || F(!1);
354
+ }
355
355
  }
356
356
  }, [
357
357
  Kt,
@@ -220,6 +220,10 @@ export interface Widget {
220
220
  translations?: WidgetTranslation[];
221
221
  actions?: WidgetAction[];
222
222
  data?: Record<string, unknown> | null;
223
+ /** Fleet boards (BOFF-15410): the widget came from the master its board follows. */
224
+ isInherited?: boolean;
225
+ /** Fleet boards: it came from a master and this board's version differs from the master's. */
226
+ isOverridden?: boolean;
223
227
  createdAt: string;
224
228
  updatedAt: string;
225
229
  }
@@ -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 };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The words for what a restore or a promotion could not carry over exactly (BOFF-15410), shared by the Children
3
+ * panel and the widget menu so the same notice never reads two ways.
4
+ */
5
+ type Translate = (key: string, defaultValue: string, vars?: Record<string, string | number>) => string;
6
+ /** One thing the server could not carry over: the only kind today is a drilldown whose page the board lacks. */
7
+ export interface CarriedNotice {
8
+ code: string;
9
+ pageName: string;
10
+ }
11
+ export declare function restoreNoticeText(tr: Translate, notice: CarriedNotice): string;
12
+ export {};
@@ -0,0 +1,5 @@
1
+ // src/bigconsole/utils/fleetNotices.ts
2
+ function e(e, t) {
3
+ return e("bigconsole.fleet.copy.noticeDrilldown", "A widget's drilldown led to the page \"{{page}}\", which this board does not have, so it now opens the default page.", { page: t.pageName });
4
+ }
5
+ export { e as restoreNoticeText };
@@ -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,20 @@
1
+ /**
2
+ * Which fleet actions a widget's menu offers (BOFF-15410).
3
+ *
4
+ * Restore puts an inherited widget the board has edited back to the master's version, so it is offered only for
5
+ * a widget that came from the master and differs from it. Promote moves a widget the board added itself up to
6
+ * the master, so it is offered only on a board that follows a master, for a widget that did not come from it.
7
+ * A past view changes nothing, so it offers neither. The server applies the same rules and refuses the rest.
8
+ */
9
+ export interface FleetMenuFacts {
10
+ isInherited?: boolean;
11
+ isOverridden?: boolean;
12
+ }
13
+ export interface FleetMenuOffers {
14
+ restore: boolean;
15
+ promote: boolean;
16
+ }
17
+ export declare function fleetMenuOffers(widget: FleetMenuFacts, board: {
18
+ isActiveCopy: boolean;
19
+ inPastView: boolean;
20
+ }): FleetMenuOffers;
@@ -0,0 +1,13 @@
1
+ // src/bigconsole/utils/fleetWidgetMenu.ts
2
+ function e(e, t) {
3
+ if (t.inPastView || !t.isActiveCopy) return {
4
+ restore: !1,
5
+ promote: !1
6
+ };
7
+ let n = e.isInherited === !0;
8
+ return {
9
+ restore: n && e.isOverridden === !0,
10
+ promote: !n
11
+ };
12
+ }
13
+ export { e as fleetMenuOffers };
@@ -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) */
@@ -5560,6 +5596,21 @@ export type LinkDashboardToMasterMutation = {
5560
5596
  linkStatus: Types.BigConsoleDashboardLinkStatus | null;
5561
5597
  };
5562
5598
  };
5599
+ export type PromoteWidgetToMasterMutationVariables = Exact<{
5600
+ widgetId: string | number;
5601
+ }>;
5602
+ export type PromoteWidgetToMasterMutation = {
5603
+ promoteWidgetToMaster: {
5604
+ widgetId: string;
5605
+ masterDashboardId: string;
5606
+ masterWidgetId: string;
5607
+ notices: Array<{
5608
+ code: Types.BigConsoleRestoreNoticeCode;
5609
+ pageName: string;
5610
+ widgetId: string;
5611
+ }>;
5612
+ };
5613
+ };
5563
5614
  export type PushToCopiesMutationVariables = Exact<{
5564
5615
  input: Types.BigConsolePushToCopiesInput;
5565
5616
  }>;
@@ -5586,6 +5637,25 @@ export type PushToCopiesMutation = {
5586
5637
  }>;
5587
5638
  };
5588
5639
  };
5640
+ export type ResolveWidgetFlagMutationVariables = Exact<{
5641
+ flagId: string | number;
5642
+ answer: Types.BigConsoleWidgetFlagAnswer;
5643
+ }>;
5644
+ export type ResolveWidgetFlagMutation = {
5645
+ resolveWidgetFlag: {
5646
+ flag: {
5647
+ id: string;
5648
+ status: Types.BigConsoleWidgetFlagStatus;
5649
+ resolution: Types.BigConsoleWidgetFlagResolution | null;
5650
+ widgetTitle: string;
5651
+ };
5652
+ notices: Array<{
5653
+ code: Types.BigConsoleRestoreNoticeCode;
5654
+ pageName: string;
5655
+ widgetId: string;
5656
+ }>;
5657
+ };
5658
+ };
5589
5659
  export type RespondToDashboardLinkMutationVariables = Exact<{
5590
5660
  childDashboardId: string | number;
5591
5661
  accept: boolean;
@@ -5598,6 +5668,37 @@ export type RespondToDashboardLinkMutation = {
5598
5668
  linkStatus: Types.BigConsoleDashboardLinkStatus | null;
5599
5669
  };
5600
5670
  };
5671
+ export type RestoreDashboardToOriginalMutationVariables = Exact<{
5672
+ dashboardId: string | number;
5673
+ }>;
5674
+ export type RestoreDashboardToOriginalMutation = {
5675
+ restoreDashboardToOriginal: {
5676
+ dashboardId: string;
5677
+ widgetsRestored: number;
5678
+ widgetsBroughtBack: number;
5679
+ localWidgetsKept: number;
5680
+ notices: Array<{
5681
+ code: Types.BigConsoleRestoreNoticeCode;
5682
+ pageName: string;
5683
+ widgetId: string;
5684
+ }>;
5685
+ };
5686
+ };
5687
+ export type RestoreWidgetToOriginalMutationVariables = Exact<{
5688
+ widgetId: string | number;
5689
+ }>;
5690
+ export type RestoreWidgetToOriginalMutation = {
5691
+ restoreWidgetToOriginal: {
5692
+ widgetId: string;
5693
+ dashboardId: string;
5694
+ masterDashboardId: string;
5695
+ notices: Array<{
5696
+ code: Types.BigConsoleRestoreNoticeCode;
5697
+ pageName: string;
5698
+ widgetId: string;
5699
+ }>;
5700
+ };
5701
+ };
5601
5702
  export type SetDashboardAsMasterMutationVariables = Exact<{
5602
5703
  id: string | number;
5603
5704
  }>;
@@ -5678,6 +5779,21 @@ export type FleetChildrenQuery = {
5678
5779
  }>;
5679
5780
  };
5680
5781
  };
5782
+ export type FleetWidgetFlagsQueryVariables = Exact<{
5783
+ dashboardId: string | number;
5784
+ offset?: number | null | undefined;
5785
+ }>;
5786
+ export type FleetWidgetFlagsQuery = {
5787
+ dashboardWidgetFlags: Array<{
5788
+ id: string;
5789
+ widgetId: string;
5790
+ widgetTitle: string;
5791
+ type: Types.BigConsoleWidgetFlagType;
5792
+ status: Types.BigConsoleWidgetFlagStatus;
5793
+ changedFields: Array<string>;
5794
+ createdAt: string;
5795
+ }>;
5796
+ };
5681
5797
  export type PreviewPushToCopiesQueryVariables = Exact<{
5682
5798
  input: Types.BigConsolePushToCopiesInput;
5683
5799
  }>;
@@ -5704,6 +5820,17 @@ export type PreviewPushToCopiesQuery = {
5704
5820
  }>;
5705
5821
  };
5706
5822
  };
5823
+ export type PreviewRestoreDashboardToOriginalQueryVariables = Exact<{
5824
+ dashboardId: string | number;
5825
+ }>;
5826
+ export type PreviewRestoreDashboardToOriginalQuery = {
5827
+ previewRestoreDashboardToOriginal: {
5828
+ dashboardId: string;
5829
+ widgetsRestored: number;
5830
+ widgetsBroughtBack: number;
5831
+ localWidgetsKept: number;
5832
+ };
5833
+ };
5707
5834
  export type KpiChangeExplanationFieldsFragment = {
5708
5835
  status: Types.BigConsoleKpiChangeStatus;
5709
5836
  widgetId: string;
@@ -7491,6 +7618,8 @@ export type WidgetCoreFieldsFragment = {
7491
7618
  cacheTTL: number | null;
7492
7619
  metadata: Record<string, unknown> | null;
7493
7620
  context: Record<string, unknown> | null;
7621
+ isInherited: boolean;
7622
+ isOverridden: boolean;
7494
7623
  createdAt: string;
7495
7624
  updatedAt: string;
7496
7625
  positionResponsive: {
@@ -7543,6 +7672,8 @@ export type WidgetFullFieldsFragment = {
7543
7672
  cacheTTL: number | null;
7544
7673
  metadata: Record<string, unknown> | null;
7545
7674
  context: Record<string, unknown> | null;
7675
+ isInherited: boolean;
7676
+ isOverridden: boolean;
7546
7677
  createdAt: string;
7547
7678
  updatedAt: string;
7548
7679
  drilldown: {
@@ -7624,6 +7755,8 @@ export type WidgetListFieldsFragment = {
7624
7755
  cacheTTL: number | null;
7625
7756
  metadata: Record<string, unknown> | null;
7626
7757
  context: Record<string, unknown> | null;
7758
+ isInherited: boolean;
7759
+ isOverridden: boolean;
7627
7760
  createdAt: string;
7628
7761
  updatedAt: string;
7629
7762
  drilldown: {
@@ -7822,6 +7955,8 @@ export type CreateWidgetMutation = {
7822
7955
  cacheTTL: number | null;
7823
7956
  metadata: Record<string, unknown> | null;
7824
7957
  context: Record<string, unknown> | null;
7958
+ isInherited: boolean;
7959
+ isOverridden: boolean;
7825
7960
  createdAt: string;
7826
7961
  updatedAt: string;
7827
7962
  drilldown: {
@@ -7986,6 +8121,8 @@ export type DuplicateWidgetMutation = {
7986
8121
  cacheTTL: number | null;
7987
8122
  metadata: Record<string, unknown> | null;
7988
8123
  context: Record<string, unknown> | null;
8124
+ isInherited: boolean;
8125
+ isOverridden: boolean;
7989
8126
  createdAt: string;
7990
8127
  updatedAt: string;
7991
8128
  drilldown: {
@@ -8109,6 +8246,8 @@ export type MoveWidgetToPageMutation = {
8109
8246
  cacheTTL: number | null;
8110
8247
  metadata: Record<string, unknown> | null;
8111
8248
  context: Record<string, unknown> | null;
8249
+ isInherited: boolean;
8250
+ isOverridden: boolean;
8112
8251
  createdAt: string;
8113
8252
  updatedAt: string;
8114
8253
  drilldown: {
@@ -8308,6 +8447,8 @@ export type UpdateWidgetMutation = {
8308
8447
  cacheTTL: number | null;
8309
8448
  metadata: Record<string, unknown> | null;
8310
8449
  context: Record<string, unknown> | null;
8450
+ isInherited: boolean;
8451
+ isOverridden: boolean;
8311
8452
  createdAt: string;
8312
8453
  updatedAt: string;
8313
8454
  drilldown: {
@@ -8533,6 +8674,8 @@ export type GetWidgetQuery = {
8533
8674
  cacheTTL: number | null;
8534
8675
  metadata: Record<string, unknown> | null;
8535
8676
  context: Record<string, unknown> | null;
8677
+ isInherited: boolean;
8678
+ isOverridden: boolean;
8536
8679
  createdAt: string;
8537
8680
  updatedAt: string;
8538
8681
  drilldown: {
@@ -8719,6 +8862,8 @@ export type GetWidgetWithDataQuery = {
8719
8862
  cacheTTL: number | null;
8720
8863
  metadata: Record<string, unknown> | null;
8721
8864
  context: Record<string, unknown> | null;
8865
+ isInherited: boolean;
8866
+ isOverridden: boolean;
8722
8867
  createdAt: string;
8723
8868
  updatedAt: string;
8724
8869
  drilldown: {
@@ -8921,6 +9066,8 @@ export type ListWidgetsByDashboardQuery = {
8921
9066
  cacheTTL: number | null;
8922
9067
  metadata: Record<string, unknown> | null;
8923
9068
  context: Record<string, unknown> | null;
9069
+ isInherited: boolean;
9070
+ isOverridden: boolean;
8924
9071
  createdAt: string;
8925
9072
  updatedAt: string;
8926
9073
  drilldown: {
@@ -9004,6 +9151,8 @@ export type ListWidgetsForPageQuery = {
9004
9151
  cacheTTL: number | null;
9005
9152
  metadata: Record<string, unknown> | null;
9006
9153
  context: Record<string, unknown> | null;
9154
+ isInherited: boolean;
9155
+ isOverridden: boolean;
9007
9156
  createdAt: string;
9008
9157
  updatedAt: string;
9009
9158
  drilldown: {
@@ -9689,15 +9838,21 @@ export declare const GetFilterPresetsDocument: DocumentNode<GetFilterPresetsQuer
9689
9838
  export declare const CreateLinkedCopyDocument: DocumentNode<CreateLinkedCopyMutation, CreateLinkedCopyMutationVariables>;
9690
9839
  export declare const DetachDashboardDocument: DocumentNode<DetachDashboardMutation, DetachDashboardMutationVariables>;
9691
9840
  export declare const LinkDashboardToMasterDocument: DocumentNode<LinkDashboardToMasterMutation, LinkDashboardToMasterMutationVariables>;
9841
+ export declare const PromoteWidgetToMasterDocument: DocumentNode<PromoteWidgetToMasterMutation, PromoteWidgetToMasterMutationVariables>;
9692
9842
  export declare const PushToCopiesDocument: DocumentNode<PushToCopiesMutation, PushToCopiesMutationVariables>;
9843
+ export declare const ResolveWidgetFlagDocument: DocumentNode<ResolveWidgetFlagMutation, ResolveWidgetFlagMutationVariables>;
9693
9844
  export declare const RespondToDashboardLinkDocument: DocumentNode<RespondToDashboardLinkMutation, RespondToDashboardLinkMutationVariables>;
9845
+ export declare const RestoreDashboardToOriginalDocument: DocumentNode<RestoreDashboardToOriginalMutation, RestoreDashboardToOriginalMutationVariables>;
9846
+ export declare const RestoreWidgetToOriginalDocument: DocumentNode<RestoreWidgetToOriginalMutation, RestoreWidgetToOriginalMutationVariables>;
9694
9847
  export declare const SetDashboardAsMasterDocument: DocumentNode<SetDashboardAsMasterMutation, SetDashboardAsMasterMutationVariables>;
9695
9848
  export declare const UnsetDashboardAsMasterDocument: DocumentNode<UnsetDashboardAsMasterMutation, UnsetDashboardAsMasterMutationVariables>;
9696
9849
  export declare const FleetLinksDocument: DocumentNode<FleetLinksQuery, FleetLinksQueryVariables>;
9697
9850
  export declare const FleetBoardNameDocument: DocumentNode<FleetBoardNameQuery, FleetBoardNameQueryVariables>;
9698
9851
  export declare const FleetBoardStateDocument: DocumentNode<FleetBoardStateQuery, FleetBoardStateQueryVariables>;
9699
9852
  export declare const FleetChildrenDocument: DocumentNode<FleetChildrenQuery, FleetChildrenQueryVariables>;
9853
+ export declare const FleetWidgetFlagsDocument: DocumentNode<FleetWidgetFlagsQuery, FleetWidgetFlagsQueryVariables>;
9700
9854
  export declare const PreviewPushToCopiesDocument: DocumentNode<PreviewPushToCopiesQuery, PreviewPushToCopiesQueryVariables>;
9855
+ export declare const PreviewRestoreDashboardToOriginalDocument: DocumentNode<PreviewRestoreDashboardToOriginalQuery, PreviewRestoreDashboardToOriginalQueryVariables>;
9701
9856
  export declare const ExplainKpiChangeDocument: DocumentNode<ExplainKpiChangeQuery, ExplainKpiChangeQueryVariables>;
9702
9857
  export declare const PreviewBoardMigrationDocument: DocumentNode<PreviewBoardMigrationQuery, PreviewBoardMigrationQueryVariables>;
9703
9858
  export declare const ExplainDashboardDocument: DocumentNode<ExplainDashboardQuery, ExplainDashboardQueryVariables>;