mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-17 10:08:14 +08:00
✏️ 类型修正
This commit is contained in:
8
src/types/Plugins/Hutao.d.ts
vendored
8
src/types/Plugins/Hutao.d.ts
vendored
@@ -3,7 +3,7 @@
|
|||||||
* @description Hutao API
|
* @description Hutao API
|
||||||
* @see HutaoRequest
|
* @see HutaoRequest
|
||||||
* @author BTMuli <bt-muli@outlook.com>
|
* @author BTMuli <bt-muli@outlook.com>
|
||||||
* @since Alpha v0.2.0
|
* @since Alpha v0.2.1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
declare namespace TGApp.Plugins.Hutao {
|
declare namespace TGApp.Plugins.Hutao {
|
||||||
@@ -105,18 +105,18 @@ declare namespace TGApp.Plugins.Hutao {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @description 角色信息
|
* @description 角色信息
|
||||||
* @since Alpha v0.2.0
|
* @since Alpha v0.2.1
|
||||||
* @interface AbyssAvatar
|
* @interface AbyssAvatar
|
||||||
* @property {number} avatarId - 角色ID
|
* @property {number} avatarId - 角色ID
|
||||||
* @property {number} weaponId - 武器ID
|
* @property {number} weaponId - 武器ID
|
||||||
* @property {string[]} reliquarySetIds - 圣遗物套装ID // id-pos
|
* @property {number[]} reliquarySetIds - 圣遗物套装ID
|
||||||
* @property {number} activedConstellationNumber - 已激活命座数量
|
* @property {number} activedConstellationNumber - 已激活命座数量
|
||||||
* @return AbyssAvatar
|
* @return AbyssAvatar
|
||||||
*/
|
*/
|
||||||
export interface AbyssAvatar {
|
export interface AbyssAvatar {
|
||||||
avatarId: number;
|
avatarId: number;
|
||||||
weaponId: number;
|
weaponId: number;
|
||||||
reliquarySetIds: string[];
|
reliquarySetIds: number[];
|
||||||
activedConstellationNumber: number;
|
activedConstellationNumber: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user