@colibri-social/lexicons 2.12.0 → 2.13.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/com/atproto/simplespace/createSpace.defs.d.ts +2 -2
- package/dist/generated/com/atproto/simplespace/createSpace.defs.d.ts.map +1 -1
- package/dist/generated/com/atproto/simplespace/createSpace.defs.js +1 -1
- package/dist/generated/com/atproto/simplespace/createSpace.defs.js.map +1 -1
- package/dist/generated/com/atproto/space/getSpaceCredential.defs.d.ts +1 -1
- package/dist/generated/com/atproto/space/getSpaceCredential.defs.d.ts.map +1 -1
- package/dist/generated/com/atproto/space/getSpaceCredential.defs.js +1 -1
- package/dist/generated/com/atproto/space/getSpaceCredential.defs.js.map +1 -1
- package/dist/generated/com/atproto/space/listRepos.defs.d.ts +8 -4
- package/dist/generated/com/atproto/space/listRepos.defs.d.ts.map +1 -1
- package/dist/generated/com/atproto/space/listRepos.defs.js +3 -3
- package/dist/generated/com/atproto/space/listRepos.defs.js.map +1 -1
- package/dist/generated/com/atproto/space/listSpaces.defs.d.ts +2 -2
- package/dist/generated/com/atproto/space/listSpaces.defs.d.ts.map +1 -1
- package/dist/generated/com/atproto/space/listSpaces.defs.js +1 -1
- package/dist/generated/com/atproto/space/listSpaces.defs.js.map +1 -1
- package/dist/generated/com/atproto/space/notifyCredentialRevoked.d.ts +4 -0
- package/dist/generated/com/atproto/space/notifyCredentialRevoked.d.ts.map +1 -0
- package/dist/generated/com/atproto/space/notifyCredentialRevoked.defs.d.ts +33 -0
- package/dist/generated/com/atproto/space/notifyCredentialRevoked.defs.d.ts.map +1 -0
- package/dist/generated/com/atproto/space/notifyCredentialRevoked.defs.js +15 -0
- package/dist/generated/com/atproto/space/notifyCredentialRevoked.defs.js.map +1 -0
- package/dist/generated/com/atproto/space/notifyCredentialRevoked.js +7 -0
- package/dist/generated/com/atproto/space/notifyCredentialRevoked.js.map +1 -0
- package/dist/generated/com/atproto/space/notifyWrite.defs.d.ts +16 -4
- package/dist/generated/com/atproto/space/notifyWrite.defs.d.ts.map +1 -1
- package/dist/generated/com/atproto/space/notifyWrite.defs.js +3 -3
- package/dist/generated/com/atproto/space/notifyWrite.defs.js.map +1 -1
- package/dist/generated/com/atproto/space.d.ts +1 -0
- package/dist/generated/com/atproto/space.d.ts.map +1 -1
- package/dist/generated/com/atproto/space.js +1 -0
- package/dist/generated/com/atproto/space.js.map +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/actor/setStatus.defs.d.ts +12 -2
- package/dist/generated/social/colibri/beta/actor/setStatus.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/actor/setStatus.defs.js +1 -1
- package/dist/generated/social/colibri/beta/actor/setStatus.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/bridge/leave.d.ts +4 -0
- package/dist/generated/social/colibri/beta/bridge/leave.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/bridge/leave.defs.d.ts +33 -0
- package/dist/generated/social/colibri/beta/bridge/leave.defs.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/bridge/leave.defs.js +15 -0
- package/dist/generated/social/colibri/beta/bridge/leave.defs.js.map +1 -0
- package/dist/generated/social/colibri/beta/bridge/leave.js +7 -0
- package/dist/generated/social/colibri/beta/bridge/leave.js.map +1 -0
- package/dist/generated/social/colibri/beta/bridge/replaceAvatar.d.ts +4 -0
- package/dist/generated/social/colibri/beta/bridge/replaceAvatar.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/bridge/replaceAvatar.defs.d.ts +51 -0
- package/dist/generated/social/colibri/beta/bridge/replaceAvatar.defs.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/bridge/replaceAvatar.defs.js +15 -0
- package/dist/generated/social/colibri/beta/bridge/replaceAvatar.defs.js.map +1 -0
- package/dist/generated/social/colibri/beta/bridge/replaceAvatar.js +7 -0
- package/dist/generated/social/colibri/beta/bridge/replaceAvatar.js.map +1 -0
- package/dist/generated/social/colibri/beta/bridge.d.ts +2 -0
- package/dist/generated/social/colibri/beta/bridge.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/bridge.js +2 -0
- package/dist/generated/social/colibri/beta/bridge.js.map +1 -1
- package/dist/generated/social/colibri/beta/community/create.defs.d.ts +2 -0
- package/dist/generated/social/colibri/beta/community/create.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/community/create.defs.js +1 -1
- package/dist/generated/social/colibri/beta/community/create.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 +8 -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/update.defs.d.ts +2 -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/notification/registerPush.defs.d.ts +11 -5
- package/dist/generated/social/colibri/beta/notification/registerPush.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/notification/registerPush.defs.js +2 -2
- package/dist/generated/social/colibri/beta/notification/registerPush.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/notification/unregisterPush.defs.d.ts +2 -2
- package/dist/generated/social/colibri/beta/notification/unregisterPush.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/notification/unregisterPush.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/permissionBridge.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/permissionBridge.defs.js +1 -1
- package/dist/generated/social/colibri/beta/permissionBridge.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/role/create.defs.d.ts +2 -0
- package/dist/generated/social/colibri/beta/role/create.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/role/create.defs.js +1 -1
- package/dist/generated/social/colibri/beta/role/create.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/role/putBadgeImage.d.ts +4 -0
- package/dist/generated/social/colibri/beta/role/putBadgeImage.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/role/putBadgeImage.defs.d.ts +40 -0
- package/dist/generated/social/colibri/beta/role/putBadgeImage.defs.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/role/putBadgeImage.defs.js +16 -0
- package/dist/generated/social/colibri/beta/role/putBadgeImage.defs.js.map +1 -0
- package/dist/generated/social/colibri/beta/role/putBadgeImage.js +7 -0
- package/dist/generated/social/colibri/beta/role/putBadgeImage.js.map +1 -0
- package/dist/generated/social/colibri/beta/role/update.defs.d.ts +4 -0
- package/dist/generated/social/colibri/beta/role/update.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/role/update.defs.js +1 -1
- package/dist/generated/social/colibri/beta/role/update.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/role.d.ts +1 -0
- package/dist/generated/social/colibri/beta/role.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/role.defs.d.ts +42 -0
- package/dist/generated/social/colibri/beta/role.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/role.defs.js +7 -1
- package/dist/generated/social/colibri/beta/role.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/role.js +1 -0
- package/dist/generated/social/colibri/beta/role.js.map +1 -1
- package/lexicons/com/atproto/PINNED_COMMIT +1 -1
- package/lexicons/com/atproto/simplespace/createSpace.json +2 -2
- package/lexicons/com/atproto/space/getSpaceCredential.json +2 -2
- package/lexicons/com/atproto/space/listRepos.json +16 -8
- package/lexicons/com/atproto/space/listSpaces.json +2 -2
- package/lexicons/com/atproto/space/notifyCredentialRevoked.json +31 -0
- package/lexicons/com/atproto/space/notifyWrite.json +24 -5
- package/lexicons/social/colibri/beta/actor/defs.json +11 -1
- package/lexicons/social/colibri/beta/actor/setStatus.json +14 -1
- package/lexicons/social/colibri/beta/bridge/leave.json +58 -0
- package/lexicons/social/colibri/beta/bridge/replaceAvatar.json +76 -0
- package/lexicons/social/colibri/beta/community/create.json +4 -0
- package/lexicons/social/colibri/beta/community/defs.json +39 -0
- package/lexicons/social/colibri/beta/community/settings.json +5 -0
- package/lexicons/social/colibri/beta/community/update.json +4 -0
- package/lexicons/social/colibri/beta/notification/registerPush.json +9 -4
- package/lexicons/social/colibri/beta/notification/unregisterPush.json +2 -2
- package/lexicons/social/colibri/beta/permissionBridge.json +2 -0
- package/lexicons/social/colibri/beta/permissionCommunity.json +1 -0
- package/lexicons/social/colibri/beta/role/create.json +5 -0
- package/lexicons/social/colibri/beta/role/putBadgeImage.json +80 -0
- package/lexicons/social/colibri/beta/role/update.json +9 -0
- package/lexicons/social/colibri/beta/role.json +36 -0
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/social/colibri/beta/role.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,6BAA6B,CAAC;AAEzC,KAAK,KAAK,GAA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AAC,EAAC,CAAC,MAAM,CAAC,EAAE,CAAC;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAC,CAAC,MAAM,CAAC,EAAE,CAAA;CAAE,CAAC;AAEvB,YAAY,EAAE,eAAe,EAAE,CAAC;AAEhC,uDAAuD;AACvD,QAAA,MAAM,eAAe,gHAAqU,CAAC;AAE3V,OAAO,EAAE,eAAe,EAAE,CAAC;AAE3B,wDAAwD;AACxD,KAAK,SAAS,GAAG;IAAE,KAAK,CAAC,EAAE,oCAAoC,CAAC;IAE9D;;OAEG;IACH,MAAM,EAAC,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,CAAC,EAAC,MAAM,CAAA;CAAE,CAAC;AAEpB,YAAY,EAAE,SAAS,EAAE,CAAC;AAE1B,wDAAwD;AACxD,QAAA,MAAM,SAAS,8FAAgO,CAAC;AAEhP,OAAO,EAAE,SAAS,EAAE,CAAC;AAErB,4CAA4C;AAC5C,KAAK,UAAU,GAAG;IAAE,KAAK,CAAC,EAAE,qCAAqC,CAAC;IAEhE;;OAEG;IACH,OAAO,EAAC,CAAC,CAAC,OAAO,CAAA;CAAE,CAAC;AAEtB,YAAY,EAAE,UAAU,EAAE,CAAC;AAE3B,4CAA4C;AAC5C,QAAA,MAAM,UAAU,iGAAwM,CAAC;AAEzN,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { l } from "@atproto/lex";
|
|
|
5
5
|
const $nsid = "social.colibri.beta.role";
|
|
6
6
|
export { $nsid };
|
|
7
7
|
/** A named bundle of permissions assignable to community members. */
|
|
8
|
-
const main = /*#__PURE__*/ l.record("tid", $nsid, /*#__PURE__*/ l.object({ "name": /*#__PURE__*/ l.string({ "minLength": 1, "maxLength": 32 }), "color": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "maxLength": 7 })), "permissions": /*#__PURE__*/ l.array(/*#__PURE__*/ l.string()), "position": /*#__PURE__*/ l.integer(), "hoisted": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false)), "mentionable": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false)), "protected": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false)), "channelOverrides": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => channelOverride)))) }));
|
|
8
|
+
const main = /*#__PURE__*/ l.record("tid", $nsid, /*#__PURE__*/ l.object({ "name": /*#__PURE__*/ l.string({ "minLength": 1, "maxLength": 32 }), "color": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "maxLength": 7 })), "badge": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef((() => iconBadge)), /*#__PURE__*/ l.typedRef((() => imageBadge))], false)), "permissions": /*#__PURE__*/ l.array(/*#__PURE__*/ l.string()), "position": /*#__PURE__*/ l.integer(), "hoisted": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false)), "mentionable": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false)), "protected": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false)), "channelOverrides": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => channelOverride)))) }));
|
|
9
9
|
export { main };
|
|
10
10
|
const $type = $nsid;
|
|
11
11
|
export { $type };
|
|
@@ -23,4 +23,10 @@ export const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
|
|
|
23
23
|
/** Allow and deny lists scoped to a single channel. */
|
|
24
24
|
const channelOverride = /*#__PURE__*/ l.typedObject($nsid, "channelOverride", /*#__PURE__*/ l.object({ "channel": /*#__PURE__*/ l.string({ "format": "record-key" }), "allow": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "deny": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())) }));
|
|
25
25
|
export { channelOverride };
|
|
26
|
+
/** A badge drawn from the client's curated icon set. */
|
|
27
|
+
const iconBadge = /*#__PURE__*/ l.typedObject($nsid, "iconBadge", /*#__PURE__*/ l.object({ "icon": /*#__PURE__*/ l.string({ "minLength": 1, "maxLength": 64 }), "color": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "maxLength": 7 })) }));
|
|
28
|
+
export { iconBadge };
|
|
29
|
+
/** A badge drawn from an uploaded image. */
|
|
30
|
+
const imageBadge = /*#__PURE__*/ l.typedObject($nsid, "imageBadge", /*#__PURE__*/ l.object({ "image": /*#__PURE__*/ l.blob({ "accept": ["image/jpeg", "image/png", "image/gif", "image/webp"], "maxSize": 262144 }) }));
|
|
31
|
+
export { imageBadge };
|
|
26
32
|
//# sourceMappingURL=role.defs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.defs.js","sourceRoot":"","sources":["../../../../../src/generated/social/colibri/beta/role.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,0BAA0B,CAAC;AAIzC,OAAO,EAAE,KAAK,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"role.defs.js","sourceRoot":"","sources":["../../../../../src/generated/social/colibri/beta/role.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,0BAA0B,CAAC;AAIzC,OAAO,EAAE,KAAK,EAAE,CAAC;AAoDjB,qEAAqE;AACrE,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAc,KAAK,EAAE,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,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,KAAK,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,EAAC,QAAQ,EAAC,CAAC,YAAY,EAAC,WAAW,EAAC,WAAW,EAAC,YAAY,CAAC,EAAC,SAAS,EAAC,MAAM,EAAC,CAAC,EAAC,CAAC,CAAC,CAAC;AAEzN,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export * as create from "./role/create.js";
|
|
5
5
|
export * as "delete" from "./role/delete.js";
|
|
6
|
+
export * as putBadgeImage from "./role/putBadgeImage.js";
|
|
6
7
|
export * as update from "./role/update.js";
|
|
7
8
|
export * from "./role.defs.js";
|
|
8
9
|
export * as $defs from "./role.defs.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.js","sourceRoot":"","sources":["../../../../../src/generated/social/colibri/beta/role.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAC3C,cAAc,gBAAgB,CAAC;AAC/B,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"role.js","sourceRoot":"","sources":["../../../../../src/generated/social/colibri/beta/role.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,aAAa,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAC3C,cAAc,gBAAgB,CAAC;AAC/B,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
679724ad62eb9a02f7f40429c3c4fdd65d3e4c79
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"encoding": "application/json",
|
|
10
10
|
"schema": {
|
|
11
11
|
"type": "object",
|
|
12
|
-
"required": ["
|
|
12
|
+
"required": ["spaceType", "readPolicy", "writePolicy", "appAccess"],
|
|
13
13
|
"properties": {
|
|
14
|
-
"
|
|
14
|
+
"spaceType": {
|
|
15
15
|
"type": "string",
|
|
16
16
|
"format": "nsid",
|
|
17
17
|
"description": "The NSID of the space type, describing the modality of the space (e.g. app.bsky.group, app.bsky.personal)."
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"defs": {
|
|
5
5
|
"main": {
|
|
6
6
|
"type": "procedure",
|
|
7
|
-
"description": "Exchange a delegation token for a space credential. Called on the space authority, with the delegation token as the request's authorization token and
|
|
7
|
+
"description": "Exchange a delegation token for a space credential. Called on the space authority, with the delegation token as the request's authorization token and an HTTP message signature over Authorization made by the key to bind the credential to. The resulting space credential reads repos across the space. Requires a delegation token and HTTP message signature, plus a client attestation when the space gates on app identity.",
|
|
8
8
|
"input": {
|
|
9
9
|
"encoding": "application/json",
|
|
10
10
|
"schema": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"properties": {
|
|
32
32
|
"credential": {
|
|
33
33
|
"type": "string",
|
|
34
|
-
"description": "A signed JWT space credential
|
|
34
|
+
"description": "A signed JWT space credential."
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"defs": {
|
|
5
5
|
"main": {
|
|
6
6
|
"type": "query",
|
|
7
|
-
"description": "List the known repos that hold data in a space (the writer set), with each repo's current
|
|
7
|
+
"description": "List the known repos that hold data in a space (the writer set), with each repo's current repoRev and commit hash. Served by the space host. This is the sync boundary, not an access-control list: it enumerates only writers, never readers. The set is what the authority claims from write notifications and is not itself authoritative; a repo's host is the source of truth.",
|
|
8
8
|
"parameters": {
|
|
9
9
|
"type": "params",
|
|
10
10
|
"required": ["space"],
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"description": "Maximum number of repos to return."
|
|
23
23
|
},
|
|
24
24
|
"cursor": {
|
|
25
|
-
"type": "string"
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "Return repos updated after this space revision (exclusive). Use a previous response's cursor or a previously processed spaceRev."
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
},
|
|
@@ -32,15 +33,17 @@
|
|
|
32
33
|
"type": "object",
|
|
33
34
|
"required": ["repos"],
|
|
34
35
|
"properties": {
|
|
35
|
-
"cursor": {
|
|
36
|
-
"type": "string"
|
|
37
|
-
},
|
|
38
36
|
"repos": {
|
|
39
37
|
"type": "array",
|
|
40
38
|
"items": {
|
|
41
39
|
"type": "ref",
|
|
42
40
|
"ref": "#repo"
|
|
43
|
-
}
|
|
41
|
+
},
|
|
42
|
+
"description": "Returned in ascending spaceRev order. A repo may reappear if updated while paginating."
|
|
43
|
+
},
|
|
44
|
+
"cursor": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"description": "Pass this cursor on the next request. Omitted when no repos are returned."
|
|
44
47
|
}
|
|
45
48
|
}
|
|
46
49
|
}
|
|
@@ -53,14 +56,14 @@
|
|
|
53
56
|
},
|
|
54
57
|
"repo": {
|
|
55
58
|
"type": "object",
|
|
56
|
-
"required": ["did", "
|
|
59
|
+
"required": ["did", "repoRev", "hash", "spaceRev"],
|
|
57
60
|
"properties": {
|
|
58
61
|
"did": {
|
|
59
62
|
"type": "string",
|
|
60
63
|
"format": "did",
|
|
61
64
|
"description": "The DID of a repo that holds data in the space."
|
|
62
65
|
},
|
|
63
|
-
"
|
|
66
|
+
"repoRev": {
|
|
64
67
|
"type": "string",
|
|
65
68
|
"description": "The repo's current revision (TID), as last reported to the authority. May lag the repo host, which is the source of truth.",
|
|
66
69
|
"format": "tid"
|
|
@@ -68,6 +71,11 @@
|
|
|
68
71
|
"hash": {
|
|
69
72
|
"type": "bytes",
|
|
70
73
|
"description": "The repo's current commit hash (sha256 of the LtHash state), as last reported to the authority."
|
|
74
|
+
},
|
|
75
|
+
"spaceRev": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"format": "tid",
|
|
78
|
+
"description": "The space revision at which this repo was last updated."
|
|
71
79
|
}
|
|
72
80
|
}
|
|
73
81
|
}
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
"parameters": {
|
|
9
9
|
"type": "params",
|
|
10
10
|
"properties": {
|
|
11
|
-
"
|
|
11
|
+
"spaceType": {
|
|
12
12
|
"type": "string",
|
|
13
13
|
"format": "nsid",
|
|
14
|
-
"description": "Filter to spaces of this type."
|
|
14
|
+
"description": "Filter to spaces of this space type."
|
|
15
15
|
},
|
|
16
16
|
"did": {
|
|
17
17
|
"type": "string",
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"lexicon": 1,
|
|
3
|
+
"id": "com.atproto.space.notifyCredentialRevoked",
|
|
4
|
+
"defs": {
|
|
5
|
+
"main": {
|
|
6
|
+
"type": "procedure",
|
|
7
|
+
"description": "Notify a repo host that the space authority has revoked one or more credentials. Authenticated with service auth from the space authority, addressed to the repo DID.",
|
|
8
|
+
"input": {
|
|
9
|
+
"encoding": "application/json",
|
|
10
|
+
"schema": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"required": ["space", "credentials"],
|
|
13
|
+
"properties": {
|
|
14
|
+
"space": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": "space-ref",
|
|
17
|
+
"description": "Reference to the space."
|
|
18
|
+
},
|
|
19
|
+
"credentials": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"minLength": 1,
|
|
22
|
+
"maxLength": 100,
|
|
23
|
+
"description": "The jti of the revoked credentials.",
|
|
24
|
+
"items": { "type": "string", "minLength": 1 }
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
"defs": {
|
|
5
5
|
"main": {
|
|
6
6
|
"type": "procedure",
|
|
7
|
-
"description": "Notify that a repo in a space has advanced
|
|
7
|
+
"description": "Notify that a repo in a space has advanced. Repo hosts reliably deliver their latest state to the space host, which sequences updates and forwards them to registered syncers with reasonable-effort delivery. Authenticated with service auth.",
|
|
8
8
|
"input": {
|
|
9
9
|
"encoding": "application/json",
|
|
10
10
|
"schema": {
|
|
11
11
|
"type": "object",
|
|
12
|
-
"required": ["space", "repo", "
|
|
12
|
+
"required": ["space", "repo", "repoRev", "hash"],
|
|
13
13
|
"properties": {
|
|
14
14
|
"space": {
|
|
15
15
|
"type": "string",
|
|
@@ -21,18 +21,37 @@
|
|
|
21
21
|
"format": "did",
|
|
22
22
|
"description": "The DID of the account whose repo advanced."
|
|
23
23
|
},
|
|
24
|
-
"
|
|
24
|
+
"repoRev": {
|
|
25
25
|
"type": "string",
|
|
26
|
-
"description": "The revision
|
|
26
|
+
"description": "The repo revision after the write.",
|
|
27
27
|
"format": "tid"
|
|
28
28
|
},
|
|
29
29
|
"hash": {
|
|
30
30
|
"type": "bytes",
|
|
31
31
|
"description": "The repo's current commit hash (sha256 of the LtHash state) after the write. Lets the space host maintain each repo's hash for listRepos."
|
|
32
|
+
},
|
|
33
|
+
"spaceRev": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"format": "tid",
|
|
36
|
+
"description": "The space revision assigned by the space host. Present only on notifications forwarded to syncers."
|
|
37
|
+
},
|
|
38
|
+
"prevSpaceRev": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"format": "tid",
|
|
41
|
+
"description": "The previous space revision. Omitted on the first update in a space. A gap indicates missed notifications; recover using listRepos with cursor."
|
|
32
42
|
}
|
|
33
43
|
}
|
|
34
44
|
}
|
|
35
|
-
}
|
|
45
|
+
},
|
|
46
|
+
"errors": [
|
|
47
|
+
{
|
|
48
|
+
"name": "SpaceNotFound"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "FutureRev",
|
|
52
|
+
"description": "The repo revision exceeds the permitted clock skew."
|
|
53
|
+
}
|
|
54
|
+
]
|
|
36
55
|
}
|
|
37
56
|
}
|
|
38
57
|
}
|
|
@@ -102,11 +102,21 @@
|
|
|
102
102
|
"text": {
|
|
103
103
|
"type": "string",
|
|
104
104
|
"description": "The status text.",
|
|
105
|
-
"maxLength":
|
|
105
|
+
"maxLength": 64
|
|
106
106
|
},
|
|
107
107
|
"emoji": {
|
|
108
108
|
"type": "string",
|
|
109
109
|
"description": "An emoji shown beside the status."
|
|
110
|
+
},
|
|
111
|
+
"expiresAt": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"format": "datetime",
|
|
114
|
+
"description": "When the status clears. The AppView stops returning the status once this time passes. Absent means it never expires."
|
|
115
|
+
},
|
|
116
|
+
"showWhileOffline": {
|
|
117
|
+
"type": "boolean",
|
|
118
|
+
"description": "Whether a client shows the status while the user is offline.",
|
|
119
|
+
"default": false
|
|
110
120
|
}
|
|
111
121
|
}
|
|
112
122
|
},
|
|
@@ -13,12 +13,25 @@
|
|
|
13
13
|
"text": {
|
|
14
14
|
"type": "string",
|
|
15
15
|
"description": "The status text. Absent leaves the current value unchanged.",
|
|
16
|
-
"maxLength":
|
|
16
|
+
"maxLength": 64
|
|
17
17
|
},
|
|
18
18
|
"emoji": {
|
|
19
19
|
"type": "string",
|
|
20
20
|
"description": "An emoji shown beside the status. Absent leaves the current value unchanged."
|
|
21
21
|
},
|
|
22
|
+
"expiresAt": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"format": "datetime",
|
|
25
|
+
"description": "When the status clears. Absent leaves the current value unchanged. Takes precedence over removeExpiresAt."
|
|
26
|
+
},
|
|
27
|
+
"removeExpiresAt": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"description": "Removes the status expiry, so the status stays until it is changed. Ignored when expiresAt is also given."
|
|
30
|
+
},
|
|
31
|
+
"showWhileOffline": {
|
|
32
|
+
"type": "boolean",
|
|
33
|
+
"description": "Whether a client shows the status while the user is offline. Absent leaves the current value unchanged."
|
|
34
|
+
},
|
|
22
35
|
"onlineState": {
|
|
23
36
|
"type": "string",
|
|
24
37
|
"description": "Derived online state. Absent leaves the current value unchanged.",
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"lexicon": 1,
|
|
3
|
+
"id": "social.colibri.beta.bridge.leave",
|
|
4
|
+
"defs": {
|
|
5
|
+
"main": {
|
|
6
|
+
"type": "procedure",
|
|
7
|
+
"description": "Disconnects the calling bridge from a community and deletes its registration, for when the remote space removed the bridge. Messages it already relayed stay.",
|
|
8
|
+
"input": {
|
|
9
|
+
"encoding": "application/json",
|
|
10
|
+
"schema": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"required": ["community", "registration"],
|
|
13
|
+
"properties": {
|
|
14
|
+
"community": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": "did",
|
|
17
|
+
"description": "The community the registration belongs to."
|
|
18
|
+
},
|
|
19
|
+
"registration": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"format": "tid",
|
|
22
|
+
"description": "Record key of the registration."
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"output": {
|
|
28
|
+
"encoding": "application/json",
|
|
29
|
+
"schema": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"properties": {}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"errors": [
|
|
35
|
+
{
|
|
36
|
+
"name": "AuthRequired",
|
|
37
|
+
"description": "The request is missing, malformed, or unverifiable service auth."
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "CommunityNotFound",
|
|
41
|
+
"description": "No community exists at the given DID."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "RegistrationNotFound",
|
|
45
|
+
"description": "The community has no bridge registration with that id."
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "Forbidden",
|
|
49
|
+
"description": "The caller is not the bridge this registration belongs to."
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "CredentialsUnavailable",
|
|
53
|
+
"description": "The AppView cannot act as the community because its stored credentials are missing or unusable."
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"lexicon": 1,
|
|
3
|
+
"id": "social.colibri.beta.bridge.replaceAvatar",
|
|
4
|
+
"defs": {
|
|
5
|
+
"main": {
|
|
6
|
+
"type": "procedure",
|
|
7
|
+
"description": "Swaps the avatar on every message and thread attributed to one remote author of this registration, so the previous avatar blob is no longer referenced.",
|
|
8
|
+
"input": {
|
|
9
|
+
"encoding": "application/json",
|
|
10
|
+
"schema": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"required": ["community", "registration", "remoteId"],
|
|
13
|
+
"properties": {
|
|
14
|
+
"community": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": "did",
|
|
17
|
+
"description": "The community the registration belongs to."
|
|
18
|
+
},
|
|
19
|
+
"registration": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"format": "tid",
|
|
22
|
+
"description": "Record key of the registration."
|
|
23
|
+
},
|
|
24
|
+
"remoteId": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"maxLength": 256,
|
|
27
|
+
"description": "The author's id on the other service, as attributed on their records."
|
|
28
|
+
},
|
|
29
|
+
"avatar": {
|
|
30
|
+
"type": "blob",
|
|
31
|
+
"accept": ["image/png", "image/jpeg", "image/gif", "image/webp"],
|
|
32
|
+
"maxSize": 1000000,
|
|
33
|
+
"description": "The new avatar, uploaded with uploadBlob. Leave it out to remove the avatar."
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"output": {
|
|
39
|
+
"encoding": "application/json",
|
|
40
|
+
"schema": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"required": ["updated"],
|
|
43
|
+
"properties": {
|
|
44
|
+
"updated": {
|
|
45
|
+
"type": "integer",
|
|
46
|
+
"minimum": 0,
|
|
47
|
+
"description": "How many records now carry the new avatar."
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"errors": [
|
|
53
|
+
{
|
|
54
|
+
"name": "AuthRequired",
|
|
55
|
+
"description": "The request is missing, malformed, or unverifiable service auth."
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "CommunityNotFound",
|
|
59
|
+
"description": "No community exists at the given DID."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "RegistrationNotFound",
|
|
63
|
+
"description": "The community has no bridge registration with that id."
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "Forbidden",
|
|
67
|
+
"description": "The caller is not the bridge this registration belongs to."
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "CredentialsUnavailable",
|
|
71
|
+
"description": "The AppView cannot act as the community because its stored credentials are missing or unusable."
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
"requiresApprovalToJoin": {
|
|
30
30
|
"type": "boolean",
|
|
31
31
|
"description": "Whether joining produces an application a moderator must approve. Defaults to false."
|
|
32
|
+
},
|
|
33
|
+
"overrideUserNameColors": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"description": "Whether only role colours are shown in chat. Members' own name colours are hidden, and a member without a coloured role shows the default name colour. Defaults to false."
|
|
32
36
|
}
|
|
33
37
|
}
|
|
34
38
|
}
|
|
@@ -56,6 +56,10 @@
|
|
|
56
56
|
"type": "boolean",
|
|
57
57
|
"description": "Whether link previews are shown by default."
|
|
58
58
|
},
|
|
59
|
+
"overrideUserNameColors": {
|
|
60
|
+
"type": "boolean",
|
|
61
|
+
"description": "Whether only role colours are shown in chat. Members' own name colours are hidden, and a member without a coloured role shows the default name colour. Absent means false."
|
|
62
|
+
},
|
|
59
63
|
"labelers": {
|
|
60
64
|
"type": "array",
|
|
61
65
|
"items": {
|
|
@@ -275,6 +279,11 @@
|
|
|
275
279
|
"description": "Hex colour as #rrggbb.",
|
|
276
280
|
"maxLength": 7
|
|
277
281
|
},
|
|
282
|
+
"badge": {
|
|
283
|
+
"type": "union",
|
|
284
|
+
"refs": ["#roleIconBadge", "#roleImageBadgeView"],
|
|
285
|
+
"description": "The role's badge, if it has one."
|
|
286
|
+
},
|
|
278
287
|
"permissions": {
|
|
279
288
|
"type": "array",
|
|
280
289
|
"items": {
|
|
@@ -341,6 +350,36 @@
|
|
|
341
350
|
}
|
|
342
351
|
}
|
|
343
352
|
},
|
|
353
|
+
"roleIconBadge": {
|
|
354
|
+
"type": "object",
|
|
355
|
+
"description": "A role badge drawn from the client's curated icon set.",
|
|
356
|
+
"required": ["icon"],
|
|
357
|
+
"properties": {
|
|
358
|
+
"icon": {
|
|
359
|
+
"type": "string",
|
|
360
|
+
"minLength": 1,
|
|
361
|
+
"maxLength": 64,
|
|
362
|
+
"description": "The icon's identifier in the client's curated set, for example shield-check."
|
|
363
|
+
},
|
|
364
|
+
"color": {
|
|
365
|
+
"type": "string",
|
|
366
|
+
"maxLength": 7,
|
|
367
|
+
"description": "Hex colour as #rrggbb. Absent means the role colour, or the client's default badge colour."
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
"roleImageBadgeView": {
|
|
372
|
+
"type": "object",
|
|
373
|
+
"description": "A badge drawn from an uploaded image.",
|
|
374
|
+
"required": ["image"],
|
|
375
|
+
"properties": {
|
|
376
|
+
"image": {
|
|
377
|
+
"type": "string",
|
|
378
|
+
"format": "uri",
|
|
379
|
+
"description": "URL of the badge image, served by this AppView's blob proxy."
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
},
|
|
344
383
|
"memberView": {
|
|
345
384
|
"type": "object",
|
|
346
385
|
"description": "An admitted community member.",
|
|
@@ -29,6 +29,11 @@
|
|
|
29
29
|
"default": true,
|
|
30
30
|
"description": "Whether link previews are shown by default. Channels may override this."
|
|
31
31
|
},
|
|
32
|
+
"overrideUserNameColors": {
|
|
33
|
+
"type": "boolean",
|
|
34
|
+
"default": false,
|
|
35
|
+
"description": "Whether only role colours are shown in chat. Members' own name colours are hidden, and a member without a coloured role shows the default name colour. Defaults to false."
|
|
36
|
+
},
|
|
32
37
|
"labelers": {
|
|
33
38
|
"type": "array",
|
|
34
39
|
"items": {
|
|
@@ -43,6 +43,10 @@
|
|
|
43
43
|
"description": "A labeler."
|
|
44
44
|
},
|
|
45
45
|
"description": "DIDs whose labels this community honours."
|
|
46
|
+
},
|
|
47
|
+
"overrideUserNameColors": {
|
|
48
|
+
"type": "boolean",
|
|
49
|
+
"description": "Whether only role colours are shown in chat. Members' own name colours are hidden, and a member without a coloured role shows the default name colour."
|
|
46
50
|
}
|
|
47
51
|
}
|
|
48
52
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"defs": {
|
|
5
5
|
"main": {
|
|
6
6
|
"type": "procedure",
|
|
7
|
-
"description": "Registers a push endpoint for the requesting user's device. Web Push requires endpoint, p256dh, and auth. FCM requires token.",
|
|
7
|
+
"description": "Registers a push endpoint for the requesting user's device. Web Push requires endpoint, p256dh, and auth. FCM requires token. APNs requires token and environment.",
|
|
8
8
|
"input": {
|
|
9
9
|
"encoding": "application/json",
|
|
10
10
|
"schema": {
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"provider": {
|
|
15
15
|
"type": "string",
|
|
16
16
|
"description": "The push provider to register with.",
|
|
17
|
-
"knownValues": ["webpush", "fcm"]
|
|
17
|
+
"knownValues": ["webpush", "fcm", "apns"]
|
|
18
18
|
},
|
|
19
19
|
"platform": {
|
|
20
20
|
"type": "string",
|
|
21
21
|
"description": "The platform the device runs.",
|
|
22
|
-
"knownValues": ["web", "ios", "android"]
|
|
22
|
+
"knownValues": ["web", "ios", "android", "macos"]
|
|
23
23
|
},
|
|
24
24
|
"endpoint": {
|
|
25
25
|
"type": "string",
|
|
@@ -36,7 +36,12 @@
|
|
|
36
36
|
},
|
|
37
37
|
"token": {
|
|
38
38
|
"type": "string",
|
|
39
|
-
"description": "The FCM registration token. Required when provider is fcm."
|
|
39
|
+
"description": "The FCM registration token or the hex-encoded APNs device token. Required when provider is fcm or apns."
|
|
40
|
+
},
|
|
41
|
+
"environment": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"description": "The APNs environment the device token belongs to. Required when provider is apns.",
|
|
44
|
+
"knownValues": ["sandbox", "production"]
|
|
40
45
|
}
|
|
41
46
|
}
|
|
42
47
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"provider": {
|
|
15
15
|
"type": "string",
|
|
16
16
|
"description": "The push provider to unregister from.",
|
|
17
|
-
"knownValues": ["webpush", "fcm"]
|
|
17
|
+
"knownValues": ["webpush", "fcm", "apns"]
|
|
18
18
|
},
|
|
19
19
|
"endpoint": {
|
|
20
20
|
"type": "string",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"token": {
|
|
25
25
|
"type": "string",
|
|
26
|
-
"description": "The FCM registration token to remove."
|
|
26
|
+
"description": "The FCM registration token or APNs device token to remove."
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
"social.colibri.beta.bridge.hideMessage",
|
|
28
28
|
"social.colibri.beta.bridge.importMessages",
|
|
29
29
|
"social.colibri.beta.bridge.reportBackfill",
|
|
30
|
+
"social.colibri.beta.bridge.replaceAvatar",
|
|
31
|
+
"social.colibri.beta.bridge.leave",
|
|
30
32
|
"social.colibri.beta.channel.listMessages",
|
|
31
33
|
"social.colibri.beta.channel.getChannel",
|
|
32
34
|
"social.colibri.beta.blob.get"
|