Files
TeyvatGuide/src/types/NameCard.d.ts
2023-04-10 14:28:30 +08:00

32 lines
916 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* @file core types TGNameCard.d.ts
* @description 本应用的名片类型定义
* @author BTMuli<bt-muli@outlook.com>
* @since Alpha v0.1.2
*/
declare namespace BTMuli.Genshin {
/**
* @description 本应用的名片类型
* @since Alpha v0.1.2
* @interface NameCard
* @property {string} name - 名片名称,同时也是文件名
* @property {string} description - 名片描述
* @property {string} icon - 名片图标路径
* @property {string} bg - 名片背景图路径
* @property {string} profile - 名片 Profile 图路径
* @property {number} type - 名片类型 (0: 其他1: 成就2角色3纪行4活动)
* @property {string} source - 名片来源
* @returns {NameCard}
*/
export interface NameCard {
name: string
description: string
icon: string
bg: string
profile: string
type: number
source: string
}
}