feat: admin maintenance page (#1096)

* fix build typo

* generate types

* setup maintenance api for common cleanup actions

* admin maintenance page

* remove duplicate use-with-caution
This commit is contained in:
Hayden
2022-03-24 22:17:38 -08:00
committed by GitHub
parent ffb3b45ac2
commit 4ef649231b
12 changed files with 376 additions and 2 deletions

View File

@@ -190,6 +190,12 @@ export interface ImportJob {
force?: boolean;
rebase?: boolean;
}
export interface MaintenanceSummary {
dataDirSize: string;
logFileSize: string;
cleanableImages: number;
cleanableDirs: number;
}
export interface MigrationFile {
name: string;
date: string;