Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion boosty/types/post.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ class FrameItem(BaseObject):
class Post(PostCommon):
int_id: int
"""Unknown, probably post.id to int"""
intId: int
"""Unknown, probably post.id to int"""

user: BlogUser
"""Blogger user object"""
Expand Down Expand Up @@ -127,7 +129,9 @@ class Post(PostCommon):
"""TODO"""
sortOrder: int
"""TODO"""
showcaseStatus: str
showcaseStatus: str | dict | list | None = None
"""TODO"""
isShowcaseVisible: bool | None = None
"""TODO"""
frame: dict[Literal["previous", "next"], FrameItem | None] | None = None
"""TODO"""
Expand Down
1 change: 1 addition & 0 deletions boosty/types/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
class BaseUser(BaseObject):
id: int
name: str
isOfficial: bool | None = None # is Offical representor
# nick: str
hasAvatar: bool
avatarUrl: HttpUrl | Literal[""]
Expand Down