mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-06-15 20:40:42 +08:00
refactor: 重构部分代码
This commit is contained in:
@@ -10,7 +10,6 @@ import chatlab from './chatlab'
|
||||
import chatlabJsonl from './chatlab-jsonl'
|
||||
import shuakamiQqExporter from './shuakami-qq-exporter'
|
||||
import yccccccyEchotrace from './ycccccccy-echotrace'
|
||||
import wechatDefault from './wechat-default'
|
||||
import qqNativeTxt from './qq-native-txt'
|
||||
import whatsappNativeTxt from './whatsapp-native-txt'
|
||||
|
||||
@@ -22,18 +21,9 @@ export const formats: FormatModule[] = [
|
||||
chatlabJsonl, // 优先级 2 - ChatLab JSONL(流式格式,支持超大文件)
|
||||
shuakamiQqExporter, // 优先级 10 - shuakami/qq-chat-exporter
|
||||
yccccccyEchotrace, // 优先级 15 - ycccccccy/echotrace 微信导出
|
||||
wechatDefault, // 优先级 20 - 微信数据库导出 JSON
|
||||
whatsappNativeTxt, // 优先级 25 - WhatsApp 官方导出 TXT
|
||||
qqNativeTxt, // 优先级 30 - QQ 官方导出 TXT
|
||||
]
|
||||
|
||||
// 按名称导出,方便单独使用
|
||||
export {
|
||||
chatlab,
|
||||
chatlabJsonl,
|
||||
shuakamiQqExporter,
|
||||
yccccccyEchotrace,
|
||||
wechatDefault,
|
||||
qqNativeTxt,
|
||||
whatsappNativeTxt,
|
||||
}
|
||||
export { chatlab, chatlabJsonl, shuakamiQqExporter, yccccccyEchotrace, qqNativeTxt, whatsappNativeTxt }
|
||||
|
||||
Reference in New Issue
Block a user