From 5e156281927f0f8412ce02944e7db501ebd35df1 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Sat, 11 Mar 2023 12:22:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(nameCard):=20=E5=AE=9A=E4=B9=89=E5=BA=94?= =?UTF-8?q?=E7=94=A8=20NameCard=20=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/interface/NameCard.ts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/interface/NameCard.ts diff --git a/src/interface/NameCard.ts b/src/interface/NameCard.ts new file mode 100644 index 00000000..b3f4c7a8 --- /dev/null +++ b/src/interface/NameCard.ts @@ -0,0 +1,29 @@ +/** + * @file interface NameCard.ts + * @description NameCard interface + * @author BTMuli + * @since Alpha + */ + +/** + * @description 本应用的名片类型 + * @since Alpha + * @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 - 名片来源 + * @return NameCard + */ +export interface NameCard { + name: string; + description: string; + icon: string; + bg: string; + profile: string; + type: string; + source: string; +}