Initial commit: svg backend
This commit is contained in:
18
backend/app/schemas/audit.py
Normal file
18
backend/app/schemas/audit.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from typing import List
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class AuditEventItem(BaseModel):
|
||||
audit_event_id: str
|
||||
scheme_id: str
|
||||
event_type: str
|
||||
object_type: str
|
||||
object_ref: str | None
|
||||
details_json: str | None
|
||||
created_at: str
|
||||
|
||||
|
||||
class SchemeAuditResponse(BaseModel):
|
||||
items: List[AuditEventItem]
|
||||
total: int
|
||||
Reference in New Issue
Block a user