fix: session bug

This commit is contained in:
qixinbo
2026-03-15 17:57:09 +08:00
parent eb09129148
commit 4f46f3f8d5
7 changed files with 136 additions and 55 deletions
+2
View File
@@ -1,4 +1,5 @@
import { create } from 'zustand';
import type { ChartSpec } from './visualizationStore';
type ChartRow = Record<string, unknown>;
type GridLayout = { i: string; x: number; y: number; w: number; h: number };
@@ -9,6 +10,7 @@ export interface ChartConfig {
type: 'bar' | 'line';
data: ChartRow[];
sql: string;
chartSpec?: ChartSpec | null;
layout: GridLayout;
}