mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-11 09:08:14 +08:00
✏️ 优化卡牌类型,更新资源 #33
This commit is contained in:
File diff suppressed because it is too large
Load Diff
6
src/types/App/GCG.d.ts
vendored
6
src/types/App/GCG.d.ts
vendored
@@ -2,19 +2,20 @@
|
|||||||
* @file types App GCG.d.ts
|
* @file types App GCG.d.ts
|
||||||
* @description 本应用的卡牌相关类型定义
|
* @description 本应用的卡牌相关类型定义
|
||||||
* @author BTMuli<bt-muli@outlook.com>
|
* @author BTMuli<bt-muli@outlook.com>
|
||||||
* @since Alpha v0.1.5
|
* @since Alpha v0.2.2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
declare namespace TGApp.App.GCG {
|
declare namespace TGApp.App.GCG {
|
||||||
/**
|
/**
|
||||||
* @description Wiki页用到的简略信息
|
* @description Wiki页用到的简略信息
|
||||||
* @interface WikiBriefInfo
|
* @interface WikiBriefInfo
|
||||||
* @since Alpha v0.1.5
|
* @since Alpha v0.2.2
|
||||||
* @property {number} id - 卡牌 ID
|
* @property {number} id - 卡牌 ID
|
||||||
* @property {number} contentId - 观测枢的 content_id
|
* @property {number} contentId - 观测枢的 content_id
|
||||||
* @property {string} name - 卡牌名称
|
* @property {string} name - 卡牌名称
|
||||||
* @property {string} type - 卡牌类型
|
* @property {string} type - 卡牌类型
|
||||||
* @property {string} icon - 卡牌图标
|
* @property {string} icon - 卡牌图标
|
||||||
|
* @property {Record<string,string>} tags - 卡牌标签
|
||||||
* @return WikiBriefInfo
|
* @return WikiBriefInfo
|
||||||
*/
|
*/
|
||||||
export interface WikiBriefInfo {
|
export interface WikiBriefInfo {
|
||||||
@@ -23,6 +24,7 @@ declare namespace TGApp.App.GCG {
|
|||||||
name: string;
|
name: string;
|
||||||
type: string;
|
type: string;
|
||||||
icon: string;
|
icon: string;
|
||||||
|
tags: Record<string, string>;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user