UNPKG

drizzle-cube

Version:

Drizzle ORM-first semantic layer with Cube.js compatibility. Type-safe analytics and dashboards with SQL injection protection.

17 lines (16 loc) 763 B
import { Filter } from '../../types'; import { MetaResponse } from '../../shared/types'; interface AnalysisFilterSectionProps { /** Current filters */ filters: Filter[]; /** Schema for field metadata */ schema: MetaResponse | null; /** Callback when filters change */ onFiltersChange: (filters: Filter[]) => void; /** Callback when a field is dropped from another section */ onFieldDropped?: (field: string) => void; /** Only allow dimension filters (no measures) - used for funnel step filters */ dimensionsOnly?: boolean; } export default function AnalysisFilterSection({ filters, schema, onFiltersChange, onFieldDropped, dimensionsOnly }: AnalysisFilterSectionProps): import("react/jsx-runtime").JSX.Element; export {};