A community based topic aggregation platform built on atproto

refactor(lexicon): remove vote XRPC procedure definitions

Remove createVote and deleteVote XRPC procedure lexicons. These
endpoints are no longer exposed by the AppView.

Clients use standard atProto repo operations instead:
- com.atproto.repo.createRecord
- com.atproto.repo.deleteRecord

Keep social.coves.interaction.vote.json (record type definition)
as it's still needed for Jetstream indexing.

Deleted:
- social.coves.interaction.createVote.json (67 lines)
- social.coves.interaction.deleteVote.json (37 lines)

-104
-67
internal/atproto/lexicon/social/coves/interaction/createVote.json
··· 1 - { 2 - "lexicon": 1, 3 - "id": "social.coves.interaction.createVote", 4 - "defs": { 5 - "main": { 6 - "type": "procedure", 7 - "description": "Vote on a post or comment", 8 - "input": { 9 - "encoding": "application/json", 10 - "schema": { 11 - "type": "object", 12 - "required": ["subject", "direction"], 13 - "properties": { 14 - "subject": { 15 - "type": "string", 16 - "format": "at-uri", 17 - "description": "AT-URI of the post or comment to vote on" 18 - }, 19 - "direction": { 20 - "type": "string", 21 - "enum": ["up", "down"], 22 - "description": "Vote direction" 23 - } 24 - } 25 - } 26 - }, 27 - "output": { 28 - "encoding": "application/json", 29 - "schema": { 30 - "type": "object", 31 - "required": ["uri", "cid"], 32 - "properties": { 33 - "uri": { 34 - "type": "string", 35 - "format": "at-uri", 36 - "description": "AT-URI of the created vote record" 37 - }, 38 - "cid": { 39 - "type": "string", 40 - "format": "cid", 41 - "description": "CID of the created vote record" 42 - }, 43 - "existing": { 44 - "type": "string", 45 - "format": "at-uri", 46 - "description": "AT-URI of existing vote if updating" 47 - } 48 - } 49 - } 50 - }, 51 - "errors": [ 52 - { 53 - "name": "SubjectNotFound", 54 - "description": "Post or comment not found" 55 - }, 56 - { 57 - "name": "NotAuthorized", 58 - "description": "User is not authorized to vote" 59 - }, 60 - { 61 - "name": "Banned", 62 - "description": "User is banned from this community" 63 - } 64 - ] 65 - } 66 - } 67 - }
-37
internal/atproto/lexicon/social/coves/interaction/deleteVote.json
··· 1 - { 2 - "lexicon": 1, 3 - "id": "social.coves.interaction.deleteVote", 4 - "defs": { 5 - "main": { 6 - "type": "procedure", 7 - "description": "Remove a vote from a post or comment", 8 - "input": { 9 - "encoding": "application/json", 10 - "schema": { 11 - "type": "object", 12 - "required": ["subject"], 13 - "properties": { 14 - "subject": { 15 - "type": "string", 16 - "format": "at-uri", 17 - "description": "AT-URI of the post or comment to remove vote from" 18 - } 19 - } 20 - } 21 - }, 22 - "output": { 23 - "encoding": "application/json", 24 - "schema": { 25 - "type": "object", 26 - "properties": {} 27 - } 28 - }, 29 - "errors": [ 30 - { 31 - "name": "VoteNotFound", 32 - "description": "No vote found on this subject" 33 - } 34 - ] 35 - } 36 - } 37 - }