feat(platform): add audit logs and activity feed
This commit is contained in:
parent
92cb8d1286
commit
c816e9869d
34 changed files with 1592 additions and 43 deletions
16
backend/hermes/app/schemas/api_response.py
Normal file
16
backend/hermes/app/schemas/api_response.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
from typing import Any
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
|
||||
class ApiSuccess(BaseModel):
|
||||
success: bool = True
|
||||
data: Any = None
|
||||
message: str = ""
|
||||
|
||||
|
||||
class ApiError(BaseModel):
|
||||
success: bool = False
|
||||
message: str
|
||||
error_code: str
|
||||
details: list[Any] = Field(default_factory=list)
|
||||
Loading…
Add table
Add a link
Reference in a new issue