add @bsky.app/sdk + @atproto/lex, vendor lexicons, codegen via lex cli

This commit is contained in:
Samuel Newman
2026-07-15 16:06:20 +03:00
parent 17c1ee4869
commit 15e232749a
306 changed files with 22544 additions and 2 deletions
@@ -0,0 +1,64 @@
{
"lexicon": 1,
"id": "com.atproto.server.createInviteCodes",
"defs": {
"main": {
"type": "procedure",
"description": "Create invite codes.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["codeCount", "useCount"],
"properties": {
"codeCount": {
"type": "integer",
"default": 1
},
"useCount": {
"type": "integer"
},
"forAccounts": {
"type": "array",
"items": {
"type": "string",
"format": "did"
}
}
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["codes"],
"properties": {
"codes": {
"type": "array",
"items": {
"type": "ref",
"ref": "#accountCodes"
}
}
}
}
}
},
"accountCodes": {
"type": "object",
"required": ["account", "codes"],
"properties": {
"account": {
"type": "string"
},
"codes": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}