@burdenoff/microfe-bigconsole 2026.1124.2 → 2026.1124.4
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/components/fleet/FleetBindingsDialog.d.ts +19 -0
- package/dist/bigconsole/components/fleet/FleetBindingsDialog.js +287 -0
- package/dist/bigconsole/components/fleet/FleetChildrenPanel.d.ts +8 -0
- package/dist/bigconsole/components/fleet/FleetChildrenPanel.js +185 -156
- package/dist/bigconsole/components/fleet/FleetCopySection.d.ts +5 -0
- package/dist/bigconsole/components/fleet/FleetCopySection.js +115 -118
- package/dist/bigconsole/components/fleet/FleetWidgetActions.d.ts +36 -0
- package/dist/bigconsole/components/fleet/FleetWidgetActions.js +82 -0
- package/dist/bigconsole/components/widgets/WidgetMenu.js +146 -96
- package/dist/bigconsole/hooks/useFleetBindingActions.d.ts +23 -0
- package/dist/bigconsole/hooks/useFleetBindingActions.js +50 -0
- package/dist/bigconsole/hooks/useFleetBindings.d.ts +19 -0
- package/dist/bigconsole/hooks/useFleetBindings.js +140 -0
- package/dist/bigconsole/hooks/useFleetConfirm.d.ts +7 -0
- package/dist/bigconsole/hooks/useFleetConfirm.js +17 -0
- package/dist/bigconsole/hooks/useFleetWidgetActions.d.ts +10 -0
- package/dist/bigconsole/hooks/useFleetWidgetActions.js +41 -0
- package/dist/bigconsole/hooks/useOwnerBoundRun.d.ts +13 -18
- package/dist/bigconsole/hooks/useOwnerBoundRun.js +45 -30
- package/dist/bigconsole/hooks/useWidgetOperations.js +2 -0
- package/dist/bigconsole/pages/DashboardViewPage.js +303 -291
- package/dist/bigconsole/types/index.d.ts +4 -0
- package/dist/bigconsole/utils/fleetBindings.d.ts +49 -0
- package/dist/bigconsole/utils/fleetBindings.js +52 -0
- package/dist/bigconsole/utils/fleetNotices.d.ts +12 -0
- package/dist/bigconsole/utils/fleetNotices.js +5 -0
- package/dist/bigconsole/utils/fleetWidgetMenu.d.ts +20 -0
- package/dist/bigconsole/utils/fleetWidgetMenu.js +13 -0
- package/dist/generated/wspace-operations.d.ts +163 -0
- package/dist/generated/wspace-operations.js +935 -122
- package/dist/generated/wspace-types.d.ts +395 -9
- package/dist/generated/wspace-types.js +12 -10
- package/package.json +1 -1
|
@@ -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,49 @@
|
|
|
1
|
+
import { BigConsoleLinkBindingKind } from '../../generated/wspace-types';
|
|
2
|
+
/** What a widget reads from, by id. */
|
|
3
|
+
export interface WidgetSources {
|
|
4
|
+
dataSinkId?: string | null;
|
|
5
|
+
parserId?: string | null;
|
|
6
|
+
savedQueryId?: string | null;
|
|
7
|
+
}
|
|
8
|
+
export interface MasterSink {
|
|
9
|
+
id: string;
|
|
10
|
+
/** How many of the master's widgets read it. */
|
|
11
|
+
widgetCount: number;
|
|
12
|
+
}
|
|
13
|
+
export interface MasterSources {
|
|
14
|
+
sinks: MasterSink[];
|
|
15
|
+
/** Widgets that read through a parser or a saved query, whose source cannot be swapped here. */
|
|
16
|
+
otherSourceWidgets: number;
|
|
17
|
+
}
|
|
18
|
+
/** The data sinks the master's widgets read, most used first, and how many widgets read some other way. */
|
|
19
|
+
export declare function masterSources(widgets: readonly WidgetSources[]): MasterSources;
|
|
20
|
+
/** A copy's data source in place of one of the master's, as the server holds it. */
|
|
21
|
+
export interface CopyBinding {
|
|
22
|
+
kind: string;
|
|
23
|
+
masterRefId: string;
|
|
24
|
+
copyRefId: string;
|
|
25
|
+
}
|
|
26
|
+
/** What the copy reads in place of the master's data sink `from`: its own sink, or null for the master's. */
|
|
27
|
+
export declare function currentSink(bindings: readonly CopyBinding[] | undefined, from: string): string | null;
|
|
28
|
+
/** What a person has chosen: for each of the master's data sinks, for each copy, its sink (null = the master's). */
|
|
29
|
+
export type BindingDraft = Record<string, Record<string, string | null>>;
|
|
30
|
+
/** The choice for one copy and one master sink: what was picked, or what the copy reads now. */
|
|
31
|
+
export declare function chosenSink(draft: BindingDraft, bindings: ReadonlyMap<string, readonly CopyBinding[]>, copyId: string, from: string): string | null;
|
|
32
|
+
/** A choice made again to what the copy already reads is not a change: it is dropped from the draft. */
|
|
33
|
+
export declare function withChoice(draft: BindingDraft, bindings: ReadonlyMap<string, readonly CopyBinding[]>, copyId: string, from: string, to: string | null): BindingDraft;
|
|
34
|
+
export interface BindingsInput {
|
|
35
|
+
masterDashboardId: string;
|
|
36
|
+
copies: Array<{
|
|
37
|
+
copyDashboardId: string;
|
|
38
|
+
swaps: Array<{
|
|
39
|
+
from: string;
|
|
40
|
+
kind: BigConsoleLinkBindingKind;
|
|
41
|
+
to: string | null;
|
|
42
|
+
}>;
|
|
43
|
+
}>;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The request a draft amounts to: one entry per copy that changes, each with only the swaps that change it.
|
|
47
|
+
* Null when nothing changes, so there is nothing to preview. `copyIds` keeps the copies in the order shown.
|
|
48
|
+
*/
|
|
49
|
+
export declare function bindingsInput(masterDashboardId: string, draft: BindingDraft, copyIds: readonly string[]): BindingsInput | null;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { BigConsoleLinkBindingKind as e } from "../../generated/wspace-types.js";
|
|
2
|
+
// src/bigconsole/utils/fleetBindings.ts
|
|
3
|
+
function t(e) {
|
|
4
|
+
let t = /* @__PURE__ */ new Map(), n = 0;
|
|
5
|
+
for (let r of e) r.dataSinkId && t.set(r.dataSinkId, (t.get(r.dataSinkId) ?? 0) + 1), (r.parserId || r.savedQueryId) && (n += 1);
|
|
6
|
+
return {
|
|
7
|
+
sinks: [...t.entries()].map(([e, t]) => ({
|
|
8
|
+
id: e,
|
|
9
|
+
widgetCount: t
|
|
10
|
+
})).sort((e, t) => t.widgetCount - e.widgetCount || e.id.localeCompare(t.id)),
|
|
11
|
+
otherSourceWidgets: n
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
function n(e, t) {
|
|
15
|
+
let n = e?.find((e) => e.kind === "DATA_SINK" && e.masterRefId === t);
|
|
16
|
+
return n ? n.copyRefId : null;
|
|
17
|
+
}
|
|
18
|
+
function r(e, t, r, i) {
|
|
19
|
+
let a = e[i]?.[r];
|
|
20
|
+
return a === void 0 ? n(t.get(r), i) : a;
|
|
21
|
+
}
|
|
22
|
+
function i(e, t, r, i, a) {
|
|
23
|
+
let o = {
|
|
24
|
+
...e,
|
|
25
|
+
[i]: { ...e[i] }
|
|
26
|
+
};
|
|
27
|
+
return a === n(t.get(r), i) ? (delete o[i]?.[r], Object.keys(o[i] ?? {}).length === 0 && delete o[i]) : o[i] = {
|
|
28
|
+
...o[i],
|
|
29
|
+
[r]: a
|
|
30
|
+
}, o;
|
|
31
|
+
}
|
|
32
|
+
function a(t, n, r) {
|
|
33
|
+
let i = r.flatMap((t) => {
|
|
34
|
+
let r = Object.keys(n).sort().flatMap((r) => {
|
|
35
|
+
let i = n[r]?.[t];
|
|
36
|
+
return i === void 0 ? [] : [{
|
|
37
|
+
from: r,
|
|
38
|
+
kind: e.DataSink,
|
|
39
|
+
to: i
|
|
40
|
+
}];
|
|
41
|
+
});
|
|
42
|
+
return r.length > 0 ? [{
|
|
43
|
+
copyDashboardId: t,
|
|
44
|
+
swaps: r
|
|
45
|
+
}] : [];
|
|
46
|
+
});
|
|
47
|
+
return i.length > 0 ? {
|
|
48
|
+
masterDashboardId: t,
|
|
49
|
+
copies: i
|
|
50
|
+
} : null;
|
|
51
|
+
}
|
|
52
|
+
export { a as bindingsInput, r as chosenSink, n as currentSink, t as masterSources, i as withChoice };
|
|
@@ -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 };
|
|
@@ -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 };
|
|
@@ -50,6 +50,23 @@ export type BigConsoleAsOfUnavailableReason =
|
|
|
50
50
|
/** The history could not be read. */
|
|
51
51
|
| 'READ_FAILED';
|
|
52
52
|
export type BigConsoleAskStatus = 'CLARIFICATION_NEEDED' | 'INSUFFICIENT_DATA' | 'NO_MATCHING_DATA' | 'REFUSED' | 'UNAVAILABLE' | 'UNSUPPORTED' | 'VERIFIED';
|
|
53
|
+
/** How one copy ended up */
|
|
54
|
+
export type BigConsoleBindingCopyState =
|
|
55
|
+
/** The copy uses its own data sources now */
|
|
56
|
+
'APPLIED'
|
|
57
|
+
/** The copy could not take the change, and nothing was written for it. See the reason. */
|
|
58
|
+
| 'INCOMPATIBLE'
|
|
59
|
+
/** The copy already used them */
|
|
60
|
+
| 'UNCHANGED';
|
|
61
|
+
/** One change to a copy's data sources */
|
|
62
|
+
export type BigConsoleBindingSwapInput = {
|
|
63
|
+
/** The one the master's widgets use */
|
|
64
|
+
from: string | number;
|
|
65
|
+
/** What kind of data source */
|
|
66
|
+
kind: BigConsoleLinkBindingKind;
|
|
67
|
+
/** The one the copy uses instead. Null puts the copy back on the master's. */
|
|
68
|
+
to?: string | number | null | undefined;
|
|
69
|
+
};
|
|
53
70
|
/** What kind of source item a report row describes. */
|
|
54
71
|
export type BigConsoleBoardMigrationItemKind = 'FILTER' | 'WIDGET';
|
|
55
72
|
/** What kind of query a source card ran. */
|
|
@@ -107,6 +124,13 @@ export type BigConsoleConflictResolution =
|
|
|
107
124
|
| 'REMOTE_WINS'
|
|
108
125
|
/** Rename on conflict (bigconsole native) */
|
|
109
126
|
| 'RENAME';
|
|
127
|
+
/** The changes for one copy */
|
|
128
|
+
export type BigConsoleCopyBindingsInput = {
|
|
129
|
+
/** The copy. It must be an active direct copy of the master. */
|
|
130
|
+
copyDashboardId: string | number;
|
|
131
|
+
/** Its changes */
|
|
132
|
+
swaps: Array<BigConsoleBindingSwapInput>;
|
|
133
|
+
};
|
|
110
134
|
export type BigConsoleCreateDashboardEmbedPolicyInput = {
|
|
111
135
|
/** Exact HTTPS origins allowed to frame the embed (frame-ancestors). */
|
|
112
136
|
allowedParentOrigins: Array<string>;
|
|
@@ -784,6 +808,14 @@ export type BigConsoleKpiReconciliationTieScope =
|
|
|
784
808
|
| 'NONE'
|
|
785
809
|
/** The card value equals the records' total for the period. */
|
|
786
810
|
| 'PERIOD';
|
|
811
|
+
/** A kind of data source a copy can use in place of the master's */
|
|
812
|
+
export type BigConsoleLinkBindingKind =
|
|
813
|
+
/** A data sink */
|
|
814
|
+
'DATA_SINK'
|
|
815
|
+
/** A parser */
|
|
816
|
+
| 'PARSER'
|
|
817
|
+
/** A saved query */
|
|
818
|
+
| 'SAVED_QUERY';
|
|
787
819
|
/** Input for linking an existing board under a master */
|
|
788
820
|
export type BigConsoleLinkDashboardInput = {
|
|
789
821
|
/**
|
|
@@ -903,6 +935,13 @@ export type BigConsoleRestoreNoticeCode =
|
|
|
903
935
|
* that board's default page
|
|
904
936
|
*/
|
|
905
937
|
'DRILLDOWN_PAGE_MISSING';
|
|
938
|
+
/** Re-point copies of a master at their own data sources */
|
|
939
|
+
export type BigConsoleSetCopyBindingsInput = {
|
|
940
|
+
/** The copies to change, each with its own data sources. A copy can be named once. */
|
|
941
|
+
copies: Array<BigConsoleCopyBindingsInput>;
|
|
942
|
+
/** The master */
|
|
943
|
+
masterDashboardId: string | number;
|
|
944
|
+
};
|
|
906
945
|
/** Input for sharing a dashboard */
|
|
907
946
|
export type BigConsoleShareDashboardInput = {
|
|
908
947
|
/** Dashboard ID to share */
|
|
@@ -5596,6 +5635,21 @@ export type LinkDashboardToMasterMutation = {
|
|
|
5596
5635
|
linkStatus: Types.BigConsoleDashboardLinkStatus | null;
|
|
5597
5636
|
};
|
|
5598
5637
|
};
|
|
5638
|
+
export type PromoteWidgetToMasterMutationVariables = Exact<{
|
|
5639
|
+
widgetId: string | number;
|
|
5640
|
+
}>;
|
|
5641
|
+
export type PromoteWidgetToMasterMutation = {
|
|
5642
|
+
promoteWidgetToMaster: {
|
|
5643
|
+
widgetId: string;
|
|
5644
|
+
masterDashboardId: string;
|
|
5645
|
+
masterWidgetId: string;
|
|
5646
|
+
notices: Array<{
|
|
5647
|
+
code: Types.BigConsoleRestoreNoticeCode;
|
|
5648
|
+
pageName: string;
|
|
5649
|
+
widgetId: string;
|
|
5650
|
+
}>;
|
|
5651
|
+
};
|
|
5652
|
+
};
|
|
5599
5653
|
export type PushToCopiesMutationVariables = Exact<{
|
|
5600
5654
|
input: Types.BigConsolePushToCopiesInput;
|
|
5601
5655
|
}>;
|
|
@@ -5669,6 +5723,39 @@ export type RestoreDashboardToOriginalMutation = {
|
|
|
5669
5723
|
}>;
|
|
5670
5724
|
};
|
|
5671
5725
|
};
|
|
5726
|
+
export type RestoreWidgetToOriginalMutationVariables = Exact<{
|
|
5727
|
+
widgetId: string | number;
|
|
5728
|
+
}>;
|
|
5729
|
+
export type RestoreWidgetToOriginalMutation = {
|
|
5730
|
+
restoreWidgetToOriginal: {
|
|
5731
|
+
widgetId: string;
|
|
5732
|
+
dashboardId: string;
|
|
5733
|
+
masterDashboardId: string;
|
|
5734
|
+
notices: Array<{
|
|
5735
|
+
code: Types.BigConsoleRestoreNoticeCode;
|
|
5736
|
+
pageName: string;
|
|
5737
|
+
widgetId: string;
|
|
5738
|
+
}>;
|
|
5739
|
+
};
|
|
5740
|
+
};
|
|
5741
|
+
export type SetCopyBindingsMutationVariables = Exact<{
|
|
5742
|
+
input: Types.BigConsoleSetCopyBindingsInput;
|
|
5743
|
+
}>;
|
|
5744
|
+
export type SetCopyBindingsMutation = {
|
|
5745
|
+
setCopyBindings: {
|
|
5746
|
+
preview: boolean;
|
|
5747
|
+
appliedCount: number;
|
|
5748
|
+
copies: Array<{
|
|
5749
|
+
dashboardId: string;
|
|
5750
|
+
name: string | null;
|
|
5751
|
+
state: Types.BigConsoleBindingCopyState;
|
|
5752
|
+
reasonCode: string | null;
|
|
5753
|
+
reason: string | null;
|
|
5754
|
+
widgetsRebound: number;
|
|
5755
|
+
widgetsKeptLocal: number;
|
|
5756
|
+
}>;
|
|
5757
|
+
};
|
|
5758
|
+
};
|
|
5672
5759
|
export type SetDashboardAsMasterMutationVariables = Exact<{
|
|
5673
5760
|
id: string | number;
|
|
5674
5761
|
}>;
|
|
@@ -5749,6 +5836,36 @@ export type FleetChildrenQuery = {
|
|
|
5749
5836
|
}>;
|
|
5750
5837
|
};
|
|
5751
5838
|
};
|
|
5839
|
+
export type FleetDataSinkChoicesQueryVariables = Exact<{
|
|
5840
|
+
first?: number | null | undefined;
|
|
5841
|
+
after?: string | null | undefined;
|
|
5842
|
+
}>;
|
|
5843
|
+
export type FleetDataSinkChoicesQuery = {
|
|
5844
|
+
listDataSinks: {
|
|
5845
|
+
edges: Array<{
|
|
5846
|
+
node: {
|
|
5847
|
+
id: string;
|
|
5848
|
+
name: string | null;
|
|
5849
|
+
isActive: boolean;
|
|
5850
|
+
};
|
|
5851
|
+
}>;
|
|
5852
|
+
pageInfo: {
|
|
5853
|
+
hasNextPage: boolean;
|
|
5854
|
+
endCursor: string | null;
|
|
5855
|
+
};
|
|
5856
|
+
};
|
|
5857
|
+
};
|
|
5858
|
+
export type FleetMasterSourcesQueryVariables = Exact<{
|
|
5859
|
+
dashboardId: string | number;
|
|
5860
|
+
}>;
|
|
5861
|
+
export type FleetMasterSourcesQuery = {
|
|
5862
|
+
listWidgetsByDashboard: Array<{
|
|
5863
|
+
id: string;
|
|
5864
|
+
dataSinkId: string | null;
|
|
5865
|
+
parserId: string | null;
|
|
5866
|
+
savedQueryId: string | null;
|
|
5867
|
+
}>;
|
|
5868
|
+
};
|
|
5752
5869
|
export type FleetWidgetFlagsQueryVariables = Exact<{
|
|
5753
5870
|
dashboardId: string | number;
|
|
5754
5871
|
offset?: number | null | undefined;
|
|
@@ -5764,6 +5881,24 @@ export type FleetWidgetFlagsQuery = {
|
|
|
5764
5881
|
createdAt: string;
|
|
5765
5882
|
}>;
|
|
5766
5883
|
};
|
|
5884
|
+
export type PreviewCopyBindingsQueryVariables = Exact<{
|
|
5885
|
+
input: Types.BigConsoleSetCopyBindingsInput;
|
|
5886
|
+
}>;
|
|
5887
|
+
export type PreviewCopyBindingsQuery = {
|
|
5888
|
+
previewCopyBindings: {
|
|
5889
|
+
preview: boolean;
|
|
5890
|
+
appliedCount: number;
|
|
5891
|
+
copies: Array<{
|
|
5892
|
+
dashboardId: string;
|
|
5893
|
+
name: string | null;
|
|
5894
|
+
state: Types.BigConsoleBindingCopyState;
|
|
5895
|
+
reasonCode: string | null;
|
|
5896
|
+
reason: string | null;
|
|
5897
|
+
widgetsRebound: number;
|
|
5898
|
+
widgetsKeptLocal: number;
|
|
5899
|
+
}>;
|
|
5900
|
+
};
|
|
5901
|
+
};
|
|
5767
5902
|
export type PreviewPushToCopiesQueryVariables = Exact<{
|
|
5768
5903
|
input: Types.BigConsolePushToCopiesInput;
|
|
5769
5904
|
}>;
|
|
@@ -7588,6 +7723,8 @@ export type WidgetCoreFieldsFragment = {
|
|
|
7588
7723
|
cacheTTL: number | null;
|
|
7589
7724
|
metadata: Record<string, unknown> | null;
|
|
7590
7725
|
context: Record<string, unknown> | null;
|
|
7726
|
+
isInherited: boolean;
|
|
7727
|
+
isOverridden: boolean;
|
|
7591
7728
|
createdAt: string;
|
|
7592
7729
|
updatedAt: string;
|
|
7593
7730
|
positionResponsive: {
|
|
@@ -7640,6 +7777,8 @@ export type WidgetFullFieldsFragment = {
|
|
|
7640
7777
|
cacheTTL: number | null;
|
|
7641
7778
|
metadata: Record<string, unknown> | null;
|
|
7642
7779
|
context: Record<string, unknown> | null;
|
|
7780
|
+
isInherited: boolean;
|
|
7781
|
+
isOverridden: boolean;
|
|
7643
7782
|
createdAt: string;
|
|
7644
7783
|
updatedAt: string;
|
|
7645
7784
|
drilldown: {
|
|
@@ -7721,6 +7860,8 @@ export type WidgetListFieldsFragment = {
|
|
|
7721
7860
|
cacheTTL: number | null;
|
|
7722
7861
|
metadata: Record<string, unknown> | null;
|
|
7723
7862
|
context: Record<string, unknown> | null;
|
|
7863
|
+
isInherited: boolean;
|
|
7864
|
+
isOverridden: boolean;
|
|
7724
7865
|
createdAt: string;
|
|
7725
7866
|
updatedAt: string;
|
|
7726
7867
|
drilldown: {
|
|
@@ -7919,6 +8060,8 @@ export type CreateWidgetMutation = {
|
|
|
7919
8060
|
cacheTTL: number | null;
|
|
7920
8061
|
metadata: Record<string, unknown> | null;
|
|
7921
8062
|
context: Record<string, unknown> | null;
|
|
8063
|
+
isInherited: boolean;
|
|
8064
|
+
isOverridden: boolean;
|
|
7922
8065
|
createdAt: string;
|
|
7923
8066
|
updatedAt: string;
|
|
7924
8067
|
drilldown: {
|
|
@@ -8083,6 +8226,8 @@ export type DuplicateWidgetMutation = {
|
|
|
8083
8226
|
cacheTTL: number | null;
|
|
8084
8227
|
metadata: Record<string, unknown> | null;
|
|
8085
8228
|
context: Record<string, unknown> | null;
|
|
8229
|
+
isInherited: boolean;
|
|
8230
|
+
isOverridden: boolean;
|
|
8086
8231
|
createdAt: string;
|
|
8087
8232
|
updatedAt: string;
|
|
8088
8233
|
drilldown: {
|
|
@@ -8206,6 +8351,8 @@ export type MoveWidgetToPageMutation = {
|
|
|
8206
8351
|
cacheTTL: number | null;
|
|
8207
8352
|
metadata: Record<string, unknown> | null;
|
|
8208
8353
|
context: Record<string, unknown> | null;
|
|
8354
|
+
isInherited: boolean;
|
|
8355
|
+
isOverridden: boolean;
|
|
8209
8356
|
createdAt: string;
|
|
8210
8357
|
updatedAt: string;
|
|
8211
8358
|
drilldown: {
|
|
@@ -8405,6 +8552,8 @@ export type UpdateWidgetMutation = {
|
|
|
8405
8552
|
cacheTTL: number | null;
|
|
8406
8553
|
metadata: Record<string, unknown> | null;
|
|
8407
8554
|
context: Record<string, unknown> | null;
|
|
8555
|
+
isInherited: boolean;
|
|
8556
|
+
isOverridden: boolean;
|
|
8408
8557
|
createdAt: string;
|
|
8409
8558
|
updatedAt: string;
|
|
8410
8559
|
drilldown: {
|
|
@@ -8630,6 +8779,8 @@ export type GetWidgetQuery = {
|
|
|
8630
8779
|
cacheTTL: number | null;
|
|
8631
8780
|
metadata: Record<string, unknown> | null;
|
|
8632
8781
|
context: Record<string, unknown> | null;
|
|
8782
|
+
isInherited: boolean;
|
|
8783
|
+
isOverridden: boolean;
|
|
8633
8784
|
createdAt: string;
|
|
8634
8785
|
updatedAt: string;
|
|
8635
8786
|
drilldown: {
|
|
@@ -8816,6 +8967,8 @@ export type GetWidgetWithDataQuery = {
|
|
|
8816
8967
|
cacheTTL: number | null;
|
|
8817
8968
|
metadata: Record<string, unknown> | null;
|
|
8818
8969
|
context: Record<string, unknown> | null;
|
|
8970
|
+
isInherited: boolean;
|
|
8971
|
+
isOverridden: boolean;
|
|
8819
8972
|
createdAt: string;
|
|
8820
8973
|
updatedAt: string;
|
|
8821
8974
|
drilldown: {
|
|
@@ -9018,6 +9171,8 @@ export type ListWidgetsByDashboardQuery = {
|
|
|
9018
9171
|
cacheTTL: number | null;
|
|
9019
9172
|
metadata: Record<string, unknown> | null;
|
|
9020
9173
|
context: Record<string, unknown> | null;
|
|
9174
|
+
isInherited: boolean;
|
|
9175
|
+
isOverridden: boolean;
|
|
9021
9176
|
createdAt: string;
|
|
9022
9177
|
updatedAt: string;
|
|
9023
9178
|
drilldown: {
|
|
@@ -9101,6 +9256,8 @@ export type ListWidgetsForPageQuery = {
|
|
|
9101
9256
|
cacheTTL: number | null;
|
|
9102
9257
|
metadata: Record<string, unknown> | null;
|
|
9103
9258
|
context: Record<string, unknown> | null;
|
|
9259
|
+
isInherited: boolean;
|
|
9260
|
+
isOverridden: boolean;
|
|
9104
9261
|
createdAt: string;
|
|
9105
9262
|
updatedAt: string;
|
|
9106
9263
|
drilldown: {
|
|
@@ -9786,17 +9943,23 @@ export declare const GetFilterPresetsDocument: DocumentNode<GetFilterPresetsQuer
|
|
|
9786
9943
|
export declare const CreateLinkedCopyDocument: DocumentNode<CreateLinkedCopyMutation, CreateLinkedCopyMutationVariables>;
|
|
9787
9944
|
export declare const DetachDashboardDocument: DocumentNode<DetachDashboardMutation, DetachDashboardMutationVariables>;
|
|
9788
9945
|
export declare const LinkDashboardToMasterDocument: DocumentNode<LinkDashboardToMasterMutation, LinkDashboardToMasterMutationVariables>;
|
|
9946
|
+
export declare const PromoteWidgetToMasterDocument: DocumentNode<PromoteWidgetToMasterMutation, PromoteWidgetToMasterMutationVariables>;
|
|
9789
9947
|
export declare const PushToCopiesDocument: DocumentNode<PushToCopiesMutation, PushToCopiesMutationVariables>;
|
|
9790
9948
|
export declare const ResolveWidgetFlagDocument: DocumentNode<ResolveWidgetFlagMutation, ResolveWidgetFlagMutationVariables>;
|
|
9791
9949
|
export declare const RespondToDashboardLinkDocument: DocumentNode<RespondToDashboardLinkMutation, RespondToDashboardLinkMutationVariables>;
|
|
9792
9950
|
export declare const RestoreDashboardToOriginalDocument: DocumentNode<RestoreDashboardToOriginalMutation, RestoreDashboardToOriginalMutationVariables>;
|
|
9951
|
+
export declare const RestoreWidgetToOriginalDocument: DocumentNode<RestoreWidgetToOriginalMutation, RestoreWidgetToOriginalMutationVariables>;
|
|
9952
|
+
export declare const SetCopyBindingsDocument: DocumentNode<SetCopyBindingsMutation, SetCopyBindingsMutationVariables>;
|
|
9793
9953
|
export declare const SetDashboardAsMasterDocument: DocumentNode<SetDashboardAsMasterMutation, SetDashboardAsMasterMutationVariables>;
|
|
9794
9954
|
export declare const UnsetDashboardAsMasterDocument: DocumentNode<UnsetDashboardAsMasterMutation, UnsetDashboardAsMasterMutationVariables>;
|
|
9795
9955
|
export declare const FleetLinksDocument: DocumentNode<FleetLinksQuery, FleetLinksQueryVariables>;
|
|
9796
9956
|
export declare const FleetBoardNameDocument: DocumentNode<FleetBoardNameQuery, FleetBoardNameQueryVariables>;
|
|
9797
9957
|
export declare const FleetBoardStateDocument: DocumentNode<FleetBoardStateQuery, FleetBoardStateQueryVariables>;
|
|
9798
9958
|
export declare const FleetChildrenDocument: DocumentNode<FleetChildrenQuery, FleetChildrenQueryVariables>;
|
|
9959
|
+
export declare const FleetDataSinkChoicesDocument: DocumentNode<FleetDataSinkChoicesQuery, FleetDataSinkChoicesQueryVariables>;
|
|
9960
|
+
export declare const FleetMasterSourcesDocument: DocumentNode<FleetMasterSourcesQuery, FleetMasterSourcesQueryVariables>;
|
|
9799
9961
|
export declare const FleetWidgetFlagsDocument: DocumentNode<FleetWidgetFlagsQuery, FleetWidgetFlagsQueryVariables>;
|
|
9962
|
+
export declare const PreviewCopyBindingsDocument: DocumentNode<PreviewCopyBindingsQuery, PreviewCopyBindingsQueryVariables>;
|
|
9800
9963
|
export declare const PreviewPushToCopiesDocument: DocumentNode<PreviewPushToCopiesQuery, PreviewPushToCopiesQueryVariables>;
|
|
9801
9964
|
export declare const PreviewRestoreDashboardToOriginalDocument: DocumentNode<PreviewRestoreDashboardToOriginalQuery, PreviewRestoreDashboardToOriginalQueryVariables>;
|
|
9802
9965
|
export declare const ExplainKpiChangeDocument: DocumentNode<ExplainKpiChangeQuery, ExplainKpiChangeQueryVariables>;
|