@adminforth/dashboard 1.7.0 → 1.8.0

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.
@@ -1,5 +1,5 @@
1
1
  import { toJSONSchema, z } from 'zod';
2
- import { BarChartSchema, FunnelChartSchema, FunnelQueryConfigSchema, GaugeCardViewConfigSchema, HistogramChartSchema, KpiCardViewConfigSchema, LineChartSchema, PieChartSchema, PivotTableViewConfigSchema, QueryConfigSchema, StackedBarChartSchema, TableViewConfigSchema, WidgetEditableBaseSchema, WidgetConfigSchema, } from './widget.js';
2
+ import { BarChartSchema, FunnelChartSchema, GaugeCardViewConfigSchema, HistogramChartSchema, KpiCardViewConfigSchema, LineChartSchema, PieChartSchema, PivotTableViewConfigSchema, QueryConfigSchema, StackedBarChartSchema, TableViewConfigSchema, WidgetEditableBaseSchema, WidgetConfigSchema, } from './widget.js';
3
3
  export const DashboardErrorResponseZodSchema = z.object({
4
4
  error: z.string(),
5
5
  validationErrors: z.array(z.object({
@@ -115,7 +115,7 @@ const ConfigurableHistogramChartWidgetConfigSchema = WidgetEditableBaseSchema.ex
115
115
  const ConfigurableFunnelChartWidgetConfigSchema = WidgetEditableBaseSchema.extend({
116
116
  target: z.literal('chart'),
117
117
  chart: FunnelChartSchema,
118
- query: FunnelQueryConfigSchema,
118
+ query: QueryConfigSchema,
119
119
  });
120
120
  const ConfigurablePivotTableWidgetConfigSchema = WidgetEditableBaseSchema.extend({
121
121
  target: z.literal('pivot_table'),