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,49 @@
|
||||
{
|
||||
"id": "chat.bsky.group.getJoinLinkPreviews",
|
||||
"defs": {
|
||||
"main": {
|
||||
"type": "query",
|
||||
"output": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"joinLinkPreviews"
|
||||
],
|
||||
"properties": {
|
||||
"joinLinkPreviews": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"refs": [
|
||||
"chat.bsky.group.defs#joinLinkPreviewView",
|
||||
"chat.bsky.group.defs#disabledJoinLinkPreviewView",
|
||||
"chat.bsky.group.defs#invalidJoinLinkPreviewView"
|
||||
],
|
||||
"type": "union"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"encoding": "application/json"
|
||||
},
|
||||
"parameters": {
|
||||
"type": "params",
|
||||
"required": [
|
||||
"codes"
|
||||
],
|
||||
"properties": {
|
||||
"codes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"maxLength": 50,
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Get public information about groups from join links. The output array matches the input codes one-to-one by position (and each view also carries its 'code'). Disabled codes return a disabledJoinLinkPreviewView, and codes that do not map to a previewable link return an invalidJoinLinkPreviewView."
|
||||
}
|
||||
},
|
||||
"$type": "com.atproto.lexicon.schema",
|
||||
"lexicon": 1
|
||||
}
|
||||
Reference in New Issue
Block a user