refactor(types): 将类型定义移动到独立的types模块

将原本分散在多个文件中的TreeNode和Template类型定义集中到src/types模块中,并更新所有相关引用
修改tsconfig配置以包含新的types目录
优化IPCs中模板处理逻辑,改进文件复制和路径处理
This commit is contained in:
zhanggy committed 2025-10-31 17:20:09 +08:00
1 parent 35a0821153
commit e496aa59f4
10 files changed
+49 -44

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@
<script setup lang="ts">
import { computed } from 'vue'
import { Template, TreeNode } from '@/renderer/store/template'
import { Template, TreeNode } from '@/types'
interface Props {
template: Template