refactor: core

This commit is contained in:
linyuchen
2024-04-26 13:55:35 +08:00
parent 2dc33d5b85
commit 4772b61d8c
56 changed files with 111 additions and 129 deletions

View File

@@ -6,9 +6,9 @@ import {
ChatType,
ChatCacheListItemBasic,
CacheFileType
} from '../../../ntqqapi/types';
} from '@/core/entities';
import { dbUtil } from '../../../common/db';
import { NTQQFileApi, NTQQFileCacheApi } from '@/core/qqnt/apis/file';
import { NTQQFileApi, NTQQFileCacheApi } from '@/core/apis/file';
export default class CleanCache extends BaseAction<void, void> {
actionName = ActionName.CleanCache;
@@ -102,4 +102,4 @@ function getCacheList(type: ChatType) { // NOTE: 做这个方法主要是因为
})
.catch(e => rej(e));
});
}
}