feat(api): 补充一下少提交的接口
This commit is contained in:
27
frontend/src/api/models/GeneralConfig.ts
Normal file
27
frontend/src/api/models/GeneralConfig.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { GeneralConfig_Game } from './GeneralConfig_Game';
|
||||
import type { GeneralConfig_Info } from './GeneralConfig_Info';
|
||||
import type { GeneralConfig_Run } from './GeneralConfig_Run';
|
||||
import type { GeneralConfig_Script } from './GeneralConfig_Script';
|
||||
export type GeneralConfig = {
|
||||
/**
|
||||
* 脚本基础信息
|
||||
*/
|
||||
Info?: (GeneralConfig_Info | null);
|
||||
/**
|
||||
* 脚本配置
|
||||
*/
|
||||
Script?: (GeneralConfig_Script | null);
|
||||
/**
|
||||
* 游戏配置
|
||||
*/
|
||||
Game?: (GeneralConfig_Game | null);
|
||||
/**
|
||||
* 运行配置
|
||||
*/
|
||||
Run?: (GeneralConfig_Run | null);
|
||||
};
|
||||
|
||||
31
frontend/src/api/models/GeneralConfig_Game.ts
Normal file
31
frontend/src/api/models/GeneralConfig_Game.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type GeneralConfig_Game = {
|
||||
/**
|
||||
* 游戏/模拟器相关功能是否启用
|
||||
*/
|
||||
Enabled?: (boolean | null);
|
||||
/**
|
||||
* 类型: 模拟器, PC端
|
||||
*/
|
||||
Type?: ('Emulator' | 'Client' | null);
|
||||
/**
|
||||
* 游戏/模拟器程序路径
|
||||
*/
|
||||
Path?: (string | null);
|
||||
/**
|
||||
* 游戏/模拟器启动参数
|
||||
*/
|
||||
Arguments?: (string | null);
|
||||
/**
|
||||
* 游戏/模拟器等待启动时间
|
||||
*/
|
||||
WaitTime?: (number | null);
|
||||
/**
|
||||
* 是否强制关闭游戏/模拟器进程
|
||||
*/
|
||||
IfForceClose?: (boolean | null);
|
||||
};
|
||||
|
||||
15
frontend/src/api/models/GeneralConfig_Info.ts
Normal file
15
frontend/src/api/models/GeneralConfig_Info.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type GeneralConfig_Info = {
|
||||
/**
|
||||
* 脚本名称
|
||||
*/
|
||||
Name?: (string | null);
|
||||
/**
|
||||
* 脚本根目录
|
||||
*/
|
||||
RootPath?: (string | null);
|
||||
};
|
||||
|
||||
19
frontend/src/api/models/GeneralConfig_Run.ts
Normal file
19
frontend/src/api/models/GeneralConfig_Run.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type GeneralConfig_Run = {
|
||||
/**
|
||||
* 每日代理次数限制
|
||||
*/
|
||||
ProxyTimesLimit?: (number | null);
|
||||
/**
|
||||
* 重试次数限制
|
||||
*/
|
||||
RunTimesLimit?: (number | null);
|
||||
/**
|
||||
* 日志超时限制
|
||||
*/
|
||||
RunTimeLimit?: (number | null);
|
||||
};
|
||||
|
||||
59
frontend/src/api/models/GeneralConfig_Script.ts
Normal file
59
frontend/src/api/models/GeneralConfig_Script.ts
Normal file
@@ -0,0 +1,59 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type GeneralConfig_Script = {
|
||||
/**
|
||||
* 脚本可执行文件路径
|
||||
*/
|
||||
ScriptPath?: (string | null);
|
||||
/**
|
||||
* 脚本启动附加命令参数
|
||||
*/
|
||||
Arguments?: (string | null);
|
||||
/**
|
||||
* 是否追踪脚本子进程
|
||||
*/
|
||||
IfTrackProcess?: (boolean | null);
|
||||
/**
|
||||
* 配置文件路径
|
||||
*/
|
||||
ConfigPath?: (string | null);
|
||||
/**
|
||||
* 配置文件类型: 单个文件, 文件夹
|
||||
*/
|
||||
ConfigPathMode?: ('File' | 'Folder' | null);
|
||||
/**
|
||||
* 更新配置时机, 从不, 仅成功时, 仅失败时, 任务结束时
|
||||
*/
|
||||
UpdateConfigMode?: ('Never' | 'Success' | 'Failure' | 'Always' | null);
|
||||
/**
|
||||
* 日志文件路径
|
||||
*/
|
||||
LogPath?: (string | null);
|
||||
/**
|
||||
* 日志文件名格式
|
||||
*/
|
||||
LogPathFormat?: (string | null);
|
||||
/**
|
||||
* 日志时间戳开始位置
|
||||
*/
|
||||
LogTimeStart?: (number | null);
|
||||
/**
|
||||
* 日志时间戳结束位置
|
||||
*/
|
||||
LogTimeEnd?: (number | null);
|
||||
/**
|
||||
* 日志时间戳格式
|
||||
*/
|
||||
LogTimeFormat?: (string | null);
|
||||
/**
|
||||
* 成功时日志
|
||||
*/
|
||||
SuccessLog?: (string | null);
|
||||
/**
|
||||
* 错误时日志
|
||||
*/
|
||||
ErrorLog?: (string | null);
|
||||
};
|
||||
|
||||
22
frontend/src/api/models/GeneralUserConfig.ts
Normal file
22
frontend/src/api/models/GeneralUserConfig.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { GeneralUserConfig_Data } from './GeneralUserConfig_Data';
|
||||
import type { GeneralUserConfig_Info } from './GeneralUserConfig_Info';
|
||||
import type { UserConfig_Notify } from './UserConfig_Notify';
|
||||
export type GeneralUserConfig = {
|
||||
/**
|
||||
* 用户信息
|
||||
*/
|
||||
Info?: (GeneralUserConfig_Info | null);
|
||||
/**
|
||||
* 用户数据
|
||||
*/
|
||||
Data?: (GeneralUserConfig_Data | null);
|
||||
/**
|
||||
* 单独通知
|
||||
*/
|
||||
Notify?: (UserConfig_Notify | null);
|
||||
};
|
||||
|
||||
15
frontend/src/api/models/GeneralUserConfig_Data.ts
Normal file
15
frontend/src/api/models/GeneralUserConfig_Data.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type GeneralUserConfig_Data = {
|
||||
/**
|
||||
* 上次代理日期
|
||||
*/
|
||||
LastProxyDate?: (string | null);
|
||||
/**
|
||||
* 代理次数
|
||||
*/
|
||||
ProxyTimes?: (number | null);
|
||||
};
|
||||
|
||||
39
frontend/src/api/models/GeneralUserConfig_Info.ts
Normal file
39
frontend/src/api/models/GeneralUserConfig_Info.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type GeneralUserConfig_Info = {
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
Name?: (string | null);
|
||||
/**
|
||||
* 用户状态
|
||||
*/
|
||||
Status?: (boolean | null);
|
||||
/**
|
||||
* 剩余天数
|
||||
*/
|
||||
RemainedDay?: (number | null);
|
||||
/**
|
||||
* 是否在任务前执行脚本
|
||||
*/
|
||||
IfScriptBeforeTask?: (boolean | null);
|
||||
/**
|
||||
* 任务前脚本路径
|
||||
*/
|
||||
ScriptBeforeTask?: (string | null);
|
||||
/**
|
||||
* 是否在任务后执行脚本
|
||||
*/
|
||||
IfScriptAfterTask?: (boolean | null);
|
||||
/**
|
||||
* 任务后脚本路径
|
||||
*/
|
||||
ScriptAfterTask?: (string | null);
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
Notes?: (string | null);
|
||||
};
|
||||
|
||||
28
frontend/src/api/models/HistoryData.ts
Normal file
28
frontend/src/api/models/HistoryData.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { HistoryIndexItem } from './HistoryIndexItem';
|
||||
export type HistoryData = {
|
||||
/**
|
||||
* 历史记录索引列表
|
||||
*/
|
||||
index?: (Array<HistoryIndexItem> | null);
|
||||
/**
|
||||
* 公招统计数据, key为星级, value为对应的公招数量
|
||||
*/
|
||||
recruit_statistics?: (Record<string, number> | null);
|
||||
/**
|
||||
* 掉落统计数据, 格式为 { '关卡号': { '掉落物': 数量 } }
|
||||
*/
|
||||
drop_statistics?: (Record<string, Record<string, number>> | null);
|
||||
/**
|
||||
* 报错信息, key为时间戳, value为错误描述
|
||||
*/
|
||||
error_info?: (Record<string, string> | null);
|
||||
/**
|
||||
* 日志内容, 仅在提取单条历史记录数据时返回
|
||||
*/
|
||||
log_content?: (string | null);
|
||||
};
|
||||
|
||||
11
frontend/src/api/models/HistoryDataGetIn.ts
Normal file
11
frontend/src/api/models/HistoryDataGetIn.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type HistoryDataGetIn = {
|
||||
/**
|
||||
* 需要提取数据的历史记录JSON文件
|
||||
*/
|
||||
jsonPath: string;
|
||||
};
|
||||
|
||||
24
frontend/src/api/models/HistoryDataGetOut.ts
Normal file
24
frontend/src/api/models/HistoryDataGetOut.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { HistoryData } from './HistoryData';
|
||||
export type HistoryDataGetOut = {
|
||||
/**
|
||||
* 状态码
|
||||
*/
|
||||
code?: number;
|
||||
/**
|
||||
* 操作状态
|
||||
*/
|
||||
status?: string;
|
||||
/**
|
||||
* 操作消息
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* 历史记录数据
|
||||
*/
|
||||
data: HistoryData;
|
||||
};
|
||||
|
||||
28
frontend/src/api/models/HistoryIndexItem.ts
Normal file
28
frontend/src/api/models/HistoryIndexItem.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type HistoryIndexItem = {
|
||||
/**
|
||||
* 日期
|
||||
*/
|
||||
date: string;
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
status: HistoryIndexItem.status;
|
||||
/**
|
||||
* 对应JSON文件
|
||||
*/
|
||||
jsonFile: string;
|
||||
};
|
||||
export namespace HistoryIndexItem {
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
export enum status {
|
||||
DONE = '完成',
|
||||
ERROR = '异常',
|
||||
}
|
||||
}
|
||||
|
||||
28
frontend/src/api/models/HistorySearchIn.ts
Normal file
28
frontend/src/api/models/HistorySearchIn.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type HistorySearchIn = {
|
||||
/**
|
||||
* 合并模式
|
||||
*/
|
||||
mode: HistorySearchIn.mode
|
||||
/**
|
||||
* 开始日期, 格式YYYY-MM-DD
|
||||
*/
|
||||
start_date: string
|
||||
/**
|
||||
* 结束日期, 格式YYYY-MM-DD
|
||||
*/
|
||||
end_date: string
|
||||
}
|
||||
export namespace HistorySearchIn {
|
||||
/**
|
||||
* 合并模式
|
||||
*/
|
||||
export enum mode {
|
||||
DAILY = '按日合并',
|
||||
WEEKLY = '按周合并',
|
||||
MONTHLY = '按年月并',
|
||||
}
|
||||
}
|
||||
24
frontend/src/api/models/HistorySearchOut.ts
Normal file
24
frontend/src/api/models/HistorySearchOut.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { HistoryData } from './HistoryData';
|
||||
export type HistorySearchOut = {
|
||||
/**
|
||||
* 状态码
|
||||
*/
|
||||
code?: number;
|
||||
/**
|
||||
* 操作状态
|
||||
*/
|
||||
status?: string;
|
||||
/**
|
||||
* 操作消息
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* 历史记录索引数据字典, 格式为 { '日期': { '用户名': [历史记录信息] } }
|
||||
*/
|
||||
data: Record<string, Record<string, HistoryData>>;
|
||||
};
|
||||
|
||||
17
frontend/src/api/models/MaaConfig.ts
Normal file
17
frontend/src/api/models/MaaConfig.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { MaaConfig_Info } from './MaaConfig_Info';
|
||||
import type { MaaConfig_Run } from './MaaConfig_Run';
|
||||
export type MaaConfig = {
|
||||
/**
|
||||
* 脚本基础信息
|
||||
*/
|
||||
Info?: (MaaConfig_Info | null);
|
||||
/**
|
||||
* 脚本运行配置
|
||||
*/
|
||||
Run?: (MaaConfig_Run | null);
|
||||
};
|
||||
|
||||
15
frontend/src/api/models/MaaConfig_Info.ts
Normal file
15
frontend/src/api/models/MaaConfig_Info.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type MaaConfig_Info = {
|
||||
/**
|
||||
* 脚本名称
|
||||
*/
|
||||
Name?: (string | null);
|
||||
/**
|
||||
* 脚本路径
|
||||
*/
|
||||
Path?: (string | null);
|
||||
};
|
||||
|
||||
35
frontend/src/api/models/MaaConfig_Run.ts
Normal file
35
frontend/src/api/models/MaaConfig_Run.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type MaaConfig_Run = {
|
||||
/**
|
||||
* 简洁任务间切换方式
|
||||
*/
|
||||
TaskTransitionMethod?: ('NoAction' | 'ExitGame' | 'ExitEmulator' | null);
|
||||
/**
|
||||
* 每日代理次数限制
|
||||
*/
|
||||
ProxyTimesLimit?: (number | null);
|
||||
/**
|
||||
* ADB端口搜索范围
|
||||
*/
|
||||
ADBSearchRange?: (number | null);
|
||||
/**
|
||||
* 重试次数限制
|
||||
*/
|
||||
RunTimesLimit?: (number | null);
|
||||
/**
|
||||
* 剿灭超时限制
|
||||
*/
|
||||
AnnihilationTimeLimit?: (number | null);
|
||||
/**
|
||||
* 日常超时限制
|
||||
*/
|
||||
RoutineTimeLimit?: (number | null);
|
||||
/**
|
||||
* 剿灭每周仅代理至上限
|
||||
*/
|
||||
AnnihilationWeeklyLimit?: (boolean | null);
|
||||
};
|
||||
|
||||
45
frontend/src/api/models/MaaPlanConfig.ts
Normal file
45
frontend/src/api/models/MaaPlanConfig.ts
Normal file
@@ -0,0 +1,45 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { MaaPlanConfig_Info } from './MaaPlanConfig_Info';
|
||||
import type { MaaPlanConfig_Item } from './MaaPlanConfig_Item';
|
||||
export type MaaPlanConfig = {
|
||||
/**
|
||||
* 基础信息
|
||||
*/
|
||||
Info?: (MaaPlanConfig_Info | null);
|
||||
/**
|
||||
* 全局
|
||||
*/
|
||||
ALL?: (MaaPlanConfig_Item | null);
|
||||
/**
|
||||
* 周一
|
||||
*/
|
||||
Monday?: (MaaPlanConfig_Item | null);
|
||||
/**
|
||||
* 周二
|
||||
*/
|
||||
Tuesday?: (MaaPlanConfig_Item | null);
|
||||
/**
|
||||
* 周三
|
||||
*/
|
||||
Wednesday?: (MaaPlanConfig_Item | null);
|
||||
/**
|
||||
* 周四
|
||||
*/
|
||||
Thursday?: (MaaPlanConfig_Item | null);
|
||||
/**
|
||||
* 周五
|
||||
*/
|
||||
Friday?: (MaaPlanConfig_Item | null);
|
||||
/**
|
||||
* 周六
|
||||
*/
|
||||
Saturday?: (MaaPlanConfig_Item | null);
|
||||
/**
|
||||
* 周日
|
||||
*/
|
||||
Sunday?: (MaaPlanConfig_Item | null);
|
||||
};
|
||||
|
||||
15
frontend/src/api/models/MaaPlanConfig_Info.ts
Normal file
15
frontend/src/api/models/MaaPlanConfig_Info.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type MaaPlanConfig_Info = {
|
||||
/**
|
||||
* 计划表名称
|
||||
*/
|
||||
Name?: (string | null);
|
||||
/**
|
||||
* 计划表模式
|
||||
*/
|
||||
Mode?: ('ALL' | 'Weekly' | null);
|
||||
};
|
||||
|
||||
35
frontend/src/api/models/MaaPlanConfig_Item.ts
Normal file
35
frontend/src/api/models/MaaPlanConfig_Item.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type MaaPlanConfig_Item = {
|
||||
/**
|
||||
* 吃理智药
|
||||
*/
|
||||
MedicineNumb?: (number | null);
|
||||
/**
|
||||
* 连战次数
|
||||
*/
|
||||
SeriesNumb?: ('0' | '6' | '5' | '4' | '3' | '2' | '1' | '-1' | null);
|
||||
/**
|
||||
* 关卡选择
|
||||
*/
|
||||
Stage?: (string | null);
|
||||
/**
|
||||
* 备选关卡 - 1
|
||||
*/
|
||||
Stage_1?: (string | null);
|
||||
/**
|
||||
* 备选关卡 - 2
|
||||
*/
|
||||
Stage_2?: (string | null);
|
||||
/**
|
||||
* 备选关卡 - 3
|
||||
*/
|
||||
Stage_3?: (string | null);
|
||||
/**
|
||||
* 剩余理智关卡
|
||||
*/
|
||||
Stage_Remain?: (string | null);
|
||||
};
|
||||
|
||||
27
frontend/src/api/models/MaaUserConfig.ts
Normal file
27
frontend/src/api/models/MaaUserConfig.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { MaaUserConfig_Data } from './MaaUserConfig_Data';
|
||||
import type { MaaUserConfig_Info } from './MaaUserConfig_Info';
|
||||
import type { MaaUserConfig_Task } from './MaaUserConfig_Task';
|
||||
import type { UserConfig_Notify } from './UserConfig_Notify';
|
||||
export type MaaUserConfig = {
|
||||
/**
|
||||
* 基础信息
|
||||
*/
|
||||
Info?: (MaaUserConfig_Info | null);
|
||||
/**
|
||||
* 用户数据
|
||||
*/
|
||||
Data?: (MaaUserConfig_Data | null);
|
||||
/**
|
||||
* 任务列表
|
||||
*/
|
||||
Task?: (MaaUserConfig_Task | null);
|
||||
/**
|
||||
* 单独通知
|
||||
*/
|
||||
Notify?: (UserConfig_Notify | null);
|
||||
};
|
||||
|
||||
27
frontend/src/api/models/MaaUserConfig_Data.ts
Normal file
27
frontend/src/api/models/MaaUserConfig_Data.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type MaaUserConfig_Data = {
|
||||
/**
|
||||
* 上次代理日期
|
||||
*/
|
||||
LastProxyDate?: (string | null);
|
||||
/**
|
||||
* 上次剿灭日期
|
||||
*/
|
||||
LastAnnihilationDate?: (string | null);
|
||||
/**
|
||||
* 上次森空岛签到日期
|
||||
*/
|
||||
LastSklandDate?: (string | null);
|
||||
/**
|
||||
* 代理次数
|
||||
*/
|
||||
ProxyTimes?: (number | null);
|
||||
/**
|
||||
* 是否通过人工排查
|
||||
*/
|
||||
IfPassCheck?: (boolean | null);
|
||||
};
|
||||
|
||||
91
frontend/src/api/models/MaaUserConfig_Info.ts
Normal file
91
frontend/src/api/models/MaaUserConfig_Info.ts
Normal file
@@ -0,0 +1,91 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type MaaUserConfig_Info = {
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
Name?: (string | null);
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
Id?: (string | null);
|
||||
/**
|
||||
* 用户配置模式
|
||||
*/
|
||||
Mode?: ('简洁' | '详细' | null);
|
||||
/**
|
||||
* 关卡配置模式
|
||||
*/
|
||||
StageMode?: (string | null);
|
||||
/**
|
||||
* 服务器
|
||||
*/
|
||||
Server?: ('Official' | 'Bilibili' | 'YoStarEN' | 'YoStarJP' | 'YoStarKR' | 'txwy' | null);
|
||||
/**
|
||||
* 用户状态
|
||||
*/
|
||||
Status?: (boolean | null);
|
||||
/**
|
||||
* 剩余天数
|
||||
*/
|
||||
RemainedDay?: (number | null);
|
||||
/**
|
||||
* 剿灭模式
|
||||
*/
|
||||
Annihilation?: ('Close' | 'Annihilation' | 'Chernobog@Annihilation' | 'LungmenOutskirts@Annihilation' | 'LungmenDowntown@Annihilation' | null);
|
||||
/**
|
||||
* 是否启用日常
|
||||
*/
|
||||
Routine?: (boolean | null);
|
||||
/**
|
||||
* 基建模式
|
||||
*/
|
||||
InfrastMode?: ('Normal' | 'Rotation' | 'Custom' | null);
|
||||
/**
|
||||
* 密码
|
||||
*/
|
||||
Password?: (string | null);
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
Notes?: (string | null);
|
||||
/**
|
||||
* 吃理智药数量
|
||||
*/
|
||||
MedicineNumb?: (number | null);
|
||||
/**
|
||||
* 连战次数
|
||||
*/
|
||||
SeriesNumb?: ('0' | '6' | '5' | '4' | '3' | '2' | '1' | '-1' | null);
|
||||
/**
|
||||
* 关卡选择
|
||||
*/
|
||||
Stage?: (string | null);
|
||||
/**
|
||||
* 备选关卡 - 1
|
||||
*/
|
||||
Stage_1?: (string | null);
|
||||
/**
|
||||
* 备选关卡 - 2
|
||||
*/
|
||||
Stage_2?: (string | null);
|
||||
/**
|
||||
* 备选关卡 - 3
|
||||
*/
|
||||
Stage_3?: (string | null);
|
||||
/**
|
||||
* 剩余理智关卡
|
||||
*/
|
||||
Stage_Remain?: (string | null);
|
||||
/**
|
||||
* 是否启用森空岛签到
|
||||
*/
|
||||
IfSkland?: (boolean | null);
|
||||
/**
|
||||
* SklandToken
|
||||
*/
|
||||
SklandToken?: (string | null);
|
||||
};
|
||||
|
||||
39
frontend/src/api/models/MaaUserConfig_Task.ts
Normal file
39
frontend/src/api/models/MaaUserConfig_Task.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type MaaUserConfig_Task = {
|
||||
/**
|
||||
* 开始唤醒
|
||||
*/
|
||||
IfWakeUp?: (boolean | null);
|
||||
/**
|
||||
* 自动公招
|
||||
*/
|
||||
IfRecruiting?: (boolean | null);
|
||||
/**
|
||||
* 基建换班
|
||||
*/
|
||||
IfBase?: (boolean | null);
|
||||
/**
|
||||
* 刷理智
|
||||
*/
|
||||
IfCombat?: (boolean | null);
|
||||
/**
|
||||
* 获取信用及购物
|
||||
*/
|
||||
IfMall?: (boolean | null);
|
||||
/**
|
||||
* 领取奖励
|
||||
*/
|
||||
IfMission?: (boolean | null);
|
||||
/**
|
||||
* 自动肉鸽
|
||||
*/
|
||||
IfAutoRoguelike?: (boolean | null);
|
||||
/**
|
||||
* 生息演算
|
||||
*/
|
||||
IfReclamation?: (boolean | null);
|
||||
};
|
||||
|
||||
15
frontend/src/api/models/PlanIndexItem.ts
Normal file
15
frontend/src/api/models/PlanIndexItem.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type PlanIndexItem = {
|
||||
/**
|
||||
* 唯一标识符
|
||||
*/
|
||||
uid: string;
|
||||
/**
|
||||
* 配置类型
|
||||
*/
|
||||
type: string;
|
||||
};
|
||||
|
||||
12
frontend/src/api/models/QueueConfig.ts
Normal file
12
frontend/src/api/models/QueueConfig.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { QueueConfig_Info } from './QueueConfig_Info';
|
||||
export type QueueConfig = {
|
||||
/**
|
||||
* 队列信息
|
||||
*/
|
||||
Info?: (QueueConfig_Info | null);
|
||||
};
|
||||
|
||||
23
frontend/src/api/models/QueueConfig_Info.ts
Normal file
23
frontend/src/api/models/QueueConfig_Info.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type QueueConfig_Info = {
|
||||
/**
|
||||
* 队列名称
|
||||
*/
|
||||
Name?: (string | null);
|
||||
/**
|
||||
* 是否启用定时
|
||||
*/
|
||||
TimeEnabled?: (boolean | null);
|
||||
/**
|
||||
* 是否启动时运行
|
||||
*/
|
||||
StartUpEnabled?: (boolean | null);
|
||||
/**
|
||||
* 完成后操作
|
||||
*/
|
||||
AfterAccomplish?: ('NoAction' | 'KillSelf' | 'Sleep' | 'Hibernate' | 'Shutdown' | 'ShutdownForce' | null);
|
||||
};
|
||||
|
||||
15
frontend/src/api/models/QueueIndexItem.ts
Normal file
15
frontend/src/api/models/QueueIndexItem.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type QueueIndexItem = {
|
||||
/**
|
||||
* 唯一标识符
|
||||
*/
|
||||
uid: string;
|
||||
/**
|
||||
* 配置类型
|
||||
*/
|
||||
type: string;
|
||||
};
|
||||
|
||||
12
frontend/src/api/models/QueueItem.ts
Normal file
12
frontend/src/api/models/QueueItem.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { QueueItem_Info } from './QueueItem_Info';
|
||||
export type QueueItem = {
|
||||
/**
|
||||
* 队列项
|
||||
*/
|
||||
Info?: (QueueItem_Info | null);
|
||||
};
|
||||
|
||||
15
frontend/src/api/models/QueueItemGetIn.ts
Normal file
15
frontend/src/api/models/QueueItemGetIn.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type QueueItemGetIn = {
|
||||
/**
|
||||
* 所属队列ID
|
||||
*/
|
||||
queueId: string;
|
||||
/**
|
||||
* 队列项ID, 未携带时表示获取所有队列项数据
|
||||
*/
|
||||
queueItemId?: (string | null);
|
||||
};
|
||||
|
||||
29
frontend/src/api/models/QueueItemGetOut.ts
Normal file
29
frontend/src/api/models/QueueItemGetOut.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { QueueItem } from './QueueItem';
|
||||
import type { QueueItemIndexItem } from './QueueItemIndexItem';
|
||||
export type QueueItemGetOut = {
|
||||
/**
|
||||
* 状态码
|
||||
*/
|
||||
code?: number;
|
||||
/**
|
||||
* 操作状态
|
||||
*/
|
||||
status?: string;
|
||||
/**
|
||||
* 操作消息
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* 队列项索引列表
|
||||
*/
|
||||
index: Array<QueueItemIndexItem>;
|
||||
/**
|
||||
* 队列项数据字典, key来自于index列表的uid
|
||||
*/
|
||||
data: Record<string, QueueItem>;
|
||||
};
|
||||
|
||||
15
frontend/src/api/models/QueueItemIndexItem.ts
Normal file
15
frontend/src/api/models/QueueItemIndexItem.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type QueueItemIndexItem = {
|
||||
/**
|
||||
* 唯一标识符
|
||||
*/
|
||||
uid: string;
|
||||
/**
|
||||
* 配置类型
|
||||
*/
|
||||
type: string;
|
||||
};
|
||||
|
||||
11
frontend/src/api/models/QueueItem_Info.ts
Normal file
11
frontend/src/api/models/QueueItem_Info.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type QueueItem_Info = {
|
||||
/**
|
||||
* 任务所对应的脚本ID, 为None时表示未选择
|
||||
*/
|
||||
ScriptId?: (string | null);
|
||||
};
|
||||
|
||||
24
frontend/src/api/models/ScriptIndexItem.ts
Normal file
24
frontend/src/api/models/ScriptIndexItem.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ScriptIndexItem = {
|
||||
/**
|
||||
* 唯一标识符
|
||||
*/
|
||||
uid: string;
|
||||
/**
|
||||
* 配置类型
|
||||
*/
|
||||
type: ScriptIndexItem.type;
|
||||
};
|
||||
export namespace ScriptIndexItem {
|
||||
/**
|
||||
* 配置类型
|
||||
*/
|
||||
export enum type {
|
||||
MAA_CONFIG = 'MaaConfig',
|
||||
GENERAL_CONFIG = 'GeneralConfig',
|
||||
}
|
||||
}
|
||||
|
||||
12
frontend/src/api/models/TimeSet.ts
Normal file
12
frontend/src/api/models/TimeSet.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { TimeSet_Info } from './TimeSet_Info';
|
||||
export type TimeSet = {
|
||||
/**
|
||||
* 时间项
|
||||
*/
|
||||
Info?: (TimeSet_Info | null);
|
||||
};
|
||||
|
||||
15
frontend/src/api/models/TimeSetGetIn.ts
Normal file
15
frontend/src/api/models/TimeSetGetIn.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type TimeSetGetIn = {
|
||||
/**
|
||||
* 所属队列ID
|
||||
*/
|
||||
queueId: string;
|
||||
/**
|
||||
* 时间设置ID, 未携带时表示获取所有时间设置数据
|
||||
*/
|
||||
timeSetId?: (string | null);
|
||||
};
|
||||
|
||||
29
frontend/src/api/models/TimeSetGetOut.ts
Normal file
29
frontend/src/api/models/TimeSetGetOut.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { TimeSet } from './TimeSet';
|
||||
import type { TimeSetIndexItem } from './TimeSetIndexItem';
|
||||
export type TimeSetGetOut = {
|
||||
/**
|
||||
* 状态码
|
||||
*/
|
||||
code?: number;
|
||||
/**
|
||||
* 操作状态
|
||||
*/
|
||||
status?: string;
|
||||
/**
|
||||
* 操作消息
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* 时间设置索引列表
|
||||
*/
|
||||
index: Array<TimeSetIndexItem>;
|
||||
/**
|
||||
* 时间设置数据字典, key来自于index列表的uid
|
||||
*/
|
||||
data: Record<string, TimeSet>;
|
||||
};
|
||||
|
||||
15
frontend/src/api/models/TimeSetIndexItem.ts
Normal file
15
frontend/src/api/models/TimeSetIndexItem.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type TimeSetIndexItem = {
|
||||
/**
|
||||
* 唯一标识符
|
||||
*/
|
||||
uid: string;
|
||||
/**
|
||||
* 配置类型
|
||||
*/
|
||||
type: string;
|
||||
};
|
||||
|
||||
15
frontend/src/api/models/TimeSet_Info.ts
Normal file
15
frontend/src/api/models/TimeSet_Info.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type TimeSet_Info = {
|
||||
/**
|
||||
* 是否启用
|
||||
*/
|
||||
Enabled?: (boolean | null);
|
||||
/**
|
||||
* 时间设置, 格式为HH:MM
|
||||
*/
|
||||
Time?: (string | null);
|
||||
};
|
||||
|
||||
43
frontend/src/api/models/UserConfig_Notify.ts
Normal file
43
frontend/src/api/models/UserConfig_Notify.ts
Normal file
@@ -0,0 +1,43 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UserConfig_Notify = {
|
||||
/**
|
||||
* 是否启用通知
|
||||
*/
|
||||
Enabled?: (boolean | null);
|
||||
/**
|
||||
* 是否发送统计信息
|
||||
*/
|
||||
IfSendStatistic?: (boolean | null);
|
||||
/**
|
||||
* 是否发送高资喜报
|
||||
*/
|
||||
IfSendSixStar?: (boolean | null);
|
||||
/**
|
||||
* 是否发送邮件通知
|
||||
*/
|
||||
IfSendMail?: (boolean | null);
|
||||
/**
|
||||
* 邮件接收地址
|
||||
*/
|
||||
ToAddress?: (string | null);
|
||||
/**
|
||||
* 是否使用Server酱推送
|
||||
*/
|
||||
IfServerChan?: (boolean | null);
|
||||
/**
|
||||
* ServerChanKey
|
||||
*/
|
||||
ServerChanKey?: (string | null);
|
||||
/**
|
||||
* 是否使用Webhook推送
|
||||
*/
|
||||
IfCompanyWebHookBot?: (boolean | null);
|
||||
/**
|
||||
* 企微Webhook Bot URL
|
||||
*/
|
||||
CompanyWebHookBotUrl?: (string | null);
|
||||
};
|
||||
|
||||
15
frontend/src/api/models/UserGetIn.ts
Normal file
15
frontend/src/api/models/UserGetIn.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UserGetIn = {
|
||||
/**
|
||||
* 所属脚本ID
|
||||
*/
|
||||
scriptId: string;
|
||||
/**
|
||||
* 用户ID, 未携带时表示获取所有用户数据
|
||||
*/
|
||||
userId?: (string | null);
|
||||
};
|
||||
|
||||
30
frontend/src/api/models/UserGetOut.ts
Normal file
30
frontend/src/api/models/UserGetOut.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { GeneralUserConfig } from './GeneralUserConfig';
|
||||
import type { MaaUserConfig } from './MaaUserConfig';
|
||||
import type { UserIndexItem } from './UserIndexItem';
|
||||
export type UserGetOut = {
|
||||
/**
|
||||
* 状态码
|
||||
*/
|
||||
code?: number;
|
||||
/**
|
||||
* 操作状态
|
||||
*/
|
||||
status?: string;
|
||||
/**
|
||||
* 操作消息
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* 用户索引列表
|
||||
*/
|
||||
index: Array<UserIndexItem>;
|
||||
/**
|
||||
* 用户数据字典, key来自于index列表的uid
|
||||
*/
|
||||
data: Record<string, (MaaUserConfig | GeneralUserConfig)>;
|
||||
};
|
||||
|
||||
24
frontend/src/api/models/UserIndexItem.ts
Normal file
24
frontend/src/api/models/UserIndexItem.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UserIndexItem = {
|
||||
/**
|
||||
* 唯一标识符
|
||||
*/
|
||||
uid: string;
|
||||
/**
|
||||
* 配置类型
|
||||
*/
|
||||
type: UserIndexItem.type;
|
||||
};
|
||||
export namespace UserIndexItem {
|
||||
/**
|
||||
* 配置类型
|
||||
*/
|
||||
export enum type {
|
||||
MAA_USER_CONFIG = 'MaaUserConfig',
|
||||
GENERAL_USER_CONFIG = 'GeneralUserConfig',
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user