- 新增 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
46 lines
967 B
TypeScript
46 lines
967 B
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 CourseLessonCreateRequest {
|
|
/** 课程类型 */
|
|
lessonType: string;
|
|
/** 课程名称 */
|
|
name: string;
|
|
/** 课程描述 */
|
|
description?: string;
|
|
/** 时长(分钟) */
|
|
duration?: number;
|
|
/** 视频路径 */
|
|
videoPath?: string;
|
|
/** 视频名称 */
|
|
videoName?: string;
|
|
/** PPT 路径 */
|
|
pptPath?: string;
|
|
/** PPT 名称 */
|
|
pptName?: string;
|
|
/** PDF 路径 */
|
|
pdfPath?: string;
|
|
/** PDF 名称 */
|
|
pdfName?: string;
|
|
/** 教学目标 */
|
|
objectives?: string;
|
|
/** 教学准备 */
|
|
preparation?: string;
|
|
/** 教学延伸 */
|
|
extension?: string;
|
|
/** 教学反思 */
|
|
reflection?: string;
|
|
/** 评测数据 */
|
|
assessmentData?: string;
|
|
/** 是否使用模板 */
|
|
useTemplate?: boolean;
|
|
}
|