Add notification status to users table in AP

This commit is contained in:
2026-01-04 03:42:11 +07:00
parent 18ffff5473
commit 9014d5d79d
4 changed files with 64 additions and 93 deletions

View File

@@ -27,6 +27,10 @@ class AdminUserResponse(BaseModel):
banned_at: str | None = None
banned_until: str | None = None # None = permanent
ban_reason: str | None = None
# Notification settings
notify_events: bool = True
notify_disputes: bool = True
notify_moderation: bool = True
class Config:
from_attributes = True