From 446e63bc00112831fad4e1afb2996d66212fd368 Mon Sep 17 00:00:00 2001 From: "Ilya (Marshal)" Date: Sat, 23 Nov 2024 16:13:54 +0000 Subject: [PATCH] Update lexicons fetched from a3ce23c committed 2024-11-23T02:36:55Z --- lexicons/app.bsky.actor.defs.json | 2 +- packages/atproto_client/models/app/bsky/actor/defs.py | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/lexicons/app.bsky.actor.defs.json b/lexicons/app.bsky.actor.defs.json index 784bce8a..d2dd899e 100644 --- a/lexicons/app.bsky.actor.defs.json +++ b/lexicons/app.bsky.actor.defs.json @@ -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", diff --git a/packages/atproto_client/models/app/bsky/actor/defs.py b/packages/atproto_client/models/app/bsky/actor/defs.py index c6b7ec8b..ded9a970 100644 --- a/packages/atproto_client/models/app/bsky/actor/defs.py +++ b/packages/atproto_client/models/app/bsky/actor/defs.py @@ -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(