social.colibri.beta.bridge.registration
Schema Diff
+4 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "social.colibri.beta.bridge.registration:body.mirrorModeration" }
- AddedEdge AddedEdge { src: "social.colibri.beta.bridge.registration:body", tgt: "social.colibri.beta.bridge.registration:body.mirrorModeration", kind: "prop", name: Some("mirrorModeration") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "social.colibri.beta.bridge.registration:body.mirrorModeration" }
Additional Notes
- Non-breaking: AddedEdge { src: "social.colibri.beta.bridge.registration:body", tgt: "social.colibri.beta.bridge.registration:body.mirrorModeration", kind: "prop", name: Some("mirrorModeration") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A bridge the community has paired with. Lives in the community's configuration space, so every member can see which bridges are connected and which channels they relay. Written only by the community.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"bridge": {
10
10
"description": "The bridge's DID, which signs its service auth.",
11
11
"format": "did",
12
12
"type": "string"
13
13
},
14
14
"createdAt": {
15
15
"description": "When the bridge was paired.",
16
16
"format": "datetime",
17
17
"type": "string"
18
18
},
19
19
"createdBy": {
20
20
"description": "The admin who paired the bridge.",
21
21
"format": "did",
22
22
"type": "string"
23
23
},
24
24
"enabled": {
25
25
"description": "Whether the bridge may currently write. An admin can pause a bridge without unlinking its channels.",
26
26
"type": "boolean"
27
27
},
28
28
"links": {
29
29
"description": "Channels the bridge may read and write.",
30
30
"items": {
31
31
"description": "A linked channel.",
32
32
"ref": "social.colibri.beta.bridge.defs#link",
33
33
"type": "ref"
34
34
},
35
35
"maxLength": 500,
36
36
"type": "array"
37
37
},
38
+
"mirrorModeration": {
39
+
"description": "Whether moderation crosses the bridge. When on, hiding a bridged message removes its original on the other service, and a moderator removing a relayed message there hides it here.",
40
+
"type": "boolean"
41
+
},
38
42
"platform": {
39
43
"description": "The service the bridge connects to.",
40
44
"maxLength": 64,
41
45
"type": "string"
42
46
},
43
47
"remoteSpace": {
44
48
"description": "The id of the server, workspace or network on the other service.",
45
49
"maxLength": 256,
46
50
"type": "string"
47
51
},
48
52
"remoteSpaceName": {
49
53
"description": "Its name on the other service when the bridge was paired.",
50
54
"maxLength": 128,
51
55
"type": "string"
52
56
},
53
57
"updatedAt": {
54
58
"description": "When the registration last changed.",
55
59
"format": "datetime",
56
60
"type": "string"
57
61
}
58
62
},
59
63
"required": [
60
64
"bridge",
61
65
"platform",
62
66
"remoteSpace",
63
67
"remoteSpaceName",
64
68
"links",
65
69
"enabled",
66
70
"createdBy",
67
71
"createdAt"
68
72
],
69
73
"type": "object"
70
74
},
71
75
"type": "record"
72
76
}
73
77
},
74
78
"id": "social.colibri.beta.bridge.registration",
75
79
"lexicon": 1
76
80
}