From 360dc53e25eada04d3c4f64f683cedfe9a5751ff Mon Sep 17 00:00:00 2001 From: Bretton Date: Fri, 17 Oct 2025 17:54:18 -0700 Subject: [PATCH] feat(lexicon): add social.coves.community.block record type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Define lexicon for community blocking records following atProto conventions similar to app.bsky.graph.block. Block records: - Live in user's repository (at://user_did/social.coves.community.block/{tid}) - Are public (blocks are not private) - Contain subject (community DID) and createdAt timestamp - Use TID-based keys for chronological ordering 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../lexicon/social/coves/community/block.json | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 internal/atproto/lexicon/social/coves/community/block.json diff --git a/internal/atproto/lexicon/social/coves/community/block.json b/internal/atproto/lexicon/social/coves/community/block.json new file mode 100644 index 0000000..54f7d49 --- /dev/null +++ b/internal/atproto/lexicon/social/coves/community/block.json @@ -0,0 +1,27 @@ +{ + "lexicon": 1, + "id": "social.coves.community.block", + "defs": { + "main": { + "type": "record", + "description": "Record declaring a block relationship against a community. Blocks are public.", + "key": "tid", + "record": { + "type": "object", + "required": ["subject", "createdAt"], + "properties": { + "subject": { + "type": "string", + "format": "did", + "description": "DID of the community being blocked" + }, + "createdAt": { + "type": "string", + "format": "datetime", + "description": "When the block was created" + } + } + } + } + } +} -- 2.51.2