From bdde9ef17cb305b9aa5186dc6e1ca3745cc7a1a0 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Sun, 29 Mar 2026 20:12:22 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=83=A1=E6=A1=83=E5=AF=BC=E5=85=A5=E6=95=B0=E6=8D=AE=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/Hutao/types/Abyss.d.ts | 11 ++++++++++- src/plugins/Hutao/types/Challenge.d.ts | 22 ++++++++++++++++++++++ src/plugins/Hutao/types/Combat.d.ts | 18 +++++++++++++++++- 3 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 src/plugins/Hutao/types/Challenge.d.ts diff --git a/src/plugins/Hutao/types/Abyss.d.ts b/src/plugins/Hutao/types/Abyss.d.ts index 14ebc2ce..1023cbaa 100644 --- a/src/plugins/Hutao/types/Abyss.d.ts +++ b/src/plugins/Hutao/types/Abyss.d.ts @@ -1,9 +1,18 @@ /** * 深境螺旋 - * @since Beta v0.3.0 + * @since Beta v0.9.9 */ declare namespace TGApp.Plugins.Hutao.Abyss { + /** + * 导入数据结构 + * @since Beta v0.9.9 + */ + type ImportData = { + uid: string; + schedule_id: number; + data: TGApp.Game.Abyss.FullData; + }; /** * 深渊记录上传数据 * @since Alpha v0.2.1 diff --git a/src/plugins/Hutao/types/Challenge.d.ts b/src/plugins/Hutao/types/Challenge.d.ts new file mode 100644 index 00000000..b319dc70 --- /dev/null +++ b/src/plugins/Hutao/types/Challenge.d.ts @@ -0,0 +1,22 @@ +/** + * 幽境危战 + * @since Beta v0.9.9 + */ + +declare namespace TGApp.Plugins.Hutao.Challenge { + /** + * 导入数据结构 + * @since Beta v0.9.9 + */ + type ImportData = { + uid: string; + schedule_id: number; + start_time: string; + end_time: string; + name: string; + single: TGApp.Game.Challenge.Challenge; + mp: TGApp.Game.Challenge.Challenge; + blings: TGApp.Game.Challenge.ChallengeBlings; + data: TGApp.Game.Challenge.ChallengeItem; + }; +} diff --git a/src/plugins/Hutao/types/Combat.d.ts b/src/plugins/Hutao/types/Combat.d.ts index b23dd315..46cc79de 100644 --- a/src/plugins/Hutao/types/Combat.d.ts +++ b/src/plugins/Hutao/types/Combat.d.ts @@ -1,9 +1,25 @@ /** * 幻想真境剧诗 - * @since Beta v0.6.3 + * @since Beta v0.9.9 */ declare namespace TGApp.Plugins.Hutao.Combat { + /** + * 导入数据结构 + * @since Beta v0.9.9 + */ + type ImportData = { + uid: string; + schedule_id: number; + start_time: string; + end_time: string; + has_data: boolean; + has_detail_data: boolean; + stat: TGApp.Game.Combat.Stat; + detail: TGApp.Game.Combat.Detail; + schedule: TGApp.Game.Combat.Schedule; + data: TGApp.Game.Combat.Combat; + }; /** * 上传返回 * @since Beta v0.6.3