♻️ 重构成就表格,支持多存档

#126
This commit is contained in:
目棃
2024-09-20 15:57:02 +08:00
parent a8a667871a
commit 1dc5aa0ef8
28 changed files with 1198 additions and 1239 deletions

View File

@@ -1,10 +1,15 @@
/**
* @file types Plugins UIAF.d.ts
* @file types/Plugins/UIAF.d.ts
* @description UIAF 插件类型定义文件
* @author BTMuli<bt-muli@outlook.com>
* @since Alpha v0.1.5
* @since Beta v0.6.0
*/
/**
* @description UIAF 插件类型命名空间
* @namespace TGApp.Plugins.UIAF
* @merberof TGApp.Plugins
* @since Beta v0.6.0
*/
declare namespace TGApp.Plugins.UIAF {
/**
* @interface Data
@@ -52,4 +57,17 @@ declare namespace TGApp.Plugins.UIAF {
current: number;
status: number;
}
/**
* @interface Backup
* @description 数据备份时的格式,用于标识不同存档
* @since Beta v0.6.0
* @property {number} uid - 存档UID
* @property {Achievement[]} data - 存档数据
* @returns Backup
*/
interface Backup {
uid: number;
data: Achievement[];
}
}