mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
✨ 角色wiki筛选 #87
This commit is contained in:
12
src/types/App/Character.d.ts
vendored
12
src/types/App/Character.d.ts
vendored
@@ -1,18 +1,25 @@
|
||||
/**
|
||||
* @file types/App/Character.d.ts
|
||||
* @description 角色相关类型定义文件
|
||||
* @since Beta v0.4.2
|
||||
* @since Beta v0.4.3
|
||||
*/
|
||||
|
||||
/**
|
||||
* @description 应用内角色命名空间
|
||||
* @since Beta v0.4.3
|
||||
* @namespace Character
|
||||
* @memberof TGApp.App
|
||||
*/
|
||||
declare namespace TGApp.App.Character {
|
||||
/**
|
||||
* @description Wiki 页简略信息
|
||||
* @since Alpha v0.2.2
|
||||
* @since Beta v0.4.3
|
||||
* @interface WikiBriefInfo
|
||||
* @property {number} id - 角色 ID
|
||||
* @property {number} contentId - 观测枢的 content_id
|
||||
* @property {string} name - 角色名称
|
||||
* @property {string} title - 角色称号
|
||||
* @property {string} area - 角色地区
|
||||
* @property {number[]} birthday - 角色生日 [月, 日]
|
||||
* @property {number} star - 角色星级
|
||||
* @property {string} element - 角色元素类型图标
|
||||
@@ -25,6 +32,7 @@ declare namespace TGApp.App.Character {
|
||||
contentId: number;
|
||||
name: string;
|
||||
title: string;
|
||||
area: string;
|
||||
birthday: number[];
|
||||
star: number;
|
||||
element: string;
|
||||
|
||||
Reference in New Issue
Block a user