drizzle-cube
Version:
Drizzle ORM-first semantic layer with Cube.js compatibility. Type-safe analytics and dashboards with SQL injection protection.
16 lines (15 loc) • 799 B
TypeScript
import { ColorPalette } from '../utils/colorPalettes';
import { DashboardConfig, DashboardFilter, CubeMeta } from '../types';
interface DashboardGridProps {
config: DashboardConfig;
editable?: boolean;
dashboardFilters?: DashboardFilter[];
onConfigChange?: (config: DashboardConfig) => void;
onPortletRefresh?: (portletId: string) => void;
onSave?: (config: DashboardConfig) => Promise<void> | void;
colorPalette?: ColorPalette;
schema?: CubeMeta | null;
onDashboardFiltersChange?: (filters: DashboardFilter[]) => void;
}
export default function DashboardGrid({ config, editable, dashboardFilters, onConfigChange, onPortletRefresh, onSave, colorPalette, schema, onDashboardFiltersChange }: DashboardGridProps): import("react/jsx-runtime").JSX.Element;
export {};