com.pipobscure.bundle.like
Schema Diff
+22 -3
Compatibility Analysis
Backward Compatible
Backward compatible. 9 non-breaking changes.
Non-Breaking Changes (9)
- AddedVertex AddedVertex { vertex_id: "com.pipobscure.bundle.like:body.count" }
- AddedVertex AddedVertex { vertex_id: "com.pipobscure.bundle.like:body.posts" }
- AddedVertex AddedVertex { vertex_id: "com.pipobscure.bundle.like:body.posts:items" }
- AddedVertex AddedVertex { vertex_id: "com.pipobscure.bundle.like:body.updatedAt" }
- AddedEdge AddedEdge { src: "com.pipobscure.bundle.like:body", tgt: "com.pipobscure.bundle.like:body.count", kind: "prop", name: Some("count") }
- AddedEdge AddedEdge { src: "com.pipobscure.bundle.like:body", tgt: "com.pipobscure.bundle.like:body.posts", kind: "prop", name: Some("posts") }
- AddedEdge AddedEdge { src: "com.pipobscure.bundle.like:body", tgt: "com.pipobscure.bundle.like:body.updatedAt", kind: "prop", name: Some("updatedAt") }
- AddedEdge AddedEdge { src: "com.pipobscure.bundle.like:body.posts", tgt: "com.pipobscure.bundle.like:body.posts:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "com.pipobscure.bundle.like:body.posts:items", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "com.pipobscure.bundle.like:body.count" }AddedVertex { vertex_id: "com.pipobscure.bundle.like:body.posts" }AddedVertex { vertex_id: "com.pipobscure.bundle.like:body.posts:items" }AddedVertex { vertex_id: "com.pipobscure.bundle.like:body.updatedAt" }
Additional Notes
- Non-breaking: AddedEdge { src: "com.pipobscure.bundle.like:body", tgt: "com.pipobscure.bundle.like:body.count", kind: "prop", name: Some("count") }
- Non-breaking: AddedEdge { src: "com.pipobscure.bundle.like:body", tgt: "com.pipobscure.bundle.like:body.posts", kind: "prop", name: Some("posts") }
- Non-breaking: AddedEdge { src: "com.pipobscure.bundle.like:body", tgt: "com.pipobscure.bundle.like:body.updatedAt", kind: "prop", name: Some("updatedAt") }
- Non-breaking: AddedEdge { src: "com.pipobscure.bundle.like:body.posts", tgt: "com.pipobscure.bundle.like:body.posts:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "com.pipobscure.bundle.like:body.posts:items", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "The repository's owner likes an app: a star for it, across its releases. It is of the app's listing (com.pipobscure.bundle.listing), and comes with a post from the same account saying so. The record key is the sha256 of the listing's at:// address in lowercase hex, so an account likes an app once. A like vouches for nothing; nothing installs or refuses by it.",
5
+
"description": "The repository's owner likes an app: a star for it, across its releases. It is of the app's listing (com.pipobscure.bundle.listing), and each like comes with a post from the same account saying so. The record key is the sha256 of the listing's at:// address in lowercase hex, so an account has one like of an app; liking it again counts on that record and lists the new post. A like vouches for nothing; nothing installs or refuses by it.",
6
6
"key": "any",
7
7
"record": {
8
8
"properties": {
9
+
"count": {
10
+
"description": "How many times the account has liked the app. It counts on past the posts listed. Absent, as written by 0.2.0–0.2.1, it is 1.",
11
+
"minimum": 1,
12
+
"type": "integer"
13
+
},
9
14
"createdAt": {
10
-
"description": "When the like was made, by the liker's own clock.",
15
+
"description": "When the app was first liked, by the liker's own clock.",
11
16
"format": "datetime",
12
17
"type": "string"
13
18
},
14
19
"post": {
15
-
"description": "The post that says so, from the same account.",
20
+
"description": "The post that says so, as written by 0.2.0–0.2.1, before likes counted; read as posts: [post]. No longer written.",
16
21
"ref": "com.atproto.repo.strongRef",
17
22
"type": "ref"
18
23
},
24
+
"posts": {
25
+
"description": "The posts that say so, from the same account, oldest first: one for each like, the newest 100 of them.",
26
+
"items": {
27
+
"ref": "com.atproto.repo.strongRef",
28
+
"type": "ref"
29
+
},
30
+
"maxLength": 100,
31
+
"type": "array"
32
+
},
19
33
"subject": {
20
34
"description": "The at:// address of the listing of the app liked.",
21
35
"format": "at-uri",
22
36
"type": "string"
37
+
},
38
+
"updatedAt": {
39
+
"description": "When it was last liked, by the liker's own clock.",
40
+
"format": "datetime",
41
+
"type": "string"
23
42
}
24
43
},
25
44
"required": [
26
45
"subject",
27
46
"createdAt"
28
47
],
29
48
"type": "object"
30
49
},
31
50
"type": "record"
32
51
}
33
52
},
34
53
"id": "com.pipobscure.bundle.like",
35
54
"lexicon": 1
36
55
}