mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-10 04:15:38 -05: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:
@@ -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
|
||||
Reference in New Issue
Block a user