feat: Implement instructor-specific course management with dedicated controller, service, types, and validation.
This commit is contained in:
parent
bca2cc944e
commit
8a2ca592bc
6 changed files with 229 additions and 12 deletions
|
|
@ -2,7 +2,6 @@ import { prisma } from '../config/database';
|
|||
import { Prisma } from '@prisma/client';
|
||||
import { config } from '../config';
|
||||
import { logger } from '../config/logger';
|
||||
import jwt from 'jsonwebtoken';
|
||||
import {listCourseResponse, getCourseResponse } from '../types/courses.types';
|
||||
import { UnauthorizedError, ValidationError, ForbiddenError } from '../middleware/errorHandler';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue