mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-06 22:15:22 +02:00
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:
parent
ffb3b45ac2
commit
4ef649231b
12 changed files with 376 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
# GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
from .about import *
|
||||
from .backup import *
|
||||
from .maintenance import *
|
||||
from .migration import *
|
||||
from .restore import *
|
||||
from .settings import *
|
||||
|
|
8
mealie/schema/admin/maintenance.py
Normal file
8
mealie/schema/admin/maintenance.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
from fastapi_camelcase import CamelModel
|
||||
|
||||
|
||||
class MaintenanceSummary(CamelModel):
|
||||
data_dir_size: str
|
||||
log_file_size: str
|
||||
cleanable_images: int
|
||||
cleanable_dirs: int
|
Loading…
Add table
Add a link
Reference in a new issue