feat(trash): /api/trash blueprint + flip REST DELETE handlers to soft-delete

This commit is contained in:
2026-05-28 21:13:31 -04:00
parent 580e4a2c0a
commit bfeed67cfe
9 changed files with 86 additions and 20 deletions
+2
View File
@@ -26,6 +26,7 @@ from fabledassistant.routes.search import search_bp
from fabledassistant.routes.profile import profile_bp
from fabledassistant.routes.knowledge import knowledge_bp
from fabledassistant.routes.rulebooks import rulebooks_bp
from fabledassistant.routes.trash import trash_bp
from fabledassistant.mcp import mount_mcp
STATIC_DIR = Path(__file__).parent / "static"
@@ -85,6 +86,7 @@ def create_app() -> Quart:
app.register_blueprint(profile_bp)
app.register_blueprint(knowledge_bp)
app.register_blueprint(rulebooks_bp)
app.register_blueprint(trash_bp)
@app.before_request
async def before_request():