refactor: restructure project layout

- Move main process to electron/main/
- Move preload to electron/preload/
- Add shared types in electron/shared/
- Split redis-service into modular redis/ directory
- Flatten renderer to src/ (remove src/renderer/ nesting)
- Update electron.vite.config.ts paths
- Update tsconfig paths
- Output to electron-dist/
This commit is contained in:
2026-07-04 21:12:50 +08:00
parent bb885c6d6d
commit bdcf4fe299
59 changed files with 654 additions and 624 deletions
+11
View File
@@ -0,0 +1,11 @@
// src/main/redis/index.ts
// Redis 服务统一导出
export * from './connection'
export * from './keys'
export * from './string'
export * from './hash'
export * from './list'
export * from './set'
export * from './zset'
export * from './stream'
export * from './server'