@atproto/bsky 0.0.166 → 0.0.167
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/notification/listActivitySubscriptions.d.ts +4 -0
- package/dist/api/app/bsky/notification/listActivitySubscriptions.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/listActivitySubscriptions.js +63 -0
- package/dist/api/app/bsky/notification/listActivitySubscriptions.js.map +1 -0
- package/dist/api/app/bsky/notification/putActivitySubscription.d.ts +4 -0
- package/dist/api/app/bsky/notification/putActivitySubscription.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/putActivitySubscription.js +63 -0
- package/dist/api/app/bsky/notification/putActivitySubscription.js.map +1 -0
- package/dist/api/app/bsky/notification/putPreferencesV2.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/putPreferencesV2.js +2 -1
- package/dist/api/app/bsky/notification/putPreferencesV2.js.map +1 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +4 -0
- package/dist/api/index.js.map +1 -1
- package/dist/data-plane/bsync/index.d.ts.map +1 -1
- package/dist/data-plane/bsync/index.js +52 -38
- package/dist/data-plane/bsync/index.js.map +1 -1
- package/dist/data-plane/server/db/database-schema.d.ts +2 -1
- package/dist/data-plane/server/db/database-schema.d.ts.map +1 -1
- package/dist/data-plane/server/db/migrations/20250611T140649895Z-add-activity-subscription.d.ts +4 -0
- package/dist/data-plane/server/db/migrations/20250611T140649895Z-add-activity-subscription.d.ts.map +1 -0
- package/dist/data-plane/server/db/migrations/20250611T140649895Z-add-activity-subscription.js +24 -0
- package/dist/data-plane/server/db/migrations/20250611T140649895Z-add-activity-subscription.js.map +1 -0
- package/dist/data-plane/server/db/migrations/index.d.ts +1 -0
- package/dist/data-plane/server/db/migrations/index.d.ts.map +1 -1
- package/dist/data-plane/server/db/migrations/index.js +2 -1
- package/dist/data-plane/server/db/migrations/index.js.map +1 -1
- package/dist/data-plane/server/db/pagination.d.ts +22 -0
- package/dist/data-plane/server/db/pagination.d.ts.map +1 -1
- package/dist/data-plane/server/db/pagination.js +30 -1
- package/dist/data-plane/server/db/pagination.js.map +1 -1
- package/dist/data-plane/server/db/tables/activity-subscription.d.ts +13 -0
- package/dist/data-plane/server/db/tables/activity-subscription.d.ts.map +1 -0
- package/dist/data-plane/server/db/tables/activity-subscription.js +5 -0
- package/dist/data-plane/server/db/tables/activity-subscription.js.map +1 -0
- package/dist/data-plane/server/indexing/index.d.ts +2 -0
- package/dist/data-plane/server/indexing/index.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/index.js +2 -0
- package/dist/data-plane/server/indexing/index.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/notif-declaration.d.ts +7 -0
- package/dist/data-plane/server/indexing/plugins/notif-declaration.d.ts.map +1 -0
- package/dist/data-plane/server/indexing/plugins/notif-declaration.js +72 -0
- package/dist/data-plane/server/indexing/plugins/notif-declaration.js.map +1 -0
- package/dist/data-plane/server/routes/activity-subscription.d.ts +6 -0
- package/dist/data-plane/server/routes/activity-subscription.d.ts.map +1 -0
- package/dist/data-plane/server/routes/activity-subscription.js +67 -0
- package/dist/data-plane/server/routes/activity-subscription.js.map +1 -0
- package/dist/data-plane/server/routes/index.js +2 -2
- package/dist/data-plane/server/routes/index.js.map +1 -1
- package/dist/data-plane/server/routes/notifs.d.ts +3 -0
- package/dist/data-plane/server/routes/notifs.d.ts.map +1 -1
- package/dist/data-plane/server/routes/notifs.js +64 -0
- package/dist/data-plane/server/routes/notifs.js.map +1 -1
- package/dist/data-plane/server/routes/profile.d.ts.map +1 -1
- package/dist/data-plane/server/routes/profile.js +20 -1
- package/dist/data-plane/server/routes/profile.js.map +1 -1
- package/dist/data-plane/server/routes/records.d.ts.map +1 -1
- package/dist/data-plane/server/routes/records.js +1 -0
- package/dist/data-plane/server/routes/records.js.map +1 -1
- package/dist/data-plane/server/util.d.ts +6 -6
- package/dist/hydration/actor.d.ts +20 -6
- package/dist/hydration/actor.d.ts.map +1 -1
- package/dist/hydration/actor.js +44 -1
- package/dist/hydration/actor.js.map +1 -1
- package/dist/hydration/hydrator.d.ts +4 -3
- package/dist/hydration/hydrator.d.ts.map +1 -1
- package/dist/hydration/hydrator.js +16 -2
- package/dist/hydration/hydrator.js.map +1 -1
- package/dist/hydration/util.d.ts +4 -0
- package/dist/hydration/util.d.ts.map +1 -1
- package/dist/hydration/util.js +3 -1
- package/dist/hydration/util.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +4 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +2 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/proto/bsky_connect.d.ts +28 -1
- package/dist/proto/bsky_connect.d.ts.map +1 -1
- package/dist/proto/bsky_connect.js +27 -0
- package/dist/proto/bsky_connect.js.map +1 -1
- package/dist/proto/bsky_pb.d.ts +189 -0
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js +598 -5
- package/dist/proto/bsky_pb.js.map +1 -1
- package/dist/stash.d.ts +1 -0
- package/dist/stash.d.ts.map +1 -1
- package/dist/stash.js +1 -0
- package/dist/stash.js.map +1 -1
- package/dist/views/index.d.ts +5 -3
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +29 -9
- package/dist/views/index.js.map +1 -1
- package/package.json +4 -4
- package/proto/bsky.proto +45 -0
- package/src/api/app/bsky/notification/listActivitySubscriptions.ts +110 -0
- package/src/api/app/bsky/notification/putActivitySubscription.ts +69 -0
- package/src/api/app/bsky/notification/putPreferencesV2.ts +2 -1
- package/src/api/index.ts +4 -0
- package/src/data-plane/bsync/index.ts +75 -44
- package/src/data-plane/server/db/database-schema.ts +3 -1
- package/src/data-plane/server/db/migrations/20250611T140649895Z-add-activity-subscription.ts +22 -0
- package/src/data-plane/server/db/migrations/index.ts +1 -0
- package/src/data-plane/server/db/pagination.ts +37 -0
- package/src/data-plane/server/db/tables/activity-subscription.ts +12 -0
- package/src/data-plane/server/indexing/index.ts +3 -0
- package/src/data-plane/server/indexing/plugins/notif-declaration.ts +59 -0
- package/src/data-plane/server/routes/activity-subscription.ts +83 -0
- package/src/data-plane/server/routes/index.ts +2 -2
- package/src/data-plane/server/routes/notifs.ts +95 -0
- package/src/data-plane/server/routes/profile.ts +33 -1
- package/src/data-plane/server/routes/records.ts +4 -0
- package/src/hydration/actor.ts +97 -10
- package/src/hydration/hydrator.ts +32 -6
- package/src/hydration/util.ts +8 -0
- package/src/lexicon/lexicons.ts +4 -0
- package/src/proto/bsky_connect.ts +33 -0
- package/src/proto/bsky_pb.ts +648 -0
- package/src/stash.ts +6 -1
- package/src/views/index.ts +48 -11
- package/tests/__snapshots__/feed-generation.test.ts.snap +213 -0
- package/tests/data-plane/__snapshots__/indexing.test.ts.snap +88 -0
- package/tests/views/__snapshots__/author-feed.test.ts.snap +498 -0
- package/tests/views/__snapshots__/block-lists.test.ts.snap +56 -0
- package/tests/views/__snapshots__/blocks.test.ts.snap +28 -0
- package/tests/views/__snapshots__/follows.test.ts.snap +170 -0
- package/tests/views/__snapshots__/labeler-service.test.ts.snap +15 -0
- package/tests/views/__snapshots__/likes.test.ts.snap +23 -0
- package/tests/views/__snapshots__/list-feed.test.ts.snap +68 -0
- package/tests/views/__snapshots__/lists.test.ts.snap +120 -0
- package/tests/views/__snapshots__/mute-lists.test.ts.snap +63 -0
- package/tests/views/__snapshots__/mutes.test.ts.snap +55 -0
- package/tests/views/__snapshots__/notifications.test.ts.snap +299 -0
- package/tests/views/__snapshots__/posts.test.ts.snap +58 -0
- package/tests/views/__snapshots__/profile.test.ts.snap +74 -0
- package/tests/views/__snapshots__/quotes.test.ts.snap +35 -0
- package/tests/views/__snapshots__/reposts.test.ts.snap +26 -0
- package/tests/views/__snapshots__/starter-packs.test.ts.snap +113 -0
- package/tests/views/__snapshots__/thread-v2.test.ts.snap +115 -0
- package/tests/views/__snapshots__/thread.test.ts.snap +145 -0
- package/tests/views/__snapshots__/timeline.test.ts.snap +566 -0
- package/tests/views/notifications.test.ts +355 -19
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/data-plane/server/routes/private-data.d.ts +0 -9
- package/dist/data-plane/server/routes/private-data.d.ts.map +0 -1
- package/dist/data-plane/server/routes/private-data.js +0 -65
- package/dist/data-plane/server/routes/private-data.js.map +0 -1
- package/src/data-plane/server/routes/private-data.ts +0 -95
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
exports[`pds posts views embeds video with record. 1`] = `
|
|
4
4
|
Object {
|
|
5
5
|
"author": Object {
|
|
6
|
+
"associated": Object {
|
|
7
|
+
"activitySubscription": Object {
|
|
8
|
+
"allowSubscriptions": "followers",
|
|
9
|
+
},
|
|
10
|
+
},
|
|
6
11
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
7
12
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
8
13
|
"did": "user(0)",
|
|
@@ -43,6 +48,11 @@ Object {
|
|
|
43
48
|
"record": Object {
|
|
44
49
|
"$type": "app.bsky.embed.record#viewRecord",
|
|
45
50
|
"author": Object {
|
|
51
|
+
"associated": Object {
|
|
52
|
+
"activitySubscription": Object {
|
|
53
|
+
"allowSubscriptions": "followers",
|
|
54
|
+
},
|
|
55
|
+
},
|
|
46
56
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
47
57
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
48
58
|
"did": "user(0)",
|
|
@@ -125,6 +135,11 @@ Object {
|
|
|
125
135
|
exports[`pds posts views embeds video. 1`] = `
|
|
126
136
|
Object {
|
|
127
137
|
"author": Object {
|
|
138
|
+
"associated": Object {
|
|
139
|
+
"activitySubscription": Object {
|
|
140
|
+
"allowSubscriptions": "followers",
|
|
141
|
+
},
|
|
142
|
+
},
|
|
128
143
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
129
144
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
130
145
|
"did": "user(0)",
|
|
@@ -194,6 +209,11 @@ exports[`pds posts views fetches posts 1`] = `
|
|
|
194
209
|
Array [
|
|
195
210
|
Object {
|
|
196
211
|
"author": Object {
|
|
212
|
+
"associated": Object {
|
|
213
|
+
"activitySubscription": Object {
|
|
214
|
+
"allowSubscriptions": "followers",
|
|
215
|
+
},
|
|
216
|
+
},
|
|
197
217
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
198
218
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
199
219
|
"did": "user(0)",
|
|
@@ -256,6 +276,11 @@ Array [
|
|
|
256
276
|
},
|
|
257
277
|
Object {
|
|
258
278
|
"author": Object {
|
|
279
|
+
"associated": Object {
|
|
280
|
+
"activitySubscription": Object {
|
|
281
|
+
"allowSubscriptions": "followers",
|
|
282
|
+
},
|
|
283
|
+
},
|
|
259
284
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
260
285
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
261
286
|
"did": "user(0)",
|
|
@@ -302,6 +327,11 @@ Array [
|
|
|
302
327
|
},
|
|
303
328
|
Object {
|
|
304
329
|
"author": Object {
|
|
330
|
+
"associated": Object {
|
|
331
|
+
"activitySubscription": Object {
|
|
332
|
+
"allowSubscriptions": "followers",
|
|
333
|
+
},
|
|
334
|
+
},
|
|
305
335
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(3)/cids(1)@jpeg",
|
|
306
336
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
307
337
|
"did": "user(2)",
|
|
@@ -339,6 +369,11 @@ Array [
|
|
|
339
369
|
},
|
|
340
370
|
Object {
|
|
341
371
|
"author": Object {
|
|
372
|
+
"associated": Object {
|
|
373
|
+
"activitySubscription": Object {
|
|
374
|
+
"allowSubscriptions": "followers",
|
|
375
|
+
},
|
|
376
|
+
},
|
|
342
377
|
"did": "user(4)",
|
|
343
378
|
"handle": "carol.test",
|
|
344
379
|
"labels": Array [],
|
|
@@ -371,6 +406,11 @@ Array [
|
|
|
371
406
|
"record": Object {
|
|
372
407
|
"$type": "app.bsky.embed.record#viewRecord",
|
|
373
408
|
"author": Object {
|
|
409
|
+
"associated": Object {
|
|
410
|
+
"activitySubscription": Object {
|
|
411
|
+
"allowSubscriptions": "followers",
|
|
412
|
+
},
|
|
413
|
+
},
|
|
374
414
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(3)/cids(1)@jpeg",
|
|
375
415
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
376
416
|
"did": "user(2)",
|
|
@@ -462,6 +502,9 @@ Array [
|
|
|
462
502
|
Object {
|
|
463
503
|
"author": Object {
|
|
464
504
|
"associated": Object {
|
|
505
|
+
"activitySubscription": Object {
|
|
506
|
+
"allowSubscriptions": "followers",
|
|
507
|
+
},
|
|
465
508
|
"chat": Object {
|
|
466
509
|
"allowIncoming": "none",
|
|
467
510
|
},
|
|
@@ -481,6 +524,11 @@ Array [
|
|
|
481
524
|
"record": Object {
|
|
482
525
|
"$type": "app.bsky.embed.record#viewRecord",
|
|
483
526
|
"author": Object {
|
|
527
|
+
"associated": Object {
|
|
528
|
+
"activitySubscription": Object {
|
|
529
|
+
"allowSubscriptions": "followers",
|
|
530
|
+
},
|
|
531
|
+
},
|
|
484
532
|
"did": "user(4)",
|
|
485
533
|
"handle": "carol.test",
|
|
486
534
|
"labels": Array [],
|
|
@@ -514,6 +562,11 @@ Array [
|
|
|
514
562
|
"record": Object {
|
|
515
563
|
"$type": "app.bsky.embed.record#viewRecord",
|
|
516
564
|
"author": Object {
|
|
565
|
+
"associated": Object {
|
|
566
|
+
"activitySubscription": Object {
|
|
567
|
+
"allowSubscriptions": "followers",
|
|
568
|
+
},
|
|
569
|
+
},
|
|
517
570
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(3)/cids(1)@jpeg",
|
|
518
571
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
519
572
|
"did": "user(2)",
|
|
@@ -638,6 +691,11 @@ Array [
|
|
|
638
691
|
},
|
|
639
692
|
Object {
|
|
640
693
|
"author": Object {
|
|
694
|
+
"associated": Object {
|
|
695
|
+
"activitySubscription": Object {
|
|
696
|
+
"allowSubscriptions": "followers",
|
|
697
|
+
},
|
|
698
|
+
},
|
|
641
699
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
642
700
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
643
701
|
"did": "user(0)",
|
|
@@ -4,6 +4,9 @@ exports[`pds profile views fetches multiple profiles 1`] = `
|
|
|
4
4
|
Array [
|
|
5
5
|
Object {
|
|
6
6
|
"associated": Object {
|
|
7
|
+
"activitySubscription": Object {
|
|
8
|
+
"allowSubscriptions": "followers",
|
|
9
|
+
},
|
|
7
10
|
"feedgens": 0,
|
|
8
11
|
"labeler": false,
|
|
9
12
|
"lists": 0,
|
|
@@ -43,6 +46,11 @@ Array [
|
|
|
43
46
|
"count": 1,
|
|
44
47
|
"followers": Array [
|
|
45
48
|
Object {
|
|
49
|
+
"associated": Object {
|
|
50
|
+
"activitySubscription": Object {
|
|
51
|
+
"allowSubscriptions": "followers",
|
|
52
|
+
},
|
|
53
|
+
},
|
|
46
54
|
"did": "user(2)",
|
|
47
55
|
"handle": "carol.test",
|
|
48
56
|
"labels": Array [],
|
|
@@ -59,6 +67,9 @@ Array [
|
|
|
59
67
|
},
|
|
60
68
|
Object {
|
|
61
69
|
"associated": Object {
|
|
70
|
+
"activitySubscription": Object {
|
|
71
|
+
"allowSubscriptions": "followers",
|
|
72
|
+
},
|
|
62
73
|
"feedgens": 0,
|
|
63
74
|
"labeler": false,
|
|
64
75
|
"lists": 0,
|
|
@@ -81,6 +92,11 @@ Array [
|
|
|
81
92
|
"count": 1,
|
|
82
93
|
"followers": Array [
|
|
83
94
|
Object {
|
|
95
|
+
"associated": Object {
|
|
96
|
+
"activitySubscription": Object {
|
|
97
|
+
"allowSubscriptions": "followers",
|
|
98
|
+
},
|
|
99
|
+
},
|
|
84
100
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(0)@jpeg",
|
|
85
101
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
86
102
|
"did": "user(0)",
|
|
@@ -116,6 +132,9 @@ Array [
|
|
|
116
132
|
},
|
|
117
133
|
Object {
|
|
118
134
|
"associated": Object {
|
|
135
|
+
"activitySubscription": Object {
|
|
136
|
+
"allowSubscriptions": "followers",
|
|
137
|
+
},
|
|
119
138
|
"feedgens": 0,
|
|
120
139
|
"labeler": false,
|
|
121
140
|
"lists": 0,
|
|
@@ -134,6 +153,11 @@ Array [
|
|
|
134
153
|
"count": 1,
|
|
135
154
|
"followers": Array [
|
|
136
155
|
Object {
|
|
156
|
+
"associated": Object {
|
|
157
|
+
"activitySubscription": Object {
|
|
158
|
+
"allowSubscriptions": "followers",
|
|
159
|
+
},
|
|
160
|
+
},
|
|
137
161
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(0)@jpeg",
|
|
138
162
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
139
163
|
"did": "user(0)",
|
|
@@ -169,6 +193,9 @@ Array [
|
|
|
169
193
|
},
|
|
170
194
|
Object {
|
|
171
195
|
"associated": Object {
|
|
196
|
+
"activitySubscription": Object {
|
|
197
|
+
"allowSubscriptions": "followers",
|
|
198
|
+
},
|
|
172
199
|
"chat": Object {
|
|
173
200
|
"allowIncoming": "none",
|
|
174
201
|
},
|
|
@@ -190,6 +217,11 @@ Array [
|
|
|
190
217
|
"count": 1,
|
|
191
218
|
"followers": Array [
|
|
192
219
|
Object {
|
|
220
|
+
"associated": Object {
|
|
221
|
+
"activitySubscription": Object {
|
|
222
|
+
"allowSubscriptions": "followers",
|
|
223
|
+
},
|
|
224
|
+
},
|
|
193
225
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(0)@jpeg",
|
|
194
226
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
195
227
|
"did": "user(0)",
|
|
@@ -229,6 +261,9 @@ Array [
|
|
|
229
261
|
exports[`pds profile views fetches other's profile, with a follow 1`] = `
|
|
230
262
|
Object {
|
|
231
263
|
"associated": Object {
|
|
264
|
+
"activitySubscription": Object {
|
|
265
|
+
"allowSubscriptions": "followers",
|
|
266
|
+
},
|
|
232
267
|
"feedgens": 0,
|
|
233
268
|
"labeler": false,
|
|
234
269
|
"lists": 0,
|
|
@@ -268,6 +303,11 @@ Object {
|
|
|
268
303
|
"count": 1,
|
|
269
304
|
"followers": Array [
|
|
270
305
|
Object {
|
|
306
|
+
"associated": Object {
|
|
307
|
+
"activitySubscription": Object {
|
|
308
|
+
"allowSubscriptions": "followers",
|
|
309
|
+
},
|
|
310
|
+
},
|
|
271
311
|
"did": "user(2)",
|
|
272
312
|
"handle": "carol.test",
|
|
273
313
|
"labels": Array [],
|
|
@@ -287,6 +327,9 @@ Object {
|
|
|
287
327
|
exports[`pds profile views fetches other's profile, without a follow 1`] = `
|
|
288
328
|
Object {
|
|
289
329
|
"associated": Object {
|
|
330
|
+
"activitySubscription": Object {
|
|
331
|
+
"allowSubscriptions": "followers",
|
|
332
|
+
},
|
|
290
333
|
"chat": Object {
|
|
291
334
|
"allowIncoming": "none",
|
|
292
335
|
},
|
|
@@ -308,6 +351,11 @@ Object {
|
|
|
308
351
|
"count": 1,
|
|
309
352
|
"followers": Array [
|
|
310
353
|
Object {
|
|
354
|
+
"associated": Object {
|
|
355
|
+
"activitySubscription": Object {
|
|
356
|
+
"allowSubscriptions": "followers",
|
|
357
|
+
},
|
|
358
|
+
},
|
|
311
359
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(0)@jpeg",
|
|
312
360
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
313
361
|
"did": "user(1)",
|
|
@@ -346,6 +394,9 @@ Object {
|
|
|
346
394
|
exports[`pds profile views fetches own profile 1`] = `
|
|
347
395
|
Object {
|
|
348
396
|
"associated": Object {
|
|
397
|
+
"activitySubscription": Object {
|
|
398
|
+
"allowSubscriptions": "followers",
|
|
399
|
+
},
|
|
349
400
|
"feedgens": 0,
|
|
350
401
|
"labeler": false,
|
|
351
402
|
"lists": 0,
|
|
@@ -383,6 +434,11 @@ Object {
|
|
|
383
434
|
"count": 2,
|
|
384
435
|
"followers": Array [
|
|
385
436
|
Object {
|
|
437
|
+
"associated": Object {
|
|
438
|
+
"activitySubscription": Object {
|
|
439
|
+
"allowSubscriptions": "followers",
|
|
440
|
+
},
|
|
441
|
+
},
|
|
386
442
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(3)/cids(0)@jpeg",
|
|
387
443
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
388
444
|
"did": "user(2)",
|
|
@@ -397,6 +453,11 @@ Object {
|
|
|
397
453
|
},
|
|
398
454
|
},
|
|
399
455
|
Object {
|
|
456
|
+
"associated": Object {
|
|
457
|
+
"activitySubscription": Object {
|
|
458
|
+
"allowSubscriptions": "followers",
|
|
459
|
+
},
|
|
460
|
+
},
|
|
400
461
|
"did": "user(4)",
|
|
401
462
|
"handle": "carol.test",
|
|
402
463
|
"labels": Array [],
|
|
@@ -417,6 +478,9 @@ Object {
|
|
|
417
478
|
exports[`pds profile views presents avatars & banners 1`] = `
|
|
418
479
|
Object {
|
|
419
480
|
"associated": Object {
|
|
481
|
+
"activitySubscription": Object {
|
|
482
|
+
"allowSubscriptions": "followers",
|
|
483
|
+
},
|
|
420
484
|
"feedgens": 0,
|
|
421
485
|
"labeler": false,
|
|
422
486
|
"lists": 0,
|
|
@@ -439,6 +503,11 @@ Object {
|
|
|
439
503
|
"count": 2,
|
|
440
504
|
"followers": Array [
|
|
441
505
|
Object {
|
|
506
|
+
"associated": Object {
|
|
507
|
+
"activitySubscription": Object {
|
|
508
|
+
"allowSubscriptions": "followers",
|
|
509
|
+
},
|
|
510
|
+
},
|
|
442
511
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(3)/cids(0)@jpeg",
|
|
443
512
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
444
513
|
"did": "user(2)",
|
|
@@ -453,6 +522,11 @@ Object {
|
|
|
453
522
|
},
|
|
454
523
|
},
|
|
455
524
|
Object {
|
|
525
|
+
"associated": Object {
|
|
526
|
+
"activitySubscription": Object {
|
|
527
|
+
"allowSubscriptions": "followers",
|
|
528
|
+
},
|
|
529
|
+
},
|
|
456
530
|
"did": "user(4)",
|
|
457
531
|
"handle": "carol.test",
|
|
458
532
|
"labels": Array [],
|
|
@@ -5,6 +5,11 @@ Object {
|
|
|
5
5
|
"posts": Array [
|
|
6
6
|
Object {
|
|
7
7
|
"author": Object {
|
|
8
|
+
"associated": Object {
|
|
9
|
+
"activitySubscription": Object {
|
|
10
|
+
"allowSubscriptions": "followers",
|
|
11
|
+
},
|
|
12
|
+
},
|
|
8
13
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
9
14
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
10
15
|
"did": "user(0)",
|
|
@@ -95,6 +100,11 @@ Object {
|
|
|
95
100
|
"posts": Array [
|
|
96
101
|
Object {
|
|
97
102
|
"author": Object {
|
|
103
|
+
"associated": Object {
|
|
104
|
+
"activitySubscription": Object {
|
|
105
|
+
"allowSubscriptions": "followers",
|
|
106
|
+
},
|
|
107
|
+
},
|
|
98
108
|
"did": "user(0)",
|
|
99
109
|
"handle": "eve.test",
|
|
100
110
|
"labels": Array [],
|
|
@@ -109,6 +119,11 @@ Object {
|
|
|
109
119
|
"record": Object {
|
|
110
120
|
"$type": "app.bsky.embed.record#viewRecord",
|
|
111
121
|
"author": Object {
|
|
122
|
+
"associated": Object {
|
|
123
|
+
"activitySubscription": Object {
|
|
124
|
+
"allowSubscriptions": "followers",
|
|
125
|
+
},
|
|
126
|
+
},
|
|
112
127
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(2)@jpeg",
|
|
113
128
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
114
129
|
"did": "user(1)",
|
|
@@ -202,6 +217,11 @@ Object {
|
|
|
202
217
|
"posts": Array [
|
|
203
218
|
Object {
|
|
204
219
|
"author": Object {
|
|
220
|
+
"associated": Object {
|
|
221
|
+
"activitySubscription": Object {
|
|
222
|
+
"allowSubscriptions": "followers",
|
|
223
|
+
},
|
|
224
|
+
},
|
|
205
225
|
"did": "user(0)",
|
|
206
226
|
"handle": "eve.test",
|
|
207
227
|
"labels": Array [],
|
|
@@ -216,6 +236,11 @@ Object {
|
|
|
216
236
|
"record": Object {
|
|
217
237
|
"$type": "app.bsky.embed.record#viewRecord",
|
|
218
238
|
"author": Object {
|
|
239
|
+
"associated": Object {
|
|
240
|
+
"activitySubscription": Object {
|
|
241
|
+
"allowSubscriptions": "followers",
|
|
242
|
+
},
|
|
243
|
+
},
|
|
219
244
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(2)@jpeg",
|
|
220
245
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
221
246
|
"did": "user(1)",
|
|
@@ -300,6 +325,11 @@ Object {
|
|
|
300
325
|
},
|
|
301
326
|
Object {
|
|
302
327
|
"author": Object {
|
|
328
|
+
"associated": Object {
|
|
329
|
+
"activitySubscription": Object {
|
|
330
|
+
"allowSubscriptions": "followers",
|
|
331
|
+
},
|
|
332
|
+
},
|
|
303
333
|
"did": "user(0)",
|
|
304
334
|
"handle": "eve.test",
|
|
305
335
|
"labels": Array [],
|
|
@@ -314,6 +344,11 @@ Object {
|
|
|
314
344
|
"record": Object {
|
|
315
345
|
"$type": "app.bsky.embed.record#viewRecord",
|
|
316
346
|
"author": Object {
|
|
347
|
+
"associated": Object {
|
|
348
|
+
"activitySubscription": Object {
|
|
349
|
+
"allowSubscriptions": "followers",
|
|
350
|
+
},
|
|
351
|
+
},
|
|
317
352
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(2)@jpeg",
|
|
318
353
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
319
354
|
"did": "user(1)",
|
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
exports[`pds repost views fetches reposted-by for a post 1`] = `
|
|
4
4
|
Array [
|
|
5
5
|
Object {
|
|
6
|
+
"associated": Object {
|
|
7
|
+
"activitySubscription": Object {
|
|
8
|
+
"allowSubscriptions": "followers",
|
|
9
|
+
},
|
|
10
|
+
},
|
|
6
11
|
"did": "user(0)",
|
|
7
12
|
"handle": "eve.test",
|
|
8
13
|
"labels": Array [],
|
|
@@ -13,6 +18,9 @@ Array [
|
|
|
13
18
|
},
|
|
14
19
|
Object {
|
|
15
20
|
"associated": Object {
|
|
21
|
+
"activitySubscription": Object {
|
|
22
|
+
"allowSubscriptions": "followers",
|
|
23
|
+
},
|
|
16
24
|
"chat": Object {
|
|
17
25
|
"allowIncoming": "none",
|
|
18
26
|
},
|
|
@@ -27,6 +35,11 @@ Array [
|
|
|
27
35
|
},
|
|
28
36
|
},
|
|
29
37
|
Object {
|
|
38
|
+
"associated": Object {
|
|
39
|
+
"activitySubscription": Object {
|
|
40
|
+
"allowSubscriptions": "followers",
|
|
41
|
+
},
|
|
42
|
+
},
|
|
30
43
|
"did": "user(2)",
|
|
31
44
|
"handle": "carol.test",
|
|
32
45
|
"labels": Array [],
|
|
@@ -38,6 +51,11 @@ Array [
|
|
|
38
51
|
},
|
|
39
52
|
},
|
|
40
53
|
Object {
|
|
54
|
+
"associated": Object {
|
|
55
|
+
"activitySubscription": Object {
|
|
56
|
+
"allowSubscriptions": "followers",
|
|
57
|
+
},
|
|
58
|
+
},
|
|
41
59
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(4)/cids(0)@jpeg",
|
|
42
60
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
43
61
|
"description": "hi im bob label_me",
|
|
@@ -59,6 +77,11 @@ Array [
|
|
|
59
77
|
exports[`pds repost views fetches reposted-by for a reply 1`] = `
|
|
60
78
|
Array [
|
|
61
79
|
Object {
|
|
80
|
+
"associated": Object {
|
|
81
|
+
"activitySubscription": Object {
|
|
82
|
+
"allowSubscriptions": "followers",
|
|
83
|
+
},
|
|
84
|
+
},
|
|
62
85
|
"did": "user(0)",
|
|
63
86
|
"handle": "eve.test",
|
|
64
87
|
"labels": Array [],
|
|
@@ -69,6 +92,9 @@ Array [
|
|
|
69
92
|
},
|
|
70
93
|
Object {
|
|
71
94
|
"associated": Object {
|
|
95
|
+
"activitySubscription": Object {
|
|
96
|
+
"allowSubscriptions": "followers",
|
|
97
|
+
},
|
|
72
98
|
"chat": Object {
|
|
73
99
|
"allowIncoming": "none",
|
|
74
100
|
},
|