refactor: webhook events (#1661)

* refactored EventBusService to work outside FastAPI

* extended event models

* refactored webhooks to run through event bus

* added basic webhook test route

* changed get_all to page_all

* fixed incorrectly implemented Vue variables

* fixed broken webhook test

* changed factory from staticmethod to classmethod

* made query boundary definitions easier to read
This commit is contained in:
Michael Genson
2022-09-27 21:55:20 -05:00
committed by GitHub
parent 025f1bc603
commit 796e55b7d5
11 changed files with 175 additions and 54 deletions

View File

@@ -13,6 +13,9 @@ class GroupEventNotifierOptions(MealieModel):
If you modify this, make sure to update the EventBusService as well.
"""
test_message: bool = False
webhook_task: bool = False
recipe_created: bool = False
recipe_updated: bool = False
recipe_deleted: bool = False