drizzle-cube
Version:
Drizzle ORM-first semantic layer with Cube.js compatibility. Type-safe analytics and dashboards with SQL injection protection.
14 lines (13 loc) • 510 B
TypeScript
import { CubeMetaCube } from '../../hooks/useCubeMeta';
interface CubeNodeProps {
data: {
cube: CubeMetaCube;
onCubeClick?: (cubeName: string) => void;
onFieldClick?: (cubeName: string, fieldName: string, fieldType: 'measure' | 'dimension') => void;
isHighlighted: boolean;
highlightedFields: string[];
searchTerm?: string;
};
}
export declare function CubeNode({ data }: CubeNodeProps): import("react/jsx-runtime").JSX.Element;
export default CubeNode;