♻️ 角色、武器wiki合成一条,修复精炼数据可能为空

This commit is contained in:
目棃
2024-01-20 13:32:43 +08:00
parent d7b2b0cf0f
commit 231eef80e4
262 changed files with 46657 additions and 46684 deletions

View File

@@ -1,7 +1,7 @@
/**
* @file types/App/Character.d.ts
* @description 角色相关类型定义文件
* @since Beta v0.3.8
* @since Beta v0.4.1
*/
declare namespace TGApp.App.Character {
@@ -43,7 +43,7 @@ declare namespace TGApp.App.Character {
/**
* @description Wiki 详细数据
* @since Beta v0.3.8
* @since Beta v0.4.1
* @interface WikiItem
* @memberof TGApp.Plugins.Hutao.Character
* @property {number} id 角色编号
@@ -87,7 +87,7 @@ declare namespace TGApp.App.Character {
};
star: number;
element: string;
weapon: TGApp.Plugins.Hutao.Base.WeaponType;
weapon: string;
materials: TGApp.App.Calendar.Material[];
skills: WikiSkill[];
constellation: TGApp.Plugins.Hutao.Character.RhisdTalent[];

View File

@@ -1,7 +1,7 @@
/**
* @file types/App/Weapon.d.ts
* @description 本应用的武器类型定义文件
* @since Beta v0.3.9
* @since Beta v0.4.1
*/
declare namespace TGApp.App.Weapon {
@@ -30,7 +30,7 @@ declare namespace TGApp.App.Weapon {
/**
* @description 转换后的武器数据
* @since Beta v0.3.9
* @since Beta v0.4.1
* @interface WikiItem
* @memberof TGApp.App.Weapon
* @property {number} id 武器 id
@@ -50,7 +50,7 @@ declare namespace TGApp.App.Weapon {
star: number;
weapon: string;
materials: TGApp.App.Calendar.Material[];
affix: TGApp.Plugins.Hutao.Weapon.RhiAffix;
affix?: TGApp.Plugins.Hutao.Weapon.RhiAffix;
story: string[];
}
}