pub.leaflet.pages.canvas
Schema Diff
+4 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "pub.leaflet.pages.canvas#block.stackOrder" }
- AddedEdge AddedEdge { src: "pub.leaflet.pages.canvas#block", tgt: "pub.leaflet.pages.canvas#block.stackOrder", kind: "prop", name: Some("stackOrder") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "pub.leaflet.pages.canvas#block.stackOrder" }
Additional Notes
- Non-breaking: AddedEdge { src: "pub.leaflet.pages.canvas#block", tgt: "pub.leaflet.pages.canvas#block.stackOrder", kind: "prop", name: Some("stackOrder") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"block": {
5
5
"properties": {
6
6
"block": {
7
7
"refs": [
8
8
"pub.leaflet.blocks.iframe",
9
9
"pub.leaflet.blocks.html",
10
10
"pub.leaflet.blocks.text",
11
11
"pub.leaflet.blocks.blockquote",
12
12
"pub.leaflet.blocks.header",
13
13
"pub.leaflet.blocks.image",
14
14
"pub.leaflet.blocks.imageGallery",
15
15
"pub.leaflet.blocks.unorderedList",
16
16
"pub.leaflet.blocks.orderedList",
17
17
"pub.leaflet.blocks.website",
18
18
"pub.leaflet.blocks.math",
19
19
"pub.leaflet.blocks.code",
20
20
"pub.leaflet.blocks.horizontalRule",
21
21
"pub.leaflet.blocks.bskyPost",
22
22
"pub.leaflet.blocks.standardSitePost",
23
23
"pub.leaflet.blocks.standardSitePublication",
24
24
"pub.leaflet.blocks.page",
25
25
"pub.leaflet.blocks.poll",
26
26
"pub.leaflet.blocks.button",
27
27
"pub.leaflet.blocks.postsList",
28
28
"pub.leaflet.blocks.signup",
29
29
"pub.leaflet.blocks.recommendedPubs",
30
30
"pub.leaflet.blocks.membersOnlyDelimiter"
31
31
],
32
32
"type": "union"
33
33
},
34
34
"height": {
35
35
"type": "integer"
36
36
},
37
37
"rotation": {
38
38
"description": "The rotation of the block in degrees",
39
39
"type": "integer"
40
40
},
41
+
"stackOrder": {
42
+
"description": "Fractional index ordering this block against its siblings on the z axis. Blocks without one stack below every block with one, ordered by position.",
43
+
"type": "string"
44
+
},
41
45
"width": {
42
46
"type": "integer"
43
47
},
44
48
"x": {
45
49
"type": "integer"
46
50
},
47
51
"y": {
48
52
"type": "integer"
49
53
}
50
54
},
51
55
"required": [
52
56
"block",
53
57
"x",
54
58
"y",
55
59
"width"
56
60
],
57
61
"type": "object"
58
62
},
59
63
"main": {
60
64
"properties": {
61
65
"blocks": {
62
66
"items": {
63
67
"ref": "#block",
64
68
"type": "ref"
65
69
},
66
70
"type": "array"
67
71
},
68
72
"id": {
69
73
"type": "string"
70
74
}
71
75
},
72
76
"required": [
73
77
"blocks"
74
78
],
75
79
"type": "object"
76
80
},
77
81
"position": {
78
82
"properties": {
79
83
"block": {
80
84
"items": {
81
85
"type": "integer"
82
86
},
83
87
"type": "array"
84
88
},
85
89
"offset": {
86
90
"type": "integer"
87
91
}
88
92
},
89
93
"required": [
90
94
"block",
91
95
"offset"
92
96
],
93
97
"type": "object"
94
98
},
95
99
"quote": {
96
100
"properties": {
97
101
"end": {
98
102
"ref": "#position",
99
103
"type": "ref"
100
104
},
101
105
"start": {
102
106
"ref": "#position",
103
107
"type": "ref"
104
108
}
105
109
},
106
110
"required": [
107
111
"start",
108
112
"end"
109
113
],
110
114
"type": "object"
111
115
},
112
116
"textAlignCenter": {
113
117
"type": "token"
114
118
},
115
119
"textAlignLeft": {
116
120
"type": "token"
117
121
},
118
122
"textAlignRight": {
119
123
"type": "token"
120
124
}
121
125
},
122
126
"id": "pub.leaflet.pages.canvas",
123
127
"lexicon": 1
124
128
}