🏷️ 添加胡桃导入数据类型定义

This commit is contained in:
BTMuli
2026-03-29 20:12:22 +08:00
parent 95ff9ce765
commit bdde9ef17c
3 changed files with 49 additions and 2 deletions

View File

@@ -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

22
src/plugins/Hutao/types/Challenge.d.ts vendored Normal file
View File

@@ -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;
};
}

View File

@@ -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