mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-31 06:29:46 +08:00
17
src/types/App/NameCard.d.ts
vendored
17
src/types/App/NameCard.d.ts
vendored
@@ -1,21 +1,20 @@
|
||||
/**
|
||||
* @file types/App/NameCard.d.ts
|
||||
* @description 本应用的名片类型定义
|
||||
* @since Beta v0.6.7
|
||||
* @since Beta v0.7.2
|
||||
*/
|
||||
|
||||
declare namespace TGApp.App.NameCard {
|
||||
/**
|
||||
* @description 名片数据
|
||||
* @since Beta v0.6.7
|
||||
* @since Beta v0.7.2
|
||||
* @interface Item
|
||||
* @property {string} name - 名片名称
|
||||
* @property {number} index - 名片索引
|
||||
* @property {string} desc - 名片描述
|
||||
* @description 0: 其他,1: 成就,2:角色,3:纪行,4:活动
|
||||
* @property {number} type - 名片类型
|
||||
* @property {string} source - 名片来源
|
||||
* @property {number} id 编号
|
||||
* @property {string} name 名称
|
||||
* @property {string} type 类型
|
||||
* @property {string} desc 描述
|
||||
* @property {string} source 来源
|
||||
* @return Item
|
||||
*/
|
||||
type Item = { name: string; index: number; desc: string; type: number; source: string };
|
||||
type Item = { id: number; name: string; type: string; desc: string; source: string };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user