api-server/src/modules/backup/backup.module.ts
WangDL 76c42f437c
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 42s
feat: M4-04 — backup & cleanup module with admin interface
- Add CleanupJob Prisma model
- Create BackupService with backup/cleanup job tracking
- Create BackupController (AAPI: GET jobs, POST trigger backup, GET cleanup, POST cleanup)
- Supports cleanup types: soft-delete, api-metrics, task-logs

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 17:56:26 +08:00

11 lines
283 B
TypeScript

import { Module } from '@nestjs/common';
import { BackupController } from './backup.controller';
import { BackupService } from './backup.service';
@Module({
controllers: [BackupController],
providers: [BackupService],
exports: [BackupService],
})
export class BackupModule {}