dev.knotless.getViewer
Schema Diff
+4 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "dev.knotless.getViewer:output.spaces" }
- AddedEdge AddedEdge { src: "dev.knotless.getViewer:output", tgt: "dev.knotless.getViewer:output.spaces", kind: "prop", name: Some("spaces") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "dev.knotless.getViewer:output.spaces" }
Additional Notes
- Non-breaking: AddedEdge { src: "dev.knotless.getViewer:output", tgt: "dev.knotless.getViewer:output.spaces", kind: "prop", name: Some("spaces") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "The account asking: by the session cookie the pages' login sets, or a service token. Nothing, for no one.",
6
6
"output": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
10
"accounts": {
11
11
"description": "The other accounts this browser is logged in to, which it can switch to without logging in again; absent when none.",
12
12
"items": {
13
13
"ref": "dev.knotless.defs#actorView",
14
14
"type": "ref"
15
15
},
16
16
"type": "array"
17
17
},
18
18
"actor": {
19
19
"description": "The account asking; absent when no one is.",
20
20
"ref": "dev.knotless.defs#actorView",
21
21
"type": "ref"
22
22
},
23
23
"admin": {
24
24
"description": "Whether the account asking is one of this appview's operators, who moderate it and see how it is used; absent when not.",
25
25
"type": "boolean"
26
26
},
27
27
"delegated": {
28
28
"description": "Whether this appview's gateway writes for the account asking, which delegated writes to it: collaborators push to its repositories through it, and runners land their merge queues. Absent when not.",
29
29
"type": "boolean"
30
30
},
31
31
"login": {
32
32
"description": "Whether this appview's pages can log people in: it is an OAuth client, with a public URL.",
33
33
"type": "boolean"
34
+
},
35
+
"spaces": {
36
+
"description": "Whether the account asking has a PDS with spaces, which private repositories live in; absent when no one asks, or this appview does not know yet.",
37
+
"type": "boolean"
34
38
}
35
39
},
36
40
"type": "object"
37
41
}
38
42
},
39
43
"type": "query"
40
44
}
41
45
},
42
46
"description": "Who is asking this appview, as its pages show it.",
43
47
"id": "dev.knotless.getViewer",
44
48
"lexicon": 1
45
49
}