@burdenoff/microfe-bigconsole 2026.1010.12 → 2026.1012.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/README.md +19 -0
- package/dist/bigconsole/BigConsoleRoot.js +88 -82
- package/dist/bigconsole/BigConsoleRoutes.js +163 -136
- package/dist/bigconsole/assistant/assistantProduct.js +1 -4
- package/dist/bigconsole/assistant/pageContext.d.ts +0 -14
- package/dist/bigconsole/assistant/pageContext.js +1 -6
- package/dist/bigconsole/assistant/recordAdapters.js +26 -27
- package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +31 -31
- package/dist/bigconsole/components/common/index.d.ts +0 -1
- package/dist/bigconsole/components/common/index.js +0 -1
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +44 -44
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js +36 -36
- package/dist/bigconsole/components/dashboard/DashboardToolbar.js +59 -59
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +58 -57
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +30 -30
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +41 -41
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +34 -34
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +34 -34
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +110 -110
- package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js +21 -21
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +46 -46
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +164 -173
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +101 -101
- package/dist/bigconsole/components/dashboard/TemplateInstallOptions.js +31 -31
- package/dist/bigconsole/components/dashboard/TemplateLayoutPreview.js +15 -15
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -1
- package/dist/bigconsole/components/dashboard/WidgetPalette.js +165 -163
- package/dist/bigconsole/components/datasink/AlertExecutionHistory.js +37 -37
- package/dist/bigconsole/components/datasink/AlertRuleEditor.js +66 -66
- package/dist/bigconsole/components/datasink/CacheTTLSelector.js +35 -35
- package/dist/bigconsole/components/datasink/DataSinkCard.js +50 -51
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +18 -18
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +20 -20
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +47 -47
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +91 -91
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +35 -35
- package/dist/bigconsole/components/parser/DataSinkSelector.js +40 -40
- package/dist/bigconsole/components/parser/ImportParserDialog.js +120 -120
- package/dist/bigconsole/components/parser/ParserSelector.js +51 -51
- package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +10 -10
- package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js +76 -77
- package/dist/bigconsole/components/preview/AiPreviewPanel.js +95 -96
- package/dist/bigconsole/components/widgets/ActionConfigDialog.js +4 -4
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +93 -93
- package/dist/bigconsole/components/widgets/PropertiesPanel.js +499 -507
- package/dist/bigconsole/components/widgets/WidgetRegistry.js +0 -1
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +4 -4
- package/dist/bigconsole/components/widgets/chart/ChartConfig.js +48 -48
- package/dist/bigconsole/components/widgets/comments/WidgetComments.js +46 -46
- package/dist/bigconsole/components/widgets/custom/CustomWidget.js +73 -131
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +61 -61
- package/dist/bigconsole/components/widgets/form/FormWidget.js +36 -36
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +42 -42
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +25 -25
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.d.ts +28 -9
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.js +115 -42
- package/dist/bigconsole/components/widgets/iframe-widget/framePolicy.d.ts +20 -0
- package/dist/bigconsole/components/widgets/iframe-widget/framePolicy.js +10 -0
- package/dist/bigconsole/components/widgets/iframe-widget/index.d.ts +2 -1
- package/dist/bigconsole/components/widgets/iframe-widget/index.js +3 -2
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +4 -4
- package/dist/bigconsole/components/widgets/list/ListConfig.js +30 -30
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +38 -38
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +9 -9
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +9 -9
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +49 -49
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +39 -39
- package/dist/bigconsole/components/widgets/table/TableConfig.js +73 -73
- package/dist/bigconsole/components/widgets/text-widget/TextWidget.js +110 -27
- package/dist/bigconsole/components/widgets/text-widget/textData.d.ts +6 -0
- package/dist/bigconsole/components/widgets/text-widget/textData.js +17 -14
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +64 -64
- package/dist/bigconsole/components/workflow/WorkflowOpenGuard.js +15 -15
- package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +15 -15
- package/dist/bigconsole/context/BigConsoleContext.d.ts +10 -0
- package/dist/bigconsole/context/BigConsoleContext.js +47 -30
- package/dist/bigconsole/context/index.d.ts +1 -1
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +58 -49
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +74 -72
- package/dist/bigconsole/customWidget/proposalPreview.d.ts +5 -0
- package/dist/bigconsole/customWidget/proposalPreview.js +31 -0
- package/dist/bigconsole/hooks/useDataSinkAlerts.d.ts +0 -23
- package/dist/bigconsole/hooks/useDataSinkAlerts.js +113 -138
- package/dist/bigconsole/hooks/useDataSinkOperations.d.ts +7 -0
- package/dist/bigconsole/hooks/useDataSinkOperations.js +109 -98
- package/dist/bigconsole/hooks/useDataSinkSubscription.js +0 -1
- package/dist/bigconsole/hooks/useDrilldown.js +68 -67
- package/dist/bigconsole/hooks/useExportDataSink.js +1 -1
- package/dist/bigconsole/hooks/useGlobalFilters.js +3 -3
- package/dist/bigconsole/hooks/useImportDataSink.js +102 -90
- package/dist/bigconsole/pages/AdminPage.js +130 -130
- package/dist/bigconsole/pages/DashboardBuilderPage.js +60 -72
- package/dist/bigconsole/pages/DashboardViewPage.js +235 -258
- package/dist/bigconsole/pages/DashboardsPage.js +221 -269
- package/dist/bigconsole/pages/DataParsersPage.js +157 -180
- package/dist/bigconsole/pages/DataSinkAlertsPage.js +55 -62
- package/dist/bigconsole/pages/DataSinkBuilderPage.js +318 -295
- package/dist/bigconsole/pages/DataSinkViewPage.js +256 -255
- package/dist/bigconsole/pages/DataSinksPage.js +216 -251
- package/dist/bigconsole/pages/DataSourcesPage.js +5 -5
- package/dist/bigconsole/pages/InsightsPage.js +265 -279
- package/dist/bigconsole/pages/OverviewPage.js +47 -47
- package/dist/bigconsole/pages/ParserBuilderPage.js +213 -229
- package/dist/bigconsole/pages/ParserViewPage.js +97 -97
- package/dist/bigconsole/pages/PipelineBuilderPage.js +214 -256
- package/dist/bigconsole/pages/PipelineViewPage.js +146 -146
- package/dist/bigconsole/pages/PipelinesPage.js +88 -107
- package/dist/bigconsole/pages/SettingsPage.js +173 -179
- package/dist/bigconsole/pages/WidgetDemoPage.js +42 -42
- package/dist/bigconsole/pages/WorkflowViewPage.js +1 -1
- package/dist/bigconsole/pages/WorkflowsPage.js +141 -141
- package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +12 -12
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +235 -122
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.d.ts +6 -1
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +151 -151
- package/dist/bigconsole/renderers/adapters/CustomRenderer.js +46 -46
- package/dist/bigconsole/renderers/adapters/adaptiveCardContent.d.ts +29 -0
- package/dist/bigconsole/renderers/adapters/adaptiveCardContent.js +51 -0
- package/dist/bigconsole/store/widgetStore.d.ts +0 -12
- package/dist/bigconsole/store/widgetStore.js +1 -3
- package/dist/bigconsole/types/index.d.ts +17 -2
- package/dist/bigconsole/utils/backendError.d.ts +0 -18
- package/dist/bigconsole/utils/dataSinkPayload.d.ts +48 -0
- package/dist/bigconsole/utils/dataSinkPayload.js +38 -0
- package/dist/bigconsole/utils/index.d.ts +2 -0
- package/dist/bigconsole/utils/safeUrl.d.ts +79 -0
- package/dist/bigconsole/utils/safeUrl.js +93 -0
- package/dist/bigconsole/utils/sanitizeHtml.d.ts +16 -0
- package/dist/bigconsole/utils/sanitizeHtml.js +67 -0
- package/dist/bigconsole/workflowOpen.js +14 -15
- package/dist/generated/wspace-operations.d.ts +138 -8
- package/dist/generated/wspace-operations.js +281 -240
- package/dist/node_modules/dompurify/dist/purify.es.js +800 -0
- package/package.json +9 -5
- package/dist/bigconsole/assistant/displayCopy.d.ts +0 -32
- package/dist/bigconsole/assistant/pageControls.d.ts +0 -81
- package/dist/bigconsole/assistant/pageControls.js +0 -169
- package/dist/bigconsole/assistant/previewControl.d.ts +0 -16
- package/dist/bigconsole/assistant/previewControl.js +0 -10
- package/dist/bigconsole/assistant/usePreviewControl.d.ts +0 -2
- package/dist/bigconsole/assistant/usePreviewControl.js +0 -20
- package/dist/bigconsole/components/common/SortBySelect.d.ts +0 -11
- package/dist/bigconsole/components/common/SortBySelect.js +0 -29
- package/dist/bigconsole/constants/backendErrors.js +0 -94
- package/dist/bigconsole/hooks/useDashboardLayoutBaseline.d.ts +0 -14
- package/dist/bigconsole/hooks/useDashboardLayoutBaseline.js +0 -32
- package/dist/bigconsole/utils/backendError.js +0 -42
- package/dist/bigconsole/utils/dashboardList.d.ts +0 -28
- package/dist/bigconsole/utils/dashboardList.js +0 -15
- package/dist/bigconsole/utils/dataSinkList.d.ts +0 -15
- package/dist/bigconsole/utils/dataSinkList.js +0 -15
- package/dist/bigconsole/utils/formDirty.d.ts +0 -82
- package/dist/bigconsole/utils/formDirty.js +0 -21
- package/dist/bigconsole/utils/insightsDraft.d.ts +0 -29
- package/dist/bigconsole/utils/insightsDraft.js +0 -8
- package/dist/bigconsole/utils/layoutBaseline.d.ts +0 -130
- package/dist/bigconsole/utils/layoutBaseline.js +0 -96
- package/dist/bigconsole/utils/listSort.d.ts +0 -80
- package/dist/bigconsole/utils/listSort.js +0 -85
- package/dist/bigconsole/utils/widgetFormDirty.d.ts +0 -16
- package/dist/bigconsole/utils/widgetFormDirty.js +0 -13
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { WindowLike } from 'dompurify';
|
|
2
|
+
|
|
3
|
+
export type HtmlSanitizer = (dirty: string) => string;
|
|
4
|
+
/** Escape text so it renders literally when assigned as HTML. */
|
|
5
|
+
export declare function escapeHtml(input: string): string;
|
|
6
|
+
/**
|
|
7
|
+
* Build a sanitiser bound to `win`. A private DOMPurify instance is created so
|
|
8
|
+
* the hooks and configuration never leak into other users of DOMPurify on the
|
|
9
|
+
* page. Without a usable window the returned sanitiser escapes its input.
|
|
10
|
+
*/
|
|
11
|
+
export declare function createWidgetHtmlSanitizer(win?: WindowLike): HtmlSanitizer;
|
|
12
|
+
/**
|
|
13
|
+
* Sanitise widget HTML for assignment via `dangerouslySetInnerHTML` or
|
|
14
|
+
* `innerHTML`. Outside a browser the input is returned escaped.
|
|
15
|
+
*/
|
|
16
|
+
export declare function sanitizeWidgetHtml(dirty: string): string;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { purify as e } from "../../node_modules/dompurify/dist/purify.es.js";
|
|
2
|
+
//#region src/bigconsole/utils/sanitizeHtml.ts
|
|
3
|
+
var t = "user-content-", n = [
|
|
4
|
+
"script",
|
|
5
|
+
"style",
|
|
6
|
+
"link",
|
|
7
|
+
"meta",
|
|
8
|
+
"base",
|
|
9
|
+
"noscript",
|
|
10
|
+
"template",
|
|
11
|
+
"iframe",
|
|
12
|
+
"frame",
|
|
13
|
+
"frameset",
|
|
14
|
+
"object",
|
|
15
|
+
"embed",
|
|
16
|
+
"form",
|
|
17
|
+
"input",
|
|
18
|
+
"button",
|
|
19
|
+
"select",
|
|
20
|
+
"textarea",
|
|
21
|
+
"option",
|
|
22
|
+
"dialog"
|
|
23
|
+
], r = [
|
|
24
|
+
"style",
|
|
25
|
+
"srcset",
|
|
26
|
+
"action",
|
|
27
|
+
"formaction",
|
|
28
|
+
"ping",
|
|
29
|
+
"background"
|
|
30
|
+
], i = /^(?:(?:https?|mailto):|#|\/(?![/\\]))/i, a = /^data:image\/(?:png|gif|jpe?g|webp|avif|bmp);base64,[a-z0-9+/]+=*$/i, o = {
|
|
31
|
+
USE_PROFILES: { html: !0 },
|
|
32
|
+
FORBID_TAGS: n,
|
|
33
|
+
FORBID_ATTR: r,
|
|
34
|
+
ALLOW_DATA_ATTR: !1,
|
|
35
|
+
ALLOW_UNKNOWN_PROTOCOLS: !1,
|
|
36
|
+
ALLOWED_URI_REGEXP: i,
|
|
37
|
+
SANITIZE_DOM: !0,
|
|
38
|
+
SANITIZE_NAMED_PROPS: !0,
|
|
39
|
+
WHOLE_DOCUMENT: !1
|
|
40
|
+
};
|
|
41
|
+
function s(e) {
|
|
42
|
+
return e.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll("\"", """).replaceAll("'", "'");
|
|
43
|
+
}
|
|
44
|
+
function c(e) {
|
|
45
|
+
return /^(?:https?|mailto):/i.test(e);
|
|
46
|
+
}
|
|
47
|
+
function l(e) {
|
|
48
|
+
let n = e.getAttribute("src");
|
|
49
|
+
if (n !== null && /^\s*data:/i.test(n) && (e.nodeName !== "IMG" || !a.test(n.trim())) && e.removeAttribute("src"), e.nodeName !== "A") return;
|
|
50
|
+
let r = e.getAttribute("href");
|
|
51
|
+
if (r === null) {
|
|
52
|
+
e.removeAttribute("target");
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
r.startsWith("#") && r.length > 1 && e.setAttribute("href", `#${t}${r.slice(1)}`), c(r) ? e.setAttribute("target", "_blank") : e.removeAttribute("target"), e.setAttribute("rel", "noopener noreferrer");
|
|
56
|
+
}
|
|
57
|
+
function u(t) {
|
|
58
|
+
if (!t) return s;
|
|
59
|
+
let n = e(t);
|
|
60
|
+
return n.isSupported ? (n.setConfig(o), n.addHook("afterSanitizeAttributes", l), (e) => n.sanitize(e)) : s;
|
|
61
|
+
}
|
|
62
|
+
var d = null;
|
|
63
|
+
function f(e) {
|
|
64
|
+
return typeof window > "u" ? s(e) : (d ??= u(window), d(e));
|
|
65
|
+
}
|
|
66
|
+
//#endregion
|
|
67
|
+
export { s as escapeHtml, f as sanitizeWidgetHtml };
|
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
import { WorkflowDefinitionExistsDocument as e } from "../generated/wspace-operations.js";
|
|
2
2
|
import { BOOTSTRAP_RETRY_DELAY_MS as t } from "./constants.js";
|
|
3
|
-
import { hasGraphQLErrorCode as n } from "./utils/backendError.js";
|
|
4
3
|
//#region src/bigconsole/workflowOpen.ts
|
|
5
|
-
var
|
|
6
|
-
function
|
|
4
|
+
var n = { createWorkflow: !0 }, r = { state: n };
|
|
5
|
+
function i(e) {
|
|
7
6
|
return typeof e == "object" && !!e && e.createWorkflow === !0;
|
|
8
7
|
}
|
|
9
|
-
function
|
|
8
|
+
function a(e) {
|
|
10
9
|
return { query: (t) => e.query(t) };
|
|
11
10
|
}
|
|
12
|
-
async function
|
|
11
|
+
async function o(t, n) {
|
|
13
12
|
try {
|
|
14
|
-
let
|
|
13
|
+
let r = await t.query({
|
|
15
14
|
query: e,
|
|
16
|
-
variables: { workflowKey:
|
|
15
|
+
variables: { workflowKey: n },
|
|
17
16
|
fetchPolicy: "network-only"
|
|
18
17
|
});
|
|
19
|
-
return
|
|
20
|
-
} catch
|
|
21
|
-
return
|
|
18
|
+
return r.error ? "error" : r.data?.workflowDefinition ? "found" : "absent";
|
|
19
|
+
} catch {
|
|
20
|
+
return "error";
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
|
-
var
|
|
25
|
-
async function
|
|
26
|
-
return await
|
|
23
|
+
var s = (e) => new Promise((t) => setTimeout(t, e));
|
|
24
|
+
async function c(e, n, { retryDelayMs: r = t, sleep: i = s } = {}) {
|
|
25
|
+
return await o(e, n) === "found" ? "found" : (await i(r), o(e, n));
|
|
27
26
|
}
|
|
28
|
-
function
|
|
27
|
+
function l({ key: e, createIntent: t, verifiedKey: n, absentKey: r, failedKey: i }) {
|
|
29
28
|
return t || n === e ? "builder" : r === e ? "not-found" : i === e ? "failed" : "checking";
|
|
30
29
|
}
|
|
31
30
|
//#endregion
|
|
32
|
-
export {
|
|
31
|
+
export { n as CREATE_WORKFLOW_STATE, r as NEW_WORKFLOW_NAV, l as decideWorkflowOpenView, i as isCreateIntent, a as toLookupClient, c as verifyWorkflowKey };
|
|
@@ -2232,7 +2232,6 @@ export type DataSinkCoreFieldsFragment = {
|
|
|
2232
2232
|
description?: string | null;
|
|
2233
2233
|
key: string;
|
|
2234
2234
|
config?: Record<string, unknown> | null;
|
|
2235
|
-
data: Record<string, unknown>;
|
|
2236
2235
|
lastRefreshedAt: string;
|
|
2237
2236
|
lastRefreshedBy?: string | null;
|
|
2238
2237
|
expiresAt?: string | null;
|
|
@@ -2288,7 +2287,6 @@ export type DataSinkFullFieldsFragment = {
|
|
|
2288
2287
|
description?: string | null;
|
|
2289
2288
|
key: string;
|
|
2290
2289
|
config?: Record<string, unknown> | null;
|
|
2291
|
-
data: Record<string, unknown>;
|
|
2292
2290
|
lastRefreshedAt: string;
|
|
2293
2291
|
lastRefreshedBy?: string | null;
|
|
2294
2292
|
expiresAt?: string | null;
|
|
@@ -2462,7 +2460,6 @@ export type BatchCreateDataSinksMutation = {
|
|
|
2462
2460
|
description?: string | null;
|
|
2463
2461
|
key: string;
|
|
2464
2462
|
config?: Record<string, unknown> | null;
|
|
2465
|
-
data: Record<string, unknown>;
|
|
2466
2463
|
lastRefreshedAt: string;
|
|
2467
2464
|
lastRefreshedBy?: string | null;
|
|
2468
2465
|
expiresAt?: string | null;
|
|
@@ -2658,7 +2655,6 @@ export type CreateDataSinkMutation = {
|
|
|
2658
2655
|
description?: string | null;
|
|
2659
2656
|
key: string;
|
|
2660
2657
|
config?: Record<string, unknown> | null;
|
|
2661
|
-
data: Record<string, unknown>;
|
|
2662
2658
|
lastRefreshedAt: string;
|
|
2663
2659
|
lastRefreshedBy?: string | null;
|
|
2664
2660
|
expiresAt?: string | null;
|
|
@@ -2790,7 +2786,6 @@ export type RefreshDataSinkMutation = {
|
|
|
2790
2786
|
description?: string | null;
|
|
2791
2787
|
key: string;
|
|
2792
2788
|
config?: Record<string, unknown> | null;
|
|
2793
|
-
data: Record<string, unknown>;
|
|
2794
2789
|
lastRefreshedAt: string;
|
|
2795
2790
|
lastRefreshedBy?: string | null;
|
|
2796
2791
|
expiresAt?: string | null;
|
|
@@ -2897,7 +2892,6 @@ export type UpdateDataSinkMutation = {
|
|
|
2897
2892
|
description?: string | null;
|
|
2898
2893
|
key: string;
|
|
2899
2894
|
config?: Record<string, unknown> | null;
|
|
2900
|
-
data: Record<string, unknown>;
|
|
2901
2895
|
lastRefreshedAt: string;
|
|
2902
2896
|
lastRefreshedBy?: string | null;
|
|
2903
2897
|
expiresAt?: string | null;
|
|
@@ -3104,7 +3098,6 @@ export type GetDataSinkQuery = {
|
|
|
3104
3098
|
description?: string | null;
|
|
3105
3099
|
key: string;
|
|
3106
3100
|
config?: Record<string, unknown> | null;
|
|
3107
|
-
data: Record<string, unknown>;
|
|
3108
3101
|
lastRefreshedAt: string;
|
|
3109
3102
|
lastRefreshedBy?: string | null;
|
|
3110
3103
|
expiresAt?: string | null;
|
|
@@ -3222,6 +3215,88 @@ export type GetDataSinkDataQuery = {
|
|
|
3222
3215
|
hasMore?: boolean | null;
|
|
3223
3216
|
} | null;
|
|
3224
3217
|
};
|
|
3218
|
+
export type GetDataSinkForExportQueryVariables = Types.Exact<{
|
|
3219
|
+
id: Types.Scalars['ID']['input'];
|
|
3220
|
+
}>;
|
|
3221
|
+
export type GetDataSinkForExportQuery = {
|
|
3222
|
+
__typename?: 'Query';
|
|
3223
|
+
getDataSink?: {
|
|
3224
|
+
__typename?: 'DataSink';
|
|
3225
|
+
id: string;
|
|
3226
|
+
workspaceId: string;
|
|
3227
|
+
name?: string | null;
|
|
3228
|
+
description?: string | null;
|
|
3229
|
+
key: string;
|
|
3230
|
+
config?: Record<string, unknown> | null;
|
|
3231
|
+
data: Record<string, unknown>;
|
|
3232
|
+
ttl?: number | null;
|
|
3233
|
+
isActive: boolean;
|
|
3234
|
+
fieldMaskingEnabled: boolean;
|
|
3235
|
+
fieldMaskingRules?: Record<string, unknown> | null;
|
|
3236
|
+
status: Types.DataSinkStatus;
|
|
3237
|
+
setupState: Types.DataSinkSetupState;
|
|
3238
|
+
metadata?: Record<string, unknown> | null;
|
|
3239
|
+
refresh?: {
|
|
3240
|
+
__typename?: 'DataSinkRefreshConfig';
|
|
3241
|
+
type: Types.DataSinkRefreshType;
|
|
3242
|
+
schedule?: {
|
|
3243
|
+
__typename?: 'RefreshSchedule';
|
|
3244
|
+
cron: string;
|
|
3245
|
+
timezone: string;
|
|
3246
|
+
} | null;
|
|
3247
|
+
} | null;
|
|
3248
|
+
exports?: Array<{
|
|
3249
|
+
__typename?: 'DataSinkExport';
|
|
3250
|
+
id: string;
|
|
3251
|
+
name: string;
|
|
3252
|
+
format: string;
|
|
3253
|
+
recipients: Array<string>;
|
|
3254
|
+
template?: string | null;
|
|
3255
|
+
enabled: boolean;
|
|
3256
|
+
schedule?: {
|
|
3257
|
+
__typename?: 'ExportSchedule';
|
|
3258
|
+
cron: string;
|
|
3259
|
+
timezone: string;
|
|
3260
|
+
} | null;
|
|
3261
|
+
}> | null;
|
|
3262
|
+
alerts?: Array<{
|
|
3263
|
+
__typename?: 'DataSinkAlert';
|
|
3264
|
+
id: string;
|
|
3265
|
+
name: string;
|
|
3266
|
+
condition: string;
|
|
3267
|
+
severity: Types.AlertSeverity;
|
|
3268
|
+
channels: Array<string>;
|
|
3269
|
+
recipients: Array<string>;
|
|
3270
|
+
enabled: boolean;
|
|
3271
|
+
throttle?: {
|
|
3272
|
+
__typename?: 'AlertThrottle';
|
|
3273
|
+
enabled: boolean;
|
|
3274
|
+
windowMinutes: number;
|
|
3275
|
+
maxAlertsPerWindow: number;
|
|
3276
|
+
} | null;
|
|
3277
|
+
}> | null;
|
|
3278
|
+
quota?: {
|
|
3279
|
+
__typename?: 'DataSinkQuota';
|
|
3280
|
+
maxDataSize: number;
|
|
3281
|
+
maxRetentionDays: number;
|
|
3282
|
+
alertThreshold: number;
|
|
3283
|
+
alertRecipients?: Array<string> | null;
|
|
3284
|
+
} | null;
|
|
3285
|
+
} | null;
|
|
3286
|
+
};
|
|
3287
|
+
export type GetDataSinkPayloadQueryVariables = Types.Exact<{
|
|
3288
|
+
id?: Types.InputMaybe<Types.Scalars['ID']['input']>;
|
|
3289
|
+
key?: Types.InputMaybe<Types.Scalars['String']['input']>;
|
|
3290
|
+
}>;
|
|
3291
|
+
export type GetDataSinkPayloadQuery = {
|
|
3292
|
+
__typename?: 'Query';
|
|
3293
|
+
getDataSink?: {
|
|
3294
|
+
__typename?: 'DataSink';
|
|
3295
|
+
id: string;
|
|
3296
|
+
version: number;
|
|
3297
|
+
data: Record<string, unknown>;
|
|
3298
|
+
} | null;
|
|
3299
|
+
};
|
|
3225
3300
|
export type ListDataSinksQueryVariables = Types.Exact<{
|
|
3226
3301
|
status?: Types.InputMaybe<Types.DataSinkStatus>;
|
|
3227
3302
|
setupState?: Types.InputMaybe<Types.DataSinkSetupState>;
|
|
@@ -3278,7 +3353,6 @@ export type DataSinkDataUpdatedSubscription = {
|
|
|
3278
3353
|
description?: string | null;
|
|
3279
3354
|
key: string;
|
|
3280
3355
|
config?: Record<string, unknown> | null;
|
|
3281
|
-
data: Record<string, unknown>;
|
|
3282
3356
|
lastRefreshedAt: string;
|
|
3283
3357
|
lastRefreshedBy?: string | null;
|
|
3284
3358
|
expiresAt?: string | null;
|
|
@@ -8846,6 +8920,62 @@ export type GetDataSinkDataQueryHookResult = ReturnType<typeof useGetDataSinkDat
|
|
|
8846
8920
|
export type GetDataSinkDataLazyQueryHookResult = ReturnType<typeof useGetDataSinkDataLazyQuery>;
|
|
8847
8921
|
export type GetDataSinkDataSuspenseQueryHookResult = ReturnType<typeof useGetDataSinkDataSuspenseQuery>;
|
|
8848
8922
|
export type GetDataSinkDataQueryResult = Apollo.QueryResult<Types.GetDataSinkDataQuery, Types.GetDataSinkDataQueryVariables>;
|
|
8923
|
+
export declare const GetDataSinkForExportDocument: Apollo.DocumentNode;
|
|
8924
|
+
/**
|
|
8925
|
+
* __useGetDataSinkForExportQuery__
|
|
8926
|
+
*
|
|
8927
|
+
* To run a query within a React component, call `useGetDataSinkForExportQuery` and pass it any options that fit your needs.
|
|
8928
|
+
* When your component renders, `useGetDataSinkForExportQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
8929
|
+
* you can use to render your UI.
|
|
8930
|
+
*
|
|
8931
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
8932
|
+
*
|
|
8933
|
+
* @example
|
|
8934
|
+
* const { data, loading, error } = useGetDataSinkForExportQuery({
|
|
8935
|
+
* variables: {
|
|
8936
|
+
* id: // value for 'id'
|
|
8937
|
+
* },
|
|
8938
|
+
* });
|
|
8939
|
+
*/
|
|
8940
|
+
export declare function useGetDataSinkForExportQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetDataSinkForExportQuery, Types.GetDataSinkForExportQueryVariables> & ({
|
|
8941
|
+
variables: Types.GetDataSinkForExportQueryVariables;
|
|
8942
|
+
skip?: boolean;
|
|
8943
|
+
} | {
|
|
8944
|
+
skip: boolean;
|
|
8945
|
+
})): ApolloReactHooks.useQuery.Result<Types.GetDataSinkForExportQuery, Types.GetDataSinkForExportQueryVariables, "empty" | "complete" | "streaming", Types.GetDataSinkForExportQueryVariables>;
|
|
8946
|
+
export declare function useGetDataSinkForExportLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetDataSinkForExportQuery, Types.GetDataSinkForExportQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetDataSinkForExportQuery, Types.GetDataSinkForExportQueryVariables, "empty" | "complete" | "streaming">;
|
|
8947
|
+
export declare function useGetDataSinkForExportSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDataSinkForExportQuery, Types.GetDataSinkForExportQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDataSinkForExportQuery, Types.GetDataSinkForExportQueryVariables>;
|
|
8948
|
+
export declare function useGetDataSinkForExportSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDataSinkForExportQuery, Types.GetDataSinkForExportQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDataSinkForExportQuery | undefined, Types.GetDataSinkForExportQueryVariables>;
|
|
8949
|
+
export type GetDataSinkForExportQueryHookResult = ReturnType<typeof useGetDataSinkForExportQuery>;
|
|
8950
|
+
export type GetDataSinkForExportLazyQueryHookResult = ReturnType<typeof useGetDataSinkForExportLazyQuery>;
|
|
8951
|
+
export type GetDataSinkForExportSuspenseQueryHookResult = ReturnType<typeof useGetDataSinkForExportSuspenseQuery>;
|
|
8952
|
+
export type GetDataSinkForExportQueryResult = Apollo.QueryResult<Types.GetDataSinkForExportQuery, Types.GetDataSinkForExportQueryVariables>;
|
|
8953
|
+
export declare const GetDataSinkPayloadDocument: Apollo.DocumentNode;
|
|
8954
|
+
/**
|
|
8955
|
+
* __useGetDataSinkPayloadQuery__
|
|
8956
|
+
*
|
|
8957
|
+
* To run a query within a React component, call `useGetDataSinkPayloadQuery` and pass it any options that fit your needs.
|
|
8958
|
+
* When your component renders, `useGetDataSinkPayloadQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
8959
|
+
* you can use to render your UI.
|
|
8960
|
+
*
|
|
8961
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
8962
|
+
*
|
|
8963
|
+
* @example
|
|
8964
|
+
* const { data, loading, error } = useGetDataSinkPayloadQuery({
|
|
8965
|
+
* variables: {
|
|
8966
|
+
* id: // value for 'id'
|
|
8967
|
+
* key: // value for 'key'
|
|
8968
|
+
* },
|
|
8969
|
+
* });
|
|
8970
|
+
*/
|
|
8971
|
+
export declare function useGetDataSinkPayloadQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetDataSinkPayloadQuery, Types.GetDataSinkPayloadQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetDataSinkPayloadQuery, Types.GetDataSinkPayloadQueryVariables, "empty" | "complete" | "streaming", Types.GetDataSinkPayloadQueryVariables>;
|
|
8972
|
+
export declare function useGetDataSinkPayloadLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetDataSinkPayloadQuery, Types.GetDataSinkPayloadQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetDataSinkPayloadQuery, Types.GetDataSinkPayloadQueryVariables, "empty" | "complete" | "streaming">;
|
|
8973
|
+
export declare function useGetDataSinkPayloadSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDataSinkPayloadQuery, Types.GetDataSinkPayloadQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDataSinkPayloadQuery, Types.GetDataSinkPayloadQueryVariables>;
|
|
8974
|
+
export declare function useGetDataSinkPayloadSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetDataSinkPayloadQuery, Types.GetDataSinkPayloadQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetDataSinkPayloadQuery | undefined, Types.GetDataSinkPayloadQueryVariables>;
|
|
8975
|
+
export type GetDataSinkPayloadQueryHookResult = ReturnType<typeof useGetDataSinkPayloadQuery>;
|
|
8976
|
+
export type GetDataSinkPayloadLazyQueryHookResult = ReturnType<typeof useGetDataSinkPayloadLazyQuery>;
|
|
8977
|
+
export type GetDataSinkPayloadSuspenseQueryHookResult = ReturnType<typeof useGetDataSinkPayloadSuspenseQuery>;
|
|
8978
|
+
export type GetDataSinkPayloadQueryResult = Apollo.QueryResult<Types.GetDataSinkPayloadQuery, Types.GetDataSinkPayloadQueryVariables>;
|
|
8849
8979
|
export declare const ListDataSinksDocument: Apollo.DocumentNode;
|
|
8850
8980
|
/**
|
|
8851
8981
|
* __useListDataSinksQuery__
|