ForcePilot/web/src/apis/index.js
Kris 3ad986e033 feat(scheduler): 新增定时任务调度模块完整功能
完成定时任务模块的全链路开发,包括页面路由、侧边导航、状态管理、API封装、通用组件与业务Composable,实现任务管理、执行日志、统计分析、回收站与运维中心等完整功能
2026-06-22 21:21:25 +08:00

85 lines
3.2 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* API模块索引文件
* 导出所有API模块方便统一引入
*/
// 导出API模块
export * from './system_api' // 系统管理API
export * from './knowledge_api' // 知识库管理API
export * from './graph_api' // 图谱API
export * from './agent_api' // 智能体API
export * from './tasker' // 任务管理API
export * from './department_api' // 部门管理API
export * from './mcp_api' // MCP API
export * from './skill_api' // Skills API
export * from './tool_api' // 工具 API
export * from './mention_api' // 提及搜索 API
export * from './user_api' // 用户资源 API
export * from './scheduler_api' // 定时任务调度 API
// ===== 外部系统集成框架 API23 个模块)=====
export * from './external-systems/base'
export * from './external-systems/system_api' // 01-系统管理
export * from './external-systems/tool_api' // 02-工具管理
export * from './external-systems/environment_api' // 03-环境管理
export * from './external-systems/execution_api' // 04-执行记录
export * from './external-systems/token_api' // 05-Token 管理
export * from './external-systems/audit_log_api' // 06-审计日志
export * from './external-systems/adapter_asset_api' // 07-适配器资产
export * from './external-systems/adapter_metadata_api' // 08-适配器元数据
export * from './external-systems/import_export_api' // 09-导入导出
export * from './external-systems/vendor_integration_api' // 10-厂商集成目录
export * from './external-systems/integration_generator_api' // 11-集成工具生成
export * from './external-systems/webhook_api' // 12-Webhook 管理
export * from './external-systems/health_check_api' // 13-健康检查
export * from './external-systems/metrics_api' // 14-指标查询
export * from './external-systems/quota_api' // 15-配额管理
export * from './external-systems/alert_api' // 16-告警事件
export * from './external-systems/key_rotation_api' // 17-密钥轮换
export * from './external-systems/access_rule_api' // 18-访问规则
export * from './external-systems/test_case_api' // 19-测试用例
export * from './external-systems/dashboard_api' // 20-监控仪表板
export * from './external-systems/auth_plugin_api' // 21-认证插件
export * from './external-systems/notification_channel_api' // 22-通知渠道
export * from './external-systems/recycle_bin_api' // 23-回收站
// 导出基础工具函数
export {
apiGet,
apiPost,
apiPut,
apiDelete,
apiAdminGet,
apiAdminPost,
apiAdminPut,
apiAdminDelete,
apiSuperAdminGet,
apiSuperAdminPost,
apiSuperAdminPut,
apiSuperAdminDelete
} from './base'
/**
* API模块说明:
*
* 1. system_api.js: 系统管理API
* - 健康检查、配置管理、信息管理、OCR服务
* - 权限要求: 部分公开,部分需要管理员权限
*
* 2. knowledge_api.js: 知识库管理API
* - 数据库管理、文档管理、查询接口、文件管理
* - 权限要求: 管理员权限
*
*
* 4. graph_api.js: 图谱API
* - 知识图谱相关功能
*
* 5. tools.js: 工具API
* - 工具信息获取
*
* 6. agent.js: 智能体API
* - 智能体管理、聊天、配置等功能
*
* 注意API模块已处理权限验证和请求头使用时无需再手动添加认证头
*/