feat(api): 添加 OpenAPI 客户端支持
- 新增 ApiError、ApiRequestOptions、ApiResult、CancelablePromise 等核心类 - 添加多种模型类型定义,如 PlanCreateIn、QueueGetOut、ScriptCreateOut 等 - 实现请求发送、错误处理、数据解析等核心功能 - 配置 axios 客户端并集成到请求流程中 - 优化路由配置,添加用户相关路由 - 更新脚本编辑界面文案,使用更通用的描述
This commit is contained in:
11
frontend/src/api/models/SettingUpdateIn.ts
Normal file
11
frontend/src/api/models/SettingUpdateIn.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type SettingUpdateIn = {
|
||||
/**
|
||||
* 全局设置更新数据
|
||||
*/
|
||||
data: Record<string, Record<string, any>>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user