Commit ebd145c
authored
fix(core): 重构核心模块代码,修复用户设置导出失败的问题 (#27)
- 重新组织核心模块结构,增加 interfaces.ts、errorHandler.ts 和 logger.ts 文件
- 优化 ConfigurationManager 类,增加配置验证和错误处理功能
- 新增 DataProvider 类,负责收集扩展、设置、主题和代码片段数据
- 实现 SyncManager 类,统一管理和执行导出/导入操作
- 改进错误处理机制,增加 SyncError 类和 ErrorHandler 类
- 采用单例模式实现全局日志器 Logger1 parent 98964ae commit ebd145c
File tree
18 files changed
+1818
-1382
lines changed- src
- core
- providers
- types
18 files changed
+1818
-1382
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 78 | + | |
86 | 79 | | |
87 | 80 | | |
88 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 77 | + | |
86 | 78 | | |
87 | 79 | | |
88 | 80 | | |
| |||
This file was deleted.
0 commit comments