@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
|
@@ -6,6 +6,11 @@ Object {
|
|
|
6
6
|
"likes": Array [
|
|
7
7
|
Object {
|
|
8
8
|
"actor": Object {
|
|
9
|
+
"associated": Object {
|
|
10
|
+
"activitySubscription": Object {
|
|
11
|
+
"allowSubscriptions": "followers",
|
|
12
|
+
},
|
|
13
|
+
},
|
|
9
14
|
"did": "user(0)",
|
|
10
15
|
"handle": "eve.test",
|
|
11
16
|
"labels": Array [],
|
|
@@ -20,6 +25,9 @@ Object {
|
|
|
20
25
|
Object {
|
|
21
26
|
"actor": Object {
|
|
22
27
|
"associated": Object {
|
|
28
|
+
"activitySubscription": Object {
|
|
29
|
+
"allowSubscriptions": "followers",
|
|
30
|
+
},
|
|
23
31
|
"chat": Object {
|
|
24
32
|
"allowIncoming": "none",
|
|
25
33
|
},
|
|
@@ -38,6 +46,11 @@ Object {
|
|
|
38
46
|
},
|
|
39
47
|
Object {
|
|
40
48
|
"actor": Object {
|
|
49
|
+
"associated": Object {
|
|
50
|
+
"activitySubscription": Object {
|
|
51
|
+
"allowSubscriptions": "followers",
|
|
52
|
+
},
|
|
53
|
+
},
|
|
41
54
|
"did": "user(2)",
|
|
42
55
|
"handle": "carol.test",
|
|
43
56
|
"labels": Array [],
|
|
@@ -53,6 +66,11 @@ Object {
|
|
|
53
66
|
},
|
|
54
67
|
Object {
|
|
55
68
|
"actor": Object {
|
|
69
|
+
"associated": Object {
|
|
70
|
+
"activitySubscription": Object {
|
|
71
|
+
"allowSubscriptions": "followers",
|
|
72
|
+
},
|
|
73
|
+
},
|
|
56
74
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(4)/cids(0)@jpeg",
|
|
57
75
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
58
76
|
"description": "hi im bob label_me",
|
|
@@ -82,6 +100,11 @@ Object {
|
|
|
82
100
|
"likes": Array [
|
|
83
101
|
Object {
|
|
84
102
|
"actor": Object {
|
|
103
|
+
"associated": Object {
|
|
104
|
+
"activitySubscription": Object {
|
|
105
|
+
"allowSubscriptions": "followers",
|
|
106
|
+
},
|
|
107
|
+
},
|
|
85
108
|
"did": "user(0)",
|
|
86
109
|
"handle": "carol.test",
|
|
87
110
|
"labels": Array [],
|
|
@@ -5,6 +5,11 @@ Array [
|
|
|
5
5
|
Object {
|
|
6
6
|
"post": 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)",
|
|
@@ -63,6 +68,11 @@ Array [
|
|
|
63
68
|
},
|
|
64
69
|
"reply": Object {
|
|
65
70
|
"grandparentAuthor": Object {
|
|
71
|
+
"associated": Object {
|
|
72
|
+
"activitySubscription": Object {
|
|
73
|
+
"allowSubscriptions": "followers",
|
|
74
|
+
},
|
|
75
|
+
},
|
|
66
76
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
67
77
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
68
78
|
"did": "user(0)",
|
|
@@ -94,6 +104,11 @@ Array [
|
|
|
94
104
|
"parent": Object {
|
|
95
105
|
"$type": "app.bsky.feed.defs#postView",
|
|
96
106
|
"author": Object {
|
|
107
|
+
"associated": Object {
|
|
108
|
+
"activitySubscription": Object {
|
|
109
|
+
"allowSubscriptions": "followers",
|
|
110
|
+
},
|
|
111
|
+
},
|
|
97
112
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(3)/cids(1)@jpeg",
|
|
98
113
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
99
114
|
"did": "user(2)",
|
|
@@ -178,6 +193,11 @@ Array [
|
|
|
178
193
|
"root": Object {
|
|
179
194
|
"$type": "app.bsky.feed.defs#postView",
|
|
180
195
|
"author": Object {
|
|
196
|
+
"associated": Object {
|
|
197
|
+
"activitySubscription": Object {
|
|
198
|
+
"allowSubscriptions": "followers",
|
|
199
|
+
},
|
|
200
|
+
},
|
|
181
201
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
182
202
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
183
203
|
"did": "user(0)",
|
|
@@ -230,6 +250,11 @@ Array [
|
|
|
230
250
|
Object {
|
|
231
251
|
"post": Object {
|
|
232
252
|
"author": Object {
|
|
253
|
+
"associated": Object {
|
|
254
|
+
"activitySubscription": Object {
|
|
255
|
+
"allowSubscriptions": "followers",
|
|
256
|
+
},
|
|
257
|
+
},
|
|
233
258
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(3)/cids(1)@jpeg",
|
|
234
259
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
235
260
|
"did": "user(2)",
|
|
@@ -315,6 +340,11 @@ Array [
|
|
|
315
340
|
"parent": Object {
|
|
316
341
|
"$type": "app.bsky.feed.defs#postView",
|
|
317
342
|
"author": Object {
|
|
343
|
+
"associated": Object {
|
|
344
|
+
"activitySubscription": Object {
|
|
345
|
+
"allowSubscriptions": "followers",
|
|
346
|
+
},
|
|
347
|
+
},
|
|
318
348
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
319
349
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
320
350
|
"did": "user(0)",
|
|
@@ -365,6 +395,11 @@ Array [
|
|
|
365
395
|
"root": Object {
|
|
366
396
|
"$type": "app.bsky.feed.defs#postView",
|
|
367
397
|
"author": Object {
|
|
398
|
+
"associated": Object {
|
|
399
|
+
"activitySubscription": Object {
|
|
400
|
+
"allowSubscriptions": "followers",
|
|
401
|
+
},
|
|
402
|
+
},
|
|
368
403
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
369
404
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
370
405
|
"did": "user(0)",
|
|
@@ -417,6 +452,11 @@ Array [
|
|
|
417
452
|
Object {
|
|
418
453
|
"post": Object {
|
|
419
454
|
"author": Object {
|
|
455
|
+
"associated": Object {
|
|
456
|
+
"activitySubscription": Object {
|
|
457
|
+
"allowSubscriptions": "followers",
|
|
458
|
+
},
|
|
459
|
+
},
|
|
420
460
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
421
461
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
422
462
|
"did": "user(0)",
|
|
@@ -452,6 +492,9 @@ Array [
|
|
|
452
492
|
"$type": "app.bsky.embed.record#viewRecord",
|
|
453
493
|
"author": Object {
|
|
454
494
|
"associated": Object {
|
|
495
|
+
"activitySubscription": Object {
|
|
496
|
+
"allowSubscriptions": "followers",
|
|
497
|
+
},
|
|
455
498
|
"chat": Object {
|
|
456
499
|
"allowIncoming": "none",
|
|
457
500
|
},
|
|
@@ -471,6 +514,11 @@ Array [
|
|
|
471
514
|
"record": Object {
|
|
472
515
|
"$type": "app.bsky.embed.record#viewRecord",
|
|
473
516
|
"author": Object {
|
|
517
|
+
"associated": Object {
|
|
518
|
+
"activitySubscription": Object {
|
|
519
|
+
"allowSubscriptions": "followers",
|
|
520
|
+
},
|
|
521
|
+
},
|
|
474
522
|
"did": "user(5)",
|
|
475
523
|
"handle": "carol.test",
|
|
476
524
|
"labels": Array [],
|
|
@@ -603,6 +651,11 @@ Array [
|
|
|
603
651
|
Object {
|
|
604
652
|
"post": Object {
|
|
605
653
|
"author": Object {
|
|
654
|
+
"associated": Object {
|
|
655
|
+
"activitySubscription": Object {
|
|
656
|
+
"allowSubscriptions": "followers",
|
|
657
|
+
},
|
|
658
|
+
},
|
|
606
659
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(3)/cids(1)@jpeg",
|
|
607
660
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
608
661
|
"did": "user(2)",
|
|
@@ -637,6 +690,11 @@ Array [
|
|
|
637
690
|
Object {
|
|
638
691
|
"post": Object {
|
|
639
692
|
"author": Object {
|
|
693
|
+
"associated": Object {
|
|
694
|
+
"activitySubscription": Object {
|
|
695
|
+
"allowSubscriptions": "followers",
|
|
696
|
+
},
|
|
697
|
+
},
|
|
640
698
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
641
699
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
642
700
|
"did": "user(0)",
|
|
@@ -688,6 +746,11 @@ Array [
|
|
|
688
746
|
Object {
|
|
689
747
|
"post": Object {
|
|
690
748
|
"author": Object {
|
|
749
|
+
"associated": Object {
|
|
750
|
+
"activitySubscription": Object {
|
|
751
|
+
"allowSubscriptions": "followers",
|
|
752
|
+
},
|
|
753
|
+
},
|
|
691
754
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(3)/cids(1)@jpeg",
|
|
692
755
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
693
756
|
"did": "user(2)",
|
|
@@ -726,6 +789,11 @@ Array [
|
|
|
726
789
|
Object {
|
|
727
790
|
"post": Object {
|
|
728
791
|
"author": Object {
|
|
792
|
+
"associated": Object {
|
|
793
|
+
"activitySubscription": Object {
|
|
794
|
+
"allowSubscriptions": "followers",
|
|
795
|
+
},
|
|
796
|
+
},
|
|
729
797
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
730
798
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
731
799
|
"did": "user(0)",
|
|
@@ -4,6 +4,11 @@ exports[`bsky actor likes feed views does include users with creator block relat
|
|
|
4
4
|
Array [
|
|
5
5
|
Object {
|
|
6
6
|
"subject": Object {
|
|
7
|
+
"associated": Object {
|
|
8
|
+
"activitySubscription": Object {
|
|
9
|
+
"allowSubscriptions": "followers",
|
|
10
|
+
},
|
|
11
|
+
},
|
|
7
12
|
"did": "user(0)",
|
|
8
13
|
"handle": "frankie.test",
|
|
9
14
|
"labels": Array [],
|
|
@@ -16,6 +21,11 @@ Array [
|
|
|
16
21
|
},
|
|
17
22
|
Object {
|
|
18
23
|
"subject": Object {
|
|
24
|
+
"associated": Object {
|
|
25
|
+
"activitySubscription": Object {
|
|
26
|
+
"allowSubscriptions": "followers",
|
|
27
|
+
},
|
|
28
|
+
},
|
|
19
29
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(0)@jpeg",
|
|
20
30
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
21
31
|
"description": "hi im bob label_me",
|
|
@@ -33,6 +43,11 @@ Array [
|
|
|
33
43
|
},
|
|
34
44
|
Object {
|
|
35
45
|
"subject": Object {
|
|
46
|
+
"associated": Object {
|
|
47
|
+
"activitySubscription": Object {
|
|
48
|
+
"allowSubscriptions": "followers",
|
|
49
|
+
},
|
|
50
|
+
},
|
|
36
51
|
"did": "user(3)",
|
|
37
52
|
"handle": "eve.test",
|
|
38
53
|
"labels": Array [],
|
|
@@ -50,6 +65,11 @@ exports[`bsky actor likes feed views does include users with creator block relat
|
|
|
50
65
|
Array [
|
|
51
66
|
Object {
|
|
52
67
|
"subject": Object {
|
|
68
|
+
"associated": Object {
|
|
69
|
+
"activitySubscription": Object {
|
|
70
|
+
"allowSubscriptions": "followers",
|
|
71
|
+
},
|
|
72
|
+
},
|
|
53
73
|
"did": "user(0)",
|
|
54
74
|
"handle": "frankie.test",
|
|
55
75
|
"labels": Array [],
|
|
@@ -62,6 +82,11 @@ Array [
|
|
|
62
82
|
},
|
|
63
83
|
Object {
|
|
64
84
|
"subject": Object {
|
|
85
|
+
"associated": Object {
|
|
86
|
+
"activitySubscription": Object {
|
|
87
|
+
"allowSubscriptions": "followers",
|
|
88
|
+
},
|
|
89
|
+
},
|
|
65
90
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(0)@jpeg",
|
|
66
91
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
67
92
|
"description": "hi im bob label_me",
|
|
@@ -79,6 +104,11 @@ Array [
|
|
|
79
104
|
},
|
|
80
105
|
Object {
|
|
81
106
|
"subject": Object {
|
|
107
|
+
"associated": Object {
|
|
108
|
+
"activitySubscription": Object {
|
|
109
|
+
"allowSubscriptions": "followers",
|
|
110
|
+
},
|
|
111
|
+
},
|
|
82
112
|
"did": "user(3)",
|
|
83
113
|
"handle": "eve.test",
|
|
84
114
|
"labels": Array [],
|
|
@@ -97,6 +127,11 @@ Array [
|
|
|
97
127
|
Object {
|
|
98
128
|
"cid": "cids(0)",
|
|
99
129
|
"creator": Object {
|
|
130
|
+
"associated": Object {
|
|
131
|
+
"activitySubscription": Object {
|
|
132
|
+
"allowSubscriptions": "followers",
|
|
133
|
+
},
|
|
134
|
+
},
|
|
100
135
|
"did": "user(0)",
|
|
101
136
|
"handle": "eve.test",
|
|
102
137
|
"labels": Array [],
|
|
@@ -111,6 +146,11 @@ Array [
|
|
|
111
146
|
Object {
|
|
112
147
|
"cid": "cids(1)",
|
|
113
148
|
"creator": Object {
|
|
149
|
+
"associated": Object {
|
|
150
|
+
"activitySubscription": Object {
|
|
151
|
+
"allowSubscriptions": "followers",
|
|
152
|
+
},
|
|
153
|
+
},
|
|
114
154
|
"did": "user(0)",
|
|
115
155
|
"handle": "eve.test",
|
|
116
156
|
"labels": Array [],
|
|
@@ -129,6 +169,11 @@ exports[`bsky actor likes feed views does not include users with creator block r
|
|
|
129
169
|
Array [
|
|
130
170
|
Object {
|
|
131
171
|
"subject": Object {
|
|
172
|
+
"associated": Object {
|
|
173
|
+
"activitySubscription": Object {
|
|
174
|
+
"allowSubscriptions": "followers",
|
|
175
|
+
},
|
|
176
|
+
},
|
|
132
177
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(0)@jpeg",
|
|
133
178
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
134
179
|
"description": "hi im bob label_me",
|
|
@@ -142,6 +187,11 @@ Array [
|
|
|
142
187
|
},
|
|
143
188
|
Object {
|
|
144
189
|
"subject": Object {
|
|
190
|
+
"associated": Object {
|
|
191
|
+
"activitySubscription": Object {
|
|
192
|
+
"allowSubscriptions": "followers",
|
|
193
|
+
},
|
|
194
|
+
},
|
|
145
195
|
"did": "user(2)",
|
|
146
196
|
"handle": "eve.test",
|
|
147
197
|
"labels": Array [],
|
|
@@ -155,6 +205,11 @@ exports[`bsky actor likes feed views does not include users with creator block r
|
|
|
155
205
|
Array [
|
|
156
206
|
Object {
|
|
157
207
|
"subject": Object {
|
|
208
|
+
"associated": Object {
|
|
209
|
+
"activitySubscription": Object {
|
|
210
|
+
"allowSubscriptions": "followers",
|
|
211
|
+
},
|
|
212
|
+
},
|
|
158
213
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(0)@jpeg",
|
|
159
214
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
160
215
|
"description": "hi im bob label_me",
|
|
@@ -168,6 +223,11 @@ Array [
|
|
|
168
223
|
},
|
|
169
224
|
Object {
|
|
170
225
|
"subject": Object {
|
|
226
|
+
"associated": Object {
|
|
227
|
+
"activitySubscription": Object {
|
|
228
|
+
"allowSubscriptions": "followers",
|
|
229
|
+
},
|
|
230
|
+
},
|
|
171
231
|
"did": "user(2)",
|
|
172
232
|
"handle": "eve.test",
|
|
173
233
|
"labels": Array [],
|
|
@@ -181,6 +241,11 @@ exports[`bsky actor likes feed views does not include users with creator block r
|
|
|
181
241
|
Array [
|
|
182
242
|
Object {
|
|
183
243
|
"subject": Object {
|
|
244
|
+
"associated": Object {
|
|
245
|
+
"activitySubscription": Object {
|
|
246
|
+
"allowSubscriptions": "followers",
|
|
247
|
+
},
|
|
248
|
+
},
|
|
184
249
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(0)@jpeg",
|
|
185
250
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
186
251
|
"description": "hi im bob label_me",
|
|
@@ -198,6 +263,11 @@ Array [
|
|
|
198
263
|
},
|
|
199
264
|
Object {
|
|
200
265
|
"subject": Object {
|
|
266
|
+
"associated": Object {
|
|
267
|
+
"activitySubscription": Object {
|
|
268
|
+
"allowSubscriptions": "followers",
|
|
269
|
+
},
|
|
270
|
+
},
|
|
201
271
|
"did": "user(2)",
|
|
202
272
|
"handle": "eve.test",
|
|
203
273
|
"labels": Array [],
|
|
@@ -216,6 +286,11 @@ exports[`bsky actor likes feed views does not include users with creator block r
|
|
|
216
286
|
Array [
|
|
217
287
|
Object {
|
|
218
288
|
"subject": Object {
|
|
289
|
+
"associated": Object {
|
|
290
|
+
"activitySubscription": Object {
|
|
291
|
+
"allowSubscriptions": "followers",
|
|
292
|
+
},
|
|
293
|
+
},
|
|
219
294
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(0)@jpeg",
|
|
220
295
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
221
296
|
"description": "hi im bob label_me",
|
|
@@ -233,6 +308,11 @@ Array [
|
|
|
233
308
|
},
|
|
234
309
|
Object {
|
|
235
310
|
"subject": Object {
|
|
311
|
+
"associated": Object {
|
|
312
|
+
"activitySubscription": Object {
|
|
313
|
+
"allowSubscriptions": "followers",
|
|
314
|
+
},
|
|
315
|
+
},
|
|
236
316
|
"did": "user(2)",
|
|
237
317
|
"handle": "eve.test",
|
|
238
318
|
"labels": Array [],
|
|
@@ -251,6 +331,11 @@ exports[`bsky actor likes feed views does not include users with creator block r
|
|
|
251
331
|
Array [
|
|
252
332
|
Object {
|
|
253
333
|
"subject": Object {
|
|
334
|
+
"associated": Object {
|
|
335
|
+
"activitySubscription": Object {
|
|
336
|
+
"allowSubscriptions": "followers",
|
|
337
|
+
},
|
|
338
|
+
},
|
|
254
339
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(0)@jpeg",
|
|
255
340
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
256
341
|
"description": "hi im bob label_me",
|
|
@@ -268,6 +353,11 @@ Array [
|
|
|
268
353
|
},
|
|
269
354
|
Object {
|
|
270
355
|
"subject": Object {
|
|
356
|
+
"associated": Object {
|
|
357
|
+
"activitySubscription": Object {
|
|
358
|
+
"allowSubscriptions": "followers",
|
|
359
|
+
},
|
|
360
|
+
},
|
|
271
361
|
"did": "user(2)",
|
|
272
362
|
"handle": "eve.test",
|
|
273
363
|
"labels": Array [],
|
|
@@ -285,6 +375,11 @@ exports[`bsky actor likes feed views does not include users with creator block r
|
|
|
285
375
|
Array [
|
|
286
376
|
Object {
|
|
287
377
|
"subject": Object {
|
|
378
|
+
"associated": Object {
|
|
379
|
+
"activitySubscription": Object {
|
|
380
|
+
"allowSubscriptions": "followers",
|
|
381
|
+
},
|
|
382
|
+
},
|
|
288
383
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(0)@jpeg",
|
|
289
384
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
290
385
|
"description": "hi im bob label_me",
|
|
@@ -302,6 +397,11 @@ Array [
|
|
|
302
397
|
},
|
|
303
398
|
Object {
|
|
304
399
|
"subject": Object {
|
|
400
|
+
"associated": Object {
|
|
401
|
+
"activitySubscription": Object {
|
|
402
|
+
"allowSubscriptions": "followers",
|
|
403
|
+
},
|
|
404
|
+
},
|
|
305
405
|
"did": "user(2)",
|
|
306
406
|
"handle": "eve.test",
|
|
307
407
|
"labels": Array [],
|
|
@@ -319,6 +419,11 @@ exports[`bsky actor likes feed views does return all users regardless of creator
|
|
|
319
419
|
Array [
|
|
320
420
|
Object {
|
|
321
421
|
"subject": Object {
|
|
422
|
+
"associated": Object {
|
|
423
|
+
"activitySubscription": Object {
|
|
424
|
+
"allowSubscriptions": "followers",
|
|
425
|
+
},
|
|
426
|
+
},
|
|
322
427
|
"did": "user(0)",
|
|
323
428
|
"handle": "greta.test",
|
|
324
429
|
"labels": Array [],
|
|
@@ -331,6 +436,11 @@ Array [
|
|
|
331
436
|
},
|
|
332
437
|
Object {
|
|
333
438
|
"subject": Object {
|
|
439
|
+
"associated": Object {
|
|
440
|
+
"activitySubscription": Object {
|
|
441
|
+
"allowSubscriptions": "followers",
|
|
442
|
+
},
|
|
443
|
+
},
|
|
334
444
|
"did": "user(1)",
|
|
335
445
|
"handle": "frankie.test",
|
|
336
446
|
"labels": Array [],
|
|
@@ -349,6 +459,11 @@ Array [
|
|
|
349
459
|
Object {
|
|
350
460
|
"cid": "cids(0)",
|
|
351
461
|
"creator": Object {
|
|
462
|
+
"associated": Object {
|
|
463
|
+
"activitySubscription": Object {
|
|
464
|
+
"allowSubscriptions": "followers",
|
|
465
|
+
},
|
|
466
|
+
},
|
|
352
467
|
"did": "user(0)",
|
|
353
468
|
"handle": "eve.test",
|
|
354
469
|
"labels": Array [],
|
|
@@ -363,6 +478,11 @@ Array [
|
|
|
363
478
|
Object {
|
|
364
479
|
"cid": "cids(1)",
|
|
365
480
|
"creator": Object {
|
|
481
|
+
"associated": Object {
|
|
482
|
+
"activitySubscription": Object {
|
|
483
|
+
"allowSubscriptions": "followers",
|
|
484
|
+
},
|
|
485
|
+
},
|
|
366
486
|
"did": "user(0)",
|
|
367
487
|
"handle": "eve.test",
|
|
368
488
|
"labels": Array [],
|
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
exports[`bsky views with mutes from mute lists embeds lists in posts 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)",
|
|
@@ -36,6 +41,11 @@ Object {
|
|
|
36
41
|
"$type": "app.bsky.graph.defs#listView",
|
|
37
42
|
"cid": "cids(4)",
|
|
38
43
|
"creator": Object {
|
|
44
|
+
"associated": Object {
|
|
45
|
+
"activitySubscription": Object {
|
|
46
|
+
"allowSubscriptions": "followers",
|
|
47
|
+
},
|
|
48
|
+
},
|
|
39
49
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
40
50
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
41
51
|
"description": "its me!",
|
|
@@ -107,6 +117,11 @@ Object {
|
|
|
107
117
|
"$type": "app.bsky.feed.defs#threadViewPost",
|
|
108
118
|
"post": Object {
|
|
109
119
|
"author": Object {
|
|
120
|
+
"associated": Object {
|
|
121
|
+
"activitySubscription": Object {
|
|
122
|
+
"allowSubscriptions": "followers",
|
|
123
|
+
},
|
|
124
|
+
},
|
|
110
125
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
111
126
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
112
127
|
"did": "user(0)",
|
|
@@ -159,6 +174,11 @@ Object {
|
|
|
159
174
|
"$type": "app.bsky.feed.defs#threadViewPost",
|
|
160
175
|
"post": Object {
|
|
161
176
|
"author": Object {
|
|
177
|
+
"associated": Object {
|
|
178
|
+
"activitySubscription": Object {
|
|
179
|
+
"allowSubscriptions": "followers",
|
|
180
|
+
},
|
|
181
|
+
},
|
|
162
182
|
"did": "user(2)",
|
|
163
183
|
"handle": "carol.test",
|
|
164
184
|
"labels": Array [],
|
|
@@ -216,6 +236,11 @@ Object {
|
|
|
216
236
|
"$type": "app.bsky.feed.defs#threadViewPost",
|
|
217
237
|
"post": Object {
|
|
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(4)/cids(1)@jpeg",
|
|
220
245
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
221
246
|
"did": "user(3)",
|
|
@@ -324,6 +349,11 @@ Object {
|
|
|
324
349
|
Object {
|
|
325
350
|
"cid": "cids(0)",
|
|
326
351
|
"creator": Object {
|
|
352
|
+
"associated": Object {
|
|
353
|
+
"activitySubscription": Object {
|
|
354
|
+
"allowSubscriptions": "followers",
|
|
355
|
+
},
|
|
356
|
+
},
|
|
327
357
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
328
358
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
329
359
|
"description": "its me!",
|
|
@@ -368,6 +398,11 @@ Object {
|
|
|
368
398
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
369
399
|
"cid": "cids(3)",
|
|
370
400
|
"creator": Object {
|
|
401
|
+
"associated": Object {
|
|
402
|
+
"activitySubscription": Object {
|
|
403
|
+
"allowSubscriptions": "followers",
|
|
404
|
+
},
|
|
405
|
+
},
|
|
371
406
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
372
407
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
373
408
|
"description": "its me!",
|
|
@@ -419,6 +454,11 @@ Object {
|
|
|
419
454
|
Object {
|
|
420
455
|
"cid": "cids(0)",
|
|
421
456
|
"creator": Object {
|
|
457
|
+
"associated": Object {
|
|
458
|
+
"activitySubscription": Object {
|
|
459
|
+
"allowSubscriptions": "followers",
|
|
460
|
+
},
|
|
461
|
+
},
|
|
422
462
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
423
463
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
424
464
|
"description": "its me!",
|
|
@@ -463,6 +503,11 @@ Object {
|
|
|
463
503
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
464
504
|
"cid": "cids(3)",
|
|
465
505
|
"creator": Object {
|
|
506
|
+
"associated": Object {
|
|
507
|
+
"activitySubscription": Object {
|
|
508
|
+
"allowSubscriptions": "followers",
|
|
509
|
+
},
|
|
510
|
+
},
|
|
466
511
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
467
512
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
468
513
|
"description": "its me!",
|
|
@@ -514,6 +559,9 @@ Object {
|
|
|
514
559
|
Object {
|
|
515
560
|
"subject": Object {
|
|
516
561
|
"associated": Object {
|
|
562
|
+
"activitySubscription": Object {
|
|
563
|
+
"allowSubscriptions": "followers",
|
|
564
|
+
},
|
|
517
565
|
"chat": Object {
|
|
518
566
|
"allowIncoming": "none",
|
|
519
567
|
},
|
|
@@ -530,6 +578,11 @@ Object {
|
|
|
530
578
|
},
|
|
531
579
|
Object {
|
|
532
580
|
"subject": Object {
|
|
581
|
+
"associated": Object {
|
|
582
|
+
"activitySubscription": Object {
|
|
583
|
+
"allowSubscriptions": "followers",
|
|
584
|
+
},
|
|
585
|
+
},
|
|
533
586
|
"did": "user(3)",
|
|
534
587
|
"handle": "carol.test",
|
|
535
588
|
"labels": Array [],
|
|
@@ -556,6 +609,11 @@ Object {
|
|
|
556
609
|
},
|
|
557
610
|
Object {
|
|
558
611
|
"subject": Object {
|
|
612
|
+
"associated": Object {
|
|
613
|
+
"activitySubscription": Object {
|
|
614
|
+
"allowSubscriptions": "followers",
|
|
615
|
+
},
|
|
616
|
+
},
|
|
559
617
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(5)/cids(1)@jpeg",
|
|
560
618
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
561
619
|
"description": "hi im bob label_me",
|
|
@@ -590,6 +648,11 @@ Object {
|
|
|
590
648
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(0)/cids(1)@jpeg",
|
|
591
649
|
"cid": "cids(0)",
|
|
592
650
|
"creator": Object {
|
|
651
|
+
"associated": Object {
|
|
652
|
+
"activitySubscription": Object {
|
|
653
|
+
"allowSubscriptions": "followers",
|
|
654
|
+
},
|
|
655
|
+
},
|
|
593
656
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(0)/cids(1)@jpeg",
|
|
594
657
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
595
658
|
"description": "its me!",
|