kindergarten_java/reading-platform-frontend/src/api/generated/model/courseUpdateRequest.ts
zhonghua a461f58d3a fix: orval API 生成优化 - 修复 oneOf schema 验证错误
- 新增 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
2026-03-16 10:45:15 +08:00

92 lines
2.2 KiB
TypeScript
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.

/**
* 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;
}