social.colibri.beta.actor.settings
Schema Diff
+3 -4
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 3 non-breaking changes.
Breaking Changes (2)
- KindChanged KindChanged { vertex_id: "social.colibri.beta.actor.settings:body.gifFavorites:items", old_kind: "string", new_kind: "ref" }
- ConstraintAdded ConstraintAdded { vertex_id: "social.colibri.beta.actor.settings:body.gifFavorites:items", sort: "ref", value: "social.colibri.beta.embed.defs#gifView" }
Non-Breaking Changes (3)
- AddedVertex AddedVertex { vertex_id: "social.colibri.beta.embed.defs#gifView" }
- AddedEdge AddedEdge { src: "social.colibri.beta.actor.settings:body.gifFavorites:items", tgt: "social.colibri.beta.embed.defs#gifView", kind: "ref", name: None }
- ConstraintRemoved ConstraintRemoved { vertex_id: "social.colibri.beta.actor.settings:body.gifFavorites:items", sort: "maxLength" }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "social.colibri.beta.embed.defs#gifView" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "social.colibri.beta.actor.settings:body.gifFavorites:items", sort: "ref", value: "social.colibri.beta.embed.defs#gifView" }
- ConstraintRemoved ConstraintRemoved { vertex_id: "social.colibri.beta.actor.settings:body.gifFavorites:items", sort: "maxLength" }
Additional Notes
- Breaking: KindChanged { vertex_id: "social.colibri.beta.actor.settings:body.gifFavorites:items", old_kind: "string", new_kind: "ref" }
- Non-breaking: AddedEdge { src: "social.colibri.beta.actor.settings:body.gifFavorites:items", tgt: "social.colibri.beta.embed.defs#gifView", kind: "ref", name: None }
1
1
{
2
2
"id": "social.colibri.beta.actor.settings",
3
3
"defs": {
4
4
"main": {
5
5
"key": "literal:self",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [],
10
10
"properties": {
11
11
"gifFavorites": {
12
12
"type": "array",
13
13
"items": {
14
-
"type": "string",
15
-
"maxLength": 256,
16
-
"description": "A GIF identifier."
14
+
"ref": "social.colibri.beta.embed.defs#gifView",
15
+
"type": "ref"
17
16
},
18
-
"description": "GIFs the user saved from the picker."
17
+
"description": "GIFs the user saved from the picker, stored whole. A saved GIF has to render without another lookup, and an identifier cannot be turned back into one: a GIF favourited from a chat message carries its own URL as the id rather than a provider key, so no provider can resolve it."
19
18
},
20
19
"communityOrder": {
21
20
"type": "array",
22
21
"items": {
23
22
"type": "string",
24
23
"format": "did",
25
24
"description": "A community."
26
25
},
27
26
"description": "The user's communities in their preferred sidebar order."
28
27
},
29
28
"notificationLevel": {
30
29
"type": "string",
31
30
"default": "all",
32
31
"description": "Which messages produce a notification.",
33
32
"knownValues": [
34
33
"all",
35
34
"mentionsAndReplies"
36
35
]
37
36
}
38
37
}
39
38
},
40
39
"description": "A user's Colibri settings."
41
40
}
42
41
},
43
42
"$type": "com.atproto.lexicon.schema",
44
43
"lexicon": 1
45
44
}