social.colibri.beta.actor.mute
Schema Diff
+7 -3
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 9 non-breaking changes.
Breaking Changes (1)
- KindChanged KindChanged { vertex_id: "social.colibri.beta.actor.mute:body.subject", old_kind: "string", new_kind: "union" }
Non-Breaking Changes (9)
- AddedVertex AddedVertex { vertex_id: "social.colibri.beta.actor.defs#mutedActor" }
- AddedVertex AddedVertex { vertex_id: "social.colibri.beta.actor.defs#mutedChannel" }
- AddedVertex AddedVertex { vertex_id: "social.colibri.beta.actor.mute:body.subject:variant0" }
- AddedVertex AddedVertex { vertex_id: "social.colibri.beta.actor.mute:body.subject:variant1" }
- AddedEdge AddedEdge { src: "social.colibri.beta.actor.mute:body.subject", tgt: "social.colibri.beta.actor.mute:body.subject:variant0", kind: "variant", name: Some("social.colibri.beta.actor.defs#mutedActor") }
- AddedEdge AddedEdge { src: "social.colibri.beta.actor.mute:body.subject", tgt: "social.colibri.beta.actor.mute:body.subject:variant1", kind: "variant", name: Some("social.colibri.beta.actor.defs#mutedChannel") }
- AddedEdge AddedEdge { src: "social.colibri.beta.actor.mute:body.subject:variant0", tgt: "social.colibri.beta.actor.defs#mutedActor", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "social.colibri.beta.actor.mute:body.subject:variant1", tgt: "social.colibri.beta.actor.defs#mutedChannel", kind: "ref", name: None }
- ConstraintRemoved ConstraintRemoved { vertex_id: "social.colibri.beta.actor.mute:body.subject", sort: "format" }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "social.colibri.beta.actor.defs#mutedActor" }AddedVertex { vertex_id: "social.colibri.beta.actor.defs#mutedChannel" }AddedVertex { vertex_id: "social.colibri.beta.actor.mute:body.subject:variant0" }AddedVertex { vertex_id: "social.colibri.beta.actor.mute:body.subject:variant1" }
Constraint Changes
- ConstraintRemoved ConstraintRemoved { vertex_id: "social.colibri.beta.actor.mute:body.subject", sort: "format" }
Additional Notes
- Breaking: KindChanged { vertex_id: "social.colibri.beta.actor.mute:body.subject", old_kind: "string", new_kind: "union" }
- Non-breaking: AddedEdge { src: "social.colibri.beta.actor.mute:body.subject", tgt: "social.colibri.beta.actor.mute:body.subject:variant0", kind: "variant", name: Some("social.colibri.beta.actor.defs#mutedActor") }
- Non-breaking: AddedEdge { src: "social.colibri.beta.actor.mute:body.subject", tgt: "social.colibri.beta.actor.mute:body.subject:variant1", kind: "variant", name: Some("social.colibri.beta.actor.defs#mutedChannel") }
- Non-breaking: AddedEdge { src: "social.colibri.beta.actor.mute:body.subject:variant0", tgt: "social.colibri.beta.actor.defs#mutedActor", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "social.colibri.beta.actor.mute:body.subject:variant1", tgt: "social.colibri.beta.actor.defs#mutedChannel", kind: "ref", name: None }
1
1
{
2
2
"id": "social.colibri.beta.actor.mute",
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
"subject",
11
11
"createdAt"
12
12
],
13
13
"properties": {
14
14
"subject": {
15
-
"type": "string",
16
-
"format": "did",
17
-
"description": "The muted user or community."
15
+
"refs": [
16
+
"social.colibri.beta.actor.defs#mutedActor",
17
+
"social.colibri.beta.actor.defs#mutedChannel"
18
+
],
19
+
"type": "union",
20
+
"closed": true,
21
+
"description": "What is muted. A user or a community is named by DID, a channel by its space."
18
22
},
19
23
"createdAt": {
20
24
"type": "string",
21
25
"format": "datetime",
22
26
"description": "When the mute was created."
23
27
}
24
28
}
25
29
},
26
30
"description": "A muted subject. One record per mute, so unmuting is a delete rather than a rewrite of a list."
27
31
}
28
32
},
29
33
"$type": "com.atproto.lexicon.schema",
30
34
"lexicon": 1
31
35
}