@burdenoff/microfe-bigconsole 2026.1016.2 → 2026.1017.10
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/AdminRoot.d.ts +0 -1
- package/dist/bigconsole/AdminRoutes.d.ts +1 -1
- package/dist/bigconsole/BigConsoleRoot.d.ts +0 -1
- package/dist/bigconsole/BigConsoleRoutes.d.ts +1 -2
- package/dist/bigconsole/assistant/assistantApi.d.ts +0 -1
- package/dist/bigconsole/assistant/assistantProduct.d.ts +0 -1
- package/dist/bigconsole/assistant/assistantPrompt.d.ts +0 -1
- package/dist/bigconsole/assistant/assistantRunPersistence.d.ts +0 -1
- package/dist/bigconsole/assistant/assistantRuntime.d.ts +0 -1
- package/dist/bigconsole/assistant/conversationHistoryApi.d.ts +0 -1
- package/dist/bigconsole/assistant/displayCopy.d.ts +0 -1
- package/dist/bigconsole/assistant/modes.d.ts +0 -1
- package/dist/bigconsole/assistant/pageControls.d.ts +0 -1
- package/dist/bigconsole/assistant/previewControl.d.ts +0 -1
- package/dist/bigconsole/assistant/previewController.d.ts +0 -1
- package/dist/bigconsole/assistant/previewRunAction.d.ts +0 -1
- package/dist/bigconsole/assistant/recordAdapters.d.ts +0 -1
- package/dist/bigconsole/components/DrilldownDashboardRenderer.d.ts +0 -1
- package/dist/bigconsole/components/DrilldownModal.d.ts +0 -1
- package/dist/bigconsole/components/builder/BuilderCanvas.d.ts +0 -1
- package/dist/bigconsole/components/builder/BuilderTopbar.d.ts +0 -1
- package/dist/bigconsole/components/builder/DashboardEditorShell.d.ts +0 -1
- package/dist/bigconsole/components/builder/WidgetInspector.d.ts +0 -1
- package/dist/bigconsole/components/builder/inspector/AdvancedSection.d.ts +0 -1
- package/dist/bigconsole/components/builder/inspector/AppearanceSection.d.ts +0 -1
- package/dist/bigconsole/components/builder/inspector/DataBindingSection.d.ts +0 -1
- package/dist/bigconsole/components/builder/inspector/GeneralSection.d.ts +0 -1
- package/dist/bigconsole/components/builder/inspector/LayoutSection.d.ts +0 -1
- package/dist/bigconsole/components/common/Section.d.ts +0 -1
- package/dist/bigconsole/components/common/SortBySelect.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/DashboardCanvas.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js +19 -19
- package/dist/bigconsole/components/dashboard/DashboardGrid.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/DashboardStatusPill.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/DashboardToolbar.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/LiveBoardBanner.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/LiveCanvasToggle.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/PublishToStoreDialog.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/StoreTemplatePicker.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/TemplateInstallOptions.d.ts +1 -2
- package/dist/bigconsole/components/dashboard/TemplateLayoutPreview.d.ts +1 -2
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/TemplateSetupBanner.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/WidgetPalette.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/WidgetPalette.js +7 -7
- package/dist/bigconsole/components/datasink/AlertExecutionHistory.d.ts +1 -2
- package/dist/bigconsole/components/datasink/AlertRuleEditor.d.ts +1 -2
- package/dist/bigconsole/components/datasink/ConfigurationForm.d.ts +0 -1
- package/dist/bigconsole/components/datasink/DataSinkCard.d.ts +0 -1
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.d.ts +0 -1
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.d.ts +0 -1
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.d.ts +0 -1
- package/dist/bigconsole/components/datasink/ExportDataSinkDialog.d.ts +0 -1
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.d.ts +0 -1
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.d.ts +0 -1
- package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.d.ts +0 -1
- package/dist/bigconsole/components/datasink/SetupStateBadge.d.ts +0 -1
- package/dist/bigconsole/components/datasink/WorkflowStatusPanel.d.ts +0 -1
- package/dist/bigconsole/components/embed/EmbedErrorBoundary.d.ts +0 -1
- package/dist/bigconsole/components/embed/EmbedWidgetRenderer.d.ts +1 -2
- package/dist/bigconsole/components/embed/ReadOnlyDashboardRenderer.d.ts +1 -2
- package/dist/bigconsole/components/embed/drilldown.d.ts +0 -1
- package/dist/bigconsole/components/embed/renderer-manifest.d.ts +0 -1
- package/dist/bigconsole/components/embed/types.d.ts +0 -1
- package/dist/bigconsole/components/embed/validate.d.ts +0 -1
- package/dist/bigconsole/components/embed/widgetShim.d.ts +0 -1
- package/dist/bigconsole/components/embed/widgets/CalendarEmbed.d.ts +1 -2
- package/dist/bigconsole/components/embed/widgets/ChartEmbed.d.ts +1 -2
- package/dist/bigconsole/components/embed/widgets/EmbedFrame.d.ts +1 -2
- package/dist/bigconsole/components/embed/widgets/FormEmbed.d.ts +1 -2
- package/dist/bigconsole/components/embed/widgets/GaugeEmbed.d.ts +1 -2
- package/dist/bigconsole/components/embed/widgets/HeatmapEmbed.d.ts +1 -2
- package/dist/bigconsole/components/embed/widgets/KanbanEmbed.d.ts +1 -2
- package/dist/bigconsole/components/embed/widgets/KpiComparisonEmbed.d.ts +1 -2
- package/dist/bigconsole/components/embed/widgets/ListEmbed.d.ts +1 -2
- package/dist/bigconsole/components/embed/widgets/MetricCardEmbed.d.ts +1 -2
- package/dist/bigconsole/components/embed/widgets/PivotEmbed.d.ts +1 -2
- package/dist/bigconsole/components/embed/widgets/ProgressEmbed.d.ts +1 -2
- package/dist/bigconsole/components/embed/widgets/RetentionEmbed.d.ts +1 -2
- package/dist/bigconsole/components/embed/widgets/TableEmbed.d.ts +1 -2
- package/dist/bigconsole/components/embed/widgets/TextEmbed.d.ts +1 -2
- package/dist/bigconsole/components/embed/widgets/TimelineEmbed.d.ts +1 -2
- package/dist/bigconsole/components/insights/GeneratedFormattingReview.d.ts +2 -2
- package/dist/bigconsole/components/overview/DashboardGuide.d.ts +0 -1
- package/dist/bigconsole/components/overview/DataHealthCard.d.ts +0 -1
- package/dist/bigconsole/components/overview/OverviewQuickActions.d.ts +0 -1
- package/dist/bigconsole/components/overview/OverviewStatCard.d.ts +0 -1
- package/dist/bigconsole/components/overview/RecentDashboardsPanel.d.ts +0 -1
- package/dist/bigconsole/components/overview/overviewModel.d.ts +0 -1
- package/dist/bigconsole/components/overview/useOverviewData.d.ts +0 -1
- package/dist/bigconsole/components/overview/useOverviewData.js +47 -42
- package/dist/bigconsole/components/parser/DataSinkSelector.d.ts +0 -1
- package/dist/bigconsole/components/parser/ExportParserDialog.d.ts +0 -1
- package/dist/bigconsole/components/parser/ExpressionEditor.d.ts +0 -1
- package/dist/bigconsole/components/parser/ImportParserDialog.d.ts +0 -1
- package/dist/bigconsole/components/parser/ParserBuilder.d.ts +0 -1
- package/dist/bigconsole/components/parser/ParserCard.d.ts +0 -1
- package/dist/bigconsole/components/parser/ParserFormDialog.d.ts +0 -1
- package/dist/bigconsole/components/parser/ParserSelector.d.ts +0 -1
- package/dist/bigconsole/components/parser/ParserStatusBadge.d.ts +0 -1
- package/dist/bigconsole/components/parser/ParserTypeBadge.d.ts +0 -1
- package/dist/bigconsole/components/parser/TestPanel.d.ts +0 -1
- package/dist/bigconsole/components/pipeline/PipelineCard.d.ts +0 -1
- package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.d.ts +0 -1
- package/dist/bigconsole/components/pipeline/PipelineScopePicker.d.ts +1 -1
- package/dist/bigconsole/components/pipeline/PipelineStatusBadge.d.ts +0 -1
- package/dist/bigconsole/components/preview/AiPreviewContent.d.ts +4 -4
- package/dist/bigconsole/components/preview/AiPreviewMiniPanel.d.ts +1 -1
- package/dist/bigconsole/components/preview/AiPreviewPanel.d.ts +1 -1
- package/dist/bigconsole/components/preview/parserPreview.d.ts +6 -8
- package/dist/bigconsole/components/preview/previewShared.d.ts +1 -2
- package/dist/bigconsole/components/widgets/ActionConfigDialog.d.ts +0 -1
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.d.ts +0 -1
- package/dist/bigconsole/components/widgets/PropertiesPanel.d.ts +0 -1
- package/dist/bigconsole/components/widgets/PropertiesPanel.js +307 -287
- package/dist/bigconsole/components/widgets/WidgetErrorBoundary.d.ts +0 -1
- package/dist/bigconsole/components/widgets/WidgetHeader.d.ts +0 -1
- package/dist/bigconsole/components/widgets/WidgetMenu.d.ts +0 -1
- package/dist/bigconsole/components/widgets/WidgetRegistry.d.ts +0 -1
- package/dist/bigconsole/components/widgets/WidgetTypeSelector.d.ts +0 -1
- package/dist/bigconsole/components/widgets/WidgetWrapper.d.ts +0 -1
- package/dist/bigconsole/components/widgets/actionConfig.d.ts +0 -1
- package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/advanced/AdvancedWidgetConfig.d.ts +1 -2
- package/dist/bigconsole/components/widgets/advanced/AdvancedWidgets.d.ts +0 -1
- package/dist/bigconsole/components/widgets/advanced/boxPlotDescription.d.ts +0 -1
- package/dist/bigconsole/components/widgets/calendar/CalendarView.d.ts +0 -1
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/chart/ChartConfig.d.ts +0 -1
- package/dist/bigconsole/components/widgets/chart/ChartLegend.d.ts +0 -1
- package/dist/bigconsole/components/widgets/chart/ChartTooltip.d.ts +0 -1
- package/dist/bigconsole/components/widgets/chart/ChartWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/AreaChart.d.ts +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/BarChart.d.ts +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/ComboChart.d.ts +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.d.ts +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/LineChart.d.ts +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/PieChart.d.ts +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/ScatterChart.d.ts +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/WaterfallChart.d.ts +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/numericSeries.d.ts +0 -1
- package/dist/bigconsole/components/widgets/chart/charts/referenceElements.d.ts +0 -1
- package/dist/bigconsole/components/widgets/comments/WidgetComments.d.ts +0 -1
- package/dist/bigconsole/components/widgets/custom/CustomWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.d.ts +0 -1
- package/dist/bigconsole/components/widgets/form/FormWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/funnel/index.d.ts +0 -1
- package/dist/bigconsole/components/widgets/gauge/CircularGauge.d.ts +0 -1
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.d.ts +0 -1
- package/dist/bigconsole/components/widgets/gauge/GaugeWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/gauge/LinearGauge.d.ts +0 -1
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.d.ts +0 -1
- package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/kanban/KanbanView.d.ts +0 -1
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/kpi/KPIWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/list/ListConfig.d.ts +0 -1
- package/dist/bigconsole/components/widgets/list/ListItem.d.ts +0 -1
- package/dist/bigconsole/components/widgets/list/ListWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/map-widget/MapWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.d.ts +0 -1
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.d.ts +0 -1
- package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.d.ts +0 -1
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.d.ts +0 -1
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/progress/ProgressBar.d.ts +0 -1
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.d.ts +0 -1
- package/dist/bigconsole/components/widgets/progress/ProgressWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/retention/RetentionWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/states/EmptyState.d.ts +0 -1
- package/dist/bigconsole/components/widgets/states/ErrorState.d.ts +0 -1
- package/dist/bigconsole/components/widgets/states/LoadingState.d.ts +0 -1
- package/dist/bigconsole/components/widgets/table/TableCell.d.ts +0 -1
- package/dist/bigconsole/components/widgets/table/TableConfig.d.ts +0 -1
- package/dist/bigconsole/components/widgets/table/TableHeader.d.ts +0 -1
- package/dist/bigconsole/components/widgets/table/TablePagination.d.ts +0 -1
- package/dist/bigconsole/components/widgets/table/TableWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/text-widget/TextWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/timeline/TimelineWidget.d.ts +0 -1
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.d.ts +0 -1
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +34 -25
- package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.d.ts +0 -1
- package/dist/bigconsole/components/workflow/WorkflowCard.d.ts +0 -1
- package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.d.ts +0 -1
- package/dist/bigconsole/components/workflow/WorkflowDesignPreview.d.ts +2 -4
- package/dist/bigconsole/components/workflow/WorkflowDesignPreview.js +20 -53
- package/dist/bigconsole/components/workflow/WorkflowOpenGuard.d.ts +0 -1
- package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.d.ts +1 -1
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.d.ts +0 -1
- package/dist/bigconsole/components/workflow/workflowDesignProjection.d.ts +12 -0
- package/dist/bigconsole/components/workflow/workflowDesignProjection.js +42 -0
- package/dist/bigconsole/context/BigConsoleContext.d.ts +1 -2
- package/dist/bigconsole/contexts/CrossFilterContext.d.ts +0 -1
- package/dist/bigconsole/contexts/NavigationContext.d.ts +1 -2
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.d.ts +0 -1
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.d.ts +0 -1
- package/dist/bigconsole/customWidget/proposalPreview.d.ts +1 -2
- package/dist/bigconsole/customWidget/proposalSource.d.ts +0 -1
- package/dist/bigconsole/graphql/widgetCapabilities.d.ts +0 -1
- package/dist/bigconsole/hooks/index.js +2 -2
- package/dist/bigconsole/hooks/mutationInputEnums.d.ts +5 -0
- package/dist/bigconsole/hooks/mutationInputEnums.js +32 -0
- package/dist/bigconsole/hooks/useDashboardEmbedPolicy.d.ts +0 -1
- package/dist/bigconsole/hooks/useDashboardImageExport.d.ts +0 -1
- package/dist/bigconsole/hooks/useDashboardLayoutBaseline.d.ts +0 -1
- package/dist/bigconsole/hooks/useDashboardOperations.d.ts +0 -1
- package/dist/bigconsole/hooks/useDashboardTemplates.js +0 -1
- package/dist/bigconsole/hooks/useDataSinkAlerts.d.ts +16 -32
- package/dist/bigconsole/hooks/useDataSinkOperations.d.ts +0 -1
- package/dist/bigconsole/hooks/useDataSinkSubscription.d.ts +0 -1
- package/dist/bigconsole/hooks/useDrilldown.d.ts +0 -1
- package/dist/bigconsole/hooks/useDrilldownOperations.d.ts +0 -1
- package/dist/bigconsole/hooks/useEventLogs.d.ts +0 -6
- package/dist/bigconsole/hooks/useEventLogs.js +152 -60
- package/dist/bigconsole/hooks/useEventWebhooks.d.ts +0 -6
- package/dist/bigconsole/hooks/useEventWebhooks.js +132 -72
- package/dist/bigconsole/hooks/useInstalledWidgets.d.ts +0 -1
- package/dist/bigconsole/hooks/useModalFocusTrap.d.ts +0 -1
- package/dist/bigconsole/hooks/usePageOperations.d.ts +0 -1
- package/dist/bigconsole/hooks/useParserOperations.d.ts +0 -1
- package/dist/bigconsole/hooks/usePipelineOperations.d.ts +0 -1
- package/dist/bigconsole/hooks/useQueryLifecycle.d.ts +8 -0
- package/dist/bigconsole/hooks/useQueryLifecycle.js +71 -0
- package/dist/bigconsole/hooks/useShareRecipients.d.ts +0 -1
- package/dist/bigconsole/hooks/useStoreDashboardTemplates.js +45 -42
- package/dist/bigconsole/hooks/useWidgetActions.d.ts +0 -1
- package/dist/bigconsole/hooks/useWidgetActions.js +112 -65
- package/dist/bigconsole/hooks/useWidgetCatalog.d.ts +0 -1
- package/dist/bigconsole/hooks/useWidgetCatalog.js +17 -17
- package/dist/bigconsole/hooks/useWidgetComments.d.ts +0 -1
- package/dist/bigconsole/hooks/useWidgetComments.js +49 -46
- package/dist/bigconsole/hooks/useWidgetConfigPersist.d.ts +0 -1
- package/dist/bigconsole/hooks/useWidgetData.d.ts +0 -1
- package/dist/bigconsole/hooks/useWidgetData.js +57 -52
- package/dist/bigconsole/hooks/useWidgetExport.d.ts +0 -1
- package/dist/bigconsole/hooks/useWidgetOperations.d.ts +0 -1
- package/dist/bigconsole/hooks/useWorkflowOperations.d.ts +0 -1
- package/dist/bigconsole/pages/AdminPage.d.ts +0 -1
- package/dist/bigconsole/pages/DashboardBuilderPage.d.ts +0 -1
- package/dist/bigconsole/pages/DashboardViewPage.d.ts +0 -1
- package/dist/bigconsole/pages/DashboardsPage.d.ts +0 -1
- package/dist/bigconsole/pages/DataSinkAlertsPage.d.ts +1 -1
- package/dist/bigconsole/pages/DataSinksPage.d.ts +0 -1
- package/dist/bigconsole/pages/DataSourcesPage.d.ts +1 -1
- package/dist/bigconsole/pages/InsightsPage.d.ts +0 -1
- package/dist/bigconsole/pages/OverviewPage.d.ts +0 -1
- package/dist/bigconsole/pages/SettingsPage.d.ts +0 -1
- package/dist/bigconsole/pages/WidgetDemoPage.d.ts +0 -1
- package/dist/bigconsole/providers/BigConsoleQuotaProvider.d.ts +1 -2
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.d.ts +0 -1
- package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.d.ts +0 -1
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.d.ts +0 -1
- package/dist/bigconsole/renderers/adapters/CustomRenderer.d.ts +0 -1
- package/dist/bigconsole/renderers/adapters/adaptiveCardContent.d.ts +0 -1
- package/dist/bigconsole/renderers/factory/WidgetRendererFactory.d.ts +0 -1
- package/dist/bigconsole/renderers/registry/RendererRegistry.d.ts +0 -1
- package/dist/bigconsole/renderers/types/renderer.d.ts +0 -1
- package/dist/bigconsole/store/dashboardStore.d.ts +0 -1
- package/dist/bigconsole/store/dataSinkStore.d.ts +0 -1
- package/dist/bigconsole/store/parserStore.d.ts +0 -1
- package/dist/bigconsole/store/pipelineStore.d.ts +0 -1
- package/dist/bigconsole/store/widgetStore.d.ts +0 -1
- package/dist/bigconsole/store/workflowStore.d.ts +0 -1
- package/dist/bigconsole/types/index.d.ts +0 -1
- package/dist/bigconsole/utils/advancedWidgetCapabilities.d.ts +0 -1
- package/dist/bigconsole/utils/alertRules.d.ts +0 -1
- package/dist/bigconsole/utils/dashboardList.d.ts +0 -1
- package/dist/bigconsole/utils/dashboardTemplateContent.d.ts +0 -1
- package/dist/bigconsole/utils/dataSinkList.d.ts +0 -1
- package/dist/bigconsole/utils/quota.d.ts +0 -1
- package/dist/bigconsole/utils/sanitizeHtml.d.ts +0 -1
- package/dist/bigconsole/utils/templateInstallInputs.d.ts +0 -1
- package/dist/bigconsole/utils/widgetBinding.d.ts +0 -1
- package/dist/bigconsole/utils/widgetDisplayData.d.ts +0 -1
- package/dist/bigconsole/utils/widgetPositioning.d.ts +0 -1
- package/dist/bigconsole/utils/widgetTypeMapping.d.ts +0 -1
- package/dist/bigconsole/workflowOpen.d.ts +0 -1
- package/dist/generated/global-operations.d.ts +177 -137
- package/dist/generated/global-operations.js +541 -63
- package/dist/generated/global-types.d.ts +2 -21
- package/dist/generated/wspace-operations.d.ts +3277 -6802
- package/dist/generated/wspace-operations.js +34725 -2582
- package/dist/generated/wspace-types.d.ts +10 -29
- package/dist/generated/wspace-types.js +14 -4
- package/package.json +16 -17
|
@@ -439,44 +439,45 @@ var c = {
|
|
|
439
439
|
]
|
|
440
440
|
});
|
|
441
441
|
}), d = t(function({ dashboardId: t, widgetId: a, onWebhookCreated: d, onWebhookDeleted: f }) {
|
|
442
|
-
let { t: p } = i(), [m, h] = r(!1), [g, _] = r(null), [v, y] = r({}), [b, x] = r(null), { webhooks: S, loading: C,
|
|
442
|
+
let { t: p } = i(), [m, h] = r(!1), [g, _] = r(null), [v, y] = r({}), [b, x] = r(null), { webhooks: S, loading: C, error: w, refetch: T, createWebhook: E, updateWebhook: D, deleteWebhook: O, toggleWebhook: k, testWebhook: A } = e({
|
|
443
443
|
dashboardId: t,
|
|
444
444
|
widgetId: a
|
|
445
|
-
}),
|
|
446
|
-
if ("id" in e) await
|
|
445
|
+
}), j = n(async (e) => {
|
|
446
|
+
if (!w) if ("id" in e) await D(e) && (_(null), h(!1));
|
|
447
447
|
else {
|
|
448
|
-
let t = await
|
|
448
|
+
let t = await E(e);
|
|
449
449
|
t && (h(!1), d?.(t));
|
|
450
450
|
}
|
|
451
|
-
}, [
|
|
452
|
-
w,
|
|
453
|
-
T,
|
|
454
|
-
d
|
|
455
|
-
]), A = n(async (e) => {
|
|
456
|
-
confirm(p("bigconsole.widget.webhookConfig.deleteConfirm", "Are you sure you want to delete this webhook?")) && await E(e) && f?.(e);
|
|
457
451
|
}, [
|
|
458
452
|
E,
|
|
453
|
+
D,
|
|
454
|
+
d,
|
|
455
|
+
w
|
|
456
|
+
]), M = n(async (e) => {
|
|
457
|
+
confirm(p("bigconsole.widget.webhookConfig.deleteConfirm", "Are you sure you want to delete this webhook?")) && await O(e) && f?.(e);
|
|
458
|
+
}, [
|
|
459
|
+
O,
|
|
459
460
|
f,
|
|
460
461
|
p
|
|
461
|
-
]),
|
|
462
|
-
await
|
|
463
|
-
}, [
|
|
462
|
+
]), N = n(async (e) => {
|
|
463
|
+
await k(e.id, !e.isActive);
|
|
464
|
+
}, [k]), P = n(async (e) => {
|
|
464
465
|
x(e);
|
|
465
|
-
let t = await
|
|
466
|
+
let t = await A(e);
|
|
466
467
|
y((n) => ({
|
|
467
468
|
...n,
|
|
468
469
|
[e]: t
|
|
469
470
|
})), x(null);
|
|
470
|
-
}, [
|
|
471
|
+
}, [A]), F = n((e) => {
|
|
471
472
|
_(e), h(!0);
|
|
472
|
-
}, []),
|
|
473
|
+
}, []), I = n(() => {
|
|
473
474
|
h(!1), _(null);
|
|
474
475
|
}, []);
|
|
475
476
|
return /* @__PURE__ */ s("div", {
|
|
476
477
|
style: c.container,
|
|
477
478
|
"data-testid": "webhook-config-panel",
|
|
478
479
|
children: [
|
|
479
|
-
!m && /* @__PURE__ */ o("div", {
|
|
480
|
+
!m && !w && /* @__PURE__ */ o("div", {
|
|
480
481
|
style: c.header,
|
|
481
482
|
children: /* @__PURE__ */ o("button", {
|
|
482
483
|
type: "button",
|
|
@@ -485,15 +486,23 @@ var c = {
|
|
|
485
486
|
children: p("bigconsole.widget.webhookConfig.addWebhook", "+ Add Webhook")
|
|
486
487
|
})
|
|
487
488
|
}),
|
|
488
|
-
m && /* @__PURE__ */ o(l, {
|
|
489
|
+
m && !w && /* @__PURE__ */ o(l, {
|
|
489
490
|
webhook: g || void 0,
|
|
490
491
|
dashboardId: t,
|
|
491
492
|
widgetId: a,
|
|
492
|
-
onSave:
|
|
493
|
-
onCancel:
|
|
493
|
+
onSave: j,
|
|
494
|
+
onCancel: I,
|
|
494
495
|
loading: C
|
|
495
496
|
}),
|
|
496
|
-
|
|
497
|
+
w ? /* @__PURE__ */ s("div", {
|
|
498
|
+
role: "alert",
|
|
499
|
+
children: [/* @__PURE__ */ o("p", { children: p("bigconsole.widget.webhookConfig.loadError", "Webhook mappings could not be verified.") }), /* @__PURE__ */ o("button", {
|
|
500
|
+
type: "button",
|
|
501
|
+
disabled: C,
|
|
502
|
+
onClick: () => void T().catch(() => {}),
|
|
503
|
+
children: p("bigconsole.widget.webhookConfig.retry", "Retry")
|
|
504
|
+
})]
|
|
505
|
+
}) : C && S.length === 0 ? /* @__PURE__ */ o("div", {
|
|
497
506
|
style: c.emptyState,
|
|
498
507
|
role: "status",
|
|
499
508
|
children: /* @__PURE__ */ o("p", {
|
|
@@ -517,10 +526,10 @@ var c = {
|
|
|
517
526
|
style: c.webhookList,
|
|
518
527
|
children: S.map((e) => /* @__PURE__ */ o(u, {
|
|
519
528
|
webhook: e,
|
|
520
|
-
onEdit: () =>
|
|
521
|
-
onDelete: () =>
|
|
522
|
-
onToggle: () =>
|
|
523
|
-
onTest: () =>
|
|
529
|
+
onEdit: () => F(e),
|
|
530
|
+
onDelete: () => M(e.id),
|
|
531
|
+
onToggle: () => N(e),
|
|
532
|
+
onTest: () => P(e.id),
|
|
524
533
|
testResult: v[e.id],
|
|
525
534
|
testing: b === e.id
|
|
526
535
|
}, e.id))
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { WorkflowData } from '@burdenoff/fluidgrids-fe-sdk';
|
|
2
|
-
|
|
3
1
|
/** Read-only projection of the saved graph. Named ports and labels come from the actual definition. */
|
|
4
2
|
export declare function WorkflowDesignPreview({ workflow }: {
|
|
5
|
-
workflow:
|
|
6
|
-
}): import(
|
|
3
|
+
workflow: unknown;
|
|
4
|
+
}): import('react').JSX.Element;
|
|
@@ -1,82 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { projectWorkflowDesign as e } from "./workflowDesignProjection.js";
|
|
2
|
+
import { useMemo as t } from "react";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
import { Background as i, Controls as a, Handle as o, Position as s, ReactFlow as c } from "@xyflow/react";
|
|
4
5
|
import "@xyflow/react/dist/style.css";
|
|
5
6
|
//#region src/bigconsole/components/workflow/WorkflowDesignPreview.tsx
|
|
6
|
-
function c(e) {
|
|
7
|
-
return e && typeof e == "object" && !Array.isArray(e) ? Object.fromEntries(Object.entries(e)) : {};
|
|
8
|
-
}
|
|
9
7
|
function l({ data: e }) {
|
|
10
|
-
return /* @__PURE__ */
|
|
8
|
+
return /* @__PURE__ */ r("div", {
|
|
11
9
|
className: "min-w-40 rounded-card border border-[var(--color-border-subtle)] bg-bg-canvas p-3 text-text-primary shadow-sm",
|
|
12
10
|
children: [
|
|
13
|
-
e.inputs.map((
|
|
14
|
-
id:
|
|
11
|
+
e.inputs.map((t, r) => /* @__PURE__ */ n(o, {
|
|
12
|
+
id: t || void 0,
|
|
15
13
|
type: "target",
|
|
16
|
-
position:
|
|
14
|
+
position: s.Left,
|
|
17
15
|
isConnectable: !1,
|
|
18
16
|
style: {
|
|
19
17
|
top: `${(r + 1) / (e.inputs.length + 1) * 100}%`,
|
|
20
18
|
background: "var(--color-text-secondary)"
|
|
21
19
|
}
|
|
22
|
-
},
|
|
23
|
-
/* @__PURE__ */
|
|
20
|
+
}, t)),
|
|
21
|
+
/* @__PURE__ */ n("p", {
|
|
24
22
|
className: "text-sm font-medium",
|
|
25
23
|
children: e.label
|
|
26
24
|
}),
|
|
27
|
-
e.operation && /* @__PURE__ */
|
|
25
|
+
e.operation && /* @__PURE__ */ n("p", {
|
|
28
26
|
className: "mt-1 text-xs text-text-secondary",
|
|
29
27
|
children: e.operation
|
|
30
28
|
}),
|
|
31
|
-
e.outputs.map((
|
|
32
|
-
id:
|
|
29
|
+
e.outputs.map((t, r) => /* @__PURE__ */ n(o, {
|
|
30
|
+
id: t || void 0,
|
|
33
31
|
type: "source",
|
|
34
|
-
position:
|
|
32
|
+
position: s.Right,
|
|
35
33
|
isConnectable: !1,
|
|
36
34
|
style: {
|
|
37
35
|
top: `${(r + 1) / (e.outputs.length + 1) * 100}%`,
|
|
38
36
|
background: "var(--color-text-secondary)"
|
|
39
37
|
}
|
|
40
|
-
},
|
|
38
|
+
}, t))
|
|
41
39
|
]
|
|
42
40
|
});
|
|
43
41
|
}
|
|
44
42
|
var u = { design: l };
|
|
45
|
-
function d({ workflow:
|
|
46
|
-
let { nodes:
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
source: e.source,
|
|
50
|
-
target: e.target,
|
|
51
|
-
sourceHandle: typeof e.sourceHandle == "string" ? e.sourceHandle : void 0,
|
|
52
|
-
targetHandle: typeof e.targetHandle == "string" ? e.targetHandle : void 0,
|
|
53
|
-
type: "smoothstep",
|
|
54
|
-
style: { stroke: "var(--color-text-secondary)" }
|
|
55
|
-
}]);
|
|
56
|
-
return {
|
|
57
|
-
nodes: (a.nodes ?? []).flatMap((t) => {
|
|
58
|
-
if (typeof t.id != "string") return [];
|
|
59
|
-
let n = c(t.data), r = c(n.nodeData), i = c(t.position), a = [...new Set(e.filter((e) => e.target === t.id).map((e) => e.targetHandle ?? ""))], o = [...new Set(e.filter((e) => e.source === t.id).map((e) => e.sourceHandle ?? ""))];
|
|
60
|
-
return [{
|
|
61
|
-
id: t.id,
|
|
62
|
-
type: "design",
|
|
63
|
-
position: {
|
|
64
|
-
x: typeof i.x == "number" ? i.x : 0,
|
|
65
|
-
y: typeof i.y == "number" ? i.y : 0
|
|
66
|
-
},
|
|
67
|
-
data: {
|
|
68
|
-
label: typeof r.name == "string" ? r.name : typeof n.label == "string" ? n.label : typeof t.type == "string" ? t.type : t.id,
|
|
69
|
-
operation: typeof n.operation_name == "string" ? n.operation_name : void 0,
|
|
70
|
-
inputs: a,
|
|
71
|
-
outputs: o
|
|
72
|
-
}
|
|
73
|
-
}];
|
|
74
|
-
}),
|
|
75
|
-
edges: e
|
|
76
|
-
};
|
|
77
|
-
}, [a]);
|
|
78
|
-
return /* @__PURE__ */ n(s, {
|
|
79
|
-
nodes: o,
|
|
43
|
+
function d({ workflow: o }) {
|
|
44
|
+
let { nodes: s, edges: l } = t(() => e(o), [o]);
|
|
45
|
+
return /* @__PURE__ */ r(c, {
|
|
46
|
+
nodes: s,
|
|
80
47
|
edges: l,
|
|
81
48
|
nodeTypes: u,
|
|
82
49
|
nodesDraggable: !1,
|
|
@@ -85,7 +52,7 @@ function d({ workflow: a }) {
|
|
|
85
52
|
deleteKeyCode: null,
|
|
86
53
|
fitView: !0,
|
|
87
54
|
proOptions: { hideAttribution: !0 },
|
|
88
|
-
children: [/* @__PURE__ */
|
|
55
|
+
children: [/* @__PURE__ */ n(i, {}), /* @__PURE__ */ n(a, { showInteractive: !1 })]
|
|
89
56
|
});
|
|
90
57
|
}
|
|
91
58
|
//#endregion
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Node, Edge } from '@xyflow/react';
|
|
2
|
+
export type PreviewNode = Node<{
|
|
3
|
+
label: string;
|
|
4
|
+
operation?: string;
|
|
5
|
+
inputs: string[];
|
|
6
|
+
outputs: string[];
|
|
7
|
+
}>;
|
|
8
|
+
/** A saved definition is JSON, not a complete SDK WorkflowData object. */
|
|
9
|
+
export declare function projectWorkflowDesign(workflow: unknown): {
|
|
10
|
+
nodes: PreviewNode[];
|
|
11
|
+
edges: Edge[];
|
|
12
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
//#region src/bigconsole/components/workflow/workflowDesignProjection.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
return e && typeof e == "object" && !Array.isArray(e) ? Object.fromEntries(Object.entries(e)) : {};
|
|
4
|
+
}
|
|
5
|
+
function t(t) {
|
|
6
|
+
let n = e(t), r = (Array.isArray(n.edges) ? n.edges : []).flatMap((t) => {
|
|
7
|
+
let n = e(t);
|
|
8
|
+
return typeof n.id != "string" || typeof n.source != "string" || typeof n.target != "string" ? [] : [{
|
|
9
|
+
id: n.id,
|
|
10
|
+
source: n.source,
|
|
11
|
+
target: n.target,
|
|
12
|
+
sourceHandle: typeof n.sourceHandle == "string" ? n.sourceHandle : void 0,
|
|
13
|
+
targetHandle: typeof n.targetHandle == "string" ? n.targetHandle : void 0,
|
|
14
|
+
type: "smoothstep",
|
|
15
|
+
style: { stroke: "var(--color-text-secondary)" }
|
|
16
|
+
}];
|
|
17
|
+
});
|
|
18
|
+
return {
|
|
19
|
+
nodes: (Array.isArray(n.nodes) ? n.nodes : []).flatMap((t) => {
|
|
20
|
+
let n = e(t);
|
|
21
|
+
if (typeof n.id != "string") return [];
|
|
22
|
+
let i = e(n.data), a = e(i.nodeData), o = e(n.position);
|
|
23
|
+
return [{
|
|
24
|
+
id: n.id,
|
|
25
|
+
type: "design",
|
|
26
|
+
position: {
|
|
27
|
+
x: typeof o.x == "number" && Number.isFinite(o.x) ? o.x : 0,
|
|
28
|
+
y: typeof o.y == "number" && Number.isFinite(o.y) ? o.y : 0
|
|
29
|
+
},
|
|
30
|
+
data: {
|
|
31
|
+
label: typeof a.name == "string" ? a.name : typeof i.label == "string" ? i.label : typeof n.type == "string" ? n.type : n.id,
|
|
32
|
+
operation: typeof i.operation_name == "string" ? i.operation_name : void 0,
|
|
33
|
+
inputs: [...new Set(r.filter((e) => e.target === n.id).map((e) => e.targetHandle ?? ""))],
|
|
34
|
+
outputs: [...new Set(r.filter((e) => e.source === n.id).map((e) => e.sourceHandle ?? ""))]
|
|
35
|
+
}
|
|
36
|
+
}];
|
|
37
|
+
}),
|
|
38
|
+
edges: r
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
export { t as projectWorkflowDesign };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { BigConsoleRootProps } from '../types';
|
|
3
|
-
|
|
4
3
|
interface BigConsoleContextValue {
|
|
5
4
|
basePath: string;
|
|
6
5
|
navigate: (path: string) => void;
|
|
@@ -17,7 +16,7 @@ interface BigConsoleProviderProps {
|
|
|
17
16
|
children: ReactNode;
|
|
18
17
|
props: BigConsoleRootProps;
|
|
19
18
|
}
|
|
20
|
-
export declare function BigConsoleProvider({ children, props }: BigConsoleProviderProps): import(
|
|
19
|
+
export declare function BigConsoleProvider({ children, props }: BigConsoleProviderProps): import('react').JSX.Element;
|
|
21
20
|
export declare function useBigConsole(): BigConsoleContextValue;
|
|
22
21
|
/**
|
|
23
22
|
* Like {@link useBigConsole}, but returns `null` instead of throwing when
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
2
|
import { CrossFilterConfig, CrossFilterClickData, CrossFilterMode } from '../hooks/useCrossFilter';
|
|
3
|
-
|
|
4
3
|
export interface CrossFilterContextValue {
|
|
5
4
|
/** Apply a cross-filter from a widget click */
|
|
6
5
|
applyCrossFilter: (clickData: CrossFilterClickData, config?: CrossFilterConfig) => void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { NavigateOptions, LinkProps } from 'react-router';
|
|
3
|
-
|
|
4
3
|
interface NavigationContextValue {
|
|
5
4
|
/** Base path for all routes (e.g., '/bigconsole') */
|
|
6
5
|
basePath: string;
|
|
@@ -14,7 +13,7 @@ interface NavigationProviderProps {
|
|
|
14
13
|
basePath: string;
|
|
15
14
|
children: ReactNode;
|
|
16
15
|
}
|
|
17
|
-
export declare function NavigationProvider({ basePath, children }: NavigationProviderProps): import(
|
|
16
|
+
export declare function NavigationProvider({ basePath, children }: NavigationProviderProps): import('react').JSX.Element;
|
|
18
17
|
/**
|
|
19
18
|
* Hook to access navigation context
|
|
20
19
|
* @throws Error if used outside NavigationProvider
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { CustomWidgetProposal } from './proposalContract';
|
|
3
3
|
import { CustomWidgetProposalSource, ProposalCandidateParser, ProposalCandidateSink } from './proposalSource';
|
|
4
|
-
|
|
5
4
|
export interface CustomWidgetProposalPanelProps {
|
|
6
5
|
/** Sinks the user may bind to (already RBAC-filtered by the API). */
|
|
7
6
|
sinks: readonly ProposalCandidateSink[];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ApolloClient } from '@apollo/client';
|
|
2
2
|
import { ProposalBinding } from './proposalContract';
|
|
3
|
-
|
|
4
3
|
/** Read a bounded current-workspace sink sample; missing access is never reported as empty data. */
|
|
5
|
-
export declare function loadDirectProposalPreview(client: Pick<ApolloClient, 'query'>, binding: ProposalBinding, workspaceId: string | undefined): Promise<Record<string, unknown> | null
|
|
4
|
+
export declare function loadDirectProposalPreview(client: Pick<ApolloClient, 'query'>, binding: ProposalBinding, workspaceId: string | undefined): Promise<Record<string, unknown> | null>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ApolloClient } from '@apollo/client';
|
|
2
2
|
import { GetWidgetTypesQuery } from '../../generated/wspace-operations';
|
|
3
|
-
|
|
4
3
|
/** Only an older catalog schema triggers fallback; auth/network errors remain errors. */
|
|
5
4
|
export declare function isLegacyWidgetCatalogSchema(error: unknown): boolean;
|
|
6
5
|
/** Uses the ordinary scoped catalog: production intentionally disables introspection. */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./useCrossFilter.js";
|
|
2
2
|
import "./useWorkflowOperations.js";
|
|
3
|
+
import "./useBigConsoleAnalytics.js";
|
|
4
|
+
import "./useWidgetOperations.js";
|
|
3
5
|
import "./useWidgetData.js";
|
|
4
6
|
import "./useWidgetCatalog.js";
|
|
5
7
|
import "./useAutoRefresh.js";
|
|
6
|
-
import "./useBigConsoleAnalytics.js";
|
|
7
|
-
import "./useWidgetOperations.js";
|
|
8
8
|
import "./useWidgetComments.js";
|
|
9
9
|
import "./useWidgetConfigPersist.js";
|
|
10
10
|
import "./useDashboardOperations.js";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ActionStyle as ApiActionStyle, ActionType as ApiActionType, HttpMethod as ApiHttpMethod } from '../../generated/wspace-types';
|
|
2
|
+
import { ActionStyle, ActionType } from '../types';
|
|
3
|
+
export declare function apiHttpMethod(value: `${ApiHttpMethod}`): ApiHttpMethod;
|
|
4
|
+
export declare function apiActionType(value: ActionType): ApiActionType;
|
|
5
|
+
export declare function apiActionStyle(value: ActionStyle): ApiActionStyle;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ActionStyle as e, ActionType as t, HttpMethod as n } from "../../generated/wspace-types.js";
|
|
2
|
+
//#region src/bigconsole/hooks/mutationInputEnums.ts
|
|
3
|
+
function r(e) {
|
|
4
|
+
switch (e) {
|
|
5
|
+
case "GET": return n.Get;
|
|
6
|
+
case "POST": return n.Post;
|
|
7
|
+
case "PUT": return n.Put;
|
|
8
|
+
case "PATCH": return n.Patch;
|
|
9
|
+
case "DELETE": return n.Delete;
|
|
10
|
+
default: throw Error("This webhook method is not supported by the workspace API.");
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
function i(e) {
|
|
14
|
+
switch (e) {
|
|
15
|
+
case "BUTTON": return t.Button;
|
|
16
|
+
case "LINK": return t.Link;
|
|
17
|
+
case "CUSTOM": return t.Custom;
|
|
18
|
+
default: throw Error("This action type is not supported by the workspace API.");
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
function a(t) {
|
|
22
|
+
switch (t) {
|
|
23
|
+
case "PRIMARY": return e.Primary;
|
|
24
|
+
case "SECONDARY": return e.Secondary;
|
|
25
|
+
case "DANGER": return e.Danger;
|
|
26
|
+
case "WARNING": return e.Warning;
|
|
27
|
+
case "SUCCESS": return e.Success;
|
|
28
|
+
default: throw Error("This action style is not supported by the workspace API.");
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
export { a as apiActionStyle, i as apiActionType, r as apiHttpMethod };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DashboardEmbedTheme } from '../../generated/wspace-types';
|
|
2
2
|
import { EmbedThemeMode } from '../components/embed/types';
|
|
3
|
-
|
|
4
3
|
export type EmbedPolicyStatus = 'DRAFT' | 'ACTIVE' | 'NEEDS_REVIEW' | 'BROKEN' | 'REVOKED' | 'EXPIRED';
|
|
5
4
|
/**
|
|
6
5
|
* Owner-facing color mode (BOFF-5735); maps to the backend {@link DashboardEmbedTheme}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BigConsoleDataSinkAlertsQuery, BigConsoleDataSinkAlertChannelsQuery, BigConsoleDataSinkAlertExecutionsQuery, BigConsolePreviewDataSinkAlertQuery } from '../../generated/wspace-operations';
|
|
2
2
|
import { DataSinkAlertInput, DataSinkAlertConditionType } from '../../generated/wspace-types';
|
|
3
|
-
|
|
4
3
|
export type AlertSink = NonNullable<BigConsoleDataSinkAlertsQuery['getDataSink']>;
|
|
5
4
|
export type AlertRule = NonNullable<AlertSink['alerts']>[number];
|
|
6
5
|
export type AlertChannel = BigConsoleDataSinkAlertChannelsQuery['dataSinkAlertChannels'][number];
|
|
@@ -31,14 +30,12 @@ export declare function useDataSinkAlerts(dataSinkId: string, enabled: boolean):
|
|
|
31
30
|
owner: string;
|
|
32
31
|
refreshing: boolean;
|
|
33
32
|
reload: () => Promise<{
|
|
34
|
-
__typename?: "DataSink";
|
|
35
33
|
id: string;
|
|
36
34
|
workspaceId: string;
|
|
37
|
-
name
|
|
35
|
+
name: string | null;
|
|
38
36
|
key: string;
|
|
39
37
|
version: number;
|
|
40
|
-
alerts
|
|
41
|
-
__typename?: "DataSinkAlert";
|
|
38
|
+
alerts: Array<{
|
|
42
39
|
id: string;
|
|
43
40
|
name: string;
|
|
44
41
|
condition: string;
|
|
@@ -47,14 +44,12 @@ export declare function useDataSinkAlerts(dataSinkId: string, enabled: boolean):
|
|
|
47
44
|
channels: Array<string>;
|
|
48
45
|
recipients: Array<string>;
|
|
49
46
|
enabled: boolean;
|
|
50
|
-
throttle
|
|
51
|
-
__typename?: "AlertThrottle";
|
|
47
|
+
throttle: {
|
|
52
48
|
enabled: boolean;
|
|
53
49
|
windowMinutes: number;
|
|
54
50
|
maxAlertsPerWindow: number;
|
|
55
51
|
} | null;
|
|
56
52
|
deliveries: Array<{
|
|
57
|
-
__typename?: "DataSinkAlertDelivery";
|
|
58
53
|
channel: import('../../generated/wspace-types').DataSinkAlertChannel;
|
|
59
54
|
channelId: string;
|
|
60
55
|
recipient: string;
|
|
@@ -64,14 +59,12 @@ export declare function useDataSinkAlerts(dataSinkId: string, enabled: boolean):
|
|
|
64
59
|
reloadChannels: () => Promise<void>;
|
|
65
60
|
reloadSinkThenChannels: () => Promise<void>;
|
|
66
61
|
save: (alert: DataSinkAlertInput, expectedVersion: number) => Promise<{
|
|
67
|
-
__typename?: "DataSink";
|
|
68
62
|
id: string;
|
|
69
63
|
workspaceId: string;
|
|
70
|
-
name
|
|
64
|
+
name: string | null;
|
|
71
65
|
key: string;
|
|
72
66
|
version: number;
|
|
73
|
-
alerts
|
|
74
|
-
__typename?: "DataSinkAlert";
|
|
67
|
+
alerts: Array<{
|
|
75
68
|
id: string;
|
|
76
69
|
name: string;
|
|
77
70
|
condition: string;
|
|
@@ -80,14 +73,12 @@ export declare function useDataSinkAlerts(dataSinkId: string, enabled: boolean):
|
|
|
80
73
|
channels: Array<string>;
|
|
81
74
|
recipients: Array<string>;
|
|
82
75
|
enabled: boolean;
|
|
83
|
-
throttle
|
|
84
|
-
__typename?: "AlertThrottle";
|
|
76
|
+
throttle: {
|
|
85
77
|
enabled: boolean;
|
|
86
78
|
windowMinutes: number;
|
|
87
79
|
maxAlertsPerWindow: number;
|
|
88
80
|
} | null;
|
|
89
81
|
deliveries: Array<{
|
|
90
|
-
__typename?: "DataSinkAlertDelivery";
|
|
91
82
|
channel: import('../../generated/wspace-types').DataSinkAlertChannel;
|
|
92
83
|
channelId: string;
|
|
93
84
|
recipient: string;
|
|
@@ -95,14 +86,12 @@ export declare function useDataSinkAlerts(dataSinkId: string, enabled: boolean):
|
|
|
95
86
|
}> | null;
|
|
96
87
|
} | null>;
|
|
97
88
|
remove: (alertId: string, expectedVersion: number) => Promise<{
|
|
98
|
-
__typename?: "DataSink";
|
|
99
89
|
id: string;
|
|
100
90
|
workspaceId: string;
|
|
101
|
-
name
|
|
91
|
+
name: string | null;
|
|
102
92
|
key: string;
|
|
103
93
|
version: number;
|
|
104
|
-
alerts
|
|
105
|
-
__typename?: "DataSinkAlert";
|
|
94
|
+
alerts: Array<{
|
|
106
95
|
id: string;
|
|
107
96
|
name: string;
|
|
108
97
|
condition: string;
|
|
@@ -111,14 +100,12 @@ export declare function useDataSinkAlerts(dataSinkId: string, enabled: boolean):
|
|
|
111
100
|
channels: Array<string>;
|
|
112
101
|
recipients: Array<string>;
|
|
113
102
|
enabled: boolean;
|
|
114
|
-
throttle
|
|
115
|
-
__typename?: "AlertThrottle";
|
|
103
|
+
throttle: {
|
|
116
104
|
enabled: boolean;
|
|
117
105
|
windowMinutes: number;
|
|
118
106
|
maxAlertsPerWindow: number;
|
|
119
107
|
} | null;
|
|
120
108
|
deliveries: Array<{
|
|
121
|
-
__typename?: "DataSinkAlertDelivery";
|
|
122
109
|
channel: import('../../generated/wspace-types').DataSinkAlertChannel;
|
|
123
110
|
channelId: string;
|
|
124
111
|
recipient: string;
|
|
@@ -126,15 +113,13 @@ export declare function useDataSinkAlerts(dataSinkId: string, enabled: boolean):
|
|
|
126
113
|
}> | null;
|
|
127
114
|
} | null>;
|
|
128
115
|
preview: (condition: string, conditionType: DataSinkAlertConditionType) => Promise<{
|
|
129
|
-
__typename?: "DataSinkAlertPreview";
|
|
130
116
|
matched: boolean;
|
|
131
|
-
result
|
|
132
|
-
error
|
|
117
|
+
result: Record<string, unknown> | null;
|
|
118
|
+
error: string | null;
|
|
133
119
|
durationMs: number;
|
|
134
120
|
version: number;
|
|
135
121
|
} | null>;
|
|
136
122
|
history: (alertId?: string, after?: string) => Promise<{
|
|
137
|
-
__typename?: "DataSinkAlertExecution";
|
|
138
123
|
id: string;
|
|
139
124
|
alertId: string;
|
|
140
125
|
dataSinkId: string;
|
|
@@ -142,19 +127,18 @@ export declare function useDataSinkAlerts(dataSinkId: string, enabled: boolean):
|
|
|
142
127
|
source: string;
|
|
143
128
|
status: import('../../generated/wspace-types').DataSinkAlertExecutionStatus;
|
|
144
129
|
matched: boolean;
|
|
145
|
-
error
|
|
130
|
+
error: string | null;
|
|
146
131
|
durationMs: number;
|
|
147
132
|
createdAt: string;
|
|
148
|
-
completedAt
|
|
133
|
+
completedAt: string | null;
|
|
149
134
|
deliveries: Array<{
|
|
150
|
-
__typename?: "DataSinkAlertDeliveryAttempt";
|
|
151
135
|
channel: import('../../generated/wspace-types').DataSinkAlertChannel;
|
|
152
136
|
channelId: string;
|
|
153
137
|
recipient: string;
|
|
154
|
-
notificationId
|
|
138
|
+
notificationId: string | null;
|
|
155
139
|
status: string;
|
|
156
|
-
error
|
|
157
|
-
attemptedAt
|
|
140
|
+
error: string | null;
|
|
141
|
+
attemptedAt: string | null;
|
|
158
142
|
}>;
|
|
159
143
|
}[] | null>;
|
|
160
144
|
sink: AlertSink | null;
|