Skip to content

Commit b75e11c

Browse files
authored
Update lexicons fetched from ee9779d committed 2025-01-20T14:36:02Z (#516)
1 parent 829719d commit b75e11c

26 files changed

+634
-5
lines changed

docs/source/aliases_db.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@
133133
'models.ComAtprotoLabelDefs': 'atproto_client.models.com.atproto.label.defs',
134134
'models.ComAtprotoLabelQueryLabels': 'atproto_client.models.com.atproto.label.query_labels',
135135
'models.ComAtprotoLabelSubscribeLabels': 'atproto_client.models.com.atproto.label.subscribe_labels',
136+
'models.ComAtprotoLexiconSchema': 'atproto_client.models.com.atproto.lexicon.schema',
136137
'models.ComAtprotoModerationCreateReport': 'atproto_client.models.com.atproto.moderation.create_report',
137138
'models.ComAtprotoModerationDefs': 'atproto_client.models.com.atproto.moderation.defs',
138139
'models.ComAtprotoRepoApplyWrites': 'atproto_client.models.com.atproto.repo.apply_writes',
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
com.atproto.lexicon
2+
==========================================
3+
4+
.. automodule:: atproto_client.models.com.atproto.lexicon
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
8+
9+
Submodules
10+
----------
11+
12+
.. toctree::
13+
:maxdepth: 4
14+
15+
atproto_client.models.com.atproto.lexicon.schema
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
com.atproto.lexicon.schema
2+
=================================================
3+
4+
.. automodule:: atproto_client.models.com.atproto.lexicon.schema
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/source/atproto/atproto_client.models.com.atproto.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Subpackages
1515
atproto_client.models.com.atproto.admin
1616
atproto_client.models.com.atproto.identity
1717
atproto_client.models.com.atproto.label
18+
atproto_client.models.com.atproto.lexicon
1819
atproto_client.models.com.atproto.moderation
1920
atproto_client.models.com.atproto.repo
2021
atproto_client.models.com.atproto.server

lexicons/app.bsky.actor.getSuggestions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
"type": "ref",
3131
"ref": "app.bsky.actor.defs#profileView"
3232
}
33+
},
34+
"recId": {
35+
"type": "integer",
36+
"description": "Snowflake for this recommendation, use when submitting recommendation events."
3337
}
3438
}
3539
}

lexicons/app.bsky.feed.defs.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,13 @@
162162
"items": { "type": "ref", "ref": "com.atproto.label.defs#label" }
163163
},
164164
"viewer": { "type": "ref", "ref": "#generatorViewerState" },
165+
"contentMode": {
166+
"type": "string",
167+
"knownValues": [
168+
"app.bsky.feed.defs#contentModeUnspecified",
169+
"app.bsky.feed.defs#contentModeVideo"
170+
]
171+
},
165172
"indexedAt": { "type": "string", "format": "datetime" }
166173
}
167174
},
@@ -262,6 +269,14 @@
262269
"type": "token",
263270
"description": "User clicked through to the embedded content of the feed item"
264271
},
272+
"contentModeUnspecified": {
273+
"type": "token",
274+
"description": "Declares the feed generator returns any types of posts."
275+
},
276+
"contentModeVideo": {
277+
"type": "token",
278+
"description": "Declares the feed generator returns posts containing app.bsky.embed.video embeds."
279+
},
265280
"interactionSeen": {
266281
"type": "token",
267282
"description": "Feed item was seen by user"

lexicons/app.bsky.feed.generator.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@
3939
"description": "Self-label values",
4040
"refs": ["com.atproto.label.defs#selfLabels"]
4141
},
42+
"contentMode": {
43+
"type": "string",
44+
"knownValues": [
45+
"app.bsky.feed.defs#contentModeUnspecified",
46+
"app.bsky.feed.defs#contentModeVideo"
47+
]
48+
},
4249
"createdAt": { "type": "string", "format": "datetime" }
4350
}
4451
}

lexicons/app.bsky.graph.getSuggestedFollowsByActor.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
"type": "boolean",
3030
"description": "If true, response has fallen-back to generic results, and is not scoped using relativeToDid",
3131
"default": false
32+
},
33+
"recId": {
34+
"type": "integer",
35+
"description": "Snowflake for this recommendation, use when submitting recommendation events."
3236
}
3337
}
3438
}

lexicons/app.bsky.unspecced.getSuggestionsSkeleton.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545
"type": "string",
4646
"format": "did",
4747
"description": "DID of the account these suggestions are relative to. If this is returned undefined, suggestions are based on the viewer."
48+
},
49+
"recId": {
50+
"type": "integer",
51+
"description": "Snowflake for this recommendation, use when submitting recommendation events."
4852
}
4953
}
5054
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"lexicon": 1,
3+
"id": "com.atproto.lexicon.schema",
4+
"defs": {
5+
"main": {
6+
"type": "record",
7+
"description": "Representation of Lexicon schemas themselves, when published as atproto records. Note that the schema language is not defined in Lexicon; this meta schema currently only includes a single version field ('lexicon'). See the atproto specifications for description of the other expected top-level fields ('id', 'defs', etc).",
8+
"key": "nsid",
9+
"record": {
10+
"type": "object",
11+
"required": ["lexicon"],
12+
"properties": {
13+
"lexicon": {
14+
"type": "integer",
15+
"description": "Indicates the 'version' of the Lexicon language. Must be '1' for the current atproto/Lexicon schema system."
16+
}
17+
}
18+
}
19+
}
20+
}
21+
}

0 commit comments

Comments
 (0)