club.userstyles.alpha.userstyle
Schema Diff
+8 -1
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 2 non-breaking changes.
Breaking Changes (1)
- KindChanged KindChanged { vertex_id: "club.userstyles.alpha.userstyle:body.sourceCode", old_kind: "string", new_kind: "blob" }
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "club.userstyles.alpha.userstyle:body.ignoreUpdateUrl" }
- AddedEdge AddedEdge { src: "club.userstyles.alpha.userstyle:body", tgt: "club.userstyles.alpha.userstyle:body.ignoreUpdateUrl", kind: "prop", name: Some("ignoreUpdateUrl") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "club.userstyles.alpha.userstyle:body.ignoreUpdateUrl" }
Additional Notes
- Breaking: KindChanged { vertex_id: "club.userstyles.alpha.userstyle:body.sourceCode", old_kind: "string", new_kind: "blob" }
- Non-breaking: AddedEdge { src: "club.userstyles.alpha.userstyle:body", tgt: "club.userstyles.alpha.userstyle:body.ignoreUpdateUrl", kind: "prop", name: Some("ignoreUpdateUrl") }
1
1
{
2
2
"id": "club.userstyles.alpha.userstyle",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"title",
11
11
"sourceCode",
12
12
"createdAt"
13
13
],
14
14
"properties": {
15
15
"title": {
16
16
"type": "string",
17
17
"maxGraphemes": 140,
18
18
"minGraphemes": 1
19
19
},
20
20
"license": {
21
21
"type": "string",
22
22
"maxLength": 100
23
23
},
24
24
"createdAt": {
25
25
"type": "string",
26
26
"format": "datetime"
27
27
},
28
28
"updatedAt": {
29
29
"type": "string",
30
30
"format": "datetime"
31
31
},
32
32
"sourceCode": {
33
-
"type": "string"
33
+
"type": "blob",
34
+
"accept": [
35
+
"text/plain"
36
+
],
37
+
"maxSize": 5000000
34
38
},
35
39
"description": {
36
40
"type": "string",
37
41
"maxGraphemes": 300
38
42
},
39
43
"homepageUrl": {
40
44
"type": "string",
41
45
"format": "uri"
42
46
},
43
47
"upstreamUrl": {
44
48
"type": "string",
45
49
"format": "uri"
46
50
},
47
51
"previewImage": {
48
52
"type": "blob",
49
53
"accept": [
50
54
"image/*"
51
55
],
52
56
"maxSize": 1000000
57
+
},
58
+
"ignoreUpdateUrl": {
59
+
"type": "boolean"
53
60
}
54
61
}
55
62
},
56
63
"description": "A UserCSS userstyle."
57
64
}
58
65
},
59
66
"$type": "com.atproto.lexicon.schema",
60
67
"lexicon": 1
61
68
}