@atproto/bsky 0.0.52 → 0.0.53
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/CHANGELOG.md +7 -0
- package/dist/api/app/bsky/feed/getPostThread.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getPostThread.js +13 -3
- package/dist/api/app/bsky/feed/getPostThread.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +9 -4
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +12 -7
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +4 -4
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/defs.js +7 -7
- package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/sendMessage.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/convo/sendMessage.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.d.ts +2 -0
- package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.d.ts.map +1 -1
- package/dist/views/index.d.ts +1 -1
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +6 -2
- package/dist/views/index.js.map +1 -1
- package/package.json +4 -4
- package/src/api/app/bsky/feed/getPostThread.ts +13 -3
- package/src/lexicon/lexicons.ts +13 -7
- package/src/lexicon/types/chat/bsky/convo/defs.ts +6 -6
- package/src/lexicon/types/chat/bsky/convo/sendMessage.ts +1 -1
- package/src/lexicon/types/chat/bsky/convo/sendMessageBatch.ts +1 -1
- package/src/lexicon/types/chat/bsky/moderation/getMessageContext.ts +2 -0
- package/src/views/index.ts +7 -2
- package/tests/views/__snapshots__/thread.test.ts.snap +177 -11
- package/tests/views/thread.test.ts +15 -0
package/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPostThread.d.ts","sourceRoot":"","sources":["../../../../../src/api/app/bsky/feed/getPostThread.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getPostThread.d.ts","sourceRoot":"","sources":["../../../../../src/api/app/bsky/feed/getPostThread.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAM5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAa5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAqCvD"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const xrpc_server_1 = require("@atproto/xrpc-server");
|
|
4
|
+
const syntax_1 = require("@atproto/syntax");
|
|
4
5
|
const defs_1 = require("../../../../lexicon/types/app/bsky/feed/defs");
|
|
5
6
|
const util_1 = require("../../../util");
|
|
6
7
|
const pipeline_1 = require("../../../../pipeline");
|
|
@@ -40,21 +41,22 @@ function default_1(server, ctx) {
|
|
|
40
41
|
exports.default = default_1;
|
|
41
42
|
const skeleton = async (inputs) => {
|
|
42
43
|
const { ctx, params } = inputs;
|
|
44
|
+
const anchor = await resolveUri(ctx, params.uri);
|
|
43
45
|
try {
|
|
44
46
|
const res = await ctx.dataplane.getThread({
|
|
45
|
-
postUri:
|
|
47
|
+
postUri: anchor,
|
|
46
48
|
above: params.parentHeight,
|
|
47
49
|
below: params.depth,
|
|
48
50
|
});
|
|
49
51
|
return {
|
|
50
|
-
anchor
|
|
52
|
+
anchor,
|
|
51
53
|
uris: res.uris,
|
|
52
54
|
};
|
|
53
55
|
}
|
|
54
56
|
catch (err) {
|
|
55
57
|
if ((0, data_plane_1.isDataplaneError)(err, data_plane_1.Code.NotFound)) {
|
|
56
58
|
return {
|
|
57
|
-
anchor
|
|
59
|
+
anchor,
|
|
58
60
|
uris: [],
|
|
59
61
|
};
|
|
60
62
|
}
|
|
@@ -79,4 +81,12 @@ const presentation = (inputs) => {
|
|
|
79
81
|
}
|
|
80
82
|
return { thread };
|
|
81
83
|
};
|
|
84
|
+
const resolveUri = async (ctx, uriStr) => {
|
|
85
|
+
const uri = new syntax_1.AtUri(uriStr);
|
|
86
|
+
const [did] = await ctx.hydrator.actor.getDids([uri.host]);
|
|
87
|
+
if (!did)
|
|
88
|
+
return uriStr;
|
|
89
|
+
uri.host = did;
|
|
90
|
+
return uri.toString();
|
|
91
|
+
};
|
|
82
92
|
//# sourceMappingURL=getPostThread.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPostThread.js","sourceRoot":"","sources":["../../../../../src/api/app/bsky/feed/getPostThread.ts"],"names":[],"mappings":";;AAAA,sDAA0D;
|
|
1
|
+
{"version":3,"file":"getPostThread.js","sourceRoot":"","sources":["../../../../../src/api/app/bsky/feed/getPostThread.ts"],"names":[],"mappings":";;AAAA,sDAA0D;AAC1D,4CAAuC;AAEvC,uEAA6E;AAM7E,wCAA4D;AAC5D,mDAM6B;AAG7B,uDAAgF;AAEhF,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,aAAa,GAAG,IAAA,yBAAc,EAClC,QAAQ,EACR,SAAS,EACT,kBAAO,EAAE,yHAAyH;IAClI,YAAY,CACb,CAAA;IACD,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC;QACjC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,sBAAsB;QAC7C,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE;YAC5C,MAAM,EAAE,MAAM,EAAE,GAAG,GAAG,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAA;YAC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,CAAA;IAC5E,CAAC;IACD,OAAO,EAAE,MAAM,EAAE,CAAA;AACnB,CAAC,CAAA;AAeD,MAAM,UAAU,GAAG,KAAK,EAAE,GAAY,EAAE,MAAc,EAAE,EAAE;IACxD,MAAM,GAAG,GAAG,IAAI,cAAK,CAAC,MAAM,CAAC,CAAA;IAC7B,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAA;IAC1D,IAAI,CAAC,GAAG;QAAE,OAAO,MAAM,CAAA;IACvB,GAAG,CAAC,IAAI,GAAG,GAAG,CAAA;IACd,OAAO,GAAG,CAAC,QAAQ,EAAE,CAAA;AACvB,CAAC,CAAA"}
|
|
@@ -7745,18 +7745,18 @@ export declare const schemaDict: {
|
|
|
7745
7745
|
type: string;
|
|
7746
7746
|
format: string;
|
|
7747
7747
|
};
|
|
7748
|
+
convoId: {
|
|
7749
|
+
type: string;
|
|
7750
|
+
};
|
|
7748
7751
|
messageId: {
|
|
7749
7752
|
type: string;
|
|
7750
7753
|
};
|
|
7751
7754
|
};
|
|
7752
7755
|
};
|
|
7753
|
-
|
|
7756
|
+
messageInput: {
|
|
7754
7757
|
type: string;
|
|
7755
7758
|
required: string[];
|
|
7756
7759
|
properties: {
|
|
7757
|
-
id: {
|
|
7758
|
-
type: string;
|
|
7759
|
-
};
|
|
7760
7760
|
text: {
|
|
7761
7761
|
type: string;
|
|
7762
7762
|
maxLength: number;
|
|
@@ -8270,6 +8270,7 @@ export declare const schemaDict: {
|
|
|
8270
8270
|
properties: {
|
|
8271
8271
|
items: {
|
|
8272
8272
|
type: string;
|
|
8273
|
+
maxLength: number;
|
|
8273
8274
|
items: {
|
|
8274
8275
|
type: string;
|
|
8275
8276
|
ref: string;
|
|
@@ -8449,6 +8450,10 @@ export declare const schemaDict: {
|
|
|
8449
8450
|
type: string;
|
|
8450
8451
|
required: string[];
|
|
8451
8452
|
properties: {
|
|
8453
|
+
convoId: {
|
|
8454
|
+
type: string;
|
|
8455
|
+
description: string;
|
|
8456
|
+
};
|
|
8452
8457
|
messageId: {
|
|
8453
8458
|
type: string;
|
|
8454
8459
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lexicons.d.ts","sourceRoot":"","sources":["../../src/lexicon/lexicons.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEvD,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"lexicons.d.ts","sourceRoot":"","sources":["../../src/lexicon/lexicons.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEvD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;CAwLf,CAAA"}
|
package/dist/lexicon/lexicons.js
CHANGED
|
@@ -8046,24 +8046,24 @@ exports.schemaDict = {
|
|
|
8046
8046
|
defs: {
|
|
8047
8047
|
messageRef: {
|
|
8048
8048
|
type: 'object',
|
|
8049
|
-
required: ['did', 'messageId'],
|
|
8049
|
+
required: ['did', 'messageId', 'convoId'],
|
|
8050
8050
|
properties: {
|
|
8051
8051
|
did: {
|
|
8052
8052
|
type: 'string',
|
|
8053
8053
|
format: 'did',
|
|
8054
8054
|
},
|
|
8055
|
+
convoId: {
|
|
8056
|
+
type: 'string',
|
|
8057
|
+
},
|
|
8055
8058
|
messageId: {
|
|
8056
8059
|
type: 'string',
|
|
8057
8060
|
},
|
|
8058
8061
|
},
|
|
8059
8062
|
},
|
|
8060
|
-
|
|
8063
|
+
messageInput: {
|
|
8061
8064
|
type: 'object',
|
|
8062
8065
|
required: ['text'],
|
|
8063
8066
|
properties: {
|
|
8064
|
-
id: {
|
|
8065
|
-
type: 'string',
|
|
8066
|
-
},
|
|
8067
8067
|
text: {
|
|
8068
8068
|
type: 'string',
|
|
8069
8069
|
maxLength: 10000,
|
|
@@ -8565,7 +8565,7 @@ exports.schemaDict = {
|
|
|
8565
8565
|
},
|
|
8566
8566
|
message: {
|
|
8567
8567
|
type: 'ref',
|
|
8568
|
-
ref: 'lex:chat.bsky.convo.defs#
|
|
8568
|
+
ref: 'lex:chat.bsky.convo.defs#messageInput',
|
|
8569
8569
|
},
|
|
8570
8570
|
},
|
|
8571
8571
|
},
|
|
@@ -8594,6 +8594,7 @@ exports.schemaDict = {
|
|
|
8594
8594
|
properties: {
|
|
8595
8595
|
items: {
|
|
8596
8596
|
type: 'array',
|
|
8597
|
+
maxLength: 100,
|
|
8597
8598
|
items: {
|
|
8598
8599
|
type: 'ref',
|
|
8599
8600
|
ref: 'lex:chat.bsky.convo.sendMessageBatch#batchItem',
|
|
@@ -8628,7 +8629,7 @@ exports.schemaDict = {
|
|
|
8628
8629
|
},
|
|
8629
8630
|
message: {
|
|
8630
8631
|
type: 'ref',
|
|
8631
|
-
ref: 'lex:chat.bsky.convo.defs#
|
|
8632
|
+
ref: 'lex:chat.bsky.convo.defs#messageInput',
|
|
8632
8633
|
},
|
|
8633
8634
|
},
|
|
8634
8635
|
},
|
|
@@ -8778,6 +8779,10 @@ exports.schemaDict = {
|
|
|
8778
8779
|
type: 'params',
|
|
8779
8780
|
required: ['messageId'],
|
|
8780
8781
|
properties: {
|
|
8782
|
+
convoId: {
|
|
8783
|
+
type: 'string',
|
|
8784
|
+
description: 'Conversation that the message is from. NOTE: this field will eventually be required.',
|
|
8785
|
+
},
|
|
8781
8786
|
messageId: {
|
|
8782
8787
|
type: 'string',
|
|
8783
8788
|
},
|