Skip to content

Commit

Permalink
Update lexicons fetched from a3ce23c committed 2024-11-23T02:36:55Z
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshalX committed Nov 23, 2024
1 parent 3f4c9c2 commit 446e63b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lexicons/app.bsky.actor.defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
"sort": {
"type": "string",
"description": "Sorting mode for threads.",
"knownValues": ["oldest", "newest", "most-likes", "random"]
"knownValues": ["oldest", "newest", "most-likes", "random", "hotness"]
},
"prioritizeFollowedUsers": {
"type": "boolean",
Expand Down
9 changes: 8 additions & 1 deletion packages/atproto_client/models/app/bsky/actor/defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,14 @@ class ThreadViewPref(base.ModelBase):

prioritize_followed_users: t.Optional[bool] = None #: Show followed users at the top of all replies.
sort: t.Optional[
t.Union[t.Literal['oldest'], t.Literal['newest'], t.Literal['most-likes'], t.Literal['random'], str]
t.Union[
t.Literal['oldest'],
t.Literal['newest'],
t.Literal['most-likes'],
t.Literal['random'],
t.Literal['hotness'],
str,
]
] = None #: Sorting mode for threads.

py_type: t.Literal['app.bsky.actor.defs#threadViewPref'] = Field(
Expand Down

0 comments on commit 446e63b

Please sign in to comment.