feat: view integrity report in maintenance page (cherry picked)

This commit is contained in:
izzy
2025-11-27 17:53:20 +00:00
parent 0fdc7b4448
commit d3abed3414
14 changed files with 489 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ export class MaintenanceGetIntegrityReportDto {
}
class MaintenanceIntegrityReportDto {
id!: string;
@IsEnum(IntegrityReportType)
type!: IntegrityReportType;
path!: string;

View File

@@ -22,7 +22,7 @@ export class IntegrityReportRepository {
return {
items: await this.db
.selectFrom('integrity_report')
.select(['type', 'path'])
.select(['id', 'type', 'path'])
.orderBy('createdAt', 'desc')
.execute(),
};