full diff

tech.tokimeki.forum.vote

tokimeki.blue +4 −4
From
bafyreiflheitpdbrckj4xwtyrxr2je7ddmw72dbmvo74vyd54ezyvfo64q indexed 2026-08-25 12:27 UTC View this version
To
bafyreidvtcquxxrwifvjqzd7wavt6sx5b64dkqn6w3qbgnfd26oovettpi indexed 2026-08-25 13:18 UTC View this version

Compatibility

breaking 2 breaking changes, 3 non-breaking changes.

Breaking changes (2)
  • KindChanged KindChanged { vertex_id: "tech.tokimeki.forum.vote:body.subject", old_kind: "string", new_kind: "ref" }
  • ConstraintAdded ConstraintAdded { vertex_id: "tech.tokimeki.forum.vote:body.subject", sort: "ref", value: "com.atproto.repo.strongRef" }
Non-breaking changes (3)
  • AddedVertex AddedVertex { vertex_id: "com.atproto.repo.strongRef" }
  • AddedEdge AddedEdge { src: "tech.tokimeki.forum.vote:body.subject", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
  • ConstraintRemoved ConstraintRemoved { vertex_id: "tech.tokimeki.forum.vote:body.subject", sort: "format" }

Migration guidance

Added

  • AddedVertex { vertex_id: "com.atproto.repo.strongRef" }

Constraint changes

  • ConstraintAdded ConstraintAdded { vertex_id: "tech.tokimeki.forum.vote:body.subject", sort: "ref", value: "com.atproto.repo.strongRef" }
  • ConstraintRemoved ConstraintRemoved { vertex_id: "tech.tokimeki.forum.vote:body.subject", sort: "format" }

Notes

  • Breaking: KindChanged { vertex_id: "tech.tokimeki.forum.vote:body.subject", old_kind: "string", new_kind: "ref" }
  • Non-breaking: AddedEdge { src: "tech.tokimeki.forum.vote:body.subject", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "An upvote on a thread or a message. Written into the voter's own repo within the space. The record's existence is the vote; delete it to withdraw. rkey is derived from the subject so one voter holds at most one vote per subject.",
5 "description": "An upvote on a thread or a message. Written into the voter's own repo within the space. The record's existence is the vote; delete it to withdraw. rkey is derived from the subject URI ('v' + base32lower(sha256(uri))[0:26]) so one voter holds at most one vote per subject across edits of that subject.",
66 "key": "any",
77 "record": {
88 "properties": {
99 "createdAt": {
1010 "format": "datetime",
1111 "type": "string"
1212 },
1313 "subject": {
14 "description": "Space record URI of the tech.tokimeki.forum.thread or tech.tokimeki.forum.message being voted on.",
15 "format": "at-uri",
16 "type": "string"
14 "description": "The tech.tokimeki.forum.thread or tech.tokimeki.forum.message being voted on. The cid records the version that was voted on.",
15 "ref": "com.atproto.repo.strongRef",
16 "type": "ref"
1717 }
1818 },
1919 "required": [
2020 "subject",
2121 "createdAt"
2222 ],
2323 "type": "object"
2424 },
2525 "type": "record"
2626 }
2727 },
2828 "id": "tech.tokimeki.forum.vote",
2929 "lexicon": 1
3030}

Compare other versions