+2
-2
cmd/server/main.go
+2
-2
cmd/server/main.go
···-voteJetstreamURL = "ws://localhost:6008/subscribe?wantedCollections=social.coves.interaction.vote"···
+5
-5
internal/atproto/jetstream/vote_consumer.go
+5
-5
internal/atproto/jetstream/vote_consumer.go
············func (c *VoteEventConsumer) deleteVote(ctx context.Context, repoDID string, commit *CommitEvent) error {
+156
internal/atproto/lexicon/com/atproto/label/defs.json
+156
internal/atproto/lexicon/com/atproto/label/defs.json
···+"description": "AT URI of the record, repository (account), or other resource that this label applies to."+"description": "Optionally, CID specifying the specific version of 'uri' resource this label applies to."+"description": "Metadata tags on an atproto record, published by the author within the record.",+"description": "Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel.",+"description": "The value of the label being defined. Must only include lowercase ascii and the '-' character ([a-z-]+).",+"description": "How should a client visually convey this label? 'inform' means neutral and informational; 'alert' means negative and warning; 'none' means show nothing.",+"description": "What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the images/video/audio; 'none' hides nothing.",+"description": "Does the user need to have adult content enabled in order to configure this label?"+"description": "Strings which describe the label in the UI, localized into a specific language.",
+15
internal/atproto/lexicon/com/atproto/repo/strongRef.json
+15
internal/atproto/lexicon/com/atproto/repo/strongRef.json
···
-49
internal/atproto/lexicon/social/coves/interaction/vote.json
-49
internal/atproto/lexicon/social/coves/interaction/vote.json
···
+8
-5
internal/db/migrations/013_create_votes_table.sql
+8
-5
internal/db/migrations/013_create_votes_table.sql
·········COMMENT ON TABLE votes IS 'Votes indexed from user repositories via Jetstream firehose consumer';-COMMENT ON COLUMN votes.uri IS 'AT-URI in format: at://voter_did/social.coves.interaction.vote/rkey';COMMENT ON INDEX unique_voter_subject_active IS 'Ensures one active vote per user per subject (soft delete aware)';
+12
-12
internal/db/postgres/vote_repo_test.go
+12
-12
internal/db/postgres/vote_repo_test.go
····································
+1
-1
internal/validation/lexicon.go
+1
-1
internal/validation/lexicon.go
···
+3
-3
internal/validation/lexicon_test.go
+3
-3
internal/validation/lexicon_test.go
······
+9
tests/lexicon-test-data/feed/vote-valid.json
+9
tests/lexicon-test-data/feed/vote-valid.json