@atproto/bsky 0.0.77 → 0.0.78
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 +9 -0
- package/dist/api/app/bsky/feed/getListFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getListFeed.js +19 -3
- package/dist/api/app/bsky/feed/getListFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getQuotes.js +8 -8
- package/dist/api/app/bsky/feed/getQuotes.js.map +1 -1
- package/dist/api/app/bsky/graph/getList.js +4 -4
- package/dist/api/app/bsky/graph/getList.js.map +1 -1
- package/dist/data-plane/server/routes/quotes.js +2 -2
- package/dist/data-plane/server/routes/quotes.js.map +1 -1
- package/dist/data-plane/server/routes/records.js +1 -1
- package/dist/hydration/feed.js +1 -1
- package/dist/lexicon/lexicons.d.ts +3 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +4 -1
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/record.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/embed/record.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/record.js.map +1 -1
- package/dist/proto/bsky_connect.d.ts +20 -11
- package/dist/proto/bsky_connect.d.ts.map +1 -1
- package/dist/proto/bsky_connect.js +19 -10
- package/dist/proto/bsky_connect.js.map +1 -1
- package/dist/proto/bsky_pb.d.ts +101 -63
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js +278 -160
- package/dist/proto/bsky_pb.js.map +1 -1
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +1 -0
- package/dist/views/index.js.map +1 -1
- package/package.json +4 -4
- package/proto/bsky.proto +30 -23
- package/src/api/app/bsky/feed/getListFeed.ts +30 -3
- package/src/api/app/bsky/feed/getQuotes.ts +13 -10
- package/src/api/app/bsky/graph/getList.ts +4 -4
- package/src/data-plane/server/routes/quotes.ts +2 -2
- package/src/data-plane/server/routes/records.ts +1 -1
- package/src/hydration/feed.ts +1 -1
- package/src/lexicon/lexicons.ts +4 -1
- package/src/lexicon/types/app/bsky/embed/record.ts +1 -0
- package/src/proto/bsky_connect.ts +25 -14
- package/src/proto/bsky_pb.ts +293 -159
- package/src/views/index.ts +1 -0
- package/tests/__snapshots__/feed-generation.test.ts.snap +5 -0
- package/tests/data-plane/__snapshots__/indexing.test.ts.snap +2 -0
- package/tests/views/__snapshots__/author-feed.test.ts.snap +9 -0
- package/tests/views/__snapshots__/block-lists.test.ts.snap +1 -0
- package/tests/views/__snapshots__/blocks.test.ts.snap +1 -0
- package/tests/views/__snapshots__/list-feed.test.ts.snap +2 -0
- package/tests/views/__snapshots__/lists.test.ts.snap +185 -1
- package/tests/views/__snapshots__/posts.test.ts.snap +3 -0
- package/tests/views/__snapshots__/quotes.test.ts.snap +3 -0
- package/tests/views/__snapshots__/timeline.test.ts.snap +21 -0
- package/tests/views/list-feed.test.ts +12 -0
- package/tests/views/lists.test.ts +83 -18
|
@@ -291,6 +291,7 @@ Array [
|
|
|
291
291
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
292
292
|
"labels": Array [],
|
|
293
293
|
"likeCount": 2,
|
|
294
|
+
"quoteCount": 1,
|
|
294
295
|
"replyCount": 0,
|
|
295
296
|
"repostCount": 0,
|
|
296
297
|
"uri": "record(9)",
|
|
@@ -341,6 +342,7 @@ Array [
|
|
|
341
342
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
342
343
|
"labels": Array [],
|
|
343
344
|
"likeCount": 0,
|
|
345
|
+
"quoteCount": 1,
|
|
344
346
|
"replyCount": 0,
|
|
345
347
|
"repostCount": 1,
|
|
346
348
|
"uri": "record(7)",
|
|
@@ -852,6 +854,7 @@ Array [
|
|
|
852
854
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
853
855
|
"labels": Array [],
|
|
854
856
|
"likeCount": 0,
|
|
857
|
+
"quoteCount": 1,
|
|
855
858
|
"replyCount": 0,
|
|
856
859
|
"repostCount": 0,
|
|
857
860
|
"uri": "record(2)",
|
|
@@ -871,6 +874,7 @@ Array [
|
|
|
871
874
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
872
875
|
"labels": Array [],
|
|
873
876
|
"likeCount": 2,
|
|
877
|
+
"quoteCount": 1,
|
|
874
878
|
"replyCount": 0,
|
|
875
879
|
"repostCount": 0,
|
|
876
880
|
"uri": "record(1)",
|
|
@@ -1162,6 +1166,7 @@ Array [
|
|
|
1162
1166
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
1163
1167
|
"labels": Array [],
|
|
1164
1168
|
"likeCount": 0,
|
|
1169
|
+
"quoteCount": 1,
|
|
1165
1170
|
"replyCount": 0,
|
|
1166
1171
|
"repostCount": 0,
|
|
1167
1172
|
"uri": "record(2)",
|
|
@@ -1616,6 +1621,7 @@ Array [
|
|
|
1616
1621
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
1617
1622
|
"labels": Array [],
|
|
1618
1623
|
"likeCount": 0,
|
|
1624
|
+
"quoteCount": 1,
|
|
1619
1625
|
"replyCount": 0,
|
|
1620
1626
|
"repostCount": 0,
|
|
1621
1627
|
"uri": "record(11)",
|
|
@@ -1635,6 +1641,7 @@ Array [
|
|
|
1635
1641
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
1636
1642
|
"labels": Array [],
|
|
1637
1643
|
"likeCount": 2,
|
|
1644
|
+
"quoteCount": 1,
|
|
1638
1645
|
"replyCount": 0,
|
|
1639
1646
|
"repostCount": 0,
|
|
1640
1647
|
"uri": "record(10)",
|
|
@@ -2054,6 +2061,7 @@ Array [
|
|
|
2054
2061
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
2055
2062
|
"labels": Array [],
|
|
2056
2063
|
"likeCount": 2,
|
|
2064
|
+
"quoteCount": 1,
|
|
2057
2065
|
"replyCount": 0,
|
|
2058
2066
|
"repostCount": 0,
|
|
2059
2067
|
"uri": "record(10)",
|
|
@@ -2104,6 +2112,7 @@ Array [
|
|
|
2104
2112
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
2105
2113
|
"labels": Array [],
|
|
2106
2114
|
"likeCount": 0,
|
|
2115
|
+
"quoteCount": 1,
|
|
2107
2116
|
"replyCount": 0,
|
|
2108
2117
|
"repostCount": 1,
|
|
2109
2118
|
"uri": "record(9)",
|
|
@@ -483,6 +483,7 @@ Array [
|
|
|
483
483
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
484
484
|
"labels": Array [],
|
|
485
485
|
"likeCount": 2,
|
|
486
|
+
"quoteCount": 1,
|
|
486
487
|
"replyCount": 0,
|
|
487
488
|
"repostCount": 0,
|
|
488
489
|
"uri": "record(10)",
|
|
@@ -533,6 +534,7 @@ Array [
|
|
|
533
534
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
534
535
|
"labels": Array [],
|
|
535
536
|
"likeCount": 0,
|
|
537
|
+
"quoteCount": 1,
|
|
536
538
|
"replyCount": 0,
|
|
537
539
|
"repostCount": 1,
|
|
538
540
|
"uri": "record(9)",
|
|
@@ -46,6 +46,52 @@ Array [
|
|
|
46
46
|
]
|
|
47
47
|
`;
|
|
48
48
|
|
|
49
|
+
exports[`bsky actor likes feed views does include users with creator block relationship in reference lists for creator 2`] = `
|
|
50
|
+
Array [
|
|
51
|
+
Object {
|
|
52
|
+
"subject": Object {
|
|
53
|
+
"did": "user(0)",
|
|
54
|
+
"handle": "frankie.test",
|
|
55
|
+
"labels": Array [],
|
|
56
|
+
"viewer": Object {
|
|
57
|
+
"blockedBy": true,
|
|
58
|
+
"muted": false,
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
"uri": "record(0)",
|
|
62
|
+
},
|
|
63
|
+
Object {
|
|
64
|
+
"subject": Object {
|
|
65
|
+
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(0)@jpeg",
|
|
66
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
67
|
+
"description": "hi im bob label_me",
|
|
68
|
+
"did": "user(1)",
|
|
69
|
+
"displayName": "bobby",
|
|
70
|
+
"handle": "bob.test",
|
|
71
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
72
|
+
"labels": Array [],
|
|
73
|
+
"viewer": Object {
|
|
74
|
+
"blockedBy": false,
|
|
75
|
+
"muted": false,
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
"uri": "record(1)",
|
|
79
|
+
},
|
|
80
|
+
Object {
|
|
81
|
+
"subject": Object {
|
|
82
|
+
"did": "user(3)",
|
|
83
|
+
"handle": "eve.test",
|
|
84
|
+
"labels": Array [],
|
|
85
|
+
"viewer": Object {
|
|
86
|
+
"blockedBy": false,
|
|
87
|
+
"muted": false,
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
"uri": "record(2)",
|
|
91
|
+
},
|
|
92
|
+
]
|
|
93
|
+
`;
|
|
94
|
+
|
|
49
95
|
exports[`bsky actor likes feed views does not include reference lists in getActorLists 1`] = `
|
|
50
96
|
Array [
|
|
51
97
|
Object {
|
|
@@ -62,6 +108,72 @@ Array [
|
|
|
62
108
|
"purpose": "app.bsky.graph.defs#curatelist",
|
|
63
109
|
"uri": "record(0)",
|
|
64
110
|
},
|
|
111
|
+
Object {
|
|
112
|
+
"cid": "cids(1)",
|
|
113
|
+
"creator": Object {
|
|
114
|
+
"did": "user(0)",
|
|
115
|
+
"handle": "eve.test",
|
|
116
|
+
"labels": Array [],
|
|
117
|
+
},
|
|
118
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
119
|
+
"labels": Array [],
|
|
120
|
+
"listItemCount": 3,
|
|
121
|
+
"name": "blah curate list!",
|
|
122
|
+
"purpose": "app.bsky.graph.defs#curatelist",
|
|
123
|
+
"uri": "record(1)",
|
|
124
|
+
},
|
|
125
|
+
]
|
|
126
|
+
`;
|
|
127
|
+
|
|
128
|
+
exports[`bsky actor likes feed views does not include users with creator block relationship in reference and curate lists for signed-out viewers 1`] = `
|
|
129
|
+
Array [
|
|
130
|
+
Object {
|
|
131
|
+
"subject": Object {
|
|
132
|
+
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(0)@jpeg",
|
|
133
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
134
|
+
"description": "hi im bob label_me",
|
|
135
|
+
"did": "user(0)",
|
|
136
|
+
"displayName": "bobby",
|
|
137
|
+
"handle": "bob.test",
|
|
138
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
139
|
+
"labels": Array [],
|
|
140
|
+
},
|
|
141
|
+
"uri": "record(0)",
|
|
142
|
+
},
|
|
143
|
+
Object {
|
|
144
|
+
"subject": Object {
|
|
145
|
+
"did": "user(2)",
|
|
146
|
+
"handle": "eve.test",
|
|
147
|
+
"labels": Array [],
|
|
148
|
+
},
|
|
149
|
+
"uri": "record(1)",
|
|
150
|
+
},
|
|
151
|
+
]
|
|
152
|
+
`;
|
|
153
|
+
|
|
154
|
+
exports[`bsky actor likes feed views does not include users with creator block relationship in reference and curate lists for signed-out viewers 2`] = `
|
|
155
|
+
Array [
|
|
156
|
+
Object {
|
|
157
|
+
"subject": Object {
|
|
158
|
+
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(0)@jpeg",
|
|
159
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
160
|
+
"description": "hi im bob label_me",
|
|
161
|
+
"did": "user(0)",
|
|
162
|
+
"displayName": "bobby",
|
|
163
|
+
"handle": "bob.test",
|
|
164
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
165
|
+
"labels": Array [],
|
|
166
|
+
},
|
|
167
|
+
"uri": "record(0)",
|
|
168
|
+
},
|
|
169
|
+
Object {
|
|
170
|
+
"subject": Object {
|
|
171
|
+
"did": "user(2)",
|
|
172
|
+
"handle": "eve.test",
|
|
173
|
+
"labels": Array [],
|
|
174
|
+
},
|
|
175
|
+
"uri": "record(1)",
|
|
176
|
+
},
|
|
65
177
|
]
|
|
66
178
|
`;
|
|
67
179
|
|
|
@@ -100,6 +212,41 @@ Array [
|
|
|
100
212
|
]
|
|
101
213
|
`;
|
|
102
214
|
|
|
215
|
+
exports[`bsky actor likes feed views does not include users with creator block relationship in reference lists for non-creator, in-list viewers 2`] = `
|
|
216
|
+
Array [
|
|
217
|
+
Object {
|
|
218
|
+
"subject": Object {
|
|
219
|
+
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(0)@jpeg",
|
|
220
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
221
|
+
"description": "hi im bob label_me",
|
|
222
|
+
"did": "user(0)",
|
|
223
|
+
"displayName": "bobby",
|
|
224
|
+
"handle": "bob.test",
|
|
225
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
226
|
+
"labels": Array [],
|
|
227
|
+
"viewer": Object {
|
|
228
|
+
"blockedBy": false,
|
|
229
|
+
"muted": false,
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
"uri": "record(0)",
|
|
233
|
+
},
|
|
234
|
+
Object {
|
|
235
|
+
"subject": Object {
|
|
236
|
+
"did": "user(2)",
|
|
237
|
+
"handle": "eve.test",
|
|
238
|
+
"labels": Array [],
|
|
239
|
+
"viewer": Object {
|
|
240
|
+
"blockedBy": false,
|
|
241
|
+
"blocking": "record(2)",
|
|
242
|
+
"muted": false,
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
"uri": "record(1)",
|
|
246
|
+
},
|
|
247
|
+
]
|
|
248
|
+
`;
|
|
249
|
+
|
|
103
250
|
exports[`bsky actor likes feed views does not include users with creator block relationship in reference lists for non-creator, not-in-list viewers 1`] = `
|
|
104
251
|
Array [
|
|
105
252
|
Object {
|
|
@@ -134,7 +281,7 @@ Array [
|
|
|
134
281
|
]
|
|
135
282
|
`;
|
|
136
283
|
|
|
137
|
-
exports[`bsky actor likes feed views does not include users with creator block relationship in reference lists for
|
|
284
|
+
exports[`bsky actor likes feed views does not include users with creator block relationship in reference lists for non-creator, not-in-list viewers 2`] = `
|
|
138
285
|
Array [
|
|
139
286
|
Object {
|
|
140
287
|
"subject": Object {
|
|
@@ -146,6 +293,10 @@ Array [
|
|
|
146
293
|
"handle": "bob.test",
|
|
147
294
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
148
295
|
"labels": Array [],
|
|
296
|
+
"viewer": Object {
|
|
297
|
+
"blockedBy": false,
|
|
298
|
+
"muted": false,
|
|
299
|
+
},
|
|
149
300
|
},
|
|
150
301
|
"uri": "record(0)",
|
|
151
302
|
},
|
|
@@ -154,6 +305,39 @@ Array [
|
|
|
154
305
|
"did": "user(2)",
|
|
155
306
|
"handle": "eve.test",
|
|
156
307
|
"labels": Array [],
|
|
308
|
+
"viewer": Object {
|
|
309
|
+
"blockedBy": false,
|
|
310
|
+
"muted": false,
|
|
311
|
+
},
|
|
312
|
+
},
|
|
313
|
+
"uri": "record(1)",
|
|
314
|
+
},
|
|
315
|
+
]
|
|
316
|
+
`;
|
|
317
|
+
|
|
318
|
+
exports[`bsky actor likes feed views does return all users regardless of creator block relationship in moderation lists 1`] = `
|
|
319
|
+
Array [
|
|
320
|
+
Object {
|
|
321
|
+
"subject": Object {
|
|
322
|
+
"did": "user(0)",
|
|
323
|
+
"handle": "greta.test",
|
|
324
|
+
"labels": Array [],
|
|
325
|
+
"viewer": Object {
|
|
326
|
+
"blockedBy": false,
|
|
327
|
+
"muted": false,
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
"uri": "record(0)",
|
|
331
|
+
},
|
|
332
|
+
Object {
|
|
333
|
+
"subject": Object {
|
|
334
|
+
"did": "user(1)",
|
|
335
|
+
"handle": "frankie.test",
|
|
336
|
+
"labels": Array [],
|
|
337
|
+
"viewer": Object {
|
|
338
|
+
"blockedBy": false,
|
|
339
|
+
"muted": false,
|
|
340
|
+
},
|
|
157
341
|
},
|
|
158
342
|
"uri": "record(1)",
|
|
159
343
|
},
|
|
@@ -199,6 +199,7 @@ Array [
|
|
|
199
199
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
200
200
|
"labels": Array [],
|
|
201
201
|
"likeCount": 0,
|
|
202
|
+
"quoteCount": 1,
|
|
202
203
|
"replyCount": 0,
|
|
203
204
|
"repostCount": 0,
|
|
204
205
|
"uri": "record(3)",
|
|
@@ -340,6 +341,7 @@ Array [
|
|
|
340
341
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
341
342
|
"labels": Array [],
|
|
342
343
|
"likeCount": 0,
|
|
344
|
+
"quoteCount": 1,
|
|
343
345
|
"replyCount": 0,
|
|
344
346
|
"repostCount": 0,
|
|
345
347
|
"uri": "record(3)",
|
|
@@ -359,6 +361,7 @@ Array [
|
|
|
359
361
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
360
362
|
"labels": Array [],
|
|
361
363
|
"likeCount": 2,
|
|
364
|
+
"quoteCount": 1,
|
|
362
365
|
"replyCount": 0,
|
|
363
366
|
"repostCount": 0,
|
|
364
367
|
"uri": "record(6)",
|
|
@@ -148,6 +148,7 @@ Object {
|
|
|
148
148
|
},
|
|
149
149
|
],
|
|
150
150
|
"likeCount": 0,
|
|
151
|
+
"quoteCount": 1,
|
|
151
152
|
"replyCount": 0,
|
|
152
153
|
"repostCount": 0,
|
|
153
154
|
"uri": "record(1)",
|
|
@@ -254,6 +255,7 @@ Object {
|
|
|
254
255
|
},
|
|
255
256
|
],
|
|
256
257
|
"likeCount": 0,
|
|
258
|
+
"quoteCount": 2,
|
|
257
259
|
"replyCount": 0,
|
|
258
260
|
"repostCount": 0,
|
|
259
261
|
"uri": "record(1)",
|
|
@@ -351,6 +353,7 @@ Object {
|
|
|
351
353
|
},
|
|
352
354
|
],
|
|
353
355
|
"likeCount": 0,
|
|
356
|
+
"quoteCount": 2,
|
|
354
357
|
"replyCount": 0,
|
|
355
358
|
"repostCount": 0,
|
|
356
359
|
"uri": "record(1)",
|
|
@@ -375,6 +375,7 @@ Array [
|
|
|
375
375
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
376
376
|
"labels": Array [],
|
|
377
377
|
"likeCount": 0,
|
|
378
|
+
"quoteCount": 1,
|
|
378
379
|
"replyCount": 0,
|
|
379
380
|
"repostCount": 1,
|
|
380
381
|
"uri": "record(6)",
|
|
@@ -1356,6 +1357,7 @@ Array [
|
|
|
1356
1357
|
},
|
|
1357
1358
|
],
|
|
1358
1359
|
"likeCount": 0,
|
|
1360
|
+
"quoteCount": 1,
|
|
1359
1361
|
"replyCount": 0,
|
|
1360
1362
|
"repostCount": 0,
|
|
1361
1363
|
"uri": "record(15)",
|
|
@@ -1936,6 +1938,7 @@ Array [
|
|
|
1936
1938
|
},
|
|
1937
1939
|
],
|
|
1938
1940
|
"likeCount": 0,
|
|
1941
|
+
"quoteCount": 1,
|
|
1939
1942
|
"replyCount": 0,
|
|
1940
1943
|
"repostCount": 0,
|
|
1941
1944
|
"uri": "record(11)",
|
|
@@ -1963,6 +1966,7 @@ Array [
|
|
|
1963
1966
|
},
|
|
1964
1967
|
],
|
|
1965
1968
|
"likeCount": 2,
|
|
1969
|
+
"quoteCount": 1,
|
|
1966
1970
|
"replyCount": 0,
|
|
1967
1971
|
"repostCount": 0,
|
|
1968
1972
|
"uri": "record(8)",
|
|
@@ -2680,6 +2684,7 @@ Array [
|
|
|
2680
2684
|
},
|
|
2681
2685
|
],
|
|
2682
2686
|
"likeCount": 2,
|
|
2687
|
+
"quoteCount": 1,
|
|
2683
2688
|
"replyCount": 0,
|
|
2684
2689
|
"repostCount": 0,
|
|
2685
2690
|
"uri": "record(8)",
|
|
@@ -2730,6 +2735,7 @@ Array [
|
|
|
2730
2735
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
2731
2736
|
"labels": Array [],
|
|
2732
2737
|
"likeCount": 0,
|
|
2738
|
+
"quoteCount": 1,
|
|
2733
2739
|
"replyCount": 0,
|
|
2734
2740
|
"repostCount": 1,
|
|
2735
2741
|
"uri": "record(7)",
|
|
@@ -2958,6 +2964,7 @@ Array [
|
|
|
2958
2964
|
},
|
|
2959
2965
|
],
|
|
2960
2966
|
"likeCount": 0,
|
|
2967
|
+
"quoteCount": 1,
|
|
2961
2968
|
"replyCount": 0,
|
|
2962
2969
|
"repostCount": 0,
|
|
2963
2970
|
"uri": "record(11)",
|
|
@@ -2985,6 +2992,7 @@ Array [
|
|
|
2985
2992
|
},
|
|
2986
2993
|
],
|
|
2987
2994
|
"likeCount": 2,
|
|
2995
|
+
"quoteCount": 1,
|
|
2988
2996
|
"replyCount": 0,
|
|
2989
2997
|
"repostCount": 0,
|
|
2990
2998
|
"uri": "record(8)",
|
|
@@ -3167,6 +3175,7 @@ Array [
|
|
|
3167
3175
|
},
|
|
3168
3176
|
],
|
|
3169
3177
|
"likeCount": 0,
|
|
3178
|
+
"quoteCount": 1,
|
|
3170
3179
|
"replyCount": 0,
|
|
3171
3180
|
"repostCount": 0,
|
|
3172
3181
|
"uri": "record(11)",
|
|
@@ -3439,6 +3448,7 @@ Array [
|
|
|
3439
3448
|
},
|
|
3440
3449
|
],
|
|
3441
3450
|
"likeCount": 0,
|
|
3451
|
+
"quoteCount": 1,
|
|
3442
3452
|
"replyCount": 0,
|
|
3443
3453
|
"repostCount": 0,
|
|
3444
3454
|
"uri": "record(4)",
|
|
@@ -3466,6 +3476,7 @@ Array [
|
|
|
3466
3476
|
},
|
|
3467
3477
|
],
|
|
3468
3478
|
"likeCount": 2,
|
|
3479
|
+
"quoteCount": 1,
|
|
3469
3480
|
"replyCount": 0,
|
|
3470
3481
|
"repostCount": 0,
|
|
3471
3482
|
"uri": "record(2)",
|
|
@@ -4197,6 +4208,7 @@ Array [
|
|
|
4197
4208
|
},
|
|
4198
4209
|
],
|
|
4199
4210
|
"likeCount": 2,
|
|
4211
|
+
"quoteCount": 1,
|
|
4200
4212
|
"replyCount": 0,
|
|
4201
4213
|
"repostCount": 0,
|
|
4202
4214
|
"uri": "record(2)",
|
|
@@ -4247,6 +4259,7 @@ Array [
|
|
|
4247
4259
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
4248
4260
|
"labels": Array [],
|
|
4249
4261
|
"likeCount": 0,
|
|
4262
|
+
"quoteCount": 1,
|
|
4250
4263
|
"replyCount": 0,
|
|
4251
4264
|
"repostCount": 1,
|
|
4252
4265
|
"uri": "record(0)",
|
|
@@ -4454,6 +4467,7 @@ Array [
|
|
|
4454
4467
|
},
|
|
4455
4468
|
],
|
|
4456
4469
|
"likeCount": 0,
|
|
4470
|
+
"quoteCount": 1,
|
|
4457
4471
|
"replyCount": 0,
|
|
4458
4472
|
"repostCount": 0,
|
|
4459
4473
|
"uri": "record(4)",
|
|
@@ -4725,6 +4739,7 @@ Array [
|
|
|
4725
4739
|
},
|
|
4726
4740
|
],
|
|
4727
4741
|
"likeCount": 0,
|
|
4742
|
+
"quoteCount": 1,
|
|
4728
4743
|
"replyCount": 0,
|
|
4729
4744
|
"repostCount": 0,
|
|
4730
4745
|
"uri": "record(2)",
|
|
@@ -4752,6 +4767,7 @@ Array [
|
|
|
4752
4767
|
},
|
|
4753
4768
|
],
|
|
4754
4769
|
"likeCount": 2,
|
|
4770
|
+
"quoteCount": 1,
|
|
4755
4771
|
"replyCount": 0,
|
|
4756
4772
|
"repostCount": 0,
|
|
4757
4773
|
"uri": "record(1)",
|
|
@@ -5295,6 +5311,7 @@ Array [
|
|
|
5295
5311
|
},
|
|
5296
5312
|
],
|
|
5297
5313
|
"likeCount": 2,
|
|
5314
|
+
"quoteCount": 1,
|
|
5298
5315
|
"replyCount": 0,
|
|
5299
5316
|
"repostCount": 0,
|
|
5300
5317
|
"uri": "record(1)",
|
|
@@ -5345,6 +5362,7 @@ Array [
|
|
|
5345
5362
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
5346
5363
|
"labels": Array [],
|
|
5347
5364
|
"likeCount": 0,
|
|
5365
|
+
"quoteCount": 1,
|
|
5348
5366
|
"replyCount": 0,
|
|
5349
5367
|
"repostCount": 1,
|
|
5350
5368
|
"uri": "record(0)",
|
|
@@ -5519,6 +5537,7 @@ Array [
|
|
|
5519
5537
|
},
|
|
5520
5538
|
],
|
|
5521
5539
|
"likeCount": 0,
|
|
5540
|
+
"quoteCount": 1,
|
|
5522
5541
|
"replyCount": 0,
|
|
5523
5542
|
"repostCount": 0,
|
|
5524
5543
|
"uri": "record(2)",
|
|
@@ -6276,6 +6295,7 @@ Array [
|
|
|
6276
6295
|
},
|
|
6277
6296
|
],
|
|
6278
6297
|
"likeCount": 0,
|
|
6298
|
+
"quoteCount": 1,
|
|
6279
6299
|
"replyCount": 0,
|
|
6280
6300
|
"repostCount": 0,
|
|
6281
6301
|
"uri": "record(12)",
|
|
@@ -6303,6 +6323,7 @@ Array [
|
|
|
6303
6323
|
},
|
|
6304
6324
|
],
|
|
6305
6325
|
"likeCount": 2,
|
|
6326
|
+
"quoteCount": 1,
|
|
6306
6327
|
"replyCount": 0,
|
|
6307
6328
|
"repostCount": 0,
|
|
6308
6329
|
"uri": "record(11)",
|
|
@@ -175,4 +175,16 @@ describe('list feed views', () => {
|
|
|
175
175
|
recordUri: postRef.uriStr,
|
|
176
176
|
})
|
|
177
177
|
})
|
|
178
|
+
|
|
179
|
+
it('does not return posts with creator blocks', async () => {
|
|
180
|
+
await sc.block(bob, alice)
|
|
181
|
+
await network.processAll()
|
|
182
|
+
|
|
183
|
+
const res = await agent.api.app.bsky.feed.getListFeed({
|
|
184
|
+
list: listRef.uriStr,
|
|
185
|
+
})
|
|
186
|
+
|
|
187
|
+
const hasBob = res.data.feed.some((item) => item.post.author.did === bob)
|
|
188
|
+
expect(hasBob).toBe(false)
|
|
189
|
+
})
|
|
178
190
|
})
|