add @bsky.app/sdk + @atproto/lex, vendor lexicons, codegen via lex cli
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"lexicon": 1,
|
||||
"id": "app.bsky.notification.registerPush",
|
||||
"defs": {
|
||||
"main": {
|
||||
"type": "procedure",
|
||||
"description": "Register to receive push notifications, via a specified service, for the requesting account. Requires auth.",
|
||||
"input": {
|
||||
"encoding": "application/json",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"required": ["serviceDid", "token", "platform", "appId"],
|
||||
"properties": {
|
||||
"serviceDid": {
|
||||
"type": "string",
|
||||
"format": "did"
|
||||
},
|
||||
"token": {
|
||||
"type": "string"
|
||||
},
|
||||
"platform": {
|
||||
"type": "string",
|
||||
"knownValues": ["ios", "android", "web"]
|
||||
},
|
||||
"appId": {
|
||||
"type": "string"
|
||||
},
|
||||
"ageRestricted": {
|
||||
"type": "boolean",
|
||||
"description": "Set to true when the actor is age restricted"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user