[SDK] Add lexicon codegen pipeline (@atproto/lex) (#11346)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"id": "com.atproto.label.subscribeLabels",
|
||||
"defs": {
|
||||
"info": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"knownValues": [
|
||||
"OutdatedCursor"
|
||||
]
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"main": {
|
||||
"type": "subscription",
|
||||
"errors": [
|
||||
{
|
||||
"name": "FutureCursor"
|
||||
}
|
||||
],
|
||||
"message": {
|
||||
"schema": {
|
||||
"refs": [
|
||||
"#labels",
|
||||
"#info"
|
||||
],
|
||||
"type": "union"
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"type": "params",
|
||||
"properties": {
|
||||
"cursor": {
|
||||
"type": "integer",
|
||||
"description": "The last known event seq number to backfill from."
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Subscribe to stream of labels (and negations). Public endpoint implemented by mod services. Uses same sequencing scheme as repo event stream."
|
||||
},
|
||||
"labels": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"seq",
|
||||
"labels"
|
||||
],
|
||||
"properties": {
|
||||
"seq": {
|
||||
"type": "integer"
|
||||
},
|
||||
"labels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"ref": "com.atproto.label.defs#label",
|
||||
"type": "ref"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"$type": "com.atproto.lexicon.schema",
|
||||
"lexicon": 1
|
||||
}
|
||||
Reference in New Issue
Block a user