mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-16 09:58:13 +08:00
✏️ 添加 index 用于排序
This commit is contained in:
17
src/types/App/NameCard.d.ts
vendored
17
src/types/App/NameCard.d.ts
vendored
@@ -1,16 +1,22 @@
|
|||||||
/**
|
/**
|
||||||
* @file types App NameCard.d.ts
|
* @file types/App/NameCard.d.ts
|
||||||
* @description 本应用的名片类型定义
|
* @description 本应用的名片类型定义
|
||||||
* @author BTMuli<bt-muli@outlook.com>
|
* @since Beta v0.3.9
|
||||||
* @since Alpha v0.1.5
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description 名片数据
|
||||||
|
* @since Beta v0.3.9
|
||||||
|
* @namespace TGApp.App.NameCard
|
||||||
|
* @memberof TGApp.App
|
||||||
|
*/
|
||||||
declare namespace TGApp.App.NameCard {
|
declare namespace TGApp.App.NameCard {
|
||||||
/**
|
/**
|
||||||
* @description 名片数据
|
* @description 名片数据
|
||||||
* @since Alpha v0.1.5
|
* @since Beta v0.3.9
|
||||||
* @interface Item
|
* @interface Item
|
||||||
* @property {string} name - 名片名称
|
* @property {string} name - 名片名称
|
||||||
|
* @property {number} index - 名片索引
|
||||||
* @property {string} desc - 名片描述
|
* @property {string} desc - 名片描述
|
||||||
* @property {string} icon - 名片图标
|
* @property {string} icon - 名片图标
|
||||||
* @property {string} bg - 名片背景图
|
* @property {string} bg - 名片背景图
|
||||||
@@ -20,8 +26,9 @@ declare namespace TGApp.App.NameCard {
|
|||||||
* @property {string} source - 名片来源
|
* @property {string} source - 名片来源
|
||||||
* @return Item
|
* @return Item
|
||||||
*/
|
*/
|
||||||
export interface Item {
|
interface Item {
|
||||||
name: string;
|
name: string;
|
||||||
|
index: number;
|
||||||
desc: string;
|
desc: string;
|
||||||
icon: string;
|
icon: string;
|
||||||
bg: string;
|
bg: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user