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