add 2025-0122-0340
This commit is contained in:
parent
cac7fea6e4
commit
ad5fb5038d
|
|
@ -10,6 +10,7 @@
|
|||
"generate": "pnpm prisma generate",
|
||||
"build": "pnpm generate && tsup",
|
||||
"dev": "pnpm generate && tsup --watch ",
|
||||
"dev-static": "pnpm generate && tsup --no-watch ",
|
||||
"studio": "pnpm prisma studio",
|
||||
"db:clear": "rm -rf prisma/migrations && pnpm prisma migrate dev --name init",
|
||||
"postinstall": "pnpm generate"
|
||||
|
|
|
|||
|
|
@ -5,10 +5,6 @@ import type {
|
|||
Message,
|
||||
Post,
|
||||
RoleMap,
|
||||
Section,
|
||||
Lecture,
|
||||
Course,
|
||||
Enrollment,
|
||||
} from "@prisma/client";
|
||||
import { SocketMsgType, RolePerms } from "./enum";
|
||||
import { RowRequestSchema } from "./schema";
|
||||
|
|
@ -156,13 +152,6 @@ export type DepartmentDto = Department & {
|
|||
export type RoleMapDto = RoleMap & {
|
||||
staff: StaffDto;
|
||||
};
|
||||
export type SectionDto = Section & {
|
||||
lectures: Lecture[];
|
||||
};
|
||||
export type CourseDto = Course & {
|
||||
enrollments: Enrollment[];
|
||||
sections: SectionDto[];
|
||||
};
|
||||
export interface BaseSetting {
|
||||
appConfig?: {
|
||||
splashScreen?: string;
|
||||
|
|
|
|||
Loading…
Reference in New Issue