chore: delete course response type definitions.
This commit is contained in:
parent
057f640272
commit
fbe0c9311f
1 changed files with 0 additions and 19 deletions
|
|
@ -1,19 +0,0 @@
|
|||
import { Course, Prisma } from '@prisma/client';
|
||||
|
||||
// Use Prisma's CourseCreateInput for creating courses
|
||||
|
||||
// Response type uses Prisma's Course model
|
||||
|
||||
|
||||
export interface listCourseResponse {
|
||||
code: number;
|
||||
message: string;
|
||||
data: Course[];
|
||||
total: number | null;
|
||||
}
|
||||
|
||||
export interface getCourseResponse {
|
||||
code: number;
|
||||
message: string;
|
||||
data: Course | null;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue