WIP: Refactor Aurora (3.0.0) #29

Draft
cswimr wants to merge 347 commits from aurora-pydantic into main
Showing only changes of commit 7a664ce9c3 - Show all commits

View file

@ -12,8 +12,8 @@ from .partials import PartialUser
class Change(AuroraBaseModel): class Change(AuroraBaseModel):
type: Literal["ORIGINAL", "RESOLVE", "EDIT"] type: Literal["ORIGINAL", "RESOLVE", "EDIT"]
timestamp: datetime timestamp: datetime
reason: str
user_id: int user_id: int
reason: Optional[str] = "No reason provided"
duration: Optional[timedelta] = None duration: Optional[timedelta] = None
end_timestamp: Optional[datetime] = None end_timestamp: Optional[datetime] = None