feat:更新依赖项的源地址,将所有依赖的镜像地址更改为官方的Yarn注册表地址,并在应用模块中引入新的Exercises模块。
This commit is contained in:
28
src/exercises/dto/exercise.dto.ts
Normal file
28
src/exercises/dto/exercise.dto.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
export interface ExerciseLibraryItem {
|
||||
key: string;
|
||||
name: string;
|
||||
description: string;
|
||||
category: string; // 中文分类名
|
||||
}
|
||||
|
||||
export interface ExerciseCategoryDto {
|
||||
key: string; // 英文 key
|
||||
name: string; // 中文名
|
||||
sortOrder?: number;
|
||||
}
|
||||
|
||||
export interface ExerciseDto {
|
||||
key: string;
|
||||
name: string;
|
||||
description: string;
|
||||
categoryKey: string;
|
||||
categoryName: string;
|
||||
sortOrder?: number;
|
||||
}
|
||||
|
||||
export interface ExerciseConfigResponse {
|
||||
categories: ExerciseCategoryDto[];
|
||||
exercises: ExerciseDto[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user