@colibri-social/lexicons 2.13.0 → 2.15.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/clientPreferences.d.ts +4 -0
- package/dist/generated/social/colibri/beta/actor/clientPreferences.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/actor/clientPreferences.defs.d.ts +193 -0
- package/dist/generated/social/colibri/beta/actor/clientPreferences.defs.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/actor/clientPreferences.defs.js +24 -0
- package/dist/generated/social/colibri/beta/actor/clientPreferences.defs.js.map +1 -0
- package/dist/generated/social/colibri/beta/actor/clientPreferences.js +7 -0
- package/dist/generated/social/colibri/beta/actor/clientPreferences.js.map +1 -0
- package/dist/generated/social/colibri/beta/actor/composerState.d.ts +4 -0
- package/dist/generated/social/colibri/beta/actor/composerState.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/actor/composerState.defs.d.ts +96 -0
- package/dist/generated/social/colibri/beta/actor/composerState.defs.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/actor/composerState.defs.js +25 -0
- package/dist/generated/social/colibri/beta/actor/composerState.defs.js.map +1 -0
- package/dist/generated/social/colibri/beta/actor/composerState.js +7 -0
- package/dist/generated/social/colibri/beta/actor/composerState.js.map +1 -0
- package/dist/generated/social/colibri/beta/actor/defs.defs.d.ts +161 -1
- package/dist/generated/social/colibri/beta/actor/defs.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/actor/defs.defs.js +19 -1
- package/dist/generated/social/colibri/beta/actor/defs.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/actor/mute.defs.d.ts +12 -12
- package/dist/generated/social/colibri/beta/actor/mute.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/actor/mute.defs.js +1 -1
- package/dist/generated/social/colibri/beta/actor/mute.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/actor/putSettings.defs.d.ts +6 -2
- package/dist/generated/social/colibri/beta/actor/putSettings.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/actor/putSettings.defs.js +1 -1
- package/dist/generated/social/colibri/beta/actor/putSettings.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/actor/putSpaceNotification.d.ts +4 -0
- package/dist/generated/social/colibri/beta/actor/putSpaceNotification.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/actor/putSpaceNotification.defs.d.ts +40 -0
- package/dist/generated/social/colibri/beta/actor/putSpaceNotification.defs.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/actor/putSpaceNotification.defs.js +16 -0
- package/dist/generated/social/colibri/beta/actor/putSpaceNotification.defs.js.map +1 -0
- package/dist/generated/social/colibri/beta/actor/putSpaceNotification.js +7 -0
- package/dist/generated/social/colibri/beta/actor/putSpaceNotification.js.map +1 -0
- package/dist/generated/social/colibri/beta/actor/settings.defs.d.ts +11 -11
- package/dist/generated/social/colibri/beta/actor/settings.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/actor/settings.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/actor/spaceNotification.d.ts +4 -0
- package/dist/generated/social/colibri/beta/actor/spaceNotification.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/actor/spaceNotification.defs.d.ts +80 -0
- package/dist/generated/social/colibri/beta/actor/spaceNotification.defs.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/actor/spaceNotification.defs.js +23 -0
- package/dist/generated/social/colibri/beta/actor/spaceNotification.defs.js.map +1 -0
- package/dist/generated/social/colibri/beta/actor/spaceNotification.js +7 -0
- package/dist/generated/social/colibri/beta/actor/spaceNotification.js.map +1 -0
- package/dist/generated/social/colibri/beta/actor.d.ts +4 -0
- package/dist/generated/social/colibri/beta/actor.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/actor.js +4 -0
- package/dist/generated/social/colibri/beta/actor.js.map +1 -1
- package/dist/generated/social/colibri/beta/bridge/defs.defs.d.ts +4 -0
- package/dist/generated/social/colibri/beta/bridge/defs.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/bridge/defs.defs.js +1 -1
- package/dist/generated/social/colibri/beta/bridge/defs.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/category/create.defs.d.ts +26 -0
- package/dist/generated/social/colibri/beta/category/create.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/category/create.defs.js +1 -1
- package/dist/generated/social/colibri/beta/category/create.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/category/update.defs.d.ts +27 -1
- package/dist/generated/social/colibri/beta/category/update.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/category/update.defs.js +2 -2
- package/dist/generated/social/colibri/beta/category/update.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/category.defs.d.ts +70 -0
- package/dist/generated/social/colibri/beta/category.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/category.defs.js +1 -1
- package/dist/generated/social/colibri/beta/category.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/channel/defs.defs.d.ts +4 -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 +1 -1
- package/dist/generated/social/colibri/beta/channel/defs.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/channel/putReadCursors.defs.d.ts +1 -1
- package/dist/generated/social/colibri/beta/channel/putReadCursors.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/channel/putReadCursors.defs.js +1 -1
- package/dist/generated/social/colibri/beta/channel/putReadCursors.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/community/defs.defs.d.ts +28 -0
- package/dist/generated/social/colibri/beta/community/defs.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/community/defs.defs.js +2 -2
- package/dist/generated/social/colibri/beta/community/defs.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/community/settings.defs.d.ts +14 -0
- package/dist/generated/social/colibri/beta/community/settings.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/community/settings.defs.js +1 -1
- package/dist/generated/social/colibri/beta/community/settings.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/community/transferOwnership.d.ts +4 -0
- package/dist/generated/social/colibri/beta/community/transferOwnership.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/community/transferOwnership.defs.d.ts +40 -0
- package/dist/generated/social/colibri/beta/community/transferOwnership.defs.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/community/transferOwnership.defs.js +16 -0
- package/dist/generated/social/colibri/beta/community/transferOwnership.defs.js.map +1 -0
- package/dist/generated/social/colibri/beta/community/transferOwnership.js +7 -0
- package/dist/generated/social/colibri/beta/community/transferOwnership.js.map +1 -0
- package/dist/generated/social/colibri/beta/community/update.defs.d.ts +6 -0
- package/dist/generated/social/colibri/beta/community/update.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/community/update.defs.js +1 -1
- package/dist/generated/social/colibri/beta/community/update.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/community.d.ts +1 -0
- package/dist/generated/social/colibri/beta/community.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/community.js +1 -0
- package/dist/generated/social/colibri/beta/community.js.map +1 -1
- package/dist/generated/social/colibri/beta/message.defs.d.ts +4 -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/permissionAccount.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/permissionAccount.defs.js +1 -1
- package/dist/generated/social/colibri/beta/permissionAccount.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/permissionCommunity.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/permissionCommunity.defs.js +1 -1
- package/dist/generated/social/colibri/beta/permissionCommunity.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/richtext/facet.defs.d.ts +27 -11
- package/dist/generated/social/colibri/beta/richtext/facet.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/richtext/facet.defs.js +4 -1
- package/dist/generated/social/colibri/beta/richtext/facet.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/sync/defs.defs.d.ts +21 -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 +5 -1
- package/dist/generated/social/colibri/beta/sync/defs.defs.js.map +1 -1
- package/dist/nsids.d.ts +3 -0
- package/dist/nsids.d.ts.map +1 -1
- package/dist/nsids.js +3 -0
- package/dist/nsids.js.map +1 -1
- package/lexicons/social/colibri/beta/actor/clientPreferences.json +78 -0
- package/lexicons/social/colibri/beta/actor/composerState.json +41 -0
- package/lexicons/social/colibri/beta/actor/defs.json +199 -1
- package/lexicons/social/colibri/beta/actor/mute.json +3 -2
- package/lexicons/social/colibri/beta/actor/putSettings.json +11 -1
- package/lexicons/social/colibri/beta/actor/putSpaceNotification.json +57 -0
- package/lexicons/social/colibri/beta/actor/settings.json +1 -1
- package/lexicons/social/colibri/beta/actor/spaceNotification.json +27 -0
- package/lexicons/social/colibri/beta/bridge/defs.json +5 -0
- package/lexicons/social/colibri/beta/category/create.json +41 -1
- package/lexicons/social/colibri/beta/category/update.json +42 -2
- package/lexicons/social/colibri/beta/category.json +41 -0
- package/lexicons/social/colibri/beta/channel/defs.json +4 -0
- package/lexicons/social/colibri/beta/channel/putReadCursors.json +2 -2
- package/lexicons/social/colibri/beta/community/defs.json +49 -0
- package/lexicons/social/colibri/beta/community/settings.json +6 -0
- package/lexicons/social/colibri/beta/community/transferOwnership.json +78 -0
- package/lexicons/social/colibri/beta/community/update.json +5 -0
- package/lexicons/social/colibri/beta/message.json +4 -0
- package/lexicons/social/colibri/beta/permissionAccount.json +5 -1
- package/lexicons/social/colibri/beta/permissionCommunity.json +1 -0
- package/lexicons/social/colibri/beta/richtext/facet.json +19 -1
- package/lexicons/social/colibri/beta/sync/defs.json +25 -0
- package/package.json +1 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"lexicon": 1,
|
|
3
|
+
"id": "social.colibri.beta.actor.clientPreferences",
|
|
4
|
+
"defs": {
|
|
5
|
+
"main": {
|
|
6
|
+
"type": "record",
|
|
7
|
+
"description": "Client settings that follow the user across devices. Every field is optional and a client applies its own default for an absent one.",
|
|
8
|
+
"key": "literal:self",
|
|
9
|
+
"record": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"required": [],
|
|
12
|
+
"properties": {
|
|
13
|
+
"controls": {
|
|
14
|
+
"type": "ref",
|
|
15
|
+
"ref": "social.colibri.beta.actor.defs#controls",
|
|
16
|
+
"description": "Touch gestures in a channel."
|
|
17
|
+
},
|
|
18
|
+
"theme": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"knownValues": ["system", "dark", "light"],
|
|
21
|
+
"description": "The color theme. system follows the operating system."
|
|
22
|
+
},
|
|
23
|
+
"messagePreviews": {
|
|
24
|
+
"type": "boolean",
|
|
25
|
+
"description": "Whether the channel list shows the latest message under each channel name."
|
|
26
|
+
},
|
|
27
|
+
"linkEmbedsByDefault": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"description": "Whether a link in a new message gets a preview by default."
|
|
30
|
+
},
|
|
31
|
+
"warnOnExternalLinks": {
|
|
32
|
+
"type": "boolean",
|
|
33
|
+
"description": "Whether opening a link to another site asks for confirmation first."
|
|
34
|
+
},
|
|
35
|
+
"blueskyClient": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"maxLength": 64,
|
|
38
|
+
"knownValues": [
|
|
39
|
+
"anisota",
|
|
40
|
+
"blacksky",
|
|
41
|
+
"bluesky",
|
|
42
|
+
"deer",
|
|
43
|
+
"mu",
|
|
44
|
+
"northsky",
|
|
45
|
+
"witchsky",
|
|
46
|
+
"custom"
|
|
47
|
+
],
|
|
48
|
+
"description": "The client that Bluesky posts and profiles open in."
|
|
49
|
+
},
|
|
50
|
+
"customBlueskyClientBase": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"maxLength": 253,
|
|
53
|
+
"description": "The domain of the client used when blueskyClient is custom."
|
|
54
|
+
},
|
|
55
|
+
"developerMode": {
|
|
56
|
+
"type": "boolean",
|
|
57
|
+
"description": "Whether the client shows identifiers and links to inspect records."
|
|
58
|
+
},
|
|
59
|
+
"voiceView": {
|
|
60
|
+
"type": "ref",
|
|
61
|
+
"ref": "social.colibri.beta.actor.defs#voiceView",
|
|
62
|
+
"description": "Options for voice channels."
|
|
63
|
+
},
|
|
64
|
+
"experiments": {
|
|
65
|
+
"type": "array",
|
|
66
|
+
"maxLength": 64,
|
|
67
|
+
"items": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"maxLength": 64,
|
|
70
|
+
"description": "An experiment id."
|
|
71
|
+
},
|
|
72
|
+
"description": "The experiments the user turned on."
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"lexicon": 1,
|
|
3
|
+
"id": "social.colibri.beta.actor.composerState",
|
|
4
|
+
"defs": {
|
|
5
|
+
"main": {
|
|
6
|
+
"type": "record",
|
|
7
|
+
"description": "Emoji usage, skin tone and recent GIFs, kept apart from social.colibri.beta.actor.clientPreferences because it changes with every message.",
|
|
8
|
+
"key": "literal:self",
|
|
9
|
+
"record": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"required": [],
|
|
12
|
+
"properties": {
|
|
13
|
+
"emojiUsage": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"maxLength": 50,
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "ref",
|
|
18
|
+
"ref": "social.colibri.beta.actor.defs#emojiUse"
|
|
19
|
+
},
|
|
20
|
+
"description": "The emoji the user picks most, with counts."
|
|
21
|
+
},
|
|
22
|
+
"skinTone": {
|
|
23
|
+
"type": "integer",
|
|
24
|
+
"minimum": 0,
|
|
25
|
+
"maximum": 5,
|
|
26
|
+
"description": "The skin tone for emoji that support one. 0 is the default yellow."
|
|
27
|
+
},
|
|
28
|
+
"recentGifs": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"maxLength": 24,
|
|
31
|
+
"items": {
|
|
32
|
+
"type": "ref",
|
|
33
|
+
"ref": "social.colibri.beta.embed.defs#gifView"
|
|
34
|
+
},
|
|
35
|
+
"description": "The GIFs the user sent last, newest first, stored whole."
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
"notificationLevel": {
|
|
209
209
|
"type": "string",
|
|
210
210
|
"description": "Which messages produce a notification.",
|
|
211
|
-
"knownValues": ["all", "mentionsAndReplies"]
|
|
211
|
+
"knownValues": ["all", "mentionsAndReplies", "nothing"]
|
|
212
212
|
},
|
|
213
213
|
"communityOrder": {
|
|
214
214
|
"type": "array",
|
|
@@ -238,6 +238,24 @@
|
|
|
238
238
|
"shareActivity": {
|
|
239
239
|
"type": "boolean",
|
|
240
240
|
"description": "Whether the AppView may read what the user is listening to and show it to others."
|
|
241
|
+
},
|
|
242
|
+
"spaceNotifications": {
|
|
243
|
+
"type": "array",
|
|
244
|
+
"items": {
|
|
245
|
+
"type": "ref",
|
|
246
|
+
"ref": "#spaceNotification"
|
|
247
|
+
},
|
|
248
|
+
"description": "Notification levels the user set for single communities. A community without an entry follows notificationLevel."
|
|
249
|
+
},
|
|
250
|
+
"clientPreferences": {
|
|
251
|
+
"type": "ref",
|
|
252
|
+
"ref": "#clientPreferences",
|
|
253
|
+
"description": "Client settings that follow the user across devices."
|
|
254
|
+
},
|
|
255
|
+
"composerState": {
|
|
256
|
+
"type": "ref",
|
|
257
|
+
"ref": "#composerState",
|
|
258
|
+
"description": "Emoji usage, skin tone and recent GIFs."
|
|
241
259
|
}
|
|
242
260
|
}
|
|
243
261
|
},
|
|
@@ -294,6 +312,186 @@
|
|
|
294
312
|
"description": "The muted thread's space."
|
|
295
313
|
}
|
|
296
314
|
}
|
|
315
|
+
},
|
|
316
|
+
"spaceNotification": {
|
|
317
|
+
"type": "object",
|
|
318
|
+
"description": "A notification level for one community.",
|
|
319
|
+
"required": ["community", "level"],
|
|
320
|
+
"properties": {
|
|
321
|
+
"community": {
|
|
322
|
+
"type": "string",
|
|
323
|
+
"format": "did",
|
|
324
|
+
"description": "The community."
|
|
325
|
+
},
|
|
326
|
+
"level": {
|
|
327
|
+
"type": "string",
|
|
328
|
+
"knownValues": ["all", "mentionsAndReplies", "nothing"],
|
|
329
|
+
"description": "Which messages in this community produce a notification."
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"clientPreferences": {
|
|
334
|
+
"type": "object",
|
|
335
|
+
"description": "Client settings that follow the user across devices. Every field is optional and a client applies its own default for an absent one.",
|
|
336
|
+
"properties": {
|
|
337
|
+
"controls": {
|
|
338
|
+
"type": "ref",
|
|
339
|
+
"ref": "#controls",
|
|
340
|
+
"description": "Touch gestures in a channel."
|
|
341
|
+
},
|
|
342
|
+
"theme": {
|
|
343
|
+
"type": "string",
|
|
344
|
+
"knownValues": ["system", "dark", "light"],
|
|
345
|
+
"description": "The color theme. system follows the operating system."
|
|
346
|
+
},
|
|
347
|
+
"messagePreviews": {
|
|
348
|
+
"type": "boolean",
|
|
349
|
+
"description": "Whether the channel list shows the latest message under each channel name."
|
|
350
|
+
},
|
|
351
|
+
"linkEmbedsByDefault": {
|
|
352
|
+
"type": "boolean",
|
|
353
|
+
"description": "Whether a link in a new message gets a preview by default."
|
|
354
|
+
},
|
|
355
|
+
"warnOnExternalLinks": {
|
|
356
|
+
"type": "boolean",
|
|
357
|
+
"description": "Whether opening a link to another site asks for confirmation first."
|
|
358
|
+
},
|
|
359
|
+
"blueskyClient": {
|
|
360
|
+
"type": "string",
|
|
361
|
+
"maxLength": 64,
|
|
362
|
+
"knownValues": [
|
|
363
|
+
"anisota",
|
|
364
|
+
"blacksky",
|
|
365
|
+
"bluesky",
|
|
366
|
+
"deer",
|
|
367
|
+
"mu",
|
|
368
|
+
"northsky",
|
|
369
|
+
"witchsky",
|
|
370
|
+
"custom"
|
|
371
|
+
],
|
|
372
|
+
"description": "The client that Bluesky posts and profiles open in."
|
|
373
|
+
},
|
|
374
|
+
"customBlueskyClientBase": {
|
|
375
|
+
"type": "string",
|
|
376
|
+
"maxLength": 253,
|
|
377
|
+
"description": "The domain of the client used when blueskyClient is custom."
|
|
378
|
+
},
|
|
379
|
+
"developerMode": {
|
|
380
|
+
"type": "boolean",
|
|
381
|
+
"description": "Whether the client shows identifiers and links to inspect records."
|
|
382
|
+
},
|
|
383
|
+
"voiceView": {
|
|
384
|
+
"type": "ref",
|
|
385
|
+
"ref": "#voiceView",
|
|
386
|
+
"description": "Options for voice channels."
|
|
387
|
+
},
|
|
388
|
+
"experiments": {
|
|
389
|
+
"type": "array",
|
|
390
|
+
"maxLength": 64,
|
|
391
|
+
"items": {
|
|
392
|
+
"type": "string",
|
|
393
|
+
"maxLength": 64,
|
|
394
|
+
"description": "An experiment id."
|
|
395
|
+
},
|
|
396
|
+
"description": "The experiments the user turned on."
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"controls": {
|
|
401
|
+
"type": "object",
|
|
402
|
+
"description": "Touch gestures in a channel.",
|
|
403
|
+
"properties": {
|
|
404
|
+
"swipeLeftAction": {
|
|
405
|
+
"type": "string",
|
|
406
|
+
"knownValues": ["members", "reply"],
|
|
407
|
+
"description": "What swiping left on a message does."
|
|
408
|
+
},
|
|
409
|
+
"doubleTapEnabled": {
|
|
410
|
+
"type": "boolean",
|
|
411
|
+
"description": "Whether double tapping a message does anything."
|
|
412
|
+
},
|
|
413
|
+
"doubleTapAction": {
|
|
414
|
+
"type": "string",
|
|
415
|
+
"knownValues": ["react", "editOrReply"],
|
|
416
|
+
"description": "What double tapping a message does."
|
|
417
|
+
},
|
|
418
|
+
"doubleTapReactionEmoji": {
|
|
419
|
+
"type": "string",
|
|
420
|
+
"maxLength": 64,
|
|
421
|
+
"maxGraphemes": 1,
|
|
422
|
+
"description": "The emoji a double tap reacts with."
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
"voiceView": {
|
|
427
|
+
"type": "object",
|
|
428
|
+
"description": "Options for voice channels.",
|
|
429
|
+
"properties": {
|
|
430
|
+
"confirmJoin": {
|
|
431
|
+
"type": "boolean",
|
|
432
|
+
"description": "Whether opening a voice channel waits for the user to press join."
|
|
433
|
+
},
|
|
434
|
+
"showNonVideoParticipants": {
|
|
435
|
+
"type": "boolean",
|
|
436
|
+
"description": "Whether the call grid shows participants without video."
|
|
437
|
+
},
|
|
438
|
+
"showOwnCamera": {
|
|
439
|
+
"type": "boolean",
|
|
440
|
+
"description": "Whether the call grid shows the user's own camera."
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
"composerState": {
|
|
445
|
+
"type": "object",
|
|
446
|
+
"description": "Emoji usage, skin tone and recent GIFs.",
|
|
447
|
+
"properties": {
|
|
448
|
+
"emojiUsage": {
|
|
449
|
+
"type": "array",
|
|
450
|
+
"maxLength": 50,
|
|
451
|
+
"items": {
|
|
452
|
+
"type": "ref",
|
|
453
|
+
"ref": "#emojiUse"
|
|
454
|
+
},
|
|
455
|
+
"description": "The emoji the user picks most, with counts."
|
|
456
|
+
},
|
|
457
|
+
"skinTone": {
|
|
458
|
+
"type": "integer",
|
|
459
|
+
"minimum": 0,
|
|
460
|
+
"maximum": 5,
|
|
461
|
+
"description": "The skin tone for emoji that support one. 0 is the default yellow."
|
|
462
|
+
},
|
|
463
|
+
"recentGifs": {
|
|
464
|
+
"type": "array",
|
|
465
|
+
"maxLength": 24,
|
|
466
|
+
"items": {
|
|
467
|
+
"type": "ref",
|
|
468
|
+
"ref": "social.colibri.beta.embed.defs#gifView"
|
|
469
|
+
},
|
|
470
|
+
"description": "The GIFs the user sent last, newest first, stored whole."
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
"emojiUse": {
|
|
475
|
+
"type": "object",
|
|
476
|
+
"description": "How often and how recently the user picked one emoji.",
|
|
477
|
+
"required": ["emoji", "count", "lastUsed"],
|
|
478
|
+
"properties": {
|
|
479
|
+
"emoji": {
|
|
480
|
+
"type": "string",
|
|
481
|
+
"maxLength": 512,
|
|
482
|
+
"description": "A Unicode emoji, or a custom emoji's AT URI."
|
|
483
|
+
},
|
|
484
|
+
"count": {
|
|
485
|
+
"type": "integer",
|
|
486
|
+
"minimum": 1,
|
|
487
|
+
"description": "How many times the user picked it."
|
|
488
|
+
},
|
|
489
|
+
"lastUsed": {
|
|
490
|
+
"type": "string",
|
|
491
|
+
"format": "datetime",
|
|
492
|
+
"description": "When the user last picked it."
|
|
493
|
+
}
|
|
494
|
+
}
|
|
297
495
|
}
|
|
298
496
|
}
|
|
299
497
|
}
|
|
@@ -14,10 +14,11 @@
|
|
|
14
14
|
"type": "union",
|
|
15
15
|
"refs": [
|
|
16
16
|
"social.colibri.beta.actor.defs#mutedActor",
|
|
17
|
-
"social.colibri.beta.actor.defs#mutedChannel"
|
|
17
|
+
"social.colibri.beta.actor.defs#mutedChannel",
|
|
18
|
+
"social.colibri.beta.actor.defs#mutedThread"
|
|
18
19
|
],
|
|
19
20
|
"closed": true,
|
|
20
|
-
"description": "What is muted. A user or a community is named by DID, a channel by its space."
|
|
21
|
+
"description": "What is muted. A user or a community is named by DID, a channel or a thread by its space."
|
|
21
22
|
},
|
|
22
23
|
"createdAt": {
|
|
23
24
|
"type": "string",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"notificationLevel": {
|
|
14
14
|
"type": "string",
|
|
15
15
|
"description": "Which messages produce a notification. Absent leaves the current value unchanged.",
|
|
16
|
-
"knownValues": ["all", "mentionsAndReplies"]
|
|
16
|
+
"knownValues": ["all", "mentionsAndReplies", "nothing"]
|
|
17
17
|
},
|
|
18
18
|
"communityOrder": {
|
|
19
19
|
"type": "array",
|
|
@@ -35,6 +35,16 @@
|
|
|
35
35
|
"shareActivity": {
|
|
36
36
|
"type": "boolean",
|
|
37
37
|
"description": "Whether the AppView may show what the user is listening to. Absent leaves the current value unchanged."
|
|
38
|
+
},
|
|
39
|
+
"clientPreferences": {
|
|
40
|
+
"type": "ref",
|
|
41
|
+
"ref": "social.colibri.beta.actor.defs#clientPreferences",
|
|
42
|
+
"description": "The contents of the user's social.colibri.beta.actor.clientPreferences record. Replaces the stored copy whole. Absent leaves the current value unchanged."
|
|
43
|
+
},
|
|
44
|
+
"composerState": {
|
|
45
|
+
"type": "ref",
|
|
46
|
+
"ref": "social.colibri.beta.actor.defs#composerState",
|
|
47
|
+
"description": "The contents of the user's social.colibri.beta.actor.composerState record. Replaces the stored copy whole. Absent leaves the current value unchanged."
|
|
38
48
|
}
|
|
39
49
|
}
|
|
40
50
|
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"lexicon": 1,
|
|
3
|
+
"id": "social.colibri.beta.actor.putSpaceNotification",
|
|
4
|
+
"defs": {
|
|
5
|
+
"main": {
|
|
6
|
+
"type": "procedure",
|
|
7
|
+
"description": "Pushes one of the requesting user's social.colibri.beta.actor.spaceNotification records to the AppView, so it takes effect immediately instead of waiting for a sync notification. The client writes or deletes the record in its own personal space first, then calls this.",
|
|
8
|
+
"input": {
|
|
9
|
+
"encoding": "application/json",
|
|
10
|
+
"schema": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"required": ["community"],
|
|
13
|
+
"properties": {
|
|
14
|
+
"community": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": "did",
|
|
17
|
+
"description": "The community."
|
|
18
|
+
},
|
|
19
|
+
"level": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"knownValues": ["all", "mentionsAndReplies", "nothing"],
|
|
22
|
+
"description": "The new level. Absent together with removeLevel returns the community to the global level."
|
|
23
|
+
},
|
|
24
|
+
"removeLevel": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"description": "Removes the community's level so it follows the global one. Ignored when level is present."
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"output": {
|
|
32
|
+
"encoding": "application/json",
|
|
33
|
+
"schema": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"required": ["preferences"],
|
|
36
|
+
"properties": {
|
|
37
|
+
"preferences": {
|
|
38
|
+
"type": "ref",
|
|
39
|
+
"ref": "social.colibri.beta.actor.defs#preferences",
|
|
40
|
+
"description": "The requesting user's settings, after the update."
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"errors": [
|
|
46
|
+
{
|
|
47
|
+
"name": "AuthRequired",
|
|
48
|
+
"description": "The request has no valid service auth."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "InvalidRequest",
|
|
52
|
+
"description": "Neither level nor removeLevel is present, or level does not hold an allowed value."
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"properties": {
|
|
13
13
|
"notificationLevel": {
|
|
14
14
|
"type": "string",
|
|
15
|
-
"knownValues": ["all", "mentionsAndReplies"],
|
|
15
|
+
"knownValues": ["all", "mentionsAndReplies", "nothing"],
|
|
16
16
|
"default": "all",
|
|
17
17
|
"description": "Which messages produce a notification."
|
|
18
18
|
},
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"lexicon": 1,
|
|
3
|
+
"id": "social.colibri.beta.actor.spaceNotification",
|
|
4
|
+
"defs": {
|
|
5
|
+
"main": {
|
|
6
|
+
"type": "record",
|
|
7
|
+
"description": "A notification level for one community, overriding the level in social.colibri.beta.actor.settings. The record key is the community's DID. Deleting the record returns the community to the global level.",
|
|
8
|
+
"key": "any",
|
|
9
|
+
"record": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"required": ["level", "createdAt"],
|
|
12
|
+
"properties": {
|
|
13
|
+
"level": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"knownValues": ["all", "mentionsAndReplies", "nothing"],
|
|
16
|
+
"description": "Which messages in this community produce a notification."
|
|
17
|
+
},
|
|
18
|
+
"createdAt": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"format": "datetime",
|
|
21
|
+
"description": "When the level was set."
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -211,6 +211,11 @@
|
|
|
211
211
|
"format": "did",
|
|
212
212
|
"description": "The community the registration belongs to."
|
|
213
213
|
},
|
|
214
|
+
"communityName": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"maxLength": 32,
|
|
217
|
+
"description": "The community's name, when the AppView knows it."
|
|
218
|
+
},
|
|
214
219
|
"bridge": {
|
|
215
220
|
"type": "string",
|
|
216
221
|
"format": "did",
|
|
@@ -21,6 +21,46 @@
|
|
|
21
21
|
"minLength": 1,
|
|
22
22
|
"maxLength": 32,
|
|
23
23
|
"description": "The category's name."
|
|
24
|
+
},
|
|
25
|
+
"ownerOnly": {
|
|
26
|
+
"type": "boolean",
|
|
27
|
+
"description": "Whether only community admins may post in the category's channels. A channel that sets its own posting restriction overrides this."
|
|
28
|
+
},
|
|
29
|
+
"allowedRoles": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"items": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"format": "record-key",
|
|
34
|
+
"description": "A role permitted to post."
|
|
35
|
+
},
|
|
36
|
+
"description": "Roles allowed to post in the category's channels. Empty means no role restriction. A channel that sets its own posting restriction overrides this."
|
|
37
|
+
},
|
|
38
|
+
"allowedMembers": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"items": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"format": "did",
|
|
43
|
+
"description": "A member permitted to post."
|
|
44
|
+
},
|
|
45
|
+
"description": "Members allowed to post in the category's channels in addition to allowedRoles."
|
|
46
|
+
},
|
|
47
|
+
"visibleToRoles": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"description": "Roles that may read the category's channels. Empty or absent means every member may read them. A channel with its own non-empty visibleToRoles or visibleToMembers overrides this. A non-empty list makes the category's other channels private, enforced the same way as a private channel.",
|
|
50
|
+
"items": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"format": "record-key",
|
|
53
|
+
"description": "A role permitted to read."
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"visibleToMembers": {
|
|
57
|
+
"type": "array",
|
|
58
|
+
"description": "Members that may read the category's channels in addition to visibleToRoles.",
|
|
59
|
+
"items": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"format": "did",
|
|
62
|
+
"description": "A member permitted to read."
|
|
63
|
+
}
|
|
24
64
|
}
|
|
25
65
|
}
|
|
26
66
|
}
|
|
@@ -46,7 +86,7 @@
|
|
|
46
86
|
},
|
|
47
87
|
{
|
|
48
88
|
"name": "Forbidden",
|
|
49
|
-
"description": "The caller lacks the category.create permission."
|
|
89
|
+
"description": "The caller lacks the category.create permission, or grants visibility to a role at or above their own highest position."
|
|
50
90
|
},
|
|
51
91
|
{
|
|
52
92
|
"name": "CommunityNotFound",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"defs": {
|
|
5
5
|
"main": {
|
|
6
6
|
"type": "procedure",
|
|
7
|
-
"description": "Updates a category's name.",
|
|
7
|
+
"description": "Updates a category's name and the permissions its channels inherit.",
|
|
8
8
|
"input": {
|
|
9
9
|
"encoding": "application/json",
|
|
10
10
|
"schema": {
|
|
@@ -26,6 +26,46 @@
|
|
|
26
26
|
"minLength": 1,
|
|
27
27
|
"maxLength": 32,
|
|
28
28
|
"description": "The category's new name."
|
|
29
|
+
},
|
|
30
|
+
"ownerOnly": {
|
|
31
|
+
"type": "boolean",
|
|
32
|
+
"description": "Whether only community admins may post in the category's channels. Absent leaves the current value unchanged."
|
|
33
|
+
},
|
|
34
|
+
"allowedRoles": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"format": "record-key",
|
|
39
|
+
"description": "A role permitted to post."
|
|
40
|
+
},
|
|
41
|
+
"description": "Roles allowed to post in the category's channels. Absent leaves the current value unchanged."
|
|
42
|
+
},
|
|
43
|
+
"allowedMembers": {
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"format": "did",
|
|
48
|
+
"description": "A member permitted to post."
|
|
49
|
+
},
|
|
50
|
+
"description": "Members allowed to post in the category's channels in addition to allowedRoles. Absent leaves the current value unchanged."
|
|
51
|
+
},
|
|
52
|
+
"visibleToRoles": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"description": "Roles that may read the category's channels. Absent leaves the current value unchanged.",
|
|
55
|
+
"items": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"format": "record-key",
|
|
58
|
+
"description": "A role permitted to read."
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"visibleToMembers": {
|
|
62
|
+
"type": "array",
|
|
63
|
+
"description": "Members that may read the category's channels in addition to visibleToRoles. Absent leaves the current value unchanged.",
|
|
64
|
+
"items": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"format": "did",
|
|
67
|
+
"description": "A member permitted to read."
|
|
68
|
+
}
|
|
29
69
|
}
|
|
30
70
|
}
|
|
31
71
|
}
|
|
@@ -51,7 +91,7 @@
|
|
|
51
91
|
},
|
|
52
92
|
{
|
|
53
93
|
"name": "Forbidden",
|
|
54
|
-
"description": "The caller lacks the category.update permission."
|
|
94
|
+
"description": "The caller lacks the category.update permission, or grants visibility to a role at or above their own highest position."
|
|
55
95
|
},
|
|
56
96
|
{
|
|
57
97
|
"name": "CommunityNotFound",
|
|
@@ -24,6 +24,47 @@
|
|
|
24
24
|
"description": "The space key of a channel in this category."
|
|
25
25
|
},
|
|
26
26
|
"description": "The channels in this category, in display order, by space key."
|
|
27
|
+
},
|
|
28
|
+
"ownerOnly": {
|
|
29
|
+
"type": "boolean",
|
|
30
|
+
"default": false,
|
|
31
|
+
"description": "Whether only community admins may post in the category's channels. A channel that sets its own posting restriction overrides this."
|
|
32
|
+
},
|
|
33
|
+
"allowedRoles": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"format": "record-key",
|
|
38
|
+
"description": "A role permitted to post."
|
|
39
|
+
},
|
|
40
|
+
"description": "Roles allowed to post in the category's channels. Empty means no role restriction. A channel that sets its own posting restriction overrides this."
|
|
41
|
+
},
|
|
42
|
+
"allowedMembers": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"format": "did",
|
|
47
|
+
"description": "A member permitted to post."
|
|
48
|
+
},
|
|
49
|
+
"description": "Members allowed to post in the category's channels in addition to allowedRoles."
|
|
50
|
+
},
|
|
51
|
+
"visibleToRoles": {
|
|
52
|
+
"type": "array",
|
|
53
|
+
"description": "Roles that may read the category's channels. Empty or absent means every member may read them. A channel with its own non-empty visibleToRoles or visibleToMembers overrides this. A non-empty list makes the category's other channels private, enforced the same way as a private channel.",
|
|
54
|
+
"items": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"format": "record-key",
|
|
57
|
+
"description": "A role permitted to read."
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"visibleToMembers": {
|
|
61
|
+
"type": "array",
|
|
62
|
+
"description": "Members that may read the category's channels in addition to visibleToRoles.",
|
|
63
|
+
"items": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"format": "did",
|
|
66
|
+
"description": "A member permitted to read."
|
|
67
|
+
}
|
|
27
68
|
}
|
|
28
69
|
}
|
|
29
70
|
}
|
|
@@ -216,6 +216,10 @@
|
|
|
216
216
|
"height": {
|
|
217
217
|
"type": "integer",
|
|
218
218
|
"description": "Intrinsic pixel height, when the file is a decodable image or video."
|
|
219
|
+
},
|
|
220
|
+
"spoiler": {
|
|
221
|
+
"type": "boolean",
|
|
222
|
+
"description": "Whether the author marked the file as a spoiler. Clients hide it behind a reveal step."
|
|
219
223
|
}
|
|
220
224
|
}
|
|
221
225
|
},
|