refactor(desktop): organize lib modules by domain

This commit is contained in:
t8y2 committed 2026-07-04 13:53:52 +08:00
1 parent 90f0594e93
commit 7e7c4944e9
700 files changed
+1292 -1264

No files matched your search

@@ -1,6 +1,6 @@
<script setup lang="ts">
import { computed, ref, watch } from "vue";
import { uuid } from "@/lib/utils";
import { uuid } from "@/lib/common/utils";
import { useI18n } from "vue-i18n";
import { AlertCircle, Loader2, Search, Square, Table2 } from "@lucide/vue";
import { Badge } from "@/components/ui/badge";
@@ -9,10 +9,10 @@ import { Dialog, DialogFooter, DialogHeader, DialogScrollContent, DialogTitle }
import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import { useConnectionStore } from "@/stores/connectionStore";
import * as api from "@/lib/api";
import { buildDatabaseSearchSql, buildSearchResultWhere, findMatchedSearchColumns } from "@/lib/databaseSearch";
import * as api from "@/lib/backend/api";
import { buildDatabaseSearchSql, buildSearchResultWhere, findMatchedSearchColumns } from "@/lib/database/databaseSearch";
import type { DatabaseType, TableInfo } from "@/types/database";
import { isSchemaAware } from "@/lib/databaseCapabilities";
import { isSchemaAware } from "@/lib/database/databaseCapabilities";
const props = defineProps<{
open: boolean;