feat: add student archive module with full CRUD APIs
This commit is contained in:
@@ -32,7 +32,13 @@ import {
|
||||
Notification,
|
||||
Department,
|
||||
UserDepartment,
|
||||
} from './entities';
|
||||
StudentProfile,
|
||||
StudentEnrollment,
|
||||
ExamScore,
|
||||
LearningRecord,
|
||||
ResultArchive,
|
||||
ArchiveAttachment,
|
||||
} from './entities';
|
||||
import { AuthModule } from './auth/auth.module';
|
||||
import { RbacModule } from './rbac/rbac.module';
|
||||
import { StudentsModule } from './students/students.module';
|
||||
@@ -55,8 +61,8 @@ import { SyncModule } from './sync/sync.module';
|
||||
import { NotificationsModule } from './notifications/notifications.module';
|
||||
import { DepartmentsModule } from './departments/departments.module';
|
||||
import { CommonModule } from './common/common.module';
|
||||
import { ArchiveModule } from './archive/archive.module';
|
||||
import { CampusScopeMiddleware } from './common/campus-scope.middleware';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
ConfigModule.forRoot({ isGlobal: true }),
|
||||
@@ -98,6 +104,12 @@ import { CampusScopeMiddleware } from './common/campus-scope.middleware';
|
||||
Notification,
|
||||
Department,
|
||||
UserDepartment,
|
||||
StudentProfile,
|
||||
StudentEnrollment,
|
||||
ExamScore,
|
||||
LearningRecord,
|
||||
ResultArchive,
|
||||
ArchiveAttachment,
|
||||
];
|
||||
if (dbType === 'mysql') {
|
||||
return {
|
||||
@@ -140,6 +152,7 @@ import { CampusScopeMiddleware } from './common/campus-scope.middleware';
|
||||
NotificationsModule,
|
||||
DepartmentsModule,
|
||||
CommonModule,
|
||||
ArchiveModule,
|
||||
],
|
||||
providers: [
|
||||
{ provide: APP_GUARD, useClass: ThrottlerGuard },
|
||||
|
||||
Reference in New Issue
Block a user