-
-
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 a4b528e committed 2024-11-18T13:36:39Z (#…
…442)
- Loading branch information
Showing
14 changed files
with
353 additions
and
0 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
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.graph.search_starter_packs.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.graph.search\_starter\_packs | ||
============================================================ | ||
|
||
.. automodule:: atproto_client.models.app.bsky.graph.search_starter_packs | ||
: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
7 changes: 7 additions & 0 deletions
7
...roto/atproto_client.models.app.bsky.unspecced.search_starter_packs_skeleton.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.unspecced.search\_starter\_packs\_skeleton | ||
========================================================================== | ||
|
||
.. automodule:: atproto_client.models.app.bsky.unspecced.search_starter_packs_skeleton | ||
: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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "app.bsky.graph.searchStarterPacks", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "Find starter packs matching search criteria. Does not require auth.", | ||
"parameters": { | ||
"type": "params", | ||
"required": ["q"], | ||
"properties": { | ||
"q": { | ||
"type": "string", | ||
"description": "Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended." | ||
}, | ||
"limit": { | ||
"type": "integer", | ||
"minimum": 1, | ||
"maximum": 100, | ||
"default": 25 | ||
}, | ||
"cursor": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"output": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": ["starterPacks"], | ||
"properties": { | ||
"cursor": { | ||
"type": "string" | ||
}, | ||
"starterPacks": { | ||
"type": "array", | ||
"items": { | ||
"type": "ref", | ||
"ref": "app.bsky.graph.defs#starterPackViewBasic" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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
63 changes: 63 additions & 0 deletions
63
lexicons/app.bsky.unspecced.searchStarterPacksSkeleton.json
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,63 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "app.bsky.unspecced.searchStarterPacksSkeleton", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "Backend Starter Pack search, returns only skeleton.", | ||
"parameters": { | ||
"type": "params", | ||
"required": ["q"], | ||
"properties": { | ||
"q": { | ||
"type": "string", | ||
"description": "Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended." | ||
}, | ||
"viewer": { | ||
"type": "string", | ||
"format": "did", | ||
"description": "DID of the account making the request (not included for public/unauthenticated queries)." | ||
}, | ||
"limit": { | ||
"type": "integer", | ||
"minimum": 1, | ||
"maximum": 100, | ||
"default": 25 | ||
}, | ||
"cursor": { | ||
"type": "string", | ||
"description": "Optional pagination mechanism; may not necessarily allow scrolling through entire result set." | ||
} | ||
} | ||
}, | ||
"output": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": ["starterPacks"], | ||
"properties": { | ||
"cursor": { | ||
"type": "string" | ||
}, | ||
"hitsTotal": { | ||
"type": "integer", | ||
"description": "Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits." | ||
}, | ||
"starterPacks": { | ||
"type": "array", | ||
"items": { | ||
"type": "ref", | ||
"ref": "app.bsky.unspecced.defs#skeletonSearchStarterPack" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"errors": [ | ||
{ | ||
"name": "BadQueryString" | ||
} | ||
] | ||
} | ||
} | ||
} |
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
36 changes: 36 additions & 0 deletions
36
packages/atproto_client/models/app/bsky/graph/search_starter_packs.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,36 @@ | ||
################################################################## | ||
# 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.graph.searchStarterPacks`.""" | ||
|
||
q: str #: Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. | ||
cursor: t.Optional[str] = None #: Cursor. | ||
limit: t.Optional[int] = Field(default=25, ge=1, le=100) #: Limit. | ||
|
||
|
||
class ParamsDict(t.TypedDict): | ||
q: str #: Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. | ||
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.graph.searchStarterPacks`.""" | ||
|
||
starter_packs: t.List['models.AppBskyGraphDefs.StarterPackViewBasic'] #: Starter packs. | ||
cursor: t.Optional[str] = None #: Cursor. |
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
49 changes: 49 additions & 0 deletions
49
packages/atproto_client/models/app/bsky/unspecced/search_starter_packs_skeleton.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,49 @@ | ||
################################################################## | ||
# 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.unspecced.searchStarterPacksSkeleton`.""" | ||
|
||
q: str #: Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. | ||
cursor: t.Optional[str] = ( | ||
None #: Optional pagination mechanism; may not necessarily allow scrolling through entire result set. | ||
) | ||
limit: t.Optional[int] = Field(default=25, ge=1, le=100) #: Limit. | ||
viewer: t.Optional[str] = ( | ||
None #: DID of the account making the request (not included for public/unauthenticated queries). | ||
) | ||
|
||
|
||
class ParamsDict(t.TypedDict): | ||
q: str #: Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. | ||
cursor: te.NotRequired[ | ||
t.Optional[str] | ||
] #: Optional pagination mechanism; may not necessarily allow scrolling through entire result set. | ||
limit: te.NotRequired[t.Optional[int]] #: Limit. | ||
viewer: te.NotRequired[ | ||
t.Optional[str] | ||
] #: DID of the account making the request (not included for public/unauthenticated queries). | ||
|
||
|
||
class Response(base.ResponseModelBase): | ||
"""Output data model for :obj:`app.bsky.unspecced.searchStarterPacksSkeleton`.""" | ||
|
||
starter_packs: t.List['models.AppBskyUnspeccedDefs.SkeletonSearchStarterPack'] #: Starter packs. | ||
cursor: t.Optional[str] = None #: Cursor. | ||
hits_total: t.Optional[int] = ( | ||
None #: Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits. | ||
) |
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
Oops, something went wrong.