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
+47
View File
@@ -0,0 +1,47 @@
{
"id": "app.bsky.draft.createDraft",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"draft"
],
"properties": {
"draft": {
"ref": "app.bsky.draft.defs#draft",
"type": "ref"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "DraftLimitReached",
"description": "Trying to insert a new draft when the limit was already reached."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "The ID of the created draft."
}
}
},
"encoding": "application/json"
},
"description": "Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}