feat: Implement chapter and lesson management with new services and types, and introduce Minio service.
This commit is contained in:
parent
40b95ad902
commit
6bbbde062a
8 changed files with 382 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { Get, Body, Post, Route, Tags, SuccessResponse, Response, Delete, Controller, Security, Request, Put, Path } from 'tsoa';
|
||||
import { ValidationError } from '../middleware/errorHandler';
|
||||
import { CategoryService } from '../services/categories.service';
|
||||
import { createCategory, createCategoryResponse, deleteCategoryResponse, updateCategory, updateCategoryResponse, listCategoriesResponse } from '../types/categories.type';
|
||||
import { createCategory, createCategoryResponse, deleteCategoryResponse, updateCategory, updateCategoryResponse, listCategoriesResponse } from '../types/Categories.type';
|
||||
|
||||
@Route('api/categories')
|
||||
@Tags('Categories')
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { Get, Body, Post, Route, Tags, SuccessResponse, Response, Delete, Controller, Security, Request, Put, Path } from 'tsoa';
|
||||
import { ValidationError } from '../middleware/errorHandler';
|
||||
import { listCourseResponse } from '../types/courses.types';
|
||||
import { listCourseResponse } from '../types/Courses.types';
|
||||
import { CoursesService } from '../services/courses.service';
|
||||
|
||||
@Route('api/courses')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue