drizzle-cube 0.6.0 → 0.6.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/dist/adapters/express/index.cjs +1 -1
- package/dist/adapters/{adapters/express → express}/index.d.ts +3 -3
- package/dist/adapters/express/index.js +1 -1
- package/dist/adapters/fastify/index.cjs +1 -1
- package/dist/adapters/{adapters/fastify → fastify}/index.d.ts +3 -3
- package/dist/adapters/fastify/index.js +1 -1
- package/dist/adapters/{adapters/hono → hono}/agent-handler.d.ts +3 -3
- package/dist/adapters/hono/index.cjs +1 -1
- package/dist/adapters/{adapters/hono → hono}/index.d.ts +4 -4
- package/dist/adapters/hono/index.js +1 -1
- package/dist/adapters/{adapters/hono → hono}/mcp-handler.d.ts +2 -2
- package/dist/adapters/{adapters/locale.d.ts → locale.d.ts} +1 -1
- package/dist/adapters/{adapters/mcp-tools-handlers.d.ts → mcp-tools-handlers.d.ts} +2 -2
- package/dist/adapters/mcp-tools.cjs +1 -1
- package/dist/adapters/{adapters/mcp-tools.d.ts → mcp-tools.d.ts} +5 -5
- package/dist/adapters/mcp-tools.js +1 -1
- package/dist/adapters/mcp-transport-B7ddET3M.cjs +40 -0
- package/dist/adapters/mcp-transport-Dfuj4j4q.js +591 -0
- package/dist/adapters/{adapters/mcp-transport.d.ts → mcp-transport.d.ts} +3 -3
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/{adapters/nextjs → nextjs}/index.d.ts +3 -3
- package/dist/adapters/nextjs/index.js +1 -1
- package/dist/adapters/{adapters/nextjs → nextjs}/mcp-handler.d.ts +2 -2
- package/dist/adapters/{adapters/types.d.ts → types.d.ts} +1 -1
- package/dist/adapters/{adapters/utils.d.ts → utils.d.ts} +16 -16
- package/dist/cli/index.cjs +2 -2
- package/dist/client/adapters/adapterRegistry.d.ts +2 -2
- package/dist/client/adapters/flowModeAdapter.d.ts +2 -2
- package/dist/client/adapters/funnelModeAdapter.d.ts +2 -2
- package/dist/client/adapters/index.d.ts +9 -9
- package/dist/client/adapters/modeAdapter.d.ts +1 -1
- package/dist/client/adapters/queryModeAdapter.d.ts +3 -3
- package/dist/client/adapters/retentionModeAdapter.d.ts +2 -2
- package/dist/client/charts/ChartLoader.d.ts +2 -2
- package/dist/client/charts/chartComponentRegistry.d.ts +1 -1
- package/dist/client/charts/chartConfigHelpers.d.ts +1 -1
- package/dist/client/charts/chartConfigRegistry.d.ts +1 -1
- package/dist/client/charts/chartPlugin.d.ts +3 -3
- package/dist/client/charts/lazyChartConfigRegistry.d.ts +2 -2
- package/dist/client/charts.d.ts +8 -8
- package/dist/client/chunks/DashboardEditModal-okVfH8ZK.js.map +1 -1
- package/dist/client/chunks/RetentionCombinedChart-BgbDhsPz.js.map +1 -1
- package/dist/client/chunks/RetentionHeatmap-DjXZaTPq.js.map +1 -1
- package/dist/client/chunks/analysis-builder-DB88FojM.js.map +1 -1
- package/dist/client/chunks/analysis-builder-shared-BVK4TYfR.js.map +1 -1
- package/dist/client/chunks/chart-activity-grid-DX0SJbxs.js.map +1 -1
- package/dist/client/chunks/chart-area-of01_62R.js.map +1 -1
- package/dist/client/chunks/chart-bar-BqelQE_I.js.map +1 -1
- package/dist/client/chunks/chart-box-plot-kkBixZ27.js.map +1 -1
- package/dist/client/chunks/chart-bubble-B2he1--4.js.map +1 -1
- package/dist/client/chunks/chart-candlestick-DZp19Tzh.js.map +1 -1
- package/dist/client/chunks/chart-config-activity-grid-D_UX4NHC.js.map +1 -1
- package/dist/client/chunks/chart-config-area-BNigHUy8.js.map +1 -1
- package/dist/client/chunks/chart-config-bar-DSO_LRTx.js.map +1 -1
- package/dist/client/chunks/chart-config-box-plot-oW8axV2q.js.map +1 -1
- package/dist/client/chunks/chart-config-bubble-gIoqVyjZ.js.map +1 -1
- package/dist/client/chunks/chart-config-candlestick-N6DchAA3.js.map +1 -1
- package/dist/client/chunks/chart-config-data-table-d7VBY-y_.js.map +1 -1
- package/dist/client/chunks/chart-config-funnel-DEYMcxsD.js.map +1 -1
- package/dist/client/chunks/chart-config-gauge-Dq-_H9UN.js.map +1 -1
- package/dist/client/chunks/chart-config-heat-map-CfRnRNcw.js.map +1 -1
- package/dist/client/chunks/chart-config-kpi-delta-DSQbvqu_.js.map +1 -1
- package/dist/client/chunks/chart-config-kpi-number-EFSWY1We.js.map +1 -1
- package/dist/client/chunks/chart-config-kpi-text-KM3V5X2u.js.map +1 -1
- package/dist/client/chunks/chart-config-line-D6jG8PCH.js.map +1 -1
- package/dist/client/chunks/chart-config-markdown-BtRIe8JN.js.map +1 -1
- package/dist/client/chunks/chart-config-measure-profile-DxRGa-zf.js.map +1 -1
- package/dist/client/chunks/chart-config-pie-BhzW-fdn.js.map +1 -1
- package/dist/client/chunks/chart-config-radar-D7REP1q_.js.map +1 -1
- package/dist/client/chunks/chart-config-radial-bar-Byx6qOPU.js.map +1 -1
- package/dist/client/chunks/chart-config-sankey-BTnWA7EW.js.map +1 -1
- package/dist/client/chunks/chart-config-scatter-DSYTjwRb.js.map +1 -1
- package/dist/client/chunks/chart-config-sunburst-Bwjtdf7X.js.map +1 -1
- package/dist/client/chunks/chart-config-tree-map-DVrvf3yQ.js.map +1 -1
- package/dist/client/chunks/chart-config-waterfall-DmFeQdIk.js.map +1 -1
- package/dist/client/chunks/chart-data-table-CKauQXme.js.map +1 -1
- package/dist/client/chunks/chart-funnel-CToKSBaL.js.map +1 -1
- package/dist/client/chunks/chart-gauge-DTVezSk7.js.map +1 -1
- package/dist/client/chunks/chart-heat-map-DTuUl0BR.js.map +1 -1
- package/dist/client/chunks/chart-kpi-delta-Dn-jjO-2.js.map +1 -1
- package/dist/client/chunks/chart-kpi-number-P_WBiO5S.js.map +1 -1
- package/dist/client/chunks/chart-kpi-text-C-Y4eb5H.js.map +1 -1
- package/dist/client/chunks/chart-line-DKgrQA6c.js.map +1 -1
- package/dist/client/chunks/chart-markdown-CV75S_zL.js.map +1 -1
- package/dist/client/chunks/chart-measure-profile-Ket8fJyf.js.map +1 -1
- package/dist/client/chunks/chart-pie-ByieAX5H.js.map +1 -1
- package/dist/client/chunks/chart-radar-CiSwHWp4.js.map +1 -1
- package/dist/client/chunks/chart-radial-bar-BF6Mhl6f.js.map +1 -1
- package/dist/client/chunks/chart-sankey-DjrvKw6K.js.map +1 -1
- package/dist/client/chunks/chart-scatter-Dd9WFqnS.js.map +1 -1
- package/dist/client/chunks/chart-sunburst-leGpuDj7.js.map +1 -1
- package/dist/client/chunks/chart-tree-map-Ceq5sLZA.js.map +1 -1
- package/dist/client/chunks/chart-waterfall-DyvQReN5.js.map +1 -1
- package/dist/client/chunks/charts-core-DaXSt1Dd.js.map +1 -1
- package/dist/client/chunks/charts-loader-DdTeCeNo.js.map +1 -1
- package/dist/client/chunks/retention-ChW9jYdy.js.map +1 -1
- package/dist/client/chunks/schema-visualization-Cb_E9_Gd.js.map +1 -1
- package/dist/client/chunks/useDirtyStateTracking-MbpxH_v6.js.map +1 -1
- package/dist/client/chunks/useExplainAI-evnZkjCY.js.map +1 -1
- package/dist/client/chunks/utils-3P6z1vz5.js.map +1 -1
- package/dist/client/client/BatchCoordinator.d.ts +1 -1
- package/dist/client/client/CubeClient.d.ts +1 -1
- package/dist/client/components/AIAssistant/index.d.ts +3 -3
- package/dist/client/components/AIAssistant/utils.d.ts +1 -1
- package/dist/client/components/AgenticNotebook/ChatMessage.d.ts +1 -1
- package/dist/client/components/AgenticNotebook/NotebookCanvas.d.ts +1 -1
- package/dist/client/components/AgenticNotebook/NotebookMarkdownBlock.d.ts +1 -1
- package/dist/client/components/AgenticNotebook/NotebookPortletBlock.d.ts +2 -2
- package/dist/client/components/AgenticNotebook/chatMessageParts.d.ts +1 -1
- package/dist/client/components/AgenticNotebook/index.d.ts +2 -2
- package/dist/client/components/AgenticNotebook/useAgentChatController.d.ts +1 -1
- package/dist/client/components/AgenticNotebook/useNotebookAutosave.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisAxisDropZone.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisChartConfigPanel.d.ts +4 -4
- package/dist/client/components/AnalysisBuilder/AnalysisDisplayConfigPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisFilterGroup.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/AnalysisFilterItem.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/AnalysisFilterSection.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/AnalysisModeErrorBoundary.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisQueryPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisQueryPanelParts.d.ts +3 -3
- package/dist/client/components/AnalysisBuilder/AnalysisResultsPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/AnalysisTypeSelector.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/BreakdownItemCard.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/BreakdownRow.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/BreakdownSection.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/DisplayOptionControl.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/ExecutionPlanPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/ExecutionPlanPanelParts.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/ExplainAIPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FieldDetailPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FieldSearchItem.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FieldSearchModal.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FieldSearchResults.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/FilterConfigModal.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/FilterValueInput.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/FlowConfigPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FlowDepthControls.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FlowModeContent.d.ts +3 -3
- package/dist/client/components/AnalysisBuilder/FlowVisualizationPicker.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FunnelBindingKeySelector.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FunnelConfigPanel.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FunnelModeContent.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/FunnelStepCard.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/FunnelStepList.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/LegacyBooleanOptions.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/MetricItemCard.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/MetricRow.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/MetricsSection.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/RetentionConfigPanel.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/RetentionModeContent.d.ts +3 -3
- package/dist/client/components/AnalysisBuilder/filterConfigModalUtils.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/hooks/useAnalysisBuilderImperativeHandle.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/hooks/useFieldSearchKeyboard.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/index.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/types.d.ts +28 -28
- package/dist/client/components/AnalysisBuilder/utils/axisConfigUtils.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/utils/executionPlanMarkdown.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/utils/fieldUtils.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/utils/filterUtils.d.ts +1 -1
- package/dist/client/components/AnalysisBuilder/utils/index.d.ts +6 -6
- package/dist/client/components/AnalysisBuilder/utils/queryUtils.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/utils/recentFieldsUtils.d.ts +2 -2
- package/dist/client/components/AnalysisBuilder/utils/shareStateUtils.d.ts +16 -16
- package/dist/client/components/AnalysisBuilder/utils/storageUtils.d.ts +2 -2
- package/dist/client/components/AnalysisBuilderLazy.d.ts +1 -1
- package/dist/client/components/AnalyticsDashboard.d.ts +1 -1
- package/dist/client/components/AnalyticsPortlet.d.ts +1 -1
- package/dist/client/components/ChartTypeSelector.d.ts +2 -2
- package/dist/client/components/DashboardFilterPanel.d.ts +1 -1
- package/dist/client/components/DashboardFilters/CompactFilterBar.d.ts +1 -1
- package/dist/client/components/DashboardFilters/CompactFilterBarParts.d.ts +1 -1
- package/dist/client/components/DashboardFilters/DashboardFilterConfigModal.d.ts +2 -2
- package/dist/client/components/DashboardFilters/DashboardFilterConfigModalParts.d.ts +2 -2
- package/dist/client/components/DashboardFilters/DashboardFilterItem.d.ts +2 -2
- package/dist/client/components/DashboardFilters/DashboardFilterValueInput.d.ts +2 -2
- package/dist/client/components/DashboardFilters/EditModeFilterList.d.ts +1 -1
- package/dist/client/components/DashboardFilters/FilterChip.d.ts +1 -1
- package/dist/client/components/DashboardFilters/FilterEditModal.d.ts +2 -2
- package/dist/client/components/DashboardFilters/FilterValuePopover.d.ts +1 -1
- package/dist/client/components/DashboardFilters/ReadOnlyFilterList.d.ts +2 -2
- package/dist/client/components/DashboardFilters/dashboardFilterConfigModalUtils.d.ts +2 -2
- package/dist/client/components/DashboardFilters/useCompactFilterBar.d.ts +1 -1
- package/dist/client/components/DashboardFilters/useDashboardFilterConfigModal.d.ts +6 -6
- package/dist/client/components/DashboardFilters/useDateRangeState.d.ts +2 -2
- package/dist/client/components/DashboardFilters/useFilterValueFetch.d.ts +1 -1
- package/dist/client/components/DashboardGrid.d.ts +2 -2
- package/dist/client/components/DashboardPortletCard.d.ts +1 -1
- package/dist/client/components/DebugModal.d.ts +2 -2
- package/dist/client/components/DrillBreadcrumb.d.ts +1 -1
- package/dist/client/components/DrillMenu.d.ts +1 -1
- package/dist/client/components/FloatingEditToolbar.d.ts +1 -1
- package/dist/client/components/MobileStackedLayout.d.ts +2 -2
- package/dist/client/components/PortletAnalysisModal.d.ts +1 -1
- package/dist/client/components/PortletContainer.d.ts +1 -1
- package/dist/client/components/PortletFilterConfigModal.d.ts +1 -1
- package/dist/client/components/RowManagedLayout.d.ts +1 -1
- package/dist/client/components/SchemaVisualization/CubeNode.d.ts +1 -1
- package/dist/client/components/SchemaVisualization/FieldDetailPanel.d.ts +1 -1
- package/dist/client/components/SchemaVisualization/RelationshipEdge.d.ts +1 -1
- package/dist/client/components/SchemaVisualization/SchemaVisualizationLazy.d.ts +1 -1
- package/dist/client/components/TextPortletModal.d.ts +2 -2
- package/dist/client/components/analyticsPortlet/PortletChart.d.ts +4 -4
- package/dist/client/components/analyticsPortlet/PortletChartView.d.ts +5 -5
- package/dist/client/components/analyticsPortlet/PortletStates.d.ts +2 -2
- package/dist/client/components/analyticsPortlet/parsePortletQuery.d.ts +3 -3
- package/dist/client/components/analyticsPortlet/portletRenderState.d.ts +3 -3
- package/dist/client/components/analyticsPortlet/usePortletDebugData.d.ts +4 -4
- package/dist/client/components/analyticsPortlet/usePortletDrillState.d.ts +2 -2
- package/dist/client/components/analyticsPortlet/usePortletQueryResults.d.ts +4 -4
- package/dist/client/components/charts/ActivityGridChart.config.d.ts +1 -1
- package/dist/client/components/charts/ActivityGridChart.d.ts +1 -1
- package/dist/client/components/charts/ActivityGridChart.helpers.d.ts +1 -1
- package/dist/client/components/charts/ActivityGridChart.render.d.ts +3 -3
- package/dist/client/components/charts/AreaChart.config.d.ts +1 -1
- package/dist/client/components/charts/AreaChart.d.ts +1 -1
- package/dist/client/components/charts/AxisFormatControls.d.ts +1 -1
- package/dist/client/components/charts/BarChart.config.d.ts +1 -1
- package/dist/client/components/charts/BarChart.d.ts +1 -1
- package/dist/client/components/charts/BarChart.helpers.d.ts +1 -1
- package/dist/client/components/charts/BarSeries.d.ts +2 -2
- package/dist/client/components/charts/BoxPlotChart.config.d.ts +1 -1
- package/dist/client/components/charts/BoxPlotChart.d.ts +1 -1
- package/dist/client/components/charts/BubbleChart.config.d.ts +1 -1
- package/dist/client/components/charts/BubbleChart.d.ts +1 -1
- package/dist/client/components/charts/BubbleChart.helpers.d.ts +1 -1
- package/dist/client/components/charts/BubbleChart.render.d.ts +2 -2
- package/dist/client/components/charts/CandlestickChart.config.d.ts +1 -1
- package/dist/client/components/charts/CandlestickChart.d.ts +1 -1
- package/dist/client/components/charts/DataTable.config.d.ts +1 -1
- package/dist/client/components/charts/DataTable.d.ts +1 -1
- package/dist/client/components/charts/FunnelChart.config.d.ts +1 -1
- package/dist/client/components/charts/FunnelChart.d.ts +1 -1
- package/dist/client/components/charts/FunnelChart.helpers.d.ts +2 -2
- package/dist/client/components/charts/FunnelViews.d.ts +2 -2
- package/dist/client/components/charts/GaugeChart.config.d.ts +1 -1
- package/dist/client/components/charts/GaugeChart.d.ts +1 -1
- package/dist/client/components/charts/HeatMapCanvas.d.ts +1 -1
- package/dist/client/components/charts/HeatMapChart.config.d.ts +1 -1
- package/dist/client/components/charts/HeatMapChart.d.ts +1 -1
- package/dist/client/components/charts/HeatMapChart.helpers.d.ts +1 -1
- package/dist/client/components/charts/KpiDelta.config.d.ts +1 -1
- package/dist/client/components/charts/KpiDelta.d.ts +1 -1
- package/dist/client/components/charts/KpiDelta.helpers.d.ts +1 -1
- package/dist/client/components/charts/KpiNumber.config.d.ts +1 -1
- package/dist/client/components/charts/KpiNumber.d.ts +1 -1
- package/dist/client/components/charts/KpiNumber.helpers.d.ts +1 -1
- package/dist/client/components/charts/KpiText.config.d.ts +1 -1
- package/dist/client/components/charts/KpiText.d.ts +1 -1
- package/dist/client/components/charts/LineChart.config.d.ts +1 -1
- package/dist/client/components/charts/LineChart.d.ts +1 -1
- package/dist/client/components/charts/MarkdownChart.config.d.ts +1 -1
- package/dist/client/components/charts/MarkdownChart.d.ts +1 -1
- package/dist/client/components/charts/MeasureProfileChart.config.d.ts +1 -1
- package/dist/client/components/charts/MeasureProfileChart.d.ts +1 -1
- package/dist/client/components/charts/PieChart.config.d.ts +1 -1
- package/dist/client/components/charts/PieChart.d.ts +1 -1
- package/dist/client/components/charts/RadarChart.config.d.ts +1 -1
- package/dist/client/components/charts/RadarChart.d.ts +1 -1
- package/dist/client/components/charts/RadialBarChart.config.d.ts +1 -1
- package/dist/client/components/charts/RadialBarChart.d.ts +1 -1
- package/dist/client/components/charts/RetentionCombinedChart.config.d.ts +1 -1
- package/dist/client/components/charts/RetentionCombinedChart.d.ts +1 -1
- package/dist/client/components/charts/RetentionHeatmap.config.d.ts +1 -1
- package/dist/client/components/charts/RetentionHeatmap.d.ts +1 -1
- package/dist/client/components/charts/SankeyChart.config.d.ts +1 -1
- package/dist/client/components/charts/SankeyChart.d.ts +1 -1
- package/dist/client/components/charts/ScatterChart.config.d.ts +1 -1
- package/dist/client/components/charts/ScatterChart.d.ts +1 -1
- package/dist/client/components/charts/ScatterChart.helpers.d.ts +2 -2
- package/dist/client/components/charts/ScatterSeries.d.ts +2 -2
- package/dist/client/components/charts/ScatterTooltip.d.ts +2 -2
- package/dist/client/components/charts/SunburstChart.config.d.ts +1 -1
- package/dist/client/components/charts/SunburstChart.d.ts +1 -1
- package/dist/client/components/charts/TreeMapChart.config.d.ts +1 -1
- package/dist/client/components/charts/TreeMapChart.d.ts +1 -1
- package/dist/client/components/charts/TreeMapChart.helpers.d.ts +1 -1
- package/dist/client/components/charts/TreeMapContent.d.ts +3 -3
- package/dist/client/components/charts/TreeMapLegend.d.ts +2 -2
- package/dist/client/components/charts/WaterfallChart.config.d.ts +1 -1
- package/dist/client/components/charts/WaterfallChart.d.ts +1 -1
- package/dist/client/components/charts/cartesianChartHelpers.d.ts +1 -1
- package/dist/client/components/charts/chartAxisResolution.d.ts +1 -1
- package/dist/client/components/charts/chartScaffolding.d.ts +1 -1
- package/dist/client/components/charts/gaugeChartHelpers.d.ts +1 -1
- package/dist/client/components/charts/index.d.ts +21 -21
- package/dist/client/components/charts/kpiTextHelpers.d.ts +1 -1
- package/dist/client/components/charts/radialBarChartHelpers.d.ts +1 -1
- package/dist/client/components/dashboard/DashboardContext.d.ts +6 -6
- package/dist/client/components/dashboard/DashboardCoordinator.d.ts +1 -1
- package/dist/client/components/dashboard/DashboardProvider.d.ts +1 -1
- package/dist/client/components/dashboard/dashboardGridUtils.d.ts +1 -1
- package/dist/client/components/dashboard/index.d.ts +7 -7
- package/dist/client/components/dashboardPortletCard/FilterFieldChip.d.ts +1 -1
- package/dist/client/components/dashboardPortletCard/PortletCardHeader.d.ts +2 -2
- package/dist/client/components/dashboardPortletCard/cardStyles.d.ts +1 -1
- package/dist/client/components/dashboardPortletCard/filterField.d.ts +1 -1
- package/dist/client/components/dashboardPortletCard/propsEqual.d.ts +2 -2
- package/dist/client/components/dashboardPortletCard/usePortletCardActions.d.ts +1 -1
- package/dist/client/components/shared/DateRangeFilter.d.ts +1 -1
- package/dist/client/components/shared/FilterBuilder.d.ts +1 -1
- package/dist/client/components/shared/FilterGroup.d.ts +1 -1
- package/dist/client/components/shared/FilterItem.d.ts +1 -1
- package/dist/client/components/shared/FilterValueSelector.d.ts +1 -1
- package/dist/client/components/shared/dateRangeUtils.d.ts +1 -1
- package/dist/client/components/shared/filterItem/FilterDateRangeSelector.d.ts +1 -1
- package/dist/client/components/shared/filterItem/FilterFieldDropdown.d.ts +1 -1
- package/dist/client/components/shared/filterItem/dateRangeSync.d.ts +1 -1
- package/dist/client/components/shared/filterItem/fieldVisuals.d.ts +1 -1
- package/dist/client/components/shared/filterValueSelector/useFilterValueSelectorState.d.ts +2 -2
- package/dist/client/components/shared/queryFieldUtils.d.ts +2 -2
- package/dist/client/components/shared/types.d.ts +8 -8
- package/dist/client/components/shared/utils.d.ts +7 -7
- package/dist/client/components.d.ts +11 -11
- package/dist/client/hooks/agentChatStream.d.ts +1 -1
- package/dist/client/hooks/dashboard/layoutUtils.d.ts +1 -1
- package/dist/client/hooks/dashboard/useDashboardController.d.ts +2 -2
- package/dist/client/hooks/dashboard/useGridLayoutEngine.d.ts +1 -1
- package/dist/client/hooks/dashboard/useRowLayoutEngine.d.ts +1 -1
- package/dist/client/hooks/drillNavigation.d.ts +2 -2
- package/dist/client/hooks/queries/index.d.ts +9 -9
- package/dist/client/hooks/queries/useCubeLoadQuery.d.ts +2 -2
- package/dist/client/hooks/queries/useCubeMetaQuery.d.ts +2 -2
- package/dist/client/hooks/queries/useDryRunQuery.d.ts +2 -2
- package/dist/client/hooks/queries/useExplainAI.d.ts +1 -1
- package/dist/client/hooks/queries/useExplainQuery.d.ts +1 -1
- package/dist/client/hooks/queries/useFlowQuery.d.ts +1 -1
- package/dist/client/hooks/queries/useFunnelQuery.d.ts +1 -1
- package/dist/client/hooks/queries/useMultiCubeLoadQuery.d.ts +1 -1
- package/dist/client/hooks/queries/useRetentionQuery.d.ts +1 -1
- package/dist/client/hooks/useAgentChat.d.ts +1 -1
- package/dist/client/hooks/useAnalysisAI.d.ts +4 -4
- package/dist/client/hooks/useAnalysisBuilderHook.d.ts +27 -27
- package/dist/client/hooks/useAnalysisChartDefaults.d.ts +4 -4
- package/dist/client/hooks/useAnalysisCombinedFields.d.ts +2 -2
- package/dist/client/hooks/useAnalysisInitialization.d.ts +1 -1
- package/dist/client/hooks/useAnalysisQueryBuilder.d.ts +3 -3
- package/dist/client/hooks/useAnalysisQueryExecution.d.ts +7 -7
- package/dist/client/hooks/useAnalysisShare.d.ts +1 -1
- package/dist/client/hooks/useAnalysisUIState.d.ts +2 -2
- package/dist/client/hooks/useDashboardHook.d.ts +2 -2
- package/dist/client/hooks/useDataBrowser.d.ts +5 -5
- package/dist/client/hooks/useDrillInteraction.d.ts +1 -1
- package/dist/client/hooks/useTheme.d.ts +1 -1
- package/dist/client/hooks/useTranslation.d.ts +1 -1
- package/dist/client/hooks.d.ts +11 -11
- package/dist/client/icons/defaultIcons.d.ts +1 -1
- package/dist/client/icons/index.d.ts +3 -3
- package/dist/client/icons/registry.d.ts +1 -1
- package/dist/client/index.d.ts +74 -74
- package/dist/client/index.js.map +1 -1
- package/dist/client/providers/CubeApiProvider.d.ts +3 -3
- package/dist/client/providers/CubeFeaturesProvider.d.ts +1 -1
- package/dist/client/providers/CubeMetaContext.d.ts +1 -1
- package/dist/client/providers/CubeProvider.d.ts +7 -7
- package/dist/client/providers/I18nProvider.d.ts +1 -1
- package/dist/client/providers.d.ts +4 -4
- package/dist/client/schema.d.ts +2 -2
- package/dist/client/shared/chartConfigBuilders.d.ts +2 -2
- package/dist/client/shared/chartDefaults.d.ts +4 -4
- package/dist/client/shared/components/QueryAnalysisPanel.d.ts +1 -1
- package/dist/client/shared/components/QueryAnalysisPanel.sections.d.ts +1 -1
- package/dist/client/shared/index.d.ts +7 -7
- package/dist/client/shared/queryTransforms.d.ts +1 -1
- package/dist/client/shared/types.d.ts +1 -1
- package/dist/client/shared/utils.d.ts +3 -3
- package/dist/client/stores/analysisBuilderStore.d.ts +9 -9
- package/dist/client/stores/dashboardStore.d.ts +3 -3
- package/dist/client/stores/dataBrowserStore.d.ts +1 -1
- package/dist/client/stores/notebookStore.d.ts +1 -1
- package/dist/client/stores/optionsToAnalysisConfig.d.ts +4 -4
- package/dist/client/stores/slices/coreSlice.d.ts +3 -3
- package/dist/client/stores/slices/flowSlice.d.ts +3 -3
- package/dist/client/stores/slices/funnelSlice.d.ts +3 -3
- package/dist/client/stores/slices/index.d.ts +7 -7
- package/dist/client/stores/slices/querySlice.d.ts +3 -3
- package/dist/client/stores/slices/retentionSlice.d.ts +3 -3
- package/dist/client/stores/slices/uiSlice.d.ts +2 -2
- package/dist/client/types/analysisConfig.d.ts +4 -4
- package/dist/client/types/drill.d.ts +5 -5
- package/dist/client/types/flow.d.ts +2 -2
- package/dist/client/types/funnel.d.ts +1 -1
- package/dist/client/types/retention.d.ts +2 -2
- package/dist/client/types.d.ts +12 -12
- package/dist/client/utils/axisValueFormatting.d.ts +1 -1
- package/dist/client/utils/chartUtils.d.ts +1 -1
- package/dist/client/utils/configMigration.d.ts +2 -2
- package/dist/client/utils/drillQueryBuilder.d.ts +2 -2
- package/dist/client/utils/exportXlsx.d.ts +2 -2
- package/dist/client/utils/filterUtils.d.ts +1 -1
- package/dist/client/utils/funnelExecution.d.ts +2 -2
- package/dist/client/utils/funnelValidation.d.ts +2 -2
- package/dist/client/utils/index.d.ts +10 -10
- package/dist/client/utils/joinReachability.d.ts +1 -1
- package/dist/client/utils/multiQueryUtils.d.ts +1 -1
- package/dist/client/utils/multiQueryValidation.d.ts +1 -1
- package/dist/client/utils/pivotUtils.d.ts +1 -1
- package/dist/client/utils/shareUtils.d.ts +1 -1
- package/dist/client/utils/thumbnail.d.ts +1 -1
- package/dist/client/utils.d.ts +2 -2
- package/dist/mcp-app/mcp-app.html +33 -33
- package/dist/server/{server/adapters → adapters}/base-adapter.d.ts +1 -1
- package/dist/server/{server/adapters → adapters}/databend-adapter.d.ts +2 -2
- package/dist/server/{server/adapters → adapters}/duckdb-adapter.d.ts +2 -2
- package/dist/server/{server/adapters → adapters}/mysql-adapter.d.ts +2 -2
- package/dist/server/{server/adapters → adapters}/postgres-adapter.d.ts +2 -2
- package/dist/server/{server/adapters → adapters}/singlestore-adapter.d.ts +1 -1
- package/dist/server/{server/adapters → adapters}/snowflake-adapter.d.ts +2 -2
- package/dist/server/{server/adapters → adapters}/sqlite-adapter.d.ts +2 -2
- package/dist/server/{server/adapters → adapters}/window-function-builder.d.ts +1 -1
- package/dist/server/{server/agent → agent}/handler-steps.d.ts +3 -3
- package/dist/server/{server/agent → agent}/handler.d.ts +3 -3
- package/dist/server/agent/index.d.ts +11 -0
- package/dist/server/{server/agent → agent}/providers/anthropic.d.ts +1 -1
- package/dist/server/{server/agent → agent}/providers/factory.d.ts +1 -1
- package/dist/server/{server/agent → agent}/providers/google.d.ts +1 -1
- package/dist/server/agent/providers/index.d.ts +6 -0
- package/dist/server/{server/agent → agent}/providers/openai.d.ts +1 -1
- package/dist/server/{server/agent → agent}/system-prompt.d.ts +1 -1
- package/dist/server/{server/agent → agent}/tools.d.ts +4 -4
- package/dist/server/{server/agent → agent}/types.d.ts +1 -1
- package/dist/server/{server/ai → ai}/discovery-helpers.d.ts +1 -1
- package/dist/server/{server/ai → ai}/discovery.d.ts +2 -2
- package/dist/server/{server/ai → ai}/index.d.ts +6 -6
- package/dist/server/{server/ai → ai}/suggestion-helpers.d.ts +1 -1
- package/dist/server/{server/ai → ai}/suggestion.d.ts +2 -2
- package/dist/server/{server/ai → ai}/validation-helpers.d.ts +4 -4
- package/dist/server/{server/ai → ai}/validation.d.ts +2 -2
- package/dist/server/{server/builders → builders}/analysis-utils.d.ts +1 -1
- package/dist/server/{server/builders → builders}/comparison-query-builder.d.ts +2 -2
- package/dist/server/{server/builders → builders}/cte-builder.d.ts +2 -2
- package/dist/server/{server/builders → builders}/date-time-builder.d.ts +2 -2
- package/dist/server/{server/builders → builders}/date-time-helpers.d.ts +1 -1
- package/dist/server/{server/builders → builders}/filter-builder.d.ts +3 -3
- package/dist/server/{server/builders → builders}/filter-operators.d.ts +3 -3
- package/dist/server/{server/builders → builders}/flow-query-builder.d.ts +4 -4
- package/dist/server/{server/builders → builders}/funnel-query-builder.d.ts +3 -3
- package/dist/server/{server/builders → builders}/group-by-builder.d.ts +2 -2
- package/dist/server/builders/index.d.ts +13 -0
- package/dist/server/{server/builders → builders}/measure-builder.d.ts +3 -3
- package/dist/server/{server/builders → builders}/retention-query-builder.d.ts +3 -3
- package/dist/server/cache-providers/index.d.ts +5 -0
- package/dist/server/{server/cache-providers → cache-providers}/memory.d.ts +1 -1
- package/dist/server/{server/cache-utils.d.ts → cache-utils.d.ts} +1 -1
- package/dist/server/{server/compiler-metadata.d.ts → compiler-metadata.d.ts} +1 -1
- package/dist/server/{server/compiler.d.ts → compiler.d.ts} +3 -3
- package/dist/server/{server/cube-utils.d.ts → cube-utils.d.ts} +1 -1
- package/dist/server/{server/database-utils.d.ts → database-utils.d.ts} +1 -1
- package/dist/server/{server/execution → execution}/annotation-builder.d.ts +1 -1
- package/dist/server/{server/execution → execution}/filter-cache-preloader.d.ts +3 -3
- package/dist/server/{server/execution → execution}/mode-router.d.ts +5 -5
- package/dist/server/{server/execution → execution}/query-result-cache.d.ts +1 -1
- package/dist/server/{server/execution → execution}/result-post-processor.d.ts +2 -2
- package/dist/server/{server/executor.d.ts → executor.d.ts} +3 -3
- package/dist/server/{server/executors → executors}/base-executor.d.ts +2 -2
- package/dist/server/{server/executors → executors}/databend-executor.d.ts +2 -2
- package/dist/server/{server/executors → executors}/duckdb-executor.d.ts +2 -2
- package/dist/server/{server/executors → executors}/index.d.ts +9 -9
- package/dist/server/{server/executors → executors}/mysql-executor.d.ts +2 -2
- package/dist/server/{server/executors → executors}/postgres-executor.d.ts +2 -2
- package/dist/server/{server/executors → executors}/singlestore-executor.d.ts +2 -2
- package/dist/server/{server/executors → executors}/snowflake-executor.d.ts +2 -2
- package/dist/server/{server/executors → executors}/sqlite-executor.d.ts +2 -2
- package/dist/server/{server/explain → explain}/databend-parser.d.ts +1 -1
- package/dist/server/{server/explain → explain}/duckdb-parser.d.ts +1 -1
- package/dist/server/{server/explain → explain}/explain-tree.d.ts +1 -1
- package/dist/server/explain/index.d.ts +9 -0
- package/dist/server/{server/explain → explain}/mysql-parser.d.ts +1 -1
- package/dist/server/{server/explain → explain}/postgres-parser.d.ts +1 -1
- package/dist/server/{server/explain → explain}/snowflake-parser.d.ts +1 -1
- package/dist/server/{server/explain → explain}/sqlite-parser.d.ts +1 -1
- package/dist/server/{server/filter-cache.d.ts → filter-cache.d.ts} +1 -1
- package/dist/server/{server/gap-filler.d.ts → gap-filler.d.ts} +2 -2
- package/dist/server/index.d.ts +38 -2
- package/dist/server/{server/logical-plan → logical-plan}/cte-planner-helpers.d.ts +1 -1
- package/dist/server/{server/logical-plan → logical-plan}/cte-planner.d.ts +4 -4
- package/dist/server/{server/logical-plan → logical-plan}/filter-propagation.d.ts +1 -1
- package/dist/server/{server/logical-plan → logical-plan}/index.d.ts +11 -11
- package/dist/server/{server/logical-plan → logical-plan}/join-planner.d.ts +3 -3
- package/dist/server/{server/logical-plan → logical-plan}/logical-plan-builder.d.ts +5 -5
- package/dist/server/{server/logical-plan → logical-plan}/logical-planner.d.ts +2 -2
- package/dist/server/{server/logical-plan → logical-plan}/optimiser.d.ts +1 -1
- package/dist/server/{server/logical-plan → logical-plan}/plan-analysis-reporter.d.ts +2 -2
- package/dist/server/{server/logical-plan → logical-plan}/planner-utils.d.ts +2 -2
- package/dist/server/{server/logical-plan → logical-plan}/types.d.ts +3 -3
- package/dist/server/{server/measure-classification.d.ts → measure-classification.d.ts} +1 -1
- package/dist/server/{server/physical-plan → physical-plan}/drizzle-plan-builder.d.ts +5 -5
- package/dist/server/{server/physical-plan → physical-plan}/drizzle-sql-builder.d.ts +3 -3
- package/dist/server/physical-plan/index.d.ts +2 -0
- package/dist/server/{server/physical-plan → physical-plan}/processors/cte-processor.d.ts +2 -2
- package/dist/server/physical-plan/processors/index.d.ts +8 -0
- package/dist/server/{server/physical-plan → physical-plan}/processors/joins-processor.d.ts +2 -2
- package/dist/server/{server/physical-plan → physical-plan}/processors/keys-dedup-processor.d.ts +2 -2
- package/dist/server/{server/physical-plan → physical-plan}/processors/multi-fact-processor.d.ts +2 -2
- package/dist/server/{server/physical-plan → physical-plan}/processors/predicates-processor.d.ts +2 -2
- package/dist/server/{server/physical-plan → physical-plan}/processors/selection-processor.d.ts +2 -2
- package/dist/server/{server/physical-plan → physical-plan}/processors/shared.d.ts +4 -4
- package/dist/server/{server/physical-plan → physical-plan}/processors/window-processor.d.ts +2 -2
- package/dist/server/{server/query-handlers.d.ts → query-handlers.d.ts} +3 -3
- package/dist/server/{server/query-modes.d.ts → query-modes.d.ts} +1 -1
- package/dist/server/{server/query-validator.d.ts → query-validator.d.ts} +1 -1
- package/dist/server/{server/resolvers → resolvers}/calculated-measure-resolver.d.ts +1 -1
- package/dist/server/{server/resolvers → resolvers}/index.d.ts +2 -2
- package/dist/server/{server/resolvers → resolvers}/join-path-resolver.d.ts +1 -1
- package/dist/server/{server/template-substitution.d.ts → template-substitution.d.ts} +1 -1
- package/dist/server/{server/types → types}/cache.d.ts +1 -1
- package/dist/server/{server/types → types}/cube.d.ts +4 -4
- package/dist/server/{server/types → types}/executor.d.ts +2 -2
- package/dist/server/{server/types → types}/flow.d.ts +2 -2
- package/dist/server/{server/types → types}/funnel.d.ts +1 -1
- package/dist/server/types/index.d.ts +11 -0
- package/dist/server/{server/types → types}/metadata.d.ts +1 -1
- package/dist/server/{server/types → types}/query.d.ts +4 -4
- package/dist/server/{server/types → types}/retention.d.ts +1 -1
- package/dist/server/{server/types → types}/utils.d.ts +1 -1
- package/package.json +12 -4
- package/dist/adapters/mcp-transport-Chiaj4ll.cjs +0 -40
- package/dist/adapters/mcp-transport-H96VG3WY.js +0 -591
- package/dist/server/server/agent/index.d.ts +0 -11
- package/dist/server/server/agent/providers/index.d.ts +0 -6
- package/dist/server/server/builders/index.d.ts +0 -13
- package/dist/server/server/cache-providers/index.d.ts +0 -5
- package/dist/server/server/explain/index.d.ts +0 -9
- package/dist/server/server/index.d.ts +0 -38
- package/dist/server/server/physical-plan/index.d.ts +0 -2
- package/dist/server/server/physical-plan/processors/index.d.ts +0 -8
- package/dist/server/server/types/index.d.ts +0 -11
- /package/dist/server/{server/agent → agent}/chart-validation.d.ts +0 -0
- /package/dist/server/{server/agent → agent}/providers/types.d.ts +0 -0
- /package/dist/server/{server/ai → ai}/mcp-prompts.d.ts +0 -0
- /package/dist/server/{server/ai → ai}/query-schema.d.ts +0 -0
- /package/dist/server/{server/ai → ai}/schemas.d.ts +0 -0
- /package/dist/server/{server/executors → executors}/explain-utils.d.ts +0 -0
- /package/dist/server/{server/prompts → prompts}/explain-analysis-prompt.d.ts +0 -0
- /package/dist/server/{server/prompts → prompts}/index.d.ts +0 -0
- /package/dist/server/{server/prompts → prompts}/single-step-prompt.d.ts +0 -0
- /package/dist/server/{server/prompts → prompts}/step0-validation-prompt.d.ts +0 -0
- /package/dist/server/{server/prompts → prompts}/step1-shape-prompt.d.ts +0 -0
- /package/dist/server/{server/prompts → prompts}/step2-complete-prompt.d.ts +0 -0
- /package/dist/server/{server/prompts → prompts}/types.d.ts +0 -0
- /package/dist/server/{server/sql-format.d.ts → sql-format.d.ts} +0 -0
- /package/dist/server/{server/types → types}/analysis.d.ts +0 -0
- /package/dist/server/{server/types → types}/core.d.ts +0 -0
- /package/dist/server/{server/types → types}/validation.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { CubeClient } from '../client/CubeClient';
|
|
3
|
-
import { CubeQueryOptions, CubeApiOptions } from '../types';
|
|
4
|
-
import { BatchCoordinator } from '../client/BatchCoordinator';
|
|
2
|
+
import { CubeClient } from '../client/CubeClient.js';
|
|
3
|
+
import { CubeQueryOptions, CubeApiOptions } from '../types.js';
|
|
4
|
+
import { BatchCoordinator } from '../client/BatchCoordinator.js';
|
|
5
5
|
interface CubeApiContextValue {
|
|
6
6
|
cubeApi: CubeClient;
|
|
7
7
|
options?: CubeQueryOptions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { FeaturesConfig, DashboardLayoutMode } from '../types';
|
|
2
|
+
import { FeaturesConfig, DashboardLayoutMode } from '../types.js';
|
|
3
3
|
interface CubeFeaturesContextValue {
|
|
4
4
|
features: FeaturesConfig;
|
|
5
5
|
dashboardModes: DashboardLayoutMode[];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { QueryClient } from '@tanstack/react-query';
|
|
3
|
-
import { useCubeApi } from './CubeApiProvider';
|
|
4
|
-
import { useCubeMeta } from './CubeMetaContext';
|
|
5
|
-
import { useCubeFeatures } from './CubeFeaturesProvider';
|
|
6
|
-
import { CubeQueryOptions, CubeApiOptions, FeaturesConfig, DashboardLayoutMode, CubeMeta, FieldLabelMap } from '../types';
|
|
7
|
-
import { CubeClient } from '../client/CubeClient';
|
|
8
|
-
import { BatchCoordinator } from '../client/BatchCoordinator';
|
|
9
|
-
import { ChartDefinition } from '../charts/chartPlugin';
|
|
3
|
+
import { useCubeApi } from './CubeApiProvider.js';
|
|
4
|
+
import { useCubeMeta } from './CubeMetaContext.js';
|
|
5
|
+
import { useCubeFeatures } from './CubeFeaturesProvider.js';
|
|
6
|
+
import { CubeQueryOptions, CubeApiOptions, FeaturesConfig, DashboardLayoutMode, CubeMeta, FieldLabelMap } from '../types.js';
|
|
7
|
+
import { CubeClient } from '../client/CubeClient.js';
|
|
8
|
+
import { BatchCoordinator } from '../client/BatchCoordinator.js';
|
|
9
|
+
import { ChartDefinition } from '../charts/chartPlugin.js';
|
|
10
10
|
export declare const createCubeQueryClient: () => QueryClient;
|
|
11
11
|
export declare const queryClient: QueryClient;
|
|
12
12
|
interface CubeContextValue {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { TranslationKey, TranslationParams } from '../../i18n/types';
|
|
2
|
+
import { TranslationKey, TranslationParams } from '../../i18n/types.js';
|
|
3
3
|
export interface I18nContextValue {
|
|
4
4
|
t: (key: TranslationKey, params?: TranslationParams) => string;
|
|
5
5
|
locale: string;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* React providers and context only - for applications that need data providers
|
|
5
5
|
* without UI components.
|
|
6
6
|
*/
|
|
7
|
-
export { CubeProvider, useCubeContext } from './providers/CubeProvider';
|
|
8
|
-
export { ScrollContainerProvider, useScrollContainer } from './providers/ScrollContainerContext';
|
|
9
|
-
export { createCubeClient } from './client/CubeClient';
|
|
10
|
-
export type { CubeApiOptions, CubeQueryOptions } from './types';
|
|
7
|
+
export { CubeProvider, useCubeContext } from './providers/CubeProvider.js';
|
|
8
|
+
export { ScrollContainerProvider, useScrollContainer } from './providers/ScrollContainerContext.js';
|
|
9
|
+
export { createCubeClient } from './client/CubeClient.js';
|
|
10
|
+
export type { CubeApiOptions, CubeQueryOptions } from './types.js';
|
package/dist/client/schema.d.ts
CHANGED
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* Usage:
|
|
10
10
|
* import { SchemaVisualization } from 'drizzle-cube/client/schema'
|
|
11
11
|
*/
|
|
12
|
-
export { SchemaVisualizationLazy as SchemaVisualization } from './components/SchemaVisualization/SchemaVisualizationLazy';
|
|
13
|
-
export type { SchemaVisualizationProps } from './components/SchemaVisualization/index';
|
|
12
|
+
export { SchemaVisualizationLazy as SchemaVisualization } from './components/SchemaVisualization/SchemaVisualizationLazy.js';
|
|
13
|
+
export type { SchemaVisualizationProps } from './components/SchemaVisualization/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChartType, ChartAxisConfig } from '../types';
|
|
2
|
-
import { MetricItem, BreakdownItem } from '../components/AnalysisBuilder/types';
|
|
1
|
+
import { ChartType, ChartAxisConfig } from '../types.js';
|
|
2
|
+
import { MetricItem, BreakdownItem } from '../components/AnalysisBuilder/types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Resolved breakdown selections passed to every axis builder.
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChartType, ChartAxisConfig } from '../types';
|
|
2
|
-
import { MetricItem, BreakdownItem } from '../components/AnalysisBuilder/types';
|
|
3
|
-
import { ChartAvailability } from '../charts/chartConfigs';
|
|
1
|
+
import { ChartType, ChartAxisConfig } from '../types.js';
|
|
2
|
+
import { MetricItem, BreakdownItem } from '../components/AnalysisBuilder/types.js';
|
|
3
|
+
import { ChartAvailability } from '../charts/chartConfigs.js';
|
|
4
4
|
/**
|
|
5
5
|
* Result of smart chart defaults calculation
|
|
6
6
|
*/
|
|
@@ -10,7 +10,7 @@ export interface SmartChartDefaults {
|
|
|
10
10
|
/** The auto-configured chart axis settings */
|
|
11
11
|
chartConfig: ChartAxisConfig;
|
|
12
12
|
}
|
|
13
|
-
export type { ChartAvailability } from '../charts/chartConfigs';
|
|
13
|
+
export type { ChartAvailability } from '../charts/chartConfigs.js';
|
|
14
14
|
/**
|
|
15
15
|
* Map of chart type availability statuses
|
|
16
16
|
*/
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Shared module exports
|
|
3
3
|
* Common types, utilities, and components used across QueryBuilder and AnalysisBuilder
|
|
4
4
|
*/
|
|
5
|
-
export type { MetaField, MetaCube, MetaResponse, QueryAnalysis, PrimaryCubeSelectionReason, PrimaryCubeCandidate, PrimaryCubeAnalysis, JoinPathStep, JoinPathAnalysis, PreAggregationAnalysis, QuerySummary, ValidationResult, FilterOperatorMeta, DateRangeType, DateRangeOption, TimeGranularity } from './types';
|
|
6
|
-
export { FILTER_OPERATORS, DATE_RANGE_OPTIONS, TIME_GRANULARITIES } from './types';
|
|
7
|
-
export { isSimpleFilter, isGroupFilter, isAndFilter, isOrFilter, flattenFilters, countFilters, createSimpleFilter, createAndFilter, createOrFilter, transformFiltersForServer, transformFiltersFromServer, hasQueryContent, cleanQuery, cleanQueryForServer, transformQueryForUI, getCubeNameFromField, getFieldType, getFieldTitle, getAvailableOperators, getAllFilterableFields, convertDateRangeTypeToValue, requiresNumberInput, formatDateForCube } from './utils';
|
|
8
|
-
export { default as QueryAnalysisPanel } from './components/QueryAnalysisPanel';
|
|
9
|
-
export { default as CodeBlock } from './components/CodeBlock';
|
|
10
|
-
export { getChartAvailability, getAllChartAvailability, selectBestChartType, getSmartChartDefaults, shouldAutoSwitchChartType, mergeChartConfigWithDefaults } from './chartDefaults';
|
|
11
|
-
export type { SmartChartDefaults, ChartAvailability, ChartAvailabilityMap } from './chartDefaults';
|
|
5
|
+
export type { MetaField, MetaCube, MetaResponse, QueryAnalysis, PrimaryCubeSelectionReason, PrimaryCubeCandidate, PrimaryCubeAnalysis, JoinPathStep, JoinPathAnalysis, PreAggregationAnalysis, QuerySummary, ValidationResult, FilterOperatorMeta, DateRangeType, DateRangeOption, TimeGranularity } from './types.js';
|
|
6
|
+
export { FILTER_OPERATORS, DATE_RANGE_OPTIONS, TIME_GRANULARITIES } from './types.js';
|
|
7
|
+
export { isSimpleFilter, isGroupFilter, isAndFilter, isOrFilter, flattenFilters, countFilters, createSimpleFilter, createAndFilter, createOrFilter, transformFiltersForServer, transformFiltersFromServer, hasQueryContent, cleanQuery, cleanQueryForServer, transformQueryForUI, getCubeNameFromField, getFieldType, getFieldTitle, getAvailableOperators, getAllFilterableFields, convertDateRangeTypeToValue, requiresNumberInput, formatDateForCube } from './utils.js';
|
|
8
|
+
export { default as QueryAnalysisPanel } from './components/QueryAnalysisPanel.js';
|
|
9
|
+
export { default as CodeBlock } from './components/CodeBlock.js';
|
|
10
|
+
export { getChartAvailability, getAllChartAvailability, selectBestChartType, getSmartChartDefaults, shouldAutoSwitchChartType, mergeChartConfigWithDefaults } from './chartDefaults.js';
|
|
11
|
+
export type { SmartChartDefaults, ChartAvailability, ChartAvailabilityMap } from './chartDefaults.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CubeQuery, Filter, SimpleFilter, GroupFilter } from '../types';
|
|
2
|
-
import { MetaField, MetaResponse } from './types';
|
|
3
|
-
import { cleanQuery } from './queryTransforms';
|
|
1
|
+
import { CubeQuery, Filter, SimpleFilter, GroupFilter } from '../types.js';
|
|
2
|
+
import { MetaField, MetaResponse } from './types.js';
|
|
3
|
+
import { cleanQuery } from './queryTransforms.js';
|
|
4
4
|
export { cleanQuery };
|
|
5
5
|
/**
|
|
6
6
|
* Check if a filter is a simple filter
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { StoreApi } from 'zustand';
|
|
3
|
-
import { Filter, ChartType, ChartAxisConfig, ChartDisplayConfig, CubeQuery, QueryMergeStrategy, MultiQueryConfig, FunnelBindingKey, FunnelConfig, AnalysisType, FunnelStepState } from '../types';
|
|
4
|
-
import { ServerFunnelQuery } from '../types/funnel';
|
|
5
|
-
import { ServerFlowQuery, FlowStartingStep } from '../types/flow';
|
|
6
|
-
import { ServerRetentionQuery, RetentionGranularity, RetentionType, DateRange, RetentionBreakdownItem } from '../types/retention';
|
|
7
|
-
import { AnalysisBuilderState, QueryPanelTab, AIState } from '../components/AnalysisBuilder/types';
|
|
8
|
-
import { AnalysisConfig, ChartConfig, AnalysisWorkspace } from '../types/analysisConfig';
|
|
3
|
+
import { Filter, ChartType, ChartAxisConfig, ChartDisplayConfig, CubeQuery, QueryMergeStrategy, MultiQueryConfig, FunnelBindingKey, FunnelConfig, AnalysisType, FunnelStepState } from '../types.js';
|
|
4
|
+
import { ServerFunnelQuery } from '../types/funnel.js';
|
|
5
|
+
import { ServerFlowQuery, FlowStartingStep } from '../types/flow.js';
|
|
6
|
+
import { ServerRetentionQuery, RetentionGranularity, RetentionType, DateRange, RetentionBreakdownItem } from '../types/retention.js';
|
|
7
|
+
import { AnalysisBuilderState, QueryPanelTab, AIState } from '../components/AnalysisBuilder/types.js';
|
|
8
|
+
import { AnalysisConfig, ChartConfig, AnalysisWorkspace } from '../types/analysisConfig.js';
|
|
9
9
|
/**
|
|
10
10
|
* Field modal mode for field search
|
|
11
11
|
*/
|
|
@@ -343,7 +343,7 @@ export interface AnalysisBuilderStoreActions {
|
|
|
343
343
|
* Validate current state using the adapter for the current analysis type.
|
|
344
344
|
* Returns validation errors and warnings that can be displayed to the user.
|
|
345
345
|
*/
|
|
346
|
-
getValidation: () => import('../adapters/modeAdapter').ValidationResult;
|
|
346
|
+
getValidation: () => import('../adapters/modeAdapter.js').ValidationResult;
|
|
347
347
|
}
|
|
348
348
|
/**
|
|
349
349
|
* Combined store type
|
|
@@ -485,11 +485,11 @@ export declare const selectCurrentState: (state: AnalysisBuilderStore) => Analys
|
|
|
485
485
|
/**
|
|
486
486
|
* Select current metrics
|
|
487
487
|
*/
|
|
488
|
-
export declare const selectMetrics: (state: AnalysisBuilderStore) => import('../components/AnalysisBuilder/types').MetricItem[];
|
|
488
|
+
export declare const selectMetrics: (state: AnalysisBuilderStore) => import('../components/AnalysisBuilder/types.js').MetricItem[];
|
|
489
489
|
/**
|
|
490
490
|
* Select current breakdowns
|
|
491
491
|
*/
|
|
492
|
-
export declare const selectBreakdowns: (state: AnalysisBuilderStore) => import('../components/AnalysisBuilder/types').BreakdownItem[];
|
|
492
|
+
export declare const selectBreakdowns: (state: AnalysisBuilderStore) => import('../components/AnalysisBuilder/types.js').BreakdownItem[];
|
|
493
493
|
/**
|
|
494
494
|
* Select current filters
|
|
495
495
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { StoreApi } from 'zustand';
|
|
3
3
|
import { LayoutItem } from 'react-grid-layout';
|
|
4
|
-
import { PortletConfig, RowLayout, ChartType, ChartAxisConfig, ChartDisplayConfig, CubeQuery } from '../types';
|
|
5
|
-
import { FlowChartData } from '../types/flow';
|
|
6
|
-
import { RetentionChartData } from '../types/retention';
|
|
4
|
+
import { PortletConfig, RowLayout, ChartType, ChartAxisConfig, ChartDisplayConfig, CubeQuery } from '../types.js';
|
|
5
|
+
import { FlowChartData } from '../types/flow.js';
|
|
6
|
+
import { RetentionChartData } from '../types/retention.js';
|
|
7
7
|
/**
|
|
8
8
|
* Debug data entry for a portlet (used by chart inspector)
|
|
9
9
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { StoreApi } from 'zustand';
|
|
3
|
-
import { ChartType, ChartAxisConfig, ChartDisplayConfig } from '../types';
|
|
3
|
+
import { ChartType, ChartAxisConfig, ChartDisplayConfig } from '../types.js';
|
|
4
4
|
/**
|
|
5
5
|
* A portlet block in the notebook
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CubeQuery, MultiQueryConfig } from '../types';
|
|
2
|
-
import { AnalysisBuilderState } from '../components/AnalysisBuilder/types';
|
|
3
|
-
import { AnalysisConfig } from '../types/analysisConfig';
|
|
4
|
-
import { CreateStoreOptions } from './analysisBuilderStore';
|
|
1
|
+
import { CubeQuery, MultiQueryConfig } from '../types.js';
|
|
2
|
+
import { AnalysisBuilderState } from '../components/AnalysisBuilder/types.js';
|
|
3
|
+
import { AnalysisConfig } from '../types/analysisConfig.js';
|
|
4
|
+
import { CreateStoreOptions } from './analysisBuilderStore.js';
|
|
5
5
|
/**
|
|
6
6
|
* Convert CubeQuery to AnalysisBuilderState
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StateCreator } from 'zustand';
|
|
2
|
-
import { AnalysisBuilderStore } from '../analysisBuilderStore';
|
|
3
|
-
import { AnalysisConfig, AnalysisType, ChartConfig, AnalysisWorkspace } from '../../types/analysisConfig';
|
|
4
|
-
import { ChartType, ChartAxisConfig, ChartDisplayConfig } from '../../types';
|
|
2
|
+
import { AnalysisBuilderStore } from '../analysisBuilderStore.js';
|
|
3
|
+
import { AnalysisConfig, AnalysisType, ChartConfig, AnalysisWorkspace } from '../../types/analysisConfig.js';
|
|
4
|
+
import { ChartType, ChartAxisConfig, ChartDisplayConfig } from '../../types.js';
|
|
5
5
|
/**
|
|
6
6
|
* Core slice state
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StateCreator } from 'zustand';
|
|
2
|
-
import { AnalysisBuilderStore } from '../analysisBuilderStore';
|
|
3
|
-
import { Filter, FunnelBindingKey } from '../../types';
|
|
4
|
-
import { ServerFlowQuery, FlowStartingStep } from '../../types/flow';
|
|
2
|
+
import { AnalysisBuilderStore } from '../analysisBuilderStore.js';
|
|
3
|
+
import { Filter, FunnelBindingKey } from '../../types.js';
|
|
4
|
+
import { ServerFlowQuery, FlowStartingStep } from '../../types/flow.js';
|
|
5
5
|
/**
|
|
6
6
|
* Flow slice state
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StateCreator } from 'zustand';
|
|
2
|
-
import { AnalysisBuilderStore } from '../analysisBuilderStore';
|
|
3
|
-
import { FunnelStepState, FunnelBindingKey, FunnelConfig } from '../../types';
|
|
4
|
-
import { ServerFunnelQuery } from '../../types/funnel';
|
|
2
|
+
import { AnalysisBuilderStore } from '../analysisBuilderStore.js';
|
|
3
|
+
import { FunnelStepState, FunnelBindingKey, FunnelConfig } from '../../types.js';
|
|
4
|
+
import { ServerFunnelQuery } from '../../types/funnel.js';
|
|
5
5
|
/**
|
|
6
6
|
* Funnel slice state
|
|
7
7
|
*/
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Exports all slice types, state creators, and action types for use in
|
|
5
5
|
* the main store composition.
|
|
6
6
|
*/
|
|
7
|
-
export { createCoreSlice, createInitialCoreState, type CoreSlice, type CoreSliceState, type CoreSliceActions, } from './coreSlice';
|
|
8
|
-
export { createQuerySlice, createInitialQueryState, type QuerySlice, type QuerySliceState, type QuerySliceActions, } from './querySlice';
|
|
9
|
-
export { createFunnelSlice, createInitialFunnelState, type FunnelSlice, type FunnelSliceState, type FunnelSliceActions, } from './funnelSlice';
|
|
10
|
-
export { createFlowSlice, createInitialFlowState, type FlowSlice, type FlowSliceState, type FlowSliceActions, } from './flowSlice';
|
|
11
|
-
export { createRetentionSlice, createInitialRetentionState, type RetentionSlice, type RetentionSliceActions, } from './retentionSlice';
|
|
12
|
-
export type { RetentionSliceState } from '../../types/retention';
|
|
13
|
-
export { createUISlice, createInitialUIState, type UISlice, type UISliceState, type UISliceActions, type FieldModalMode, } from './uiSlice';
|
|
7
|
+
export { createCoreSlice, createInitialCoreState, type CoreSlice, type CoreSliceState, type CoreSliceActions, } from './coreSlice.js';
|
|
8
|
+
export { createQuerySlice, createInitialQueryState, type QuerySlice, type QuerySliceState, type QuerySliceActions, } from './querySlice.js';
|
|
9
|
+
export { createFunnelSlice, createInitialFunnelState, type FunnelSlice, type FunnelSliceState, type FunnelSliceActions, } from './funnelSlice.js';
|
|
10
|
+
export { createFlowSlice, createInitialFlowState, type FlowSlice, type FlowSliceState, type FlowSliceActions, } from './flowSlice.js';
|
|
11
|
+
export { createRetentionSlice, createInitialRetentionState, type RetentionSlice, type RetentionSliceActions, } from './retentionSlice.js';
|
|
12
|
+
export type { RetentionSliceState } from '../../types/retention.js';
|
|
13
|
+
export { createUISlice, createInitialUIState, type UISlice, type UISliceState, type UISliceActions, type FieldModalMode, } from './uiSlice.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StateCreator } from 'zustand';
|
|
2
|
-
import { AnalysisBuilderStore } from '../analysisBuilderStore';
|
|
3
|
-
import { Filter, QueryMergeStrategy, CubeQuery, MultiQueryConfig } from '../../types';
|
|
4
|
-
import { AnalysisBuilderState } from '../../components/AnalysisBuilder/types';
|
|
2
|
+
import { AnalysisBuilderStore } from '../analysisBuilderStore.js';
|
|
3
|
+
import { Filter, QueryMergeStrategy, CubeQuery, MultiQueryConfig } from '../../types.js';
|
|
4
|
+
import { AnalysisBuilderState } from '../../components/AnalysisBuilder/types.js';
|
|
5
5
|
/**
|
|
6
6
|
* Query slice state
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StateCreator } from 'zustand';
|
|
2
|
-
import { AnalysisBuilderStore } from '../analysisBuilderStore';
|
|
3
|
-
import { Filter, FunnelBindingKey } from '../../types';
|
|
4
|
-
import { ServerRetentionQuery, RetentionSliceState, RetentionGranularity, RetentionType, DateRange, RetentionBreakdownItem } from '../../types/retention';
|
|
2
|
+
import { AnalysisBuilderStore } from '../analysisBuilderStore.js';
|
|
3
|
+
import { Filter, FunnelBindingKey } from '../../types.js';
|
|
4
|
+
import { ServerRetentionQuery, RetentionSliceState, RetentionGranularity, RetentionType, DateRange, RetentionBreakdownItem } from '../../types/retention.js';
|
|
5
5
|
/**
|
|
6
6
|
* Retention slice actions
|
|
7
7
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StateCreator } from 'zustand';
|
|
2
|
-
import { AnalysisBuilderStore } from '../analysisBuilderStore';
|
|
3
|
-
import { QueryPanelTab, AIState } from '../../components/AnalysisBuilder/types';
|
|
2
|
+
import { AnalysisBuilderStore } from '../analysisBuilderStore.js';
|
|
3
|
+
import { QueryPanelTab, AIState } from '../../components/AnalysisBuilder/types.js';
|
|
4
4
|
/**
|
|
5
5
|
* Field modal mode for field search
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ChartType, ChartAxisConfig, ChartDisplayConfig, CubeQuery, MultiQueryConfig } from '../types';
|
|
2
|
-
import { ServerFunnelQuery } from './funnel';
|
|
3
|
-
import { ServerFlowQuery } from './flow';
|
|
4
|
-
import { ServerRetentionQuery } from './retention';
|
|
1
|
+
import { ChartType, ChartAxisConfig, ChartDisplayConfig, CubeQuery, MultiQueryConfig } from '../types.js';
|
|
2
|
+
import { ServerFunnelQuery } from './funnel.js';
|
|
3
|
+
import { ServerFlowQuery } from './flow.js';
|
|
4
|
+
import { ServerRetentionQuery } from './retention.js';
|
|
5
5
|
/**
|
|
6
6
|
* Chart configuration - shared across all analysis types
|
|
7
7
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MouseEvent } from 'react';
|
|
2
|
-
import { CubeQuery, Filter, TimeGranularity, ChartAxisConfig } from '../types';
|
|
2
|
+
import { CubeQuery, Filter, TimeGranularity, ChartAxisConfig } from '../types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Event fired when a user clicks on a data point in a chart
|
|
5
5
|
* Generic across all chart types (bar, line, pie, etc.)
|
|
@@ -165,17 +165,17 @@ export interface UseDrillInteractionOptions {
|
|
|
165
165
|
/** Current query being displayed */
|
|
166
166
|
query: CubeQuery;
|
|
167
167
|
/** Cube metadata for computing drill options */
|
|
168
|
-
metadata: import('../types').CubeMeta | null;
|
|
168
|
+
metadata: import('../types.js').CubeMeta | null;
|
|
169
169
|
/** Callback when query changes due to drill */
|
|
170
170
|
onQueryChange: (query: CubeQuery) => void;
|
|
171
171
|
/** Current chart configuration (to restore on drill up to root) */
|
|
172
172
|
chartConfig?: ChartAxisConfig;
|
|
173
173
|
/** Dashboard filters context (for dashboard-level drill) */
|
|
174
|
-
dashboardFilters?: import('../types').DashboardFilter[];
|
|
174
|
+
dashboardFilters?: import('../types.js').DashboardFilter[];
|
|
175
175
|
/** Which dashboard filters apply to this portlet */
|
|
176
|
-
dashboardFilterMapping?: import('../types').DashboardFilterMapping;
|
|
176
|
+
dashboardFilterMapping?: import('../types.js').DashboardFilterMapping;
|
|
177
177
|
/** Callback to update a dashboard filter */
|
|
178
|
-
onDashboardFilterChange?: (filterId: string, filter: import('../types').Filter) => void;
|
|
178
|
+
onDashboardFilterChange?: (filterId: string, filter: import('../types.js').Filter) => void;
|
|
179
179
|
/** Whether drill is enabled (default: true) */
|
|
180
180
|
enabled?: boolean;
|
|
181
181
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Filter } from '../types';
|
|
2
|
-
import { FunnelBindingKey } from './funnel';
|
|
1
|
+
import { Filter } from '../types.js';
|
|
2
|
+
import { FunnelBindingKey } from './funnel.js';
|
|
3
3
|
/**
|
|
4
4
|
* Starting step definition for flow analysis
|
|
5
5
|
* The starting step is the anchor point from which we explore paths
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Filter } from '../types';
|
|
2
|
-
import { FunnelBindingKey } from './funnel';
|
|
1
|
+
import { Filter } from '../types.js';
|
|
2
|
+
import { FunnelBindingKey } from './funnel.js';
|
|
3
3
|
/**
|
|
4
4
|
* Date range for cohort analysis (REQUIRED)
|
|
5
5
|
* Matches server's RetentionDateRange interface
|
package/dist/client/types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { ColorPalette } from './utils/colorPalettes';
|
|
3
|
-
import { FunnelBindingKey } from './types/funnel';
|
|
4
|
-
import { FlowChartData } from './types/flow';
|
|
5
|
-
import { RetentionChartData } from './types/retention';
|
|
2
|
+
import { ColorPalette } from './utils/colorPalettes.js';
|
|
3
|
+
import { FunnelBindingKey } from './types/funnel.js';
|
|
4
|
+
import { FlowChartData } from './types/flow.js';
|
|
5
|
+
import { RetentionChartData } from './types/retention.js';
|
|
6
6
|
export type TimeGranularity = 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
7
7
|
export interface CubeMetaMeasure {
|
|
8
8
|
name: string;
|
|
@@ -70,7 +70,7 @@ export interface CubeMeta {
|
|
|
70
70
|
cubes: CubeMetaCube[];
|
|
71
71
|
}
|
|
72
72
|
export type FieldLabelMap = Record<string, string>;
|
|
73
|
-
export type { ColorPalette } from './utils/colorPalettes';
|
|
73
|
+
export type { ColorPalette } from './utils/colorPalettes.js';
|
|
74
74
|
export type BuiltInChartType = 'line' | 'bar' | 'pie' | 'table' | 'area' | 'scatter' | 'radar' | 'radialBar' | 'treemap' | 'bubble' | 'activityGrid' | 'kpiNumber' | 'kpiDelta' | 'kpiText' | 'markdown' | 'funnel' | 'sankey' | 'sunburst' | 'heatmap' | 'retentionHeatmap' | 'retentionCombined' | 'boxPlot' | 'waterfall' | 'candlestick' | 'measureProfile' | 'gauge';
|
|
75
75
|
export type ChartType = BuiltInChartType | (string & {});
|
|
76
76
|
export interface AxisFormatConfig {
|
|
@@ -193,7 +193,7 @@ export interface PortletConfig {
|
|
|
193
193
|
* This is the single source of truth for all query/chart config.
|
|
194
194
|
* New portlets only save this field. Legacy portlets are migrated on-the-fly.
|
|
195
195
|
*/
|
|
196
|
-
analysisConfig?: import('./types/analysisConfig').AnalysisConfig;
|
|
196
|
+
analysisConfig?: import('./types/analysisConfig.js').AnalysisConfig;
|
|
197
197
|
/** @deprecated Use analysisConfig.query instead */
|
|
198
198
|
query?: string;
|
|
199
199
|
/** @deprecated Use analysisConfig.charts[mode].chartType instead */
|
|
@@ -426,7 +426,7 @@ export interface ChartProps {
|
|
|
426
426
|
height?: string | number;
|
|
427
427
|
colorPalette?: ColorPalette;
|
|
428
428
|
/** Handler for data point clicks - fires ChartDataPointClickEvent */
|
|
429
|
-
onDataPointClick?: (event: import('./types/drill').ChartDataPointClickEvent) => void;
|
|
429
|
+
onDataPointClick?: (event: import('./types/drill.js').ChartDataPointClickEvent) => void;
|
|
430
430
|
/** Whether drill-down is enabled (shows pointer cursor on clickable elements) */
|
|
431
431
|
drillEnabled?: boolean;
|
|
432
432
|
}
|
|
@@ -466,14 +466,14 @@ export interface ResponsiveLayout {
|
|
|
466
466
|
[breakpoint: string]: GridLayout[];
|
|
467
467
|
}
|
|
468
468
|
export type DashboardDisplayMode = 'desktop' | 'scaled' | 'mobile';
|
|
469
|
-
export type { FunnelBindingKey, FunnelBindingKeyMapping, FunnelStep, FunnelConfig, FunnelStepResult, FunnelExecutionResult, FunnelChartData, FunnelValidationError, FunnelValidationResult, UseFunnelQueryOptions, UseFunnelQueryResult, ServerFunnelQuery, } from './types/funnel';
|
|
469
|
+
export type { FunnelBindingKey, FunnelBindingKeyMapping, FunnelStep, FunnelConfig, FunnelStepResult, FunnelExecutionResult, FunnelChartData, FunnelValidationError, FunnelValidationResult, UseFunnelQueryOptions, UseFunnelQueryResult, ServerFunnelQuery, } from './types/funnel.js';
|
|
470
470
|
/**
|
|
471
471
|
* Type guard to detect server funnel query format
|
|
472
472
|
* Used to distinguish { funnel: {...} } from CubeQuery or MultiQueryConfig
|
|
473
473
|
*/
|
|
474
|
-
export declare function isServerFunnelQuery(obj: unknown): obj is import('./types/funnel').ServerFunnelQuery;
|
|
475
|
-
export type { FlowStartingStep, ServerFlowQuery, FlowQueryConfig, SankeyNode, SankeyLink, FlowResultRow, FlowChartData, FlowSliceState, FlowSliceActions, } from './types/flow';
|
|
476
|
-
export { isServerFlowQuery, isSankeyData } from './types/flow';
|
|
474
|
+
export declare function isServerFunnelQuery(obj: unknown): obj is import('./types/funnel.js').ServerFunnelQuery;
|
|
475
|
+
export type { FlowStartingStep, ServerFlowQuery, FlowQueryConfig, SankeyNode, SankeyLink, FlowResultRow, FlowChartData, FlowSliceState, FlowSliceActions, } from './types/flow.js';
|
|
476
|
+
export { isServerFlowQuery, isSankeyData } from './types/flow.js';
|
|
477
477
|
/**
|
|
478
478
|
* Options for EXPLAIN query execution
|
|
479
479
|
*/
|
|
@@ -597,4 +597,4 @@ export interface AIExplainAnalysis {
|
|
|
597
597
|
usingUserKey: boolean;
|
|
598
598
|
};
|
|
599
599
|
}
|
|
600
|
-
export type { ChartDataPointClickEvent, DrillOptionType, DrillScope, DrillOption, DrillPathEntry, DrillResult, UseDrillInteractionOptions, DrillInteraction, DrillMenuProps, DrillBreadcrumbProps, } from './types/drill';
|
|
600
|
+
export type { ChartDataPointClickEvent, DrillOptionType, DrillScope, DrillOption, DrillPathEntry, DrillResult, UseDrillInteractionOptions, DrillInteraction, DrillMenuProps, DrillBreadcrumbProps, } from './types/drill.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FieldLabelMap, AxisFormatConfig } from '../types';
|
|
1
|
+
import { FieldLabelMap, AxisFormatConfig } from '../types.js';
|
|
2
2
|
export declare function isValidNumericValue(value: any): boolean;
|
|
3
3
|
export declare function parseNumericValue(value: any): number | null;
|
|
4
4
|
export declare function formatNumericValue(value: any): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AnalysisConfig, FunnelAnalysisConfig } from '../types/analysisConfig';
|
|
2
|
-
import { ChartType, ChartAxisConfig, ChartDisplayConfig, CubeQuery, FunnelBindingKey, PortletConfig } from '../types';
|
|
1
|
+
import { AnalysisConfig, FunnelAnalysisConfig } from '../types/analysisConfig.js';
|
|
2
|
+
import { ChartType, ChartAxisConfig, ChartDisplayConfig, CubeQuery, FunnelBindingKey, PortletConfig } from '../types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Legacy portlet format (before AnalysisConfig)
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CubeQuery, CubeMeta, CubeMetaHierarchy, TimeGranularity, DashboardFilter, DashboardFilterMapping } from '../types';
|
|
2
|
-
import { DrillOption, DrillResult, ChartDataPointClickEvent } from '../types/drill';
|
|
1
|
+
import { CubeQuery, CubeMeta, CubeMetaHierarchy, TimeGranularity, DashboardFilter, DashboardFilterMapping } from '../types.js';
|
|
2
|
+
import { DrillOption, DrillResult, ChartDataPointClickEvent } from '../types/drill.js';
|
|
3
3
|
/**
|
|
4
4
|
* Check if a dimension is a time dimension based on metadata
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { XlsExportFeatureConfig } from '../types';
|
|
2
|
-
import { PortletDebugDataEntry } from '../stores/dashboardStore';
|
|
1
|
+
import { XlsExportFeatureConfig } from '../types.js';
|
|
2
|
+
import { PortletDebugDataEntry } from '../stores/dashboardStore.js';
|
|
3
3
|
/**
|
|
4
4
|
* Check if XLSX export is available (ExcelJS installed)
|
|
5
5
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Filter, DashboardFilter, DashboardFilterMapping, DashboardFilterMappingEntry, CubeMeta, DashboardConfig } from '../types';
|
|
1
|
+
import { Filter, DashboardFilter, DashboardFilterMapping, DashboardFilterMappingEntry, CubeMeta, DashboardConfig } from '../types.js';
|
|
2
2
|
/**
|
|
3
3
|
* Normalize a portlet filter mapping to entry objects.
|
|
4
4
|
* Plain string entries (the legacy format) become { filterId } with no override.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CubeQuery, SimpleFilter } from '../types';
|
|
2
|
-
import { FunnelBindingKey, FunnelBindingKeyMapping, FunnelConfig, FunnelStep, FunnelStepResult, FunnelExecutionResult, FunnelChartData } from '../types/funnel';
|
|
1
|
+
import { CubeQuery, SimpleFilter } from '../types.js';
|
|
2
|
+
import { FunnelBindingKey, FunnelBindingKeyMapping, FunnelConfig, FunnelStep, FunnelStepResult, FunnelExecutionResult, FunnelChartData } from '../types/funnel.js';
|
|
3
3
|
/**
|
|
4
4
|
* Default maximum number of binding key values to pass between funnel steps.
|
|
5
5
|
* Limits the size of the IN clause to prevent performance issues.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CubeQuery, CubeMeta } from '../types';
|
|
2
|
-
import { FunnelBindingKey, FunnelConfig, FunnelStep, FunnelValidationError, FunnelValidationResult } from '../types/funnel';
|
|
1
|
+
import { CubeQuery, CubeMeta } from '../types.js';
|
|
2
|
+
import { FunnelBindingKey, FunnelConfig, FunnelStep, FunnelValidationError, FunnelValidationResult } from '../types/funnel.js';
|
|
3
3
|
/**
|
|
4
4
|
* Validate that a binding key dimension exists in the given cubes
|
|
5
5
|
*/
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { PortletConfig, DashboardConfig } from '../types';
|
|
2
|
-
export * from './chartUtils';
|
|
3
|
-
export * from './chartConstants';
|
|
4
|
-
export * from './measureIcons';
|
|
5
|
-
export * from './periodUtils';
|
|
6
|
-
export * from './pivotUtils';
|
|
7
|
-
export * from './syntaxHighlighting';
|
|
8
|
-
export * from './comparisonUtils';
|
|
9
|
-
export { captureThumbnail, isThumbnailCaptureAvailable } from './thumbnail';
|
|
10
|
-
export { exportPortletToXlsx, isExportAvailable } from './exportXlsx';
|
|
1
|
+
import { PortletConfig, DashboardConfig } from '../types.js';
|
|
2
|
+
export * from './chartUtils.js';
|
|
3
|
+
export * from './chartConstants.js';
|
|
4
|
+
export * from './measureIcons.js';
|
|
5
|
+
export * from './periodUtils.js';
|
|
6
|
+
export * from './pivotUtils.js';
|
|
7
|
+
export * from './syntaxHighlighting.js';
|
|
8
|
+
export * from './comparisonUtils.js';
|
|
9
|
+
export { captureThumbnail, isThumbnailCaptureAvailable } from './thumbnail.js';
|
|
10
|
+
export { exportPortletToXlsx, isExportAvailable } from './exportXlsx.js';
|
|
11
11
|
/**
|
|
12
12
|
* Create a dashboard layout from portlet configurations
|
|
13
13
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CubeMeta, CubeMetaDimension, PortletConfig } from '../types';
|
|
1
|
+
import { CubeMeta, CubeMetaDimension, PortletConfig } from '../types.js';
|
|
2
2
|
/**
|
|
3
3
|
* Compute the set of cubes reachable from the given start cubes via join
|
|
4
4
|
* relationships. Relationships are treated as undirected, mirroring the
|