feat: add listCourseResponse and getCourseResponse interfaces for course API responses.

This commit is contained in:
JakkrapartXD 2026-01-20 14:18:58 +07:00
parent fbe0c9311f
commit 2a461a1e4f

View file

@ -0,0 +1,14 @@
import { Course } from '@prisma/client';
export interface listCourseResponse {
code: number;
message: string;
data: Course[];
total: number;
}
export interface getCourseResponse {
code: number;
message: string;
data: Course | null;
}