-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update lexicons fetched from a8e1f90 committed 2024-08-22T22:00:01Z (#…
…366)
- Loading branch information
Showing
22 changed files
with
627 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
docs/source/atproto/atproto_client.models.app.bsky.feed.get_quotes.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
app.bsky.feed.get\_quotes | ||
================================================ | ||
|
||
.. automodule:: atproto_client.models.app.bsky.feed.get_quotes | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
7 changes: 7 additions & 0 deletions
7
docs/source/atproto/atproto_client.models.app.bsky.feed.postgate.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
app.bsky.feed.postgate | ||
============================================= | ||
|
||
.. automodule:: atproto_client.models.app.bsky.feed.postgate | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "app.bsky.feed.getQuotes", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "Get a list of quotes for a given post.", | ||
"parameters": { | ||
"type": "params", | ||
"required": ["uri"], | ||
"properties": { | ||
"uri": { | ||
"type": "string", | ||
"format": "at-uri", | ||
"description": "Reference (AT-URI) of post record" | ||
}, | ||
"cid": { | ||
"type": "string", | ||
"format": "cid", | ||
"description": "If supplied, filters to quotes of specific version (by CID) of the post record." | ||
}, | ||
"limit": { | ||
"type": "integer", | ||
"minimum": 1, | ||
"maximum": 100, | ||
"default": 50 | ||
}, | ||
"cursor": { "type": "string" } | ||
} | ||
}, | ||
"output": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": ["uri", "posts"], | ||
"properties": { | ||
"uri": { "type": "string", "format": "at-uri" }, | ||
"cid": { "type": "string", "format": "cid" }, | ||
"cursor": { "type": "string" }, | ||
"posts": { | ||
"type": "array", | ||
"items": { | ||
"type": "ref", | ||
"ref": "app.bsky.feed.defs#postView" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "app.bsky.feed.postgate", | ||
"defs": { | ||
"main": { | ||
"type": "record", | ||
"key": "tid", | ||
"description": "Record defining interaction rules for a post. The record key (rkey) of the postgate record must match the record key of the post, and that record must be in the same repository.", | ||
"record": { | ||
"type": "object", | ||
"required": ["post", "createdAt"], | ||
"properties": { | ||
"createdAt": { "type": "string", "format": "datetime" }, | ||
"post": { | ||
"type": "string", | ||
"format": "at-uri", | ||
"description": "Reference (AT-URI) to the post record." | ||
}, | ||
"detachedEmbeddingUris": { | ||
"type": "array", | ||
"maxLength": 50, | ||
"items": { | ||
"type": "string", | ||
"format": "at-uri" | ||
}, | ||
"description": "List of AT-URIs embedding this post that the author has detached from." | ||
}, | ||
"embeddingRules": { | ||
"type": "array", | ||
"maxLength": 5, | ||
"items": { | ||
"type": "union", | ||
"refs": ["#disableRule"] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"disableRule": { | ||
"type": "object", | ||
"description": "Disables embedding of this post.", | ||
"properties": {} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
packages/atproto_client/models/app/bsky/feed/get_quotes.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
################################################################## | ||
# THIS IS THE AUTO-GENERATED CODE. DON'T EDIT IT BY HANDS! | ||
# Copyright (C) 2024 Ilya (Marshal) <https://github.com/MarshalX>. | ||
# This file is part of Python atproto SDK. Licenced under MIT. | ||
################################################################## | ||
|
||
|
||
import typing as t | ||
|
||
import typing_extensions as te | ||
from pydantic import Field | ||
|
||
if t.TYPE_CHECKING: | ||
from atproto_client import models | ||
from atproto_client.models import base | ||
|
||
|
||
class Params(base.ParamsModelBase): | ||
"""Parameters model for :obj:`app.bsky.feed.getQuotes`.""" | ||
|
||
uri: str #: Reference (AT-URI) of post record. | ||
cid: t.Optional[str] = None #: If supplied, filters to quotes of specific version (by CID) of the post record. | ||
cursor: t.Optional[str] = None #: Cursor. | ||
limit: t.Optional[int] = Field(default=50, ge=1, le=100) #: Limit. | ||
|
||
|
||
class ParamsDict(t.TypedDict): | ||
uri: str #: Reference (AT-URI) of post record. | ||
cid: te.NotRequired[ | ||
t.Optional[str] | ||
] #: If supplied, filters to quotes of specific version (by CID) of the post record. | ||
cursor: te.NotRequired[t.Optional[str]] #: Cursor. | ||
limit: te.NotRequired[t.Optional[int]] #: Limit. | ||
|
||
|
||
class Response(base.ResponseModelBase): | ||
"""Output data model for :obj:`app.bsky.feed.getQuotes`.""" | ||
|
||
posts: t.List['models.AppBskyFeedDefs.PostView'] #: Posts. | ||
uri: str #: Uri. | ||
cid: t.Optional[str] = None #: Cid. | ||
cursor: t.Optional[str] = None #: Cursor. |
Oops, something went wrong.