app.didpic.notification.registerPush
Schema Diff
+9 -2
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
"id": "app.didpic.notification.registerPush",
3
3
"defs": {
4
4
"main": {
5
5
"type": "procedure",
6
6
"input": {
7
7
"schema": {
8
8
"type": "object",
9
9
"required": [
10
10
"token",
11
11
"platform"
12
12
],
13
13
"properties": {
14
+
"kind": {
15
+
"type": "string",
16
+
"knownValues": [
17
+
"expo",
18
+
"apns",
19
+
"fcm"
20
+
]
21
+
},
14
22
"token": {
15
23
"type": "string"
16
24
},
17
25
"platform": {
18
26
"type": "string",
19
27
"knownValues": [
20
28
"ios",
21
29
"android"
22
30
]
23
31
},
24
32
"accountsOnDevice": {
25
33
"type": "array",
26
34
"items": {
27
35
"type": "string",
28
36
"format": "did"
29
-
},
30
-
"description": "DIDs signed in on this device, for binding reconciliation."
37
+
}
31
38
}
32
39
}
33
40
},
34
41
"encoding": "application/json"
35
42
},
36
43
"description": "Bind a device push token to the authenticated viewer."
37
44
}
38
45
},
39
46
"$type": "com.atproto.lexicon.schema",
40
47
"lexicon": 1
41
48
}