@colibri-social/lexicons 2.0.0 → 2.2.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 +39 -6
- package/dist/generated/social/colibri/beta/actor/defs.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/actor/defs.defs.js +10 -3
- package/dist/generated/social/colibri/beta/actor/defs.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/actor/mute.defs.d.ts +13 -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 +2 -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 +3 -6
- package/dist/generated/social/colibri/beta/actor/putSettings.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/actor/putSettings.defs.js +2 -1
- package/dist/generated/social/colibri/beta/actor/putSettings.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/actor/settings.defs.d.ts +13 -12
- package/dist/generated/social/colibri/beta/actor/settings.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/actor/settings.defs.js +2 -1
- package/dist/generated/social/colibri/beta/actor/settings.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/community/defs.defs.d.ts +36 -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 +3 -0
- package/dist/generated/social/colibri/beta/community/defs.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/community/listMigratable.d.ts +4 -0
- package/dist/generated/social/colibri/beta/community/listMigratable.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/community/listMigratable.defs.d.ts +31 -0
- package/dist/generated/social/colibri/beta/community/listMigratable.defs.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/community/listMigratable.defs.js +15 -0
- package/dist/generated/social/colibri/beta/community/listMigratable.defs.js.map +1 -0
- package/dist/generated/social/colibri/beta/community/listMigratable.js +7 -0
- package/dist/generated/social/colibri/beta/community/listMigratable.js.map +1 -0
- package/dist/generated/social/colibri/beta/community/migrate.defs.d.ts +4 -4
- package/dist/generated/social/colibri/beta/community/migrate.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/community/migrate.defs.js +1 -1
- package/dist/generated/social/colibri/beta/community/migrate.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/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/server/describeServer.defs.d.ts +4 -0
- package/dist/generated/social/colibri/beta/server/describeServer.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/server/describeServer.defs.js +1 -1
- package/dist/generated/social/colibri/beta/server/describeServer.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/voice/defs.defs.d.ts +14 -6
- package/dist/generated/social/colibri/beta/voice/defs.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/voice/defs.defs.js +3 -3
- package/dist/generated/social/colibri/beta/voice/defs.defs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/mute-subject.d.ts +6 -0
- package/dist/mute-subject.d.ts.map +1 -0
- package/dist/mute-subject.js +9 -0
- package/dist/mute-subject.js.map +1 -0
- package/dist/nsids.d.ts +17 -0
- package/dist/nsids.d.ts.map +1 -1
- package/dist/nsids.js +16 -0
- package/dist/nsids.js.map +1 -1
- package/lexicons/social/colibri/beta/actor/defs.json +41 -8
- package/lexicons/social/colibri/beta/actor/mute.json +7 -3
- package/lexicons/social/colibri/beta/actor/putSettings.json +3 -4
- package/lexicons/social/colibri/beta/actor/settings.json +3 -4
- package/lexicons/social/colibri/beta/community/defs.json +37 -0
- package/lexicons/social/colibri/beta/community/listMigratable.json +58 -0
- package/lexicons/social/colibri/beta/community/migrate.json +4 -4
- package/lexicons/social/colibri/beta/permissionCommunity.json +1 -0
- package/lexicons/social/colibri/beta/server/describeServer.json +9 -1
- package/lexicons/social/colibri/beta/voice/defs.json +17 -5
- package/package.json +1 -1
package/dist/nsids.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nsids.js","sourceRoot":"","sources":["../src/nsids.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;IAC1B,gBAAgB,EAAE,uCAAuC;IACzD,sBAAsB,EAAE,6CAA6C;IACrE,gBAAgB,EAAE,uCAAuC;IACzD,mBAAmB,EAAE,0CAA0C;IAC/D,WAAW,EAAE,kCAAkC;IAC/C,YAAY,EAAE,mCAAmC;IACjD,gBAAgB,EAAE,uCAAuC;CAChD,CAAC;AAIX,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,WAAW,CAAC,WAAW,EAAE,WAAW,CAAC,YAAY,CAAU,CAAC;AAIhG,MAAM,sBAAsB,GAAwB,IAAI,GAAG,CAAC,mBAAmB,CAAC,CAAC;AAEjF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,KAAa,EAA6B,EAAE,CAC9E,sBAAsB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AAEnC,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACpC,WAAW,CAAC,gBAAgB;IAC5B,WAAW,CAAC,sBAAsB;IAClC,WAAW,CAAC,gBAAgB;IAC5B,WAAW,CAAC,mBAAmB;CACtB,CAAC;AAEX,MAAM,CAAC,MAAM,WAAW,GAA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ChE,UAAU,EAAE,QAAQ,CAAC,SAAS,EAAE,WAAW,CAAC,mBAAmB,EAAE,IAAI,CAAC;CACtE,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAa,EAAE,EAAE,CACjD,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAC;AAErD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,SAAiB,EAAE,IAAsB,EAAE,IAAY,EAAE,EAAE,CACvF,QAAQ,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC"}
|
|
@@ -109,11 +109,19 @@
|
|
|
109
109
|
},
|
|
110
110
|
"muted": {
|
|
111
111
|
"type": "boolean",
|
|
112
|
-
"description": "Whether the user
|
|
112
|
+
"description": "Whether the user's microphone is muted, for any reason."
|
|
113
113
|
},
|
|
114
114
|
"deafened": {
|
|
115
115
|
"type": "boolean",
|
|
116
|
-
"description": "Whether the user has
|
|
116
|
+
"description": "Whether the user has incoming audio silenced, for any reason."
|
|
117
|
+
},
|
|
118
|
+
"serverMuted": {
|
|
119
|
+
"type": "boolean",
|
|
120
|
+
"description": "Whether a moderator muted them. When this is true they cannot unmute themselves, and a client must not offer them the control."
|
|
121
|
+
},
|
|
122
|
+
"serverDeafened": {
|
|
123
|
+
"type": "boolean",
|
|
124
|
+
"description": "Whether a moderator deafened them. When this is true they cannot undeafen themselves."
|
|
117
125
|
}
|
|
118
126
|
}
|
|
119
127
|
},
|
|
@@ -147,10 +155,10 @@
|
|
|
147
155
|
"gifFavorites": {
|
|
148
156
|
"type": "array",
|
|
149
157
|
"items": {
|
|
150
|
-
"type": "
|
|
151
|
-
"
|
|
158
|
+
"type": "ref",
|
|
159
|
+
"ref": "social.colibri.beta.embed.defs#gifView"
|
|
152
160
|
},
|
|
153
|
-
"description": "GIFs saved from the picker."
|
|
161
|
+
"description": "GIFs saved from the picker, stored whole."
|
|
154
162
|
}
|
|
155
163
|
}
|
|
156
164
|
},
|
|
@@ -160,9 +168,10 @@
|
|
|
160
168
|
"required": ["subject", "createdAt"],
|
|
161
169
|
"properties": {
|
|
162
170
|
"subject": {
|
|
163
|
-
"type": "
|
|
164
|
-
"
|
|
165
|
-
"
|
|
171
|
+
"type": "union",
|
|
172
|
+
"refs": ["#mutedActor", "#mutedChannel"],
|
|
173
|
+
"closed": true,
|
|
174
|
+
"description": "What is muted. A user or a community is named by DID, a channel by its space."
|
|
166
175
|
},
|
|
167
176
|
"createdAt": {
|
|
168
177
|
"type": "string",
|
|
@@ -170,6 +179,30 @@
|
|
|
170
179
|
"description": "When the mute was created."
|
|
171
180
|
}
|
|
172
181
|
}
|
|
182
|
+
},
|
|
183
|
+
"mutedActor": {
|
|
184
|
+
"type": "object",
|
|
185
|
+
"description": "A muted user or community.",
|
|
186
|
+
"required": ["did"],
|
|
187
|
+
"properties": {
|
|
188
|
+
"did": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"format": "did",
|
|
191
|
+
"description": "The muted user or community."
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"mutedChannel": {
|
|
196
|
+
"type": "object",
|
|
197
|
+
"description": "A muted channel. Muting a channel silences it without leaving the community it belongs to.",
|
|
198
|
+
"required": ["channel"],
|
|
199
|
+
"properties": {
|
|
200
|
+
"channel": {
|
|
201
|
+
"type": "string",
|
|
202
|
+
"format": "space-ref",
|
|
203
|
+
"description": "The muted channel's space."
|
|
204
|
+
}
|
|
205
|
+
}
|
|
173
206
|
}
|
|
174
207
|
}
|
|
175
208
|
}
|
|
@@ -11,9 +11,13 @@
|
|
|
11
11
|
"required": ["subject", "createdAt"],
|
|
12
12
|
"properties": {
|
|
13
13
|
"subject": {
|
|
14
|
-
"type": "
|
|
15
|
-
"
|
|
16
|
-
|
|
14
|
+
"type": "union",
|
|
15
|
+
"refs": [
|
|
16
|
+
"social.colibri.beta.actor.defs#mutedActor",
|
|
17
|
+
"social.colibri.beta.actor.defs#mutedChannel"
|
|
18
|
+
],
|
|
19
|
+
"closed": true,
|
|
20
|
+
"description": "What is muted. A user or a community is named by DID, a channel by its space."
|
|
17
21
|
},
|
|
18
22
|
"createdAt": {
|
|
19
23
|
"type": "string",
|
|
@@ -26,11 +26,10 @@
|
|
|
26
26
|
},
|
|
27
27
|
"gifFavorites": {
|
|
28
28
|
"type": "array",
|
|
29
|
-
"description": "GIFs saved from the picker. Absent leaves the current value unchanged.",
|
|
29
|
+
"description": "GIFs saved from the picker, stored whole. Absent leaves the current value unchanged.",
|
|
30
30
|
"items": {
|
|
31
|
-
"type": "
|
|
32
|
-
"
|
|
33
|
-
"maxLength": 256
|
|
31
|
+
"type": "ref",
|
|
32
|
+
"ref": "social.colibri.beta.embed.defs#gifView"
|
|
34
33
|
}
|
|
35
34
|
}
|
|
36
35
|
}
|
|
@@ -28,11 +28,10 @@
|
|
|
28
28
|
"gifFavorites": {
|
|
29
29
|
"type": "array",
|
|
30
30
|
"items": {
|
|
31
|
-
"type": "
|
|
32
|
-
"
|
|
33
|
-
"description": "A GIF identifier."
|
|
31
|
+
"type": "ref",
|
|
32
|
+
"ref": "social.colibri.beta.embed.defs#gifView"
|
|
34
33
|
},
|
|
35
|
-
"description": "GIFs the user saved from the picker."
|
|
34
|
+
"description": "GIFs the user saved from the picker, stored whole. A saved GIF has to render without another lookup, and an identifier cannot be turned back into one: a GIF favourited from a chat message carries its own URL as the id rather than a provider key, so no provider can resolve it."
|
|
36
35
|
}
|
|
37
36
|
}
|
|
38
37
|
}
|
|
@@ -529,6 +529,43 @@
|
|
|
529
529
|
"description": "When the ban took effect."
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
|
+
},
|
|
533
|
+
"legacyCommunityView": {
|
|
534
|
+
"type": "object",
|
|
535
|
+
"description": "A repo-backed community that has not been migrated onto spaces yet, as read live from its own public repo. This is not an indexed view: the AppView holds nothing about a community until it is migrated.",
|
|
536
|
+
"required": ["did", "name"],
|
|
537
|
+
"properties": {
|
|
538
|
+
"did": {
|
|
539
|
+
"type": "string",
|
|
540
|
+
"format": "did",
|
|
541
|
+
"description": "The legacy community's DID, which becomes the authority for its spaces once migrated."
|
|
542
|
+
},
|
|
543
|
+
"handle": {
|
|
544
|
+
"type": "string",
|
|
545
|
+
"format": "handle",
|
|
546
|
+
"description": "The community's handle, when its DID document still resolves one."
|
|
547
|
+
},
|
|
548
|
+
"name": {
|
|
549
|
+
"type": "string",
|
|
550
|
+
"description": "The community's name."
|
|
551
|
+
},
|
|
552
|
+
"description": {
|
|
553
|
+
"type": "string",
|
|
554
|
+
"description": "The community's description."
|
|
555
|
+
},
|
|
556
|
+
"memberCount": {
|
|
557
|
+
"type": "integer",
|
|
558
|
+
"description": "How many member records the legacy repo holds."
|
|
559
|
+
},
|
|
560
|
+
"channelCount": {
|
|
561
|
+
"type": "integer",
|
|
562
|
+
"description": "How many channel records the legacy repo holds. Migration recreates one space per channel."
|
|
563
|
+
},
|
|
564
|
+
"viewerIsAdmin": {
|
|
565
|
+
"type": "boolean",
|
|
566
|
+
"description": "Whether the requesting user may migrate this community. Only an administrator of the legacy community can."
|
|
567
|
+
}
|
|
568
|
+
}
|
|
532
569
|
}
|
|
533
570
|
}
|
|
534
571
|
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"lexicon": 1,
|
|
3
|
+
"id": "social.colibri.beta.community.listMigratable",
|
|
4
|
+
"defs": {
|
|
5
|
+
"main": {
|
|
6
|
+
"type": "query",
|
|
7
|
+
"description": "Lists the repo-backed communities the requesting user belongs to that have not been migrated onto spaces yet, so a client can offer them as a choice rather than asking for a handle. The AppView reads this live from the user's own public repo and each candidate's public repo, because nothing about an unmigrated community is indexed. Only a community that holds its own DID is listed: an older community that lived in its owner's repo cannot be migrated.",
|
|
8
|
+
"parameters": {
|
|
9
|
+
"type": "params",
|
|
10
|
+
"required": [],
|
|
11
|
+
"properties": {
|
|
12
|
+
"includeUnadministered": {
|
|
13
|
+
"type": "boolean",
|
|
14
|
+
"default": false,
|
|
15
|
+
"description": "Whether to include communities the user belongs to but cannot migrate. They come back with viewerIsAdmin false."
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"output": {
|
|
20
|
+
"encoding": "application/json",
|
|
21
|
+
"schema": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"required": ["communities"],
|
|
24
|
+
"properties": {
|
|
25
|
+
"communities": {
|
|
26
|
+
"type": "array",
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "ref",
|
|
29
|
+
"ref": "social.colibri.beta.community.defs#legacyCommunityView",
|
|
30
|
+
"description": "An unmigrated legacy community."
|
|
31
|
+
},
|
|
32
|
+
"description": "Unmigrated legacy communities, in the user's preferred sidebar order where the legacy repo recorded one. This is not paginated: a user's community list is small and every entry costs a live read."
|
|
33
|
+
},
|
|
34
|
+
"unreadable": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"format": "did",
|
|
39
|
+
"description": "A community DID whose repo could not be read."
|
|
40
|
+
},
|
|
41
|
+
"description": "Communities named by the user's repo whose own repo could not be read, so the client can say so instead of silently dropping them."
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"errors": [
|
|
47
|
+
{
|
|
48
|
+
"name": "AuthRequired",
|
|
49
|
+
"description": "The request is missing, malformed, or unverifiable service auth."
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "UpstreamFailure",
|
|
53
|
+
"description": "The requesting user's own PDS could not be read, so no candidate list could be built at all."
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"encoding": "application/json",
|
|
10
10
|
"schema": {
|
|
11
11
|
"type": "object",
|
|
12
|
-
"required": ["
|
|
12
|
+
"required": ["community"],
|
|
13
13
|
"properties": {
|
|
14
|
-
"
|
|
14
|
+
"community": {
|
|
15
15
|
"type": "string",
|
|
16
|
-
"format": "at-
|
|
17
|
-
"description": "The legacy social.colibri.
|
|
16
|
+
"format": "at-identifier",
|
|
17
|
+
"description": "The legacy community to migrate, by handle or DID. Only a community that holds its own DID can be migrated, so the DID is the whole address: the record to read is always social.colibri.community at self in that repo."
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
"social.colibri.beta.community.putImage",
|
|
67
67
|
"social.colibri.beta.community.deleteImage",
|
|
68
68
|
"social.colibri.beta.community.delete",
|
|
69
|
+
"social.colibri.beta.community.listMigratable",
|
|
69
70
|
"social.colibri.beta.community.migrate",
|
|
70
71
|
"social.colibri.beta.community.registerCredentials",
|
|
71
72
|
"social.colibri.beta.community.setMemberRoles",
|
|
@@ -9,13 +9,21 @@
|
|
|
9
9
|
"encoding": "application/json",
|
|
10
10
|
"schema": {
|
|
11
11
|
"type": "object",
|
|
12
|
-
"required": ["did", "version", "handleDomain", "pds"],
|
|
12
|
+
"required": ["did", "software", "flavor", "version", "handleDomain", "pds"],
|
|
13
13
|
"properties": {
|
|
14
14
|
"did": {
|
|
15
15
|
"type": "string",
|
|
16
16
|
"format": "did",
|
|
17
17
|
"description": "The AppView's own identity."
|
|
18
18
|
},
|
|
19
|
+
"software": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "Stable software identifier, always 'colibri-appview'. Clients key on this to confirm a host is a Colibri AppView before pointing themselves at it."
|
|
22
|
+
},
|
|
23
|
+
"flavor": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "Which build of the software this is. 'vanilla' for the stock AppView, and any string a fork or a customised deployment chooses for itself."
|
|
26
|
+
},
|
|
19
27
|
"version": {
|
|
20
28
|
"type": "string",
|
|
21
29
|
"description": "The running software version."
|
|
@@ -26,8 +26,12 @@
|
|
|
26
26
|
"description": "The opaque mediasoup ICE parameters blob."
|
|
27
27
|
},
|
|
28
28
|
"iceCandidates": {
|
|
29
|
-
"type": "
|
|
30
|
-
"description": "The
|
|
29
|
+
"type": "array",
|
|
30
|
+
"description": "The mediasoup ICE candidates, one opaque blob per candidate. This is an array, not a single object, because that is what a WebRTC transport hands back.",
|
|
31
|
+
"items": {
|
|
32
|
+
"type": "unknown",
|
|
33
|
+
"description": "One opaque mediasoup ICE candidate."
|
|
34
|
+
}
|
|
31
35
|
},
|
|
32
36
|
"dtlsParameters": {
|
|
33
37
|
"type": "unknown",
|
|
@@ -335,7 +339,7 @@
|
|
|
335
339
|
},
|
|
336
340
|
"moderationChanged": {
|
|
337
341
|
"type": "object",
|
|
338
|
-
"description": "A peer's
|
|
342
|
+
"description": "A peer's mute or deafen state changed, whether they did it themselves or a moderator did it to them.",
|
|
339
343
|
"required": ["did", "muted", "deafened"],
|
|
340
344
|
"properties": {
|
|
341
345
|
"did": {
|
|
@@ -345,11 +349,19 @@
|
|
|
345
349
|
},
|
|
346
350
|
"muted": {
|
|
347
351
|
"type": "boolean",
|
|
348
|
-
"description": "Whether the microphone is
|
|
352
|
+
"description": "Whether the microphone is muted, for any reason."
|
|
349
353
|
},
|
|
350
354
|
"deafened": {
|
|
351
355
|
"type": "boolean",
|
|
352
|
-
"description": "Whether incoming audio is
|
|
356
|
+
"description": "Whether incoming audio is silenced, for any reason."
|
|
357
|
+
},
|
|
358
|
+
"serverMuted": {
|
|
359
|
+
"type": "boolean",
|
|
360
|
+
"description": "Whether a moderator muted them. When this is true the peer cannot unmute themselves."
|
|
361
|
+
},
|
|
362
|
+
"serverDeafened": {
|
|
363
|
+
"type": "boolean",
|
|
364
|
+
"description": "Whether a moderator deafened them. When this is true the peer cannot undeafen themselves."
|
|
353
365
|
}
|
|
354
366
|
}
|
|
355
367
|
}
|