com.getorbyt.notification.defs
Schema Diff
+5 -3
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 0 non-breaking changes.
Breaking Changes (1)
- ConstraintTightened ConstraintTightened { vertex_id: "com.getorbyt.notification.defs#notificationView.reason", sort: "knownValues", old_value: "[\"follow\",\"followImport\",\"friendJoined\",\"communityJoined\",\"communityPostRemoved\",\"communityReport\",\"communityTransferOffered\"]", new_value: "[\"follow\",\"followImport\",\"friendJoined\",\"communityJoined\",\"communityPostRemoved\",\"communityReport\",\"communityTransferOffered\",\"communityModmail\",\"communityModmailReply\"]" }
Migration Guidance
Constraint Changes
- ConstraintTightened ConstraintTightened { vertex_id: "com.getorbyt.notification.defs#notificationView.reason", sort: "knownValues", old_value: "[\"follow\",\"followImport\",\"friendJoined\",\"communityJoined\",\"communityPostRemoved\",\"communityReport\",\"communityTransferOffered\"]", new_value: "[\"follow\",\"followImport\",\"friendJoined\",\"communityJoined\",\"communityPostRemoved\",\"communityReport\",\"communityTransferOffered\",\"communityModmail\",\"communityModmailReply\"]" }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"notificationView": {
5
5
"description": "One Orbyt activity item. Computed when read from Orbyt records and Community service state, never stored.",
6
6
"properties": {
7
7
"author": {
8
8
"ref": "com.getorbyt.actor.defs#profileView",
9
9
"type": "ref"
10
10
},
11
11
"community": {
12
12
"description": "The Community a `community*` reason is about. Absent for other reasons, and absent when the Community can no longer be shown.",
13
13
"ref": "com.getorbyt.community.defs#view",
14
14
"type": "ref"
15
15
},
16
16
"indexedAt": {
17
17
"format": "datetime",
18
18
"type": "string"
19
19
},
20
20
"isRead": {
21
21
"type": "boolean"
22
22
},
23
23
"reason": {
24
-
"description": "`follow`: the author followed the viewer on Orbyt. `followImport`: the author's follow came from importing their network follows, so the network never announced it; clients may group these. `friendJoined`: an account the viewer follows on the connected network joined Orbyt. `communityJoined`: the author joined a Community the viewer administers. `communityPostRemoved`: the author, a moderator, removed the viewer's post from a Community; it stays listed while the post is removed. `communityReport`: the author reported a post in a Community the viewer moderates; it stays listed while the report is open. `communityTransferOffered`: the author offered the viewer ownership of a Community; it stays listed while the offer is pending. A client that mirrors follows to the network may leave out `follow`, which the network already reports. A client renders a reason it does not recognise generically or skips it.",
24
+
"description": "`follow`: the author followed the viewer on Orbyt. `followImport`: the author's follow came from importing their network follows, so the network never announced it; clients may group these. `friendJoined`: an account the viewer follows on the connected network joined Orbyt. `communityJoined`: the author joined a Community the viewer administers. `communityPostRemoved`: the author, a moderator, removed the viewer's post from a Community; it stays listed while the post is removed. `communityReport`: the author reported a post in a Community the viewer moderates; it stays listed while the report is open. `communityTransferOffered`: the author offered the viewer ownership of a Community; it stays listed while the offer is pending. `communityModmail`: the author, a member, wrote to the mod team of a Community where the viewer holds manage-mail; it stays listed while the thread is open. `communityModmailReply`: the mod team of a Community answered the viewer's Modmail; the author is the Community's own account, because the reply speaks for the team. A client that mirrors follows to the network may leave out `follow`, which the network already reports. A client renders a reason it does not recognise generically or skips it.",
25
25
"knownValues": [
26
26
"follow",
27
27
"followImport",
28
28
"friendJoined",
29
29
"communityJoined",
30
30
"communityPostRemoved",
31
31
"communityReport",
32
-
"communityTransferOffered"
32
+
"communityTransferOffered",
33
+
"communityModmail",
34
+
"communityModmailReply"
33
35
],
34
36
"type": "string"
35
37
},
36
38
"uri": {
37
-
"description": "The record behind the item: the follow record; for `friendJoined` the joining account's repository (`at://<did>`); for `communityJoined` the membership record; for `communityPostRemoved` and `communityReport` the post; for `communityTransferOffered` the Community.",
39
+
"description": "The record behind the item: the follow record; for `friendJoined` the joining account's repository (`at://<did>`); for `communityJoined` the membership record; for `communityPostRemoved` and `communityReport` the post; for `communityTransferOffered`, `communityModmail` and `communityModmailReply` the Community.",
38
40
"format": "at-uri",
39
41
"type": "string"
40
42
}
41
43
},
42
44
"required": [
43
45
"uri",
44
46
"reason",
45
47
"author",
46
48
"isRead",
47
49
"indexedAt"
48
50
],
49
51
"type": "object"
50
52
}
51
53
},
52
54
"id": "com.getorbyt.notification.defs",
53
55
"lexicon": 1
54
56
}