app.didpic.feed.defs
Schema Diff
+20 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 10 non-breaking changes.
Non-Breaking Changes (10)
- AddedVertex AddedVertex { vertex_id: "app.didpic.feed.defs#commentView.facets" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.feed.defs#commentView.facets:items" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.feed.defs#postView.editedAt" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.feed.defs#postView.facets" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.feed.defs#postView.facets:items" }
- AddedEdge AddedEdge { src: "app.didpic.feed.defs#commentView", tgt: "app.didpic.feed.defs#commentView.facets", kind: "prop", name: Some("facets") }
- AddedEdge AddedEdge { src: "app.didpic.feed.defs#commentView.facets", tgt: "app.didpic.feed.defs#commentView.facets:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "app.didpic.feed.defs#postView", tgt: "app.didpic.feed.defs#postView.editedAt", kind: "prop", name: Some("editedAt") }
- AddedEdge AddedEdge { src: "app.didpic.feed.defs#postView", tgt: "app.didpic.feed.defs#postView.facets", kind: "prop", name: Some("facets") }
- AddedEdge AddedEdge { src: "app.didpic.feed.defs#postView.facets", tgt: "app.didpic.feed.defs#postView.facets:items", kind: "items", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.didpic.feed.defs#commentView.facets" }AddedVertex { vertex_id: "app.didpic.feed.defs#commentView.facets:items" }AddedVertex { vertex_id: "app.didpic.feed.defs#postView.editedAt" }AddedVertex { vertex_id: "app.didpic.feed.defs#postView.facets" }AddedVertex { vertex_id: "app.didpic.feed.defs#postView.facets:items" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.didpic.feed.defs#commentView", tgt: "app.didpic.feed.defs#commentView.facets", kind: "prop", name: Some("facets") }
- Non-breaking: AddedEdge { src: "app.didpic.feed.defs#commentView.facets", tgt: "app.didpic.feed.defs#commentView.facets:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "app.didpic.feed.defs#postView", tgt: "app.didpic.feed.defs#postView.editedAt", kind: "prop", name: Some("editedAt") }
- Non-breaking: AddedEdge { src: "app.didpic.feed.defs#postView", tgt: "app.didpic.feed.defs#postView.facets", kind: "prop", name: Some("facets") }
- Non-breaking: AddedEdge { src: "app.didpic.feed.defs#postView.facets", tgt: "app.didpic.feed.defs#postView.facets:items", kind: "items", name: None }
1
1
{
2
2
"id": "app.didpic.feed.defs",
3
3
"defs": {
4
4
"likeView": {
5
5
"type": "object",
6
6
"required": [
7
7
"actor",
8
8
"createdAt",
9
9
"indexedAt"
10
10
],
11
11
"properties": {
12
12
"actor": {
13
13
"ref": "app.didpic.actor.defs#profileBasic",
14
14
"type": "ref"
15
15
},
16
16
"createdAt": {
17
17
"type": "string",
18
18
"format": "datetime"
19
19
},
20
20
"indexedAt": {
21
21
"type": "string",
22
22
"format": "datetime"
23
23
}
24
24
}
25
25
},
26
26
"postView": {
27
27
"type": "object",
28
28
"required": [
29
29
"uri",
30
30
"cid",
31
31
"author",
32
32
"imageCid",
33
33
"createdAt",
34
34
"indexedAt"
35
35
],
36
36
"properties": {
37
37
"alt": {
38
38
"type": "string"
39
39
},
40
40
"cid": {
41
41
"type": "string",
42
42
"format": "cid"
43
43
},
44
44
"uri": {
45
45
"type": "string",
46
46
"format": "at-uri"
47
47
},
48
48
"text": {
49
49
"type": "string"
50
50
},
51
51
"author": {
52
52
"ref": "app.didpic.actor.defs#profileBasic",
53
53
"type": "ref"
54
54
},
55
+
"facets": {
56
+
"type": "array",
57
+
"items": {
58
+
"ref": "app.didpic.richtext.facet",
59
+
"type": "ref"
60
+
}
61
+
},
62
+
"editedAt": {
63
+
"type": "string",
64
+
"format": "datetime",
65
+
"description": "Set when the post has been edited at least once via putRecord. Absent for never-edited posts. Clients render an Edited badge when present."
66
+
},
55
67
"imageCid": {
56
68
"type": "string",
57
69
"format": "cid"
58
70
},
59
71
"createdAt": {
60
72
"type": "string",
61
73
"format": "datetime"
62
74
},
63
75
"indexedAt": {
64
76
"type": "string",
65
77
"format": "datetime"
66
78
},
67
79
"likeCount": {
68
80
"type": "integer",
69
81
"minimum": 0
70
82
},
71
83
"viewerLike": {
72
84
"type": "string",
73
85
"format": "at-uri",
74
86
"description": "URI of the viewer's like record on this post, if any."
75
87
},
76
88
"aspectRatio": {
77
89
"ref": "app.didpic.feed.post#aspectRatio",
78
90
"type": "ref"
79
91
},
80
92
"commentCount": {
81
93
"type": "integer",
82
94
"minimum": 0
83
95
}
84
96
}
85
97
},
86
98
"commentView": {
87
99
"type": "object",
88
100
"required": [
89
101
"uri",
90
102
"cid",
91
103
"author",
92
104
"text",
93
105
"createdAt",
94
106
"indexedAt"
95
107
],
96
108
"properties": {
97
109
"cid": {
98
110
"type": "string",
99
111
"format": "cid"
100
112
},
101
113
"uri": {
102
114
"type": "string",
103
115
"format": "at-uri"
104
116
},
105
117
"text": {
106
118
"type": "string"
107
119
},
108
120
"author": {
109
121
"ref": "app.didpic.actor.defs#profileBasic",
110
122
"type": "ref"
111
123
},
124
+
"facets": {
125
+
"type": "array",
126
+
"items": {
127
+
"ref": "app.didpic.richtext.facet",
128
+
"type": "ref"
129
+
}
130
+
},
112
131
"parent": {
113
132
"ref": "com.atproto.repo.strongRef",
114
133
"type": "ref",
115
134
"description": "If this comment is a reply, the comment it replies to."
116
135
},
117
136
"replies": {
118
137
"type": "array",
119
138
"items": {
120
139
"ref": "app.didpic.feed.defs#commentView",
121
140
"type": "ref"
122
141
},
123
-
"description": "Inline preview of replies to this comment, oldest first. Only populated for top-level comments returned by getPostThread, and capped (default 3). When `replies.length < replyCount` the rest are fetched via feed.getCommentReplies."
142
+
"description": "Capped inline preview of replies. Fetch the remainder via feed.getCommentReplies."
124
143
},
125
144
"createdAt": {
126
145
"type": "string",
127
146
"format": "datetime"
128
147
},
129
148
"indexedAt": {
130
149
"type": "string",
131
150
"format": "datetime"
132
151
},
133
152
"likeCount": {
134
153
"type": "integer",
135
154
"minimum": 0
136
155
},
137
156
"replyCount": {
138
157
"type": "integer",
139
158
"minimum": 0
140
159
},
141
160
"viewerLike": {
142
161
"type": "string",
143
162
"format": "at-uri",
144
163
"description": "URI of the viewer's like record on this comment, if any."
145
164
}
146
165
}
147
166
}
148
167
},
149
168
"$type": "com.atproto.lexicon.schema",
150
169
"lexicon": 1
151
170
}