add lexicon codegen: vendored lexicons, lex cli and generation scripts

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Samuel Newman
2026-08-03 12:06:59 +03:00
parent a2129885c6
commit a3243820c9
311 changed files with 23342 additions and 14 deletions
+70
View File
@@ -0,0 +1,70 @@
{
"id": "app.bsky.graph.starterpack",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"name",
"list",
"createdAt"
],
"properties": {
"list": {
"type": "string",
"format": "at-uri",
"description": "Reference (AT-URI) to the list record."
},
"name": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Display name for starter pack; can not be empty.",
"maxGraphemes": 50
},
"feeds": {
"type": "array",
"items": {
"ref": "#feedItem",
"type": "ref"
},
"maxLength": 3
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"description": {
"type": "string",
"maxLength": 3000,
"maxGraphemes": 300
},
"descriptionFacets": {
"type": "array",
"items": {
"ref": "app.bsky.richtext.facet",
"type": "ref"
}
}
}
},
"description": "Record defining a starter pack of actors and feeds for new users."
},
"feedItem": {
"type": "object",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri"
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}