app.didpic.notification.registerPush
Schema Diff
+8 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "app.didpic.notification.registerPush:input.kind" }
- AddedEdge AddedEdge { src: "app.didpic.notification.registerPush:input", tgt: "app.didpic.notification.registerPush:input.kind", kind: "prop", name: Some("kind") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.didpic.notification.registerPush:input.kind" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.didpic.notification.registerPush:input", tgt: "app.didpic.notification.registerPush:input.kind", kind: "prop", name: Some("kind") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Bind a device push token to the authenticated viewer.",
6
6
"input": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
10
"accountsOnDevice": {
11
-
"description": "DIDs signed in on this device, for binding reconciliation.",
12
11
"items": {
13
12
"format": "did",
14
13
"type": "string"
15
14
},
16
15
"type": "array"
17
16
},
17
+
"kind": {
18
+
"knownValues": [
19
+
"expo",
20
+
"apns",
21
+
"fcm"
22
+
],
23
+
"type": "string"
24
+
},
18
25
"platform": {
19
26
"knownValues": [
20
27
"ios",
21
28
"android"
22
29
],
23
30
"type": "string"
24
31
},
25
32
"token": {
26
33
"type": "string"
27
34
}
28
35
},
29
36
"required": [
30
37
"token",
31
38
"platform"
32
39
],
33
40
"type": "object"
34
41
}
35
42
},
36
43
"type": "procedure"
37
44
}
38
45
},
39
46
"id": "app.didpic.notification.registerPush",
40
47
"lexicon": 1
41
48
}