@colibri-social/lexicons 2.20.0 → 2.21.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.
@@ -1 +1 @@
1
- {"version":3,"file":"permissionMessaging.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/social/colibri/beta/permissionMessaging.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,4CAA4C,CAAC;AAExD,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,QAAA,MAAM,IAAI,4UAAywE,CAAC;AAEpxE,OAAO,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"permissionMessaging.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/social/colibri/beta/permissionMessaging.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,4CAA4C,CAAC;AAExD,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,QAAA,MAAM,IAAI,4UAAkzE,CAAC;AAE7zE,OAAO,EAAE,IAAI,EAAE,CAAC"}
@@ -4,6 +4,6 @@
4
4
  import { l } from "@atproto/lex";
5
5
  const $nsid = "social.colibri.beta.permissionMessaging";
6
6
  export { $nsid };
7
- const main = /*#__PURE__*/ l.permissionSet($nsid, [/*#__PURE__*/ l.permission("space", { "spaceType": "social.colibri.beta.channel.text", "authority": "*", "collection": ["social.colibri.beta.message", "social.colibri.beta.reaction"], "action": ["read", "create", "update", "delete"] }), /*#__PURE__*/ l.permission("space", { "spaceType": "social.colibri.beta.channel.thread", "authority": "*", "collection": ["social.colibri.beta.message", "social.colibri.beta.reaction", "social.colibri.beta.thread.follow"], "action": ["read", "create", "update", "delete"] }), /*#__PURE__*/ l.permission("space", { "spaceType": "social.colibri.beta.channel.voice", "authority": "*", "collection": ["social.colibri.beta.message", "social.colibri.beta.reaction"], "action": ["read", "create", "update", "delete"] }), /*#__PURE__*/ l.permission("space", { "spaceType": "social.colibri.beta.community.profile", "authority": "*", "action": ["read"] }), /*#__PURE__*/ l.permission("space", { "spaceType": "social.colibri.beta.community.configuration", "authority": "*", "action": ["read"] }), /*#__PURE__*/ l.permission("space", { "spaceType": "social.colibri.beta.community.members", "authority": "*", "action": ["read"] }), /*#__PURE__*/ l.permission("rpc", { "inheritAud": true, "lxm": ["social.colibri.beta.community.getCommunity", "social.colibri.beta.community.join", "social.colibri.beta.community.leave", "social.colibri.beta.community.listCategories", "social.colibri.beta.community.listChannels", "social.colibri.beta.community.listMembers", "social.colibri.beta.community.listRoles", "social.colibri.beta.community.getInvitation", "social.colibri.beta.channel.getChannel", "social.colibri.beta.channel.listMessages", "social.colibri.beta.channel.listReactions", "social.colibri.beta.channel.listUnreadStatus", "social.colibri.beta.channel.listSummaries", "social.colibri.beta.channel.putReadCursors", "social.colibri.beta.embed.getMetadata", "social.colibri.beta.embed.searchGifs", "social.colibri.beta.embed.trendingGifs", "social.colibri.beta.embed.gifCategories", "social.colibri.beta.blob.get", "social.colibri.beta.thread.create", "social.colibri.beta.thread.update", "social.colibri.beta.thread.getThread", "social.colibri.beta.thread.listThreads"] }), /*#__PURE__*/ l.permission("blob", { "accept": ["image/*", "video/*"] })], { "title": "Colibri messages", "detail": "Read and post in the Colibri communities you belong to." });
7
+ const main = /*#__PURE__*/ l.permissionSet($nsid, [/*#__PURE__*/ l.permission("space", { "spaceType": "social.colibri.beta.channel.text", "authority": "*", "collection": ["social.colibri.beta.message", "social.colibri.beta.reaction"], "action": ["read", "create", "update", "delete"] }), /*#__PURE__*/ l.permission("space", { "spaceType": "social.colibri.beta.channel.thread", "authority": "*", "collection": ["social.colibri.beta.message", "social.colibri.beta.reaction", "social.colibri.beta.thread.follow"], "action": ["read", "create", "update", "delete"] }), /*#__PURE__*/ l.permission("space", { "spaceType": "social.colibri.beta.channel.voice", "authority": "*", "collection": ["social.colibri.beta.message", "social.colibri.beta.reaction"], "action": ["read", "create", "update", "delete"] }), /*#__PURE__*/ l.permission("space", { "spaceType": "social.colibri.beta.community.profile", "authority": "*", "action": ["read"] }), /*#__PURE__*/ l.permission("space", { "spaceType": "social.colibri.beta.community.configuration", "authority": "*", "action": ["read"] }), /*#__PURE__*/ l.permission("space", { "spaceType": "social.colibri.beta.community.members", "authority": "*", "action": ["read"] }), /*#__PURE__*/ l.permission("rpc", { "inheritAud": true, "lxm": ["social.colibri.beta.community.getCommunity", "social.colibri.beta.community.join", "social.colibri.beta.community.leave", "social.colibri.beta.community.listCategories", "social.colibri.beta.community.listChannels", "social.colibri.beta.community.listMembers", "social.colibri.beta.community.listRoles", "social.colibri.beta.community.getInvitation", "social.colibri.beta.channel.getChannel", "social.colibri.beta.channel.listMessages", "social.colibri.beta.channel.listReactions", "social.colibri.beta.channel.listUnreadStatus", "social.colibri.beta.channel.listSummaries", "social.colibri.beta.channel.putReadCursors", "social.colibri.beta.embed.getMetadata", "social.colibri.beta.embed.searchGifs", "social.colibri.beta.embed.trendingGifs", "social.colibri.beta.embed.gifCategories", "social.colibri.beta.blob.get", "social.colibri.beta.thread.create", "social.colibri.beta.thread.update", "social.colibri.beta.thread.getThread", "social.colibri.beta.thread.listMembers", "social.colibri.beta.thread.listThreads"] }), /*#__PURE__*/ l.permission("blob", { "accept": ["image/*", "video/*"] })], { "title": "Colibri messages", "detail": "Read and post in the Colibri communities you belong to." });
8
8
  export { main };
9
9
  //# sourceMappingURL=permissionMessaging.defs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"permissionMessaging.defs.js","sourceRoot":"","sources":["../../../../../src/generated/social/colibri/beta/permissionMessaging.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,yC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EAAC,8CAA8C,EAAC,4CAA4C,EAAC,2CAA2C,EAAC,yCAAyC,EAAC,6CAA6C,EAAC,wCAAwC,EAAC,0CAA0C,EAAC,2CAA2C,EAAC,8CAA8C,EAAC,2CAA2C,EAAC,4CAA4C,EAAC,uCAAuC,EAAC,sCAAsC,EAAC,wCAAwC,EAAC,yCAAyC,EAAC,8BAA8B,EAAC,mCAAmC,EAAC,mCAAmC,EAAC,sCAAsC,EAAC,wCAAwC,EAAC,wCAAwC,CAAC,EAAC,CAAC,EAAC,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,EAAE,EAAC,QAAQ,EAAC,CAAC,SAAS,EAAC,SAAS,CAAC,EAAC,CAAC,CAAC,EAAE,EAAC,OAAO,EAAC,kBAAkB,EAAC,QAAQ,EAAC,yDAAyD,EAAC,CAAC,CAAC;AAE7zE,OAAO,EAAE,IAAI,EAAE,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./listMembers.defs.js";
2
+ export * as $defs from "./listMembers.defs.js";
3
+ export { main as default } from "./listMembers.defs.js";
4
+ //# sourceMappingURL=listMembers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listMembers.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/social/colibri/beta/thread/listMembers.ts"],"names":[],"mappings":"AAIA,cAAc,uBAAuB,CAAC;AACtC,OAAO,KAAK,KAAK,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { l } from "@atproto/lex";
2
+ declare const $nsid = "social.colibri.beta.thread.listMembers";
3
+ type $nsid = typeof $nsid;
4
+ export { $nsid };
5
+ export declare const $params: l.ParamsSchema<{
6
+ readonly thread: l.StringSchema<{
7
+ readonly format: "space-ref";
8
+ }>;
9
+ }>;
10
+ export type $Params = l.InferOutput<typeof $params>;
11
+ export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
12
+ members: l.ArraySchema<l.StringSchema<{
13
+ readonly format: "did";
14
+ }>>;
15
+ }>>;
16
+ export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
17
+ export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
18
+ /** Lists who belongs to a thread: the author of the message it was opened from, everyone who has posted in it, everyone mentioned in it directly or through a role, and everyone who follows it. Only current members who may read the thread are listed. */
19
+ declare const main: l.Query<"social.colibri.beta.thread.listMembers", l.ParamsSchema<{
20
+ readonly thread: l.StringSchema<{
21
+ readonly format: "space-ref";
22
+ }>;
23
+ }>, l.Payload<"application/json", l.ObjectSchema<{
24
+ members: l.ArraySchema<l.StringSchema<{
25
+ readonly format: "did";
26
+ }>>;
27
+ }>>, readonly ["AuthRequired", "Forbidden", "ThreadNotFound"]>;
28
+ export { main };
29
+ declare const $lxm = "social.colibri.beta.thread.listMembers";
30
+ type $lxm = typeof $lxm;
31
+ export { $lxm };
32
+ //# sourceMappingURL=listMembers.defs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listMembers.defs.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/social/colibri/beta/thread/listMembers.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,2CAA2C,CAAC;AAEvD,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO;;;;EAAoF,CAAC;AAEzG,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,OAAO;;;;GAA6G,CAAC;AAElI,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,6PAA6P;AAC7P,QAAA,MAAM,IAAI;;;;;;;;8DAAgG,CAAC;AAE3G,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,2CAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
@@ -0,0 +1,14 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ import { l } from "@atproto/lex";
5
+ const $nsid = "social.colibri.beta.thread.listMembers";
6
+ export { $nsid };
7
+ export const $params = /*#__PURE__*/ l.params({ "thread": /*#__PURE__*/ l.string({ "format": "space-ref" }) });
8
+ export const $output = /*#__PURE__*/ l.jsonPayload({ "members": /*#__PURE__*/ l.array(/*#__PURE__*/ l.string({ "format": "did" })) });
9
+ /** Lists who belongs to a thread: the author of the message it was opened from, everyone who has posted in it, everyone mentioned in it directly or through a role, and everyone who follows it. Only current members who may read the thread are listed. */
10
+ const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["AuthRequired", "Forbidden", "ThreadNotFound"]);
11
+ export { main };
12
+ const $lxm = $nsid;
13
+ export { $lxm };
14
+ //# sourceMappingURL=listMembers.defs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listMembers.defs.js","sourceRoot":"","sources":["../../../../../../src/generated/social/colibri/beta/thread/listMembers.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,wCAAwC,CAAC;AAIvD,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAC,EAAC,CAAC,CAAC;AAIzG,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,SAAS,EAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,CAAG,EAAC,CAAC,CAAC;AAKlI,6PAA6P;AAC7P,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,cAAc,EAAC,WAAW,EAAC,gBAAgB,CAAC,CAAC,CAAC;AAE3G,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ /*
2
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
3
+ */
4
+ export * from "./listMembers.defs.js";
5
+ export * as $defs from "./listMembers.defs.js";
6
+ export { main as default } from "./listMembers.defs.js";
7
+ //# sourceMappingURL=listMembers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listMembers.js","sourceRoot":"","sources":["../../../../../../src/generated/social/colibri/beta/thread/listMembers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,uBAAuB,CAAC;AACtC,OAAO,KAAK,KAAK,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC"}
@@ -3,6 +3,7 @@ export * as defs from "./thread/defs.js";
3
3
  export * as "delete" from "./thread/delete.js";
4
4
  export * as follow from "./thread/follow.js";
5
5
  export * as getThread from "./thread/getThread.js";
6
+ export * as listMembers from "./thread/listMembers.js";
6
7
  export * as listThreads from "./thread/listThreads.js";
7
8
  export * as moveMessages from "./thread/moveMessages.js";
8
9
  export * as repoint from "./thread/repoint.js";
@@ -1 +1 @@
1
- {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../src/generated/social/colibri/beta/thread.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC;AACzC,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAC/C,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../src/generated/social/colibri/beta/thread.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC;AACzC,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAC/C,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
@@ -6,6 +6,7 @@ export * as defs from "./thread/defs.js";
6
6
  export * as "delete" from "./thread/delete.js";
7
7
  export * as follow from "./thread/follow.js";
8
8
  export * as getThread from "./thread/getThread.js";
9
+ export * as listMembers from "./thread/listMembers.js";
9
10
  export * as listThreads from "./thread/listThreads.js";
10
11
  export * as moveMessages from "./thread/moveMessages.js";
11
12
  export * as repoint from "./thread/repoint.js";
@@ -1 +1 @@
1
- {"version":3,"file":"thread.js","sourceRoot":"","sources":["../../../../../src/generated/social/colibri/beta/thread.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC;AACzC,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAC/C,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"thread.js","sourceRoot":"","sources":["../../../../../src/generated/social/colibri/beta/thread.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC;AACzC,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAC/C,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
@@ -83,6 +83,7 @@
83
83
  "social.colibri.beta.thread.create",
84
84
  "social.colibri.beta.thread.update",
85
85
  "social.colibri.beta.thread.getThread",
86
+ "social.colibri.beta.thread.listMembers",
86
87
  "social.colibri.beta.thread.listThreads"
87
88
  ]
88
89
  },
@@ -0,0 +1,53 @@
1
+ {
2
+ "lexicon": 1,
3
+ "id": "social.colibri.beta.thread.listMembers",
4
+ "defs": {
5
+ "main": {
6
+ "type": "query",
7
+ "description": "Lists who belongs to a thread: the author of the message it was opened from, everyone who has posted in it, everyone mentioned in it directly or through a role, and everyone who follows it. Only current members who may read the thread are listed.",
8
+ "parameters": {
9
+ "type": "params",
10
+ "required": ["thread"],
11
+ "properties": {
12
+ "thread": {
13
+ "type": "string",
14
+ "format": "space-ref",
15
+ "description": "The thread to list members of."
16
+ }
17
+ }
18
+ },
19
+ "output": {
20
+ "encoding": "application/json",
21
+ "schema": {
22
+ "type": "object",
23
+ "required": ["members"],
24
+ "properties": {
25
+ "members": {
26
+ "type": "array",
27
+ "items": {
28
+ "type": "string",
29
+ "format": "did",
30
+ "description": "A member of the thread."
31
+ },
32
+ "description": "The thread's members: the anchor author first, then posters by most recent activity, then everyone else."
33
+ }
34
+ }
35
+ }
36
+ },
37
+ "errors": [
38
+ {
39
+ "name": "AuthRequired",
40
+ "description": "The request has no valid service auth."
41
+ },
42
+ {
43
+ "name": "Forbidden",
44
+ "description": "The requesting user may not read this thread."
45
+ },
46
+ {
47
+ "name": "ThreadNotFound",
48
+ "description": "No thread matches the given space reference."
49
+ }
50
+ ]
51
+ }
52
+ }
53
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colibri-social/lexicons",
3
- "version": "2.20.0",
3
+ "version": "2.21.0",
4
4
  "description": "Colibri lexicon schemas and the types generated from them",
5
5
  "type": "module",
6
6
  "exports": {