mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
♻️ 角色、武器wiki合成一条,修复精炼数据可能为空
This commit is contained in:
6
src/types/App/Character.d.ts
vendored
6
src/types/App/Character.d.ts
vendored
@@ -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[];
|
||||
|
||||
6
src/types/App/Weapon.d.ts
vendored
6
src/types/App/Weapon.d.ts
vendored
@@ -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[];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user