check in lexicons

This commit is contained in:
Samuel Newman
2025-04-30 21:15:55 +03:00
parent 727a696970
commit d5b5b21617
259 changed files with 13100 additions and 0 deletions
@@ -0,0 +1,43 @@
{
"lexicon": 1,
"id": "chat.bsky.moderation.getActorMetadata",
"defs": {
"main": {
"type": "query",
"parameters": {
"type": "params",
"required": ["actor"],
"properties": {
"actor": { "type": "string", "format": "did" }
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["day", "month", "all"],
"properties": {
"day": { "type": "ref", "ref": "#metadata" },
"month": { "type": "ref", "ref": "#metadata" },
"all": { "type": "ref", "ref": "#metadata" }
}
}
}
},
"metadata": {
"type": "object",
"required": [
"messagesSent",
"messagesReceived",
"convos",
"convosStarted"
],
"properties": {
"messagesSent": { "type": "integer" },
"messagesReceived": { "type": "integer" },
"convos": { "type": "integer" },
"convosStarted": { "type": "integer" }
}
}
}
}
@@ -0,0 +1,41 @@
{
"lexicon": 1,
"id": "chat.bsky.moderation.getMessageContext",
"defs": {
"main": {
"type": "query",
"parameters": {
"type": "params",
"required": ["messageId"],
"properties": {
"convoId": {
"type": "string",
"description": "Conversation that the message is from. NOTE: this field will eventually be required."
},
"messageId": { "type": "string" },
"before": { "type": "integer", "default": 5 },
"after": { "type": "integer", "default": 5 }
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["messages"],
"properties": {
"messages": {
"type": "array",
"items": {
"type": "union",
"refs": [
"chat.bsky.convo.defs#messageView",
"chat.bsky.convo.defs#deletedMessageView"
]
}
}
}
}
}
}
}
}
@@ -0,0 +1,21 @@
{
"lexicon": 1,
"id": "chat.bsky.moderation.updateActorAccess",
"defs": {
"main": {
"type": "procedure",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["actor", "allowAccess"],
"properties": {
"actor": { "type": "string", "format": "did" },
"allowAccess": { "type": "boolean" },
"ref": { "type": "string" }
}
}
}
}
}
}