feat: Implement instructor-specific course management and refactor course creation into dedicated modules.

This commit is contained in:
JakkrapartXD 2026-01-16 11:12:12 +07:00
parent ec54160a5e
commit 000de75dd1
8 changed files with 103 additions and 13 deletions

View file

@ -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 { createCourse, createCourseResponse, listCourseResponse } from '../types/courses.types';
import { listCourseResponse } from '../types/courses.types';
import { CoursesService } from '../services/courses.service';
import { get } from 'http';