feat: Implement chapter and lesson management with new services and types, and introduce Minio service.

This commit is contained in:
JakkrapartXD 2026-01-20 13:39:42 +07:00
parent 40b95ad902
commit 6bbbde062a
8 changed files with 382 additions and 6 deletions

View file

@ -2,7 +2,7 @@ import { prisma } from '../config/database';
import { Prisma } from '@prisma/client';
import { config } from '../config';
import { logger } from '../config/logger';
import {listCourseResponse, getCourseResponse } from '../types/courses.types';
import { listCourseResponse, getCourseResponse } from '../types/Courses.types';
import { UnauthorizedError, ValidationError, ForbiddenError } from '../middleware/errorHandler';
export class CoursesService {