mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-04 07:05:07 +08:00
🏷️ 添加胡桃导入数据类型定义
This commit is contained in:
11
src/plugins/Hutao/types/Abyss.d.ts
vendored
11
src/plugins/Hutao/types/Abyss.d.ts
vendored
@@ -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
22
src/plugins/Hutao/types/Challenge.d.ts
vendored
Normal 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;
|
||||
};
|
||||
}
|
||||
18
src/plugins/Hutao/types/Combat.d.ts
vendored
18
src/plugins/Hutao/types/Combat.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user