Initial Switch to V2. Completely Overhauled Backend, Frontend and General Structure.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from pydantic import BaseModel
|
||||
from typing import Optional
|
||||
from typing import Any, Dict, Optional
|
||||
from auth.models import StaffPermissions
|
||||
|
||||
|
||||
@@ -35,3 +35,7 @@ class StaffResponse(BaseModel):
|
||||
class StaffListResponse(BaseModel):
|
||||
staff: list[StaffResponse]
|
||||
total: int
|
||||
|
||||
|
||||
class PreferencesUpdate(BaseModel):
|
||||
prefs: Dict[str, Any]
|
||||
|
||||
Reference in New Issue
Block a user