full diff

ink.resenha.notification.listNotifications

resenha.ink +16 −2
From
bafyreidmzyqophz2tebofyiiqoj4xgvs5oh2q7ddhyom3zottbftv5qt3a indexed 2026-11-03 21:09 UTC View this version
To
bafyreiavpydnwts6qxqt4otjdn6al47xarfozuimu6fsah2wv4avduvw2q indexed 2026-11-03 22:03 UTC View this version

Compatibility

breaking 1 breaking change, 6 non-breaking changes.

Breaking changes (1)
  • ConstraintTightened ConstraintTightened { vertex_id: "ink.resenha.notification.listNotifications#notification.kind", sort: "knownValues", old_value: "[\"follow\",\"friendRequest\",\"like\",\"quote\",\"reviewComment\",\"reply\",\"comicComment\"]", new_value: "[\"follow\",\"friendRequest\",\"like\",\"quote\",\"reviewComment\",\"reply\",\"comicComment\",\"readingLike\",\"readingComment\"]" }
Non-breaking changes (6)
  • AddedVertex AddedVertex { vertex_id: "ink.resenha.notification.listNotifications#notification.book" }
  • AddedVertex AddedVertex { vertex_id: "ink.resenha.notification.listNotifications#notification.book.hiveId" }
  • AddedVertex AddedVertex { vertex_id: "ink.resenha.notification.listNotifications#notification.book.title" }
  • AddedEdge AddedEdge { src: "ink.resenha.notification.listNotifications#notification", tgt: "ink.resenha.notification.listNotifications#notification.book", kind: "prop", name: Some("book") }
  • AddedEdge AddedEdge { src: "ink.resenha.notification.listNotifications#notification.book", tgt: "ink.resenha.notification.listNotifications#notification.book.hiveId", kind: "prop", name: Some("hiveId") }
  • AddedEdge AddedEdge { src: "ink.resenha.notification.listNotifications#notification.book", tgt: "ink.resenha.notification.listNotifications#notification.book.title", kind: "prop", name: Some("title") }

Migration guidance

Added

  • AddedVertex { vertex_id: "ink.resenha.notification.listNotifications#notification.book" }
  • AddedVertex { vertex_id: "ink.resenha.notification.listNotifications#notification.book.hiveId" }
  • AddedVertex { vertex_id: "ink.resenha.notification.listNotifications#notification.book.title" }

Constraint changes

  • ConstraintTightened ConstraintTightened { vertex_id: "ink.resenha.notification.listNotifications#notification.kind", sort: "knownValues", old_value: "[\"follow\",\"friendRequest\",\"like\",\"quote\",\"reviewComment\",\"reply\",\"comicComment\"]", new_value: "[\"follow\",\"friendRequest\",\"like\",\"quote\",\"reviewComment\",\"reply\",\"comicComment\",\"readingLike\",\"readingComment\"]" }

Notes

  • Non-breaking: AddedEdge { src: "ink.resenha.notification.listNotifications#notification", tgt: "ink.resenha.notification.listNotifications#notification.book", kind: "prop", name: Some("book") }
  • Non-breaking: AddedEdge { src: "ink.resenha.notification.listNotifications#notification.book", tgt: "ink.resenha.notification.listNotifications#notification.book.hiveId", kind: "prop", name: Some("hiveId") }
  • Non-breaking: AddedEdge { src: "ink.resenha.notification.listNotifications#notification.book", tgt: "ink.resenha.notification.listNotifications#notification.book.title", kind: "prop", name: Some("title") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Requires the caller's service token. Only the caller's own.",
66 "output": {
77 "encoding": "application/json",
88 "schema": {
99 "properties": {
1010 "cursor": {
1111 "description": "Where the previous page ended.",
1212 "type": "string"
1313 },
1414 "notifications": {
1515 "items": {
1616 "ref": "#notification",
1717 "type": "ref"
1818 },
1919 "type": "array"
2020 },
2121 "preferences": {
2222 "ref": "#preferences",
2323 "type": "ref"
2424 },
2525 "seenAt": {
2626 "format": "datetime",
2727 "type": "string"
2828 }
2929 },
3030 "required": [
3131 "notifications"
3232 ],
3333 "type": "object"
3434 }
3535 },
3636 "parameters": {
3737 "properties": {
3838 "cursor": {
3939 "description": "Where the previous page ended.",
4040 "type": "string"
4141 },
4242 "limit": {
4343 "default": 50,
4444 "maximum": 100,
4545 "minimum": 1,
4646 "type": "integer"
4747 }
4848 },
4949 "type": "params"
5050 },
5151 "type": "query"
5252 },
5353 "notification": {
5454 "properties": {
5555 "author": {
5656 "format": "did",
5757 "type": "string"
5858 },
59 "book": {
60 "description": "For readingLike, readingComment and a Resenha reply: the caller's book.",
61 "properties": {
62 "hiveId": {
63 "type": "string"
64 },
65 "title": {
66 "type": "string"
67 }
68 },
69 "type": "object"
70 },
5971 "indexedAt": {
6072 "format": "datetime",
6173 "type": "string"
6274 },
6375 "kind": {
64 "description": "like and quote group under their review; reply is to a comment of the caller's, on Bluesky (with thread), Popfeed or BookHive.",
76 "description": "like and quote group under their review; readingLike groups under the book record it's on, and readingComment is a comment on the caller reading a book; reply is to a comment of the caller's, on Bluesky (with thread), Popfeed, BookHive or Resenha (with thread, the book record).",
6577 "knownValues": [
6678 "follow",
6779 "friendRequest",
6880 "like",
6981 "quote",
7082 "reviewComment",
7183 "reply",
72 "comicComment"
84 "comicComment",
85 "readingLike",
86 "readingComment"
7387 ],
7488 "type": "string"
7589 },
7690 "review": {
7791 "description": "The caller's review it groups under, when there is one: its post, Popfeed review or book record.",
7892 "format": "at-uri",
7993 "type": "string"
8094 },
8195 "source": {
8296 "knownValues": [
8397 "bluesky",
8498 "popfeed",
8599 "bookhive",
86100 "resenha",
87101 "sequential"
88102 ],
89103 "type": "string"
90104 },
91105 "subject": {
92106 "description": "What it's about: the caller's post, review or comment.",
93107 "format": "at-uri",
94108 "type": "string"
95109 },
96110 "text": {
97111 "maxGraphemes": 300,
98112 "maxLength": 3000,
99113 "type": "string"
100114 },
101115 "thread": {
102116 "description": "For a reply to the caller's comment: the post the thread hangs from, some reader's review.",
103117 "format": "at-uri",
104118 "type": "string"
105119 },
106120 "uri": {
107121 "description": "The record that caused it.",
108122 "format": "at-uri",
109123 "type": "string"
110124 }
111125 },
112126 "required": [
113127 "uri",
114128 "kind",
115129 "source",
116130 "author",
117131 "indexedAt"
118132 ],
119133 "type": "object"
120134 },
121135 "preferences": {
122136 "properties": {
123137 "likes": {
124138 "description": "Whose likes and quotes are pushed to the caller's devices. They're always listed.",
125139 "knownValues": [
126140 "everyone",
127141 "following",
128142 "off"
129143 ],
130144 "type": "string"
131145 }
132146 },
133147 "required": [
134148 "likes"
135149 ],
136150 "type": "object"
137151 }
138152 },
139153 "description": "The caller's notifications from Bluesky, BookHive, Popfeed, comics and Resenha, newest first.",
140154 "id": "ink.resenha.notification.listNotifications",
141155 "lexicon": 1
142156}

Compare other versions