@colibri-social/lexicons 2.17.0 → 2.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/generated/social/colibri/beta/actor/defs.defs.d.ts +8 -0
- package/dist/generated/social/colibri/beta/actor/defs.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/actor/defs.defs.js +1 -1
- package/dist/generated/social/colibri/beta/actor/defs.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/channel/defs.defs.d.ts +40 -0
- package/dist/generated/social/colibri/beta/channel/defs.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/channel/defs.defs.js +3 -0
- package/dist/generated/social/colibri/beta/channel/defs.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/channel/listMessages.defs.d.ts +8 -0
- package/dist/generated/social/colibri/beta/channel/listMessages.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/channel/listMessages.defs.js +2 -2
- package/dist/generated/social/colibri/beta/channel/listMessages.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/channel/listSummaries.d.ts +4 -0
- package/dist/generated/social/colibri/beta/channel/listSummaries.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/channel/listSummaries.defs.d.ts +29 -0
- package/dist/generated/social/colibri/beta/channel/listSummaries.defs.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/channel/listSummaries.defs.js +15 -0
- package/dist/generated/social/colibri/beta/channel/listSummaries.defs.js.map +1 -0
- package/dist/generated/social/colibri/beta/channel/listSummaries.js +7 -0
- package/dist/generated/social/colibri/beta/channel/listSummaries.js.map +1 -0
- package/dist/generated/social/colibri/beta/channel.d.ts +1 -0
- package/dist/generated/social/colibri/beta/channel.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/channel.js +1 -0
- package/dist/generated/social/colibri/beta/channel.js.map +1 -1
- package/dist/generated/social/colibri/beta/message.defs.d.ts +8 -0
- package/dist/generated/social/colibri/beta/message.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/message.defs.js +1 -1
- package/dist/generated/social/colibri/beta/message.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/notification/clear.d.ts +4 -0
- package/dist/generated/social/colibri/beta/notification/clear.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/notification/clear.defs.d.ts +37 -0
- package/dist/generated/social/colibri/beta/notification/clear.defs.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/notification/clear.defs.js +15 -0
- package/dist/generated/social/colibri/beta/notification/clear.defs.js.map +1 -0
- package/dist/generated/social/colibri/beta/notification/clear.js +7 -0
- package/dist/generated/social/colibri/beta/notification/clear.js.map +1 -0
- package/dist/generated/social/colibri/beta/notification/defs.defs.d.ts +4 -0
- package/dist/generated/social/colibri/beta/notification/defs.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/notification/defs.defs.js +1 -1
- package/dist/generated/social/colibri/beta/notification/defs.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/notification/markReadFromNotification.d.ts +4 -0
- package/dist/generated/social/colibri/beta/notification/markReadFromNotification.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/notification/markReadFromNotification.defs.d.ts +27 -0
- package/dist/generated/social/colibri/beta/notification/markReadFromNotification.defs.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/notification/markReadFromNotification.defs.js +15 -0
- package/dist/generated/social/colibri/beta/notification/markReadFromNotification.defs.js.map +1 -0
- package/dist/generated/social/colibri/beta/notification/markReadFromNotification.js +7 -0
- package/dist/generated/social/colibri/beta/notification/markReadFromNotification.js.map +1 -0
- package/dist/generated/social/colibri/beta/notification.d.ts +2 -0
- package/dist/generated/social/colibri/beta/notification.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/notification.js +2 -0
- package/dist/generated/social/colibri/beta/notification.js.map +1 -1
- package/dist/generated/social/colibri/beta/permissionMessaging.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/permissionMessaging.defs.js +1 -1
- package/dist/generated/social/colibri/beta/permissionMessaging.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/permissionNotification.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/permissionNotification.defs.js +1 -1
- package/dist/generated/social/colibri/beta/permissionNotification.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/permissionPush.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/permissionPush.defs.js +1 -1
- package/dist/generated/social/colibri/beta/permissionPush.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/sync/defs.defs.d.ts +24 -0
- package/dist/generated/social/colibri/beta/sync/defs.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/sync/defs.defs.js +4 -1
- package/dist/generated/social/colibri/beta/sync/defs.defs.js.map +1 -1
- package/lexicons/social/colibri/beta/actor/defs.json +8 -0
- package/lexicons/social/colibri/beta/channel/defs.json +45 -0
- package/lexicons/social/colibri/beta/channel/listMessages.json +10 -1
- package/lexicons/social/colibri/beta/channel/listSummaries.json +52 -0
- package/lexicons/social/colibri/beta/message.json +10 -0
- package/lexicons/social/colibri/beta/notification/clear.json +48 -0
- package/lexicons/social/colibri/beta/notification/defs.json +4 -0
- package/lexicons/social/colibri/beta/notification/markReadFromNotification.json +41 -0
- package/lexicons/social/colibri/beta/permissionMessaging.json +1 -0
- package/lexicons/social/colibri/beta/permissionNotification.json +2 -1
- package/lexicons/social/colibri/beta/permissionPush.json +2 -1
- package/lexicons/social/colibri/beta/sync/defs.json +26 -0
- package/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"lexicon": 1,
|
|
3
|
+
"id": "social.colibri.beta.notification.clear",
|
|
4
|
+
"defs": {
|
|
5
|
+
"main": {
|
|
6
|
+
"type": "procedure",
|
|
7
|
+
"description": "Clears the requesting user's inbox up to a point in time. Every notification raised at or before it is marked seen and left out of listNotifications, getUnreadCount and getUnseen from then on.",
|
|
8
|
+
"input": {
|
|
9
|
+
"encoding": "application/json",
|
|
10
|
+
"schema": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"required": ["clearedAt"],
|
|
13
|
+
"properties": {
|
|
14
|
+
"clearedAt": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": "datetime",
|
|
17
|
+
"description": "Notifications raised at or before this time are cleared. A time in the future is treated as now, and a time before an earlier clear leaves that clear in place."
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"output": {
|
|
23
|
+
"encoding": "application/json",
|
|
24
|
+
"schema": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"required": ["clearedAt", "unread"],
|
|
27
|
+
"properties": {
|
|
28
|
+
"clearedAt": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": "datetime",
|
|
31
|
+
"description": "The point the inbox is now cleared up to."
|
|
32
|
+
},
|
|
33
|
+
"unread": {
|
|
34
|
+
"type": "integer",
|
|
35
|
+
"description": "Number of unread notifications remaining."
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"errors": [
|
|
41
|
+
{
|
|
42
|
+
"name": "AuthRequired",
|
|
43
|
+
"description": "The request has no valid service auth."
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
"format": "space-ref",
|
|
32
32
|
"description": "The thread it happened in, when it happened in a thread rather than in the channel itself. `channel` stays the thread's parent channel, so a client can route to the thread inside it."
|
|
33
33
|
},
|
|
34
|
+
"threadName": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "The name of the thread in thread, when it is set and the thread is still indexed."
|
|
37
|
+
},
|
|
34
38
|
"community": {
|
|
35
39
|
"type": "string",
|
|
36
40
|
"format": "did",
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"lexicon": 1,
|
|
3
|
+
"id": "social.colibri.beta.notification.markReadFromNotification",
|
|
4
|
+
"defs": {
|
|
5
|
+
"main": {
|
|
6
|
+
"type": "procedure",
|
|
7
|
+
"description": "Marks a channel or thread read through the message a push notification announced, from the notification's Mark as read action. Takes no auth: the signed token from the push payload's readToken names the user, the channel and the message, and expires after seven days. Moves the user's read cursor forward, marks that channel's notifications through the message seen, and tells the user's sessions and push devices.",
|
|
8
|
+
"input": {
|
|
9
|
+
"encoding": "application/json",
|
|
10
|
+
"schema": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"required": ["token"],
|
|
13
|
+
"properties": {
|
|
14
|
+
"token": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"maxLength": 4096,
|
|
17
|
+
"description": "The readToken from the push payload."
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"output": {
|
|
23
|
+
"encoding": "application/json",
|
|
24
|
+
"schema": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"properties": {}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"errors": [
|
|
30
|
+
{
|
|
31
|
+
"name": "InvalidToken",
|
|
32
|
+
"description": "The token is malformed, its signature does not verify, or the channel it names no longer exists."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "ExpiredToken",
|
|
36
|
+
"description": "The token is older than seven days."
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
"social.colibri.beta.channel.listMessages",
|
|
74
74
|
"social.colibri.beta.channel.listReactions",
|
|
75
75
|
"social.colibri.beta.channel.listUnreadStatus",
|
|
76
|
+
"social.colibri.beta.channel.listSummaries",
|
|
76
77
|
"social.colibri.beta.channel.putReadCursors",
|
|
77
78
|
"social.colibri.beta.embed.getMetadata",
|
|
78
79
|
"social.colibri.beta.embed.searchGifs",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"social.colibri.beta.notification.getUnreadCount",
|
|
17
17
|
"social.colibri.beta.notification.getUnseen",
|
|
18
18
|
"social.colibri.beta.notification.updateSeen",
|
|
19
|
-
"social.colibri.beta.notification.updateSeenForMessage"
|
|
19
|
+
"social.colibri.beta.notification.updateSeenForMessage",
|
|
20
|
+
"social.colibri.beta.notification.clear"
|
|
20
21
|
]
|
|
21
22
|
}
|
|
22
23
|
]
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"inheritAud": true,
|
|
14
14
|
"lxm": [
|
|
15
15
|
"social.colibri.beta.notification.registerPush",
|
|
16
|
-
"social.colibri.beta.notification.unregisterPush"
|
|
16
|
+
"social.colibri.beta.notification.unregisterPush",
|
|
17
|
+
"social.colibri.beta.notification.markReadFromNotification"
|
|
17
18
|
]
|
|
18
19
|
}
|
|
19
20
|
]
|
|
@@ -444,6 +444,27 @@
|
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
446
|
},
|
|
447
|
+
"invitationEvent": {
|
|
448
|
+
"type": "object",
|
|
449
|
+
"description": "A community's invitation list changed. Only sent to members who can create invitations.",
|
|
450
|
+
"required": ["event", "community", "code"],
|
|
451
|
+
"properties": {
|
|
452
|
+
"event": {
|
|
453
|
+
"type": "string",
|
|
454
|
+
"description": "What happened.",
|
|
455
|
+
"knownValues": ["create", "delete"]
|
|
456
|
+
},
|
|
457
|
+
"community": {
|
|
458
|
+
"type": "string",
|
|
459
|
+
"format": "did",
|
|
460
|
+
"description": "The community."
|
|
461
|
+
},
|
|
462
|
+
"code": {
|
|
463
|
+
"type": "string",
|
|
464
|
+
"description": "The invitation code that was created or deleted."
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
},
|
|
447
468
|
"labelEvent": {
|
|
448
469
|
"type": "object",
|
|
449
470
|
"description": "A label was applied or retracted on a record in a subscribed space.",
|
|
@@ -527,6 +548,11 @@
|
|
|
527
548
|
"type": "string",
|
|
528
549
|
"format": "datetime",
|
|
529
550
|
"description": "The point everything was marked seen up to."
|
|
551
|
+
},
|
|
552
|
+
"clearedAt": {
|
|
553
|
+
"type": "string",
|
|
554
|
+
"format": "datetime",
|
|
555
|
+
"description": "Set when the user cleared their inbox. Notifications raised at or before this time are gone from it."
|
|
530
556
|
}
|
|
531
557
|
}
|
|
532
558
|
},
|