feat: import table data from files

This commit is contained in:
SuLea-IT
2026-05-02 19:04:41 +08:00
parent 608a02a0bb
commit 2ebd72b3b7
15 changed files with 1448 additions and 9 deletions
+2
View File
@@ -20,6 +20,7 @@ export const useConnectionStore = defineStore("connection", () => {
const schemaDiffSource = ref<{ connectionId: string; database: string } | null>(null);
const sqlFileSource = ref<{ connectionId: string; database: string } | null>(null);
const diagramSource = ref<{ connectionId: string; database: string; schema?: string; tableName?: string } | null>(null);
const tableImportSource = ref<{ connectionId: string; database: string; schema?: string; tableName: string } | null>(null);
function startEditing(id: string) {
editingConnectionId.value = id;
@@ -657,5 +658,6 @@ export const useConnectionStore = defineStore("connection", () => {
schemaDiffSource,
sqlFileSource,
diagramSource,
tableImportSource,
};
});