- 新增 scripts/fetch-openapi.js:拉取并修复 OpenAPI 文档 - 内联 ResultObject[] 的 \,移除非法 schema 名 - orval 使用本地 openapi.json,api:update 自动执行 api:fetch - AdminStatsController: Result<Object[]> 改为 Result<List<Map<String, Object>>> - .gitignore: 忽略 openapi.json Made-with: Cursor
92 lines
2.2 KiB
TypeScript
92 lines
2.2 KiB
TypeScript
/**
|
||
* Generated by orval v8.5.3 🍺
|
||
* Do not edit manually.
|
||
* Reading Platform API
|
||
* Reading Platform Backend Service API Documentation
|
||
* OpenAPI spec version: 1.0.0
|
||
*/
|
||
|
||
/**
|
||
* 课程更新请求
|
||
*/
|
||
export interface CourseUpdateRequest {
|
||
/** 课程名称 */
|
||
name?: string;
|
||
/** 课程编码 */
|
||
code?: string;
|
||
/** 描述 */
|
||
description?: string;
|
||
/** 封面 URL */
|
||
coverUrl?: string;
|
||
/** 封面图片路径 */
|
||
coverImagePath?: string;
|
||
/** 分类 */
|
||
category?: string;
|
||
/** 年龄范围 */
|
||
ageRange?: string;
|
||
/** 难度等级 */
|
||
difficultyLevel?: string;
|
||
/** 时长(分钟) */
|
||
durationMinutes?: number;
|
||
/** 教学目标 */
|
||
objectives?: string;
|
||
/** 状态 */
|
||
status?: string;
|
||
/** 核心内容 */
|
||
coreContent?: string;
|
||
/** 课程摘要 */
|
||
introSummary?: string;
|
||
/** 课程亮点 */
|
||
introHighlights?: string;
|
||
/** 课程目标 */
|
||
introGoals?: string;
|
||
/** 内容安排 */
|
||
introSchedule?: string;
|
||
/** 重点难点 */
|
||
introKeyPoints?: string;
|
||
/** 教学方法 */
|
||
introMethods?: string;
|
||
/** 评估方法 */
|
||
introEvaluation?: string;
|
||
/** 注意事项 */
|
||
introNotes?: string;
|
||
/** 进度安排参考数据(JSON) */
|
||
scheduleRefData?: string;
|
||
/** 环境创设内容 */
|
||
environmentConstruction?: string;
|
||
/** 主题 ID */
|
||
themeId?: number;
|
||
/** 绘本名称 */
|
||
pictureBookName?: string;
|
||
/** 电子书路径(JSON 数组) */
|
||
ebookPaths?: string;
|
||
/** 音频路径(JSON 数组) */
|
||
audioPaths?: string;
|
||
/** 视频路径(JSON 数组) */
|
||
videoPaths?: string;
|
||
/** 其他资源(JSON 数组) */
|
||
otherResources?: string;
|
||
/** PPT 文件路径 */
|
||
pptPath?: string;
|
||
/** PPT 文件名称 */
|
||
pptName?: string;
|
||
/** 海报路径(JSON 数组) */
|
||
posterPaths?: string;
|
||
/** 教学工具(JSON 数组) */
|
||
tools?: string;
|
||
/** 学生材料 */
|
||
studentMaterials?: string;
|
||
/** 教案数据(JSON) */
|
||
lessonPlanData?: string;
|
||
/** 活动数据(JSON) */
|
||
activitiesData?: string;
|
||
/** 评估数据(JSON) */
|
||
assessmentData?: string;
|
||
/** 年级标签(JSON 数组) */
|
||
gradeTags?: string;
|
||
/** 领域标签(JSON 数组) */
|
||
domainTags?: string;
|
||
/** 是否有集体课 */
|
||
hasCollectiveLesson?: boolean;
|
||
}
|