[SDK] Add lexicon codegen pipeline (@atproto/lex) (#11346)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Samuel Newman
2026-08-13 22:26:12 +03:00
committed by GitHub
parent 97b3978fb8
commit 532681d5c0
304 changed files with 22682 additions and 55 deletions
+48
View File
@@ -0,0 +1,48 @@
{
"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",
"format": "tid",
"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
}