mov.danabra.ProfileTab
Schema Diff
+14 -4
Compatibility Analysis
Breaking Changes Detected
3 breaking changes, 2 non-breaking changes.
Breaking Changes (3)
- ConstraintAdded ConstraintAdded { vertex_id: "mov.danabra.ProfileTab:input.tab", sort: "maxLength", value: "256" }
- ConstraintAdded ConstraintAdded { vertex_id: "mov.danabra.ProfileTab:input.tab", sort: "default", value: "posts_and_author_threads" }
- ConstraintAdded ConstraintAdded { vertex_id: "mov.danabra.ProfileTab:input.limit", sort: "default", value: "10" }
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "mov.danabra.ProfileTab:input.limit" }
- AddedEdge AddedEdge { src: "mov.danabra.ProfileTab:input", tgt: "mov.danabra.ProfileTab:input.limit", kind: "prop", name: Some("limit") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "mov.danabra.ProfileTab:input.limit" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "mov.danabra.ProfileTab:input.limit", sort: "default", value: "10" }
- ConstraintAdded ConstraintAdded { vertex_id: "mov.danabra.ProfileTab:input.tab", sort: "maxLength", value: "256" }
- ConstraintAdded ConstraintAdded { vertex_id: "mov.danabra.ProfileTab:input.tab", sort: "default", value: "posts_and_author_threads" }
Additional Notes
- Non-breaking: AddedEdge { src: "mov.danabra.ProfileTab:input", tgt: "mov.danabra.ProfileTab:input.limit", kind: "prop", name: Some("limit") }
1
1
{
2
2
"id": "mov.danabra.ProfileTab",
3
3
"defs": {
4
4
"main": {
5
5
"type": "procedure",
6
6
"input": {
7
7
"schema": {
8
8
"type": "object",
9
9
"required": [
10
-
"uri",
11
-
"tab"
10
+
"uri"
12
11
],
13
12
"properties": {
14
13
"tab": {
15
-
"type": "string"
14
+
"type": "string",
15
+
"default": "posts_and_author_threads",
16
+
"maxLength": 256,
17
+
"knownValues": [
18
+
"posts_and_author_threads",
19
+
"posts_and_replies"
20
+
]
16
21
},
17
22
"uri": {
18
23
"type": "string",
19
24
"format": "at-uri"
25
+
},
26
+
"limit": {
27
+
"type": "integer",
28
+
"default": 10
20
29
}
21
30
}
22
31
},
23
32
"encoding": "application/json"
24
33
},
25
34
"output": {
26
35
"schema": {
27
36
"ref": "at.inlay.defs#response",
28
37
"type": "ref"
29
38
},
30
39
"encoding": "application/json"
31
-
}
40
+
},
41
+
"description": "Render a profile tab"
32
42
}
33
43
},
34
44
"$type": "com.atproto.lexicon.schema",
35
45
"lexicon": 1
36
46
}