add lexicon codegen: vendored lexicons, lex cli and generation scripts
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"id": "com.atproto.admin.updateSubjectStatus",
|
||||
"defs": {
|
||||
"main": {
|
||||
"type": "procedure",
|
||||
"input": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"subject"
|
||||
],
|
||||
"properties": {
|
||||
"subject": {
|
||||
"refs": [
|
||||
"com.atproto.admin.defs#repoRef",
|
||||
"com.atproto.repo.strongRef",
|
||||
"com.atproto.admin.defs#repoBlobRef"
|
||||
],
|
||||
"type": "union"
|
||||
},
|
||||
"takedown": {
|
||||
"ref": "com.atproto.admin.defs#statusAttr",
|
||||
"type": "ref"
|
||||
},
|
||||
"deactivated": {
|
||||
"ref": "com.atproto.admin.defs#statusAttr",
|
||||
"type": "ref"
|
||||
}
|
||||
}
|
||||
},
|
||||
"encoding": "application/json"
|
||||
},
|
||||
"output": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"subject"
|
||||
],
|
||||
"properties": {
|
||||
"subject": {
|
||||
"refs": [
|
||||
"com.atproto.admin.defs#repoRef",
|
||||
"com.atproto.repo.strongRef",
|
||||
"com.atproto.admin.defs#repoBlobRef"
|
||||
],
|
||||
"type": "union"
|
||||
},
|
||||
"takedown": {
|
||||
"ref": "com.atproto.admin.defs#statusAttr",
|
||||
"type": "ref"
|
||||
}
|
||||
}
|
||||
},
|
||||
"encoding": "application/json"
|
||||
},
|
||||
"description": "Update the service-specific admin status of a subject (account, record, or blob)."
|
||||
}
|
||||
},
|
||||
"$type": "com.atproto.lexicon.schema",
|
||||
"lexicon": 1
|
||||
}
|
||||
Reference in New Issue
Block a user