drizzle-cube
Version:
Drizzle ORM-first semantic layer with Cube.js compatibility. Type-safe analytics and dashboards with SQL injection protection.
21 lines (20 loc) • 901 B
TypeScript
import { GroupFilter } from '../../types';
import { MetaResponse } from '../../shared/types';
interface AnalysisFilterGroupProps {
/** The group filter to render */
group: GroupFilter;
/** Schema for field metadata */
schema: MetaResponse | null;
/** Callback when group changes */
onUpdate: (group: GroupFilter) => void;
/** Callback to remove this group */
onRemove: () => void;
/** Callback to add a new filter - receives path relative to this group */
onAddFilter: (relativePath?: number[]) => void;
/** Depth level for styling */
depth?: number;
/** Whether to hide the remove button (for top-level groups) */
hideRemoveButton?: boolean;
}
export default function AnalysisFilterGroup({ group, schema, onUpdate, onRemove, onAddFilter, depth, hideRemoveButton }: AnalysisFilterGroupProps): import("react/jsx-runtime").JSX.Element;
export {};