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,175 @@
|
||||
{
|
||||
"id": "app.bsky.notification.defs",
|
||||
"defs": {
|
||||
"preference": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"list",
|
||||
"push"
|
||||
],
|
||||
"properties": {
|
||||
"list": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"push": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"preferences": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"chat",
|
||||
"follow",
|
||||
"like",
|
||||
"likeViaRepost",
|
||||
"mention",
|
||||
"quote",
|
||||
"reply",
|
||||
"repost",
|
||||
"repostViaRepost",
|
||||
"starterpackJoined",
|
||||
"subscribedPost",
|
||||
"unverified",
|
||||
"verified"
|
||||
],
|
||||
"properties": {
|
||||
"chat": {
|
||||
"ref": "#chatPreference",
|
||||
"type": "ref",
|
||||
"description": "Deprecated: use chat.bsky.notification preferences instead. This will only return a default value."
|
||||
},
|
||||
"like": {
|
||||
"ref": "#filterablePreference",
|
||||
"type": "ref"
|
||||
},
|
||||
"quote": {
|
||||
"ref": "#filterablePreference",
|
||||
"type": "ref"
|
||||
},
|
||||
"reply": {
|
||||
"ref": "#filterablePreference",
|
||||
"type": "ref"
|
||||
},
|
||||
"follow": {
|
||||
"ref": "#filterablePreference",
|
||||
"type": "ref"
|
||||
},
|
||||
"repost": {
|
||||
"ref": "#filterablePreference",
|
||||
"type": "ref"
|
||||
},
|
||||
"mention": {
|
||||
"ref": "#filterablePreference",
|
||||
"type": "ref"
|
||||
},
|
||||
"verified": {
|
||||
"ref": "#preference",
|
||||
"type": "ref"
|
||||
},
|
||||
"unverified": {
|
||||
"ref": "#preference",
|
||||
"type": "ref"
|
||||
},
|
||||
"likeViaRepost": {
|
||||
"ref": "#filterablePreference",
|
||||
"type": "ref"
|
||||
},
|
||||
"subscribedPost": {
|
||||
"ref": "#preference",
|
||||
"type": "ref"
|
||||
},
|
||||
"repostViaRepost": {
|
||||
"ref": "#filterablePreference",
|
||||
"type": "ref"
|
||||
},
|
||||
"starterpackJoined": {
|
||||
"ref": "#preference",
|
||||
"type": "ref"
|
||||
}
|
||||
}
|
||||
},
|
||||
"recordDeleted": {
|
||||
"type": "object",
|
||||
"properties": {}
|
||||
},
|
||||
"chatPreference": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"include",
|
||||
"push"
|
||||
],
|
||||
"properties": {
|
||||
"push": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"include": {
|
||||
"type": "string",
|
||||
"knownValues": [
|
||||
"all",
|
||||
"accepted"
|
||||
]
|
||||
}
|
||||
},
|
||||
"description": "Deprecated: use chat.bsky.notification preferences instead. This will only return a default value."
|
||||
},
|
||||
"activitySubscription": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"post",
|
||||
"reply"
|
||||
],
|
||||
"properties": {
|
||||
"post": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"reply": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"filterablePreference": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"include",
|
||||
"list",
|
||||
"push"
|
||||
],
|
||||
"properties": {
|
||||
"list": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"push": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"include": {
|
||||
"type": "string",
|
||||
"knownValues": [
|
||||
"all",
|
||||
"follows"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"subjectActivitySubscription": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"subject",
|
||||
"activitySubscription"
|
||||
],
|
||||
"properties": {
|
||||
"subject": {
|
||||
"type": "string",
|
||||
"format": "did"
|
||||
},
|
||||
"activitySubscription": {
|
||||
"ref": "#activitySubscription",
|
||||
"type": "ref"
|
||||
}
|
||||
},
|
||||
"description": "Object used to store activity subscription data in stash."
|
||||
}
|
||||
},
|
||||
"$type": "com.atproto.lexicon.schema",
|
||||
"lexicon": 1
|
||||
}
|
||||
Reference in New Issue
Block a user