Spaces:
Runtime error
Runtime error
Download src/modules/monitoring/monitoring.module.ts from eduverse-team/eduverse-backend: direct link, hf CLI and curl.
- Browser
- Download file 1.44 kB
-
https://huggingface.co/spaces/eduverse-team/eduverse-backend/resolve/main/src/modules/monitoring/monitoring.module.ts
- Command line
-
hf download hf://spaces/eduverse-team/eduverse-backend/src/modules/monitoring/monitoring.module.ts
-
curl -L -o monitoring.module.ts https://huggingface.co/spaces/eduverse-team/eduverse-backend/resolve/main/src/modules/monitoring/monitoring.module.ts
1.44 kB
| import { Module } from '@nestjs/common'; | |
| import { TypeOrmModule } from '@nestjs/typeorm'; | |
| import { ServerMonitoring } from './entities/server-monitoring.entity'; | |
| import { SystemError } from './entities/system-error.entity'; | |
| import { SslCertificate } from './entities/ssl-certificate.entity'; | |
| import { SystemAlert } from './entities/system-alert.entity'; | |
| import { MonitoringService } from './services/monitoring.service'; | |
| import { ErrorsService } from './services/errors.service'; | |
| import { SslService } from './services/ssl.service'; | |
| import { AlertsService } from './services/alerts.service'; | |
| import { MonitoringController } from './controllers/monitoring.controller'; | |
| import { ErrorsController } from './controllers/errors.controller'; | |
| import { SslController } from './controllers/ssl.controller'; | |
| import { AlertsController } from './controllers/alerts.controller'; | |
| import { NotificationsModule } from '../notifications/notifications.module'; | |
| ({ | |
| imports: [ | |
| TypeOrmModule.forFeature([ | |
| ServerMonitoring, | |
| SystemError, | |
| SslCertificate, | |
| SystemAlert, | |
| ]), | |
| NotificationsModule, | |
| ], | |
| controllers: [ | |
| MonitoringController, | |
| ErrorsController, | |
| SslController, | |
| AlertsController, | |
| ], | |
| providers: [ | |
| MonitoringService, | |
| ErrorsService, | |
| SslService, | |
| AlertsService, | |
| ], | |
| exports: [MonitoringService, ErrorsService, SslService, AlertsService], | |
| }) | |
| export class MonitoringModule {} | |