This repository has no description
1{
2 "lexicon": 1,
3 "id": "org.tangled.temp.focus.nextItem",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Mark the current focus notification as read and return the next one. Ends focus mode and returns no item when the queue is exhausted.",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": ["currentId"],
13 "properties": {
14 "currentId": {
15 "type": "integer",
16 "description": "ID of the notification just addressed, to be marked read."
17 }
18 }
19 }
20 },
21 "output": {
22 "encoding": "application/json",
23 "schema": {
24 "type": "object",
25 "properties": {
26 "notificationId": {
27 "type": "integer",
28 "description": "ID of the next notification to address. Absent when focus mode has ended."
29 },
30 "repoDid": {
31 "type": "string",
32 "format": "did",
33 "description": "DID of the repository the next item belongs to. Absent when focus mode has ended."
34 },
35 "issueAt": {
36 "type": "string",
37 "format": "at-uri",
38 "description": "AT-URI of the issue to navigate to, if the item is an issue."
39 },
40 "pullAt": {
41 "type": "string",
42 "format": "at-uri",
43 "description": "AT-URI of the pull to navigate to, if the item is a pull."
44 }
45 }
46 }
47 }
48 }
49 }
50}