Skip to content

Commit

Permalink
Update lexicons fetched from 207728d committed 2024-12-11T19:46:14Z (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshalX authored Dec 11, 2024
1 parent f8de46f commit bf519ee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lexicons/app.bsky.notification.listNotifications.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
"parameters": {
"type": "params",
"properties": {
"reasons": {
"description": "Notification reasons to include in response.",
"type": "array",
"items": {
"type": "string",
"description": "A reason that matches the reason property of #notification."
}
},
"limit": {
"type": "integer",
"minimum": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ class Params(base.ParamsModelBase):
cursor: t.Optional[str] = None #: Cursor.
limit: t.Optional[int] = Field(default=50, ge=1, le=100) #: Limit.
priority: t.Optional[bool] = None #: Priority.
reasons: t.Optional[t.List[str]] = None #: Notification reasons to include in response.
seen_at: t.Optional[string_formats.DateTime] = None #: Seen at.


class ParamsDict(t.TypedDict):
cursor: te.NotRequired[t.Optional[str]] #: Cursor.
limit: te.NotRequired[t.Optional[int]] #: Limit.
priority: te.NotRequired[t.Optional[bool]] #: Priority.
reasons: te.NotRequired[t.Optional[t.List[str]]] #: Notification reasons to include in response.
seen_at: te.NotRequired[t.Optional[string_formats.DateTime]] #: Seen at.


Expand Down

0 comments on commit bf519ee

Please sign in to comment.