mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-06 20:15:17 +02:00
refactor: add notifications module
This commit is contained in:
parent
309bd9a2dd
commit
9575b9d4db
17 changed files with 1555 additions and 0 deletions
15
surfsense_backend/app/notifications/__init__.py
Normal file
15
surfsense_backend/app/notifications/__init__.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
"""User notifications: persistence, service, and HTTP API.
|
||||
|
||||
Emit notifications via :class:`~app.notifications.service.NotificationService`;
|
||||
the router in :mod:`app.notifications.api` exposes the inbox endpoints.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from app.notifications.persistence import Notification
|
||||
from app.notifications.service import NotificationService
|
||||
|
||||
__all__ = [
|
||||
"Notification",
|
||||
"NotificationService",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue