@atproto/bsky 0.0.166 → 0.0.168
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 +14 -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
package/src/views/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HOUR, MINUTE, mapDefined } from '@atproto/common'
|
|
2
2
|
import { AtUri, INVALID_HANDLE, normalizeDatetimeAlways } from '@atproto/syntax'
|
|
3
|
-
import { ProfileViewerState } from '../hydration/actor'
|
|
3
|
+
import { Actor, ProfileViewerState } from '../hydration/actor'
|
|
4
4
|
import { FeedItem, Like, Post, Repost } from '../hydration/feed'
|
|
5
5
|
import { Follow, Verification } from '../hydration/graph'
|
|
6
6
|
import { HydrationState } from '../hydration/hydrator'
|
|
@@ -10,6 +10,7 @@ import { ImageUriBuilder } from '../image/uri'
|
|
|
10
10
|
import { ids } from '../lexicon/lexicons'
|
|
11
11
|
import {
|
|
12
12
|
KnownFollowers,
|
|
13
|
+
ProfileAssociatedActivitySubscription,
|
|
13
14
|
ProfileView,
|
|
14
15
|
ProfileViewBasic,
|
|
15
16
|
ProfileViewDetailed,
|
|
@@ -58,7 +59,10 @@ import {
|
|
|
58
59
|
Record as LabelerRecord,
|
|
59
60
|
isRecord as isLabelerRecord,
|
|
60
61
|
} from '../lexicon/types/app/bsky/labeler/service'
|
|
61
|
-
import {
|
|
62
|
+
import {
|
|
63
|
+
ActivitySubscription,
|
|
64
|
+
RecordDeleted as NotificationRecordDeleted,
|
|
65
|
+
} from '../lexicon/types/app/bsky/notification/defs'
|
|
62
66
|
import { ThreadItem as ThreadOtherItem } from '../lexicon/types/app/bsky/unspecced/getPostThreadOtherV2'
|
|
63
67
|
import {
|
|
64
68
|
QueryParams as GetPostThreadV2QueryParams,
|
|
@@ -284,6 +288,7 @@ export class Views {
|
|
|
284
288
|
chat: actor.allowIncomingChatsFrom
|
|
285
289
|
? { allowIncoming: actor.allowIncomingChatsFrom }
|
|
286
290
|
: undefined,
|
|
291
|
+
activitySubscription: this.profileAssociatedActivitySubscription(actor),
|
|
287
292
|
},
|
|
288
293
|
joinedViaStarterPack: actor.profile?.joinedViaStarterPack
|
|
289
294
|
? this.starterPackBasic(actor.profile.joinedViaStarterPack.uri, state)
|
|
@@ -345,16 +350,14 @@ export class Views {
|
|
|
345
350
|
: undefined,
|
|
346
351
|
// associated.feedgens and associated.lists info not necessarily included
|
|
347
352
|
// on profile and profile-basic views, but should be on profile-detailed.
|
|
348
|
-
associated:
|
|
349
|
-
actor.isLabeler
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
chat: actor.allowIncomingChatsFrom
|
|
354
|
-
? { allowIncoming: actor.allowIncomingChatsFrom }
|
|
355
|
-
: undefined,
|
|
356
|
-
}
|
|
353
|
+
associated: {
|
|
354
|
+
labeler: actor.isLabeler ? true : undefined,
|
|
355
|
+
// @TODO apply default chat policy?
|
|
356
|
+
chat: actor.allowIncomingChatsFrom
|
|
357
|
+
? { allowIncoming: actor.allowIncomingChatsFrom }
|
|
357
358
|
: undefined,
|
|
359
|
+
activitySubscription: this.profileAssociatedActivitySubscription(actor),
|
|
360
|
+
},
|
|
358
361
|
viewer: this.profileViewer(did, state),
|
|
359
362
|
labels,
|
|
360
363
|
createdAt: actor.createdAt?.toISOString(),
|
|
@@ -363,6 +366,12 @@ export class Views {
|
|
|
363
366
|
}
|
|
364
367
|
}
|
|
365
368
|
|
|
369
|
+
profileAssociatedActivitySubscription(
|
|
370
|
+
actor: Actor,
|
|
371
|
+
): ProfileAssociatedActivitySubscription {
|
|
372
|
+
return { allowSubscriptions: actor.allowActivitySubscriptionsFrom }
|
|
373
|
+
}
|
|
374
|
+
|
|
366
375
|
profileKnownFollowers(
|
|
367
376
|
did: string,
|
|
368
377
|
state: HydrationState,
|
|
@@ -402,7 +411,35 @@ export class Views {
|
|
|
402
411
|
: undefined,
|
|
403
412
|
following: viewer.following && !block ? viewer.following : undefined,
|
|
404
413
|
followedBy: viewer.followedBy && !block ? viewer.followedBy : undefined,
|
|
414
|
+
activitySubscription: this.profileViewerActivitySubscription(
|
|
415
|
+
viewer,
|
|
416
|
+
did,
|
|
417
|
+
state,
|
|
418
|
+
),
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
profileViewerActivitySubscription(
|
|
423
|
+
profileViewer: ProfileViewerState,
|
|
424
|
+
did: string,
|
|
425
|
+
state: HydrationState,
|
|
426
|
+
): ActivitySubscription | undefined {
|
|
427
|
+
const actor = state.actors?.get(did)
|
|
428
|
+
if (!actor) return undefined
|
|
429
|
+
|
|
430
|
+
const activitySubscription = state.activitySubscriptions?.get(did)
|
|
431
|
+
if (!activitySubscription) return undefined
|
|
432
|
+
|
|
433
|
+
const allowFrom = actor.allowActivitySubscriptionsFrom
|
|
434
|
+
const actorFollowsViewer = !!profileViewer.followedBy
|
|
435
|
+
const viewerFollowsActor = !!profileViewer.following
|
|
436
|
+
if (
|
|
437
|
+
(allowFrom === 'followers' && viewerFollowsActor) ||
|
|
438
|
+
(allowFrom === 'mutuals' && actorFollowsViewer && viewerFollowsActor)
|
|
439
|
+
) {
|
|
440
|
+
return activitySubscription
|
|
405
441
|
}
|
|
442
|
+
return undefined
|
|
406
443
|
}
|
|
407
444
|
|
|
408
445
|
knownFollowers(
|
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
exports[`feed generation does not embed taken-down feed generator records 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)",
|
|
@@ -52,6 +57,11 @@ Object {
|
|
|
52
57
|
exports[`feed generation does not embed taken-down starter pack records in posts 1`] = `
|
|
53
58
|
Object {
|
|
54
59
|
"author": Object {
|
|
60
|
+
"associated": Object {
|
|
61
|
+
"activitySubscription": Object {
|
|
62
|
+
"allowSubscriptions": "followers",
|
|
63
|
+
},
|
|
64
|
+
},
|
|
55
65
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
56
66
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
57
67
|
"did": "user(0)",
|
|
@@ -101,6 +111,11 @@ Object {
|
|
|
101
111
|
exports[`feed generation embeds feed generator records in posts 1`] = `
|
|
102
112
|
Object {
|
|
103
113
|
"author": Object {
|
|
114
|
+
"associated": Object {
|
|
115
|
+
"activitySubscription": Object {
|
|
116
|
+
"allowSubscriptions": "followers",
|
|
117
|
+
},
|
|
118
|
+
},
|
|
104
119
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
105
120
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
106
121
|
"did": "user(0)",
|
|
@@ -119,6 +134,11 @@ Object {
|
|
|
119
134
|
"$type": "app.bsky.feed.defs#generatorView",
|
|
120
135
|
"cid": "cids(2)",
|
|
121
136
|
"creator": Object {
|
|
137
|
+
"associated": Object {
|
|
138
|
+
"activitySubscription": Object {
|
|
139
|
+
"allowSubscriptions": "followers",
|
|
140
|
+
},
|
|
141
|
+
},
|
|
122
142
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(4)/cids(1)@jpeg",
|
|
123
143
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
124
144
|
"description": "its me!",
|
|
@@ -190,6 +210,11 @@ Object {
|
|
|
190
210
|
exports[`feed generation embeds starter pack records in posts 1`] = `
|
|
191
211
|
Object {
|
|
192
212
|
"author": Object {
|
|
213
|
+
"associated": Object {
|
|
214
|
+
"activitySubscription": Object {
|
|
215
|
+
"allowSubscriptions": "followers",
|
|
216
|
+
},
|
|
217
|
+
},
|
|
193
218
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
194
219
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
195
220
|
"did": "user(0)",
|
|
@@ -208,6 +233,11 @@ Object {
|
|
|
208
233
|
"$type": "app.bsky.graph.defs#starterPackViewBasic",
|
|
209
234
|
"cid": "cids(2)",
|
|
210
235
|
"creator": Object {
|
|
236
|
+
"associated": Object {
|
|
237
|
+
"activitySubscription": Object {
|
|
238
|
+
"allowSubscriptions": "followers",
|
|
239
|
+
},
|
|
240
|
+
},
|
|
211
241
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(3)/cids(1)@jpeg",
|
|
212
242
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
213
243
|
"did": "user(2)",
|
|
@@ -283,6 +313,11 @@ Array [
|
|
|
283
313
|
Object {
|
|
284
314
|
"cid": "cids(0)",
|
|
285
315
|
"creator": Object {
|
|
316
|
+
"associated": Object {
|
|
317
|
+
"activitySubscription": Object {
|
|
318
|
+
"allowSubscriptions": "followers",
|
|
319
|
+
},
|
|
320
|
+
},
|
|
286
321
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(1)@jpeg",
|
|
287
322
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
288
323
|
"description": "its me!",
|
|
@@ -326,6 +361,11 @@ Array [
|
|
|
326
361
|
"cid": "cids(3)",
|
|
327
362
|
"contentMode": "app.bsky.feed.defs#contentModeVideo",
|
|
328
363
|
"creator": Object {
|
|
364
|
+
"associated": Object {
|
|
365
|
+
"activitySubscription": Object {
|
|
366
|
+
"allowSubscriptions": "followers",
|
|
367
|
+
},
|
|
368
|
+
},
|
|
329
369
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(1)@jpeg",
|
|
330
370
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
331
371
|
"description": "its me!",
|
|
@@ -368,6 +408,11 @@ Array [
|
|
|
368
408
|
Object {
|
|
369
409
|
"cid": "cids(4)",
|
|
370
410
|
"creator": Object {
|
|
411
|
+
"associated": Object {
|
|
412
|
+
"activitySubscription": Object {
|
|
413
|
+
"allowSubscriptions": "followers",
|
|
414
|
+
},
|
|
415
|
+
},
|
|
371
416
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(1)@jpeg",
|
|
372
417
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
373
418
|
"description": "its me!",
|
|
@@ -410,6 +455,11 @@ Array [
|
|
|
410
455
|
Object {
|
|
411
456
|
"cid": "cids(5)",
|
|
412
457
|
"creator": Object {
|
|
458
|
+
"associated": Object {
|
|
459
|
+
"activitySubscription": Object {
|
|
460
|
+
"allowSubscriptions": "followers",
|
|
461
|
+
},
|
|
462
|
+
},
|
|
413
463
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(1)@jpeg",
|
|
414
464
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
415
465
|
"description": "its me!",
|
|
@@ -452,6 +502,11 @@ Array [
|
|
|
452
502
|
Object {
|
|
453
503
|
"cid": "cids(6)",
|
|
454
504
|
"creator": Object {
|
|
505
|
+
"associated": Object {
|
|
506
|
+
"activitySubscription": Object {
|
|
507
|
+
"allowSubscriptions": "followers",
|
|
508
|
+
},
|
|
509
|
+
},
|
|
455
510
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(1)@jpeg",
|
|
456
511
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
457
512
|
"description": "its me!",
|
|
@@ -494,6 +549,11 @@ Array [
|
|
|
494
549
|
Object {
|
|
495
550
|
"cid": "cids(7)",
|
|
496
551
|
"creator": Object {
|
|
552
|
+
"associated": Object {
|
|
553
|
+
"activitySubscription": Object {
|
|
554
|
+
"allowSubscriptions": "followers",
|
|
555
|
+
},
|
|
556
|
+
},
|
|
497
557
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(1)@jpeg",
|
|
498
558
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
499
559
|
"description": "its me!",
|
|
@@ -536,6 +596,11 @@ Array [
|
|
|
536
596
|
Object {
|
|
537
597
|
"cid": "cids(8)",
|
|
538
598
|
"creator": Object {
|
|
599
|
+
"associated": Object {
|
|
600
|
+
"activitySubscription": Object {
|
|
601
|
+
"allowSubscriptions": "followers",
|
|
602
|
+
},
|
|
603
|
+
},
|
|
539
604
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(1)@jpeg",
|
|
540
605
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
541
606
|
"description": "its me!",
|
|
@@ -586,6 +651,11 @@ Array [
|
|
|
586
651
|
"feedContext": "item-0",
|
|
587
652
|
"post": Object {
|
|
588
653
|
"author": Object {
|
|
654
|
+
"associated": Object {
|
|
655
|
+
"activitySubscription": Object {
|
|
656
|
+
"allowSubscriptions": "followers",
|
|
657
|
+
},
|
|
658
|
+
},
|
|
589
659
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
590
660
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
591
661
|
"did": "user(0)",
|
|
@@ -652,6 +722,11 @@ Array [
|
|
|
652
722
|
"feedContext": "item-1",
|
|
653
723
|
"post": Object {
|
|
654
724
|
"author": Object {
|
|
725
|
+
"associated": Object {
|
|
726
|
+
"activitySubscription": Object {
|
|
727
|
+
"allowSubscriptions": "followers",
|
|
728
|
+
},
|
|
729
|
+
},
|
|
655
730
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(3)/cids(1)@jpeg",
|
|
656
731
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
657
732
|
"did": "user(2)",
|
|
@@ -693,6 +768,11 @@ Array [
|
|
|
693
768
|
"feedContext": "item-2",
|
|
694
769
|
"post": Object {
|
|
695
770
|
"author": Object {
|
|
771
|
+
"associated": Object {
|
|
772
|
+
"activitySubscription": Object {
|
|
773
|
+
"allowSubscriptions": "followers",
|
|
774
|
+
},
|
|
775
|
+
},
|
|
696
776
|
"did": "user(4)",
|
|
697
777
|
"handle": "carol.test",
|
|
698
778
|
"labels": Array [],
|
|
@@ -725,6 +805,11 @@ Array [
|
|
|
725
805
|
"record": Object {
|
|
726
806
|
"$type": "app.bsky.embed.record#viewRecord",
|
|
727
807
|
"author": Object {
|
|
808
|
+
"associated": Object {
|
|
809
|
+
"activitySubscription": Object {
|
|
810
|
+
"allowSubscriptions": "followers",
|
|
811
|
+
},
|
|
812
|
+
},
|
|
728
813
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(3)/cids(1)@jpeg",
|
|
729
814
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
730
815
|
"did": "user(2)",
|
|
@@ -819,6 +904,11 @@ Array [
|
|
|
819
904
|
"feedContext": "item-4",
|
|
820
905
|
"post": Object {
|
|
821
906
|
"author": Object {
|
|
907
|
+
"associated": Object {
|
|
908
|
+
"activitySubscription": Object {
|
|
909
|
+
"allowSubscriptions": "followers",
|
|
910
|
+
},
|
|
911
|
+
},
|
|
822
912
|
"did": "user(4)",
|
|
823
913
|
"handle": "carol.test",
|
|
824
914
|
"labels": Array [],
|
|
@@ -861,6 +951,11 @@ Array [
|
|
|
861
951
|
"parent": Object {
|
|
862
952
|
"$type": "app.bsky.feed.defs#postView",
|
|
863
953
|
"author": Object {
|
|
954
|
+
"associated": Object {
|
|
955
|
+
"activitySubscription": Object {
|
|
956
|
+
"allowSubscriptions": "followers",
|
|
957
|
+
},
|
|
958
|
+
},
|
|
864
959
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
865
960
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
866
961
|
"did": "user(0)",
|
|
@@ -908,6 +1003,11 @@ Array [
|
|
|
908
1003
|
"root": Object {
|
|
909
1004
|
"$type": "app.bsky.feed.defs#postView",
|
|
910
1005
|
"author": Object {
|
|
1006
|
+
"associated": Object {
|
|
1007
|
+
"activitySubscription": Object {
|
|
1008
|
+
"allowSubscriptions": "followers",
|
|
1009
|
+
},
|
|
1010
|
+
},
|
|
911
1011
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
912
1012
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
913
1013
|
"did": "user(0)",
|
|
@@ -960,6 +1060,9 @@ Array [
|
|
|
960
1060
|
"post": Object {
|
|
961
1061
|
"author": Object {
|
|
962
1062
|
"associated": Object {
|
|
1063
|
+
"activitySubscription": Object {
|
|
1064
|
+
"allowSubscriptions": "followers",
|
|
1065
|
+
},
|
|
963
1066
|
"chat": Object {
|
|
964
1067
|
"allowIncoming": "none",
|
|
965
1068
|
},
|
|
@@ -979,6 +1082,11 @@ Array [
|
|
|
979
1082
|
"record": Object {
|
|
980
1083
|
"$type": "app.bsky.embed.record#viewRecord",
|
|
981
1084
|
"author": Object {
|
|
1085
|
+
"associated": Object {
|
|
1086
|
+
"activitySubscription": Object {
|
|
1087
|
+
"allowSubscriptions": "followers",
|
|
1088
|
+
},
|
|
1089
|
+
},
|
|
982
1090
|
"did": "user(4)",
|
|
983
1091
|
"handle": "carol.test",
|
|
984
1092
|
"labels": Array [],
|
|
@@ -1012,6 +1120,11 @@ Array [
|
|
|
1012
1120
|
"record": Object {
|
|
1013
1121
|
"$type": "app.bsky.embed.record#viewRecord",
|
|
1014
1122
|
"author": Object {
|
|
1123
|
+
"associated": Object {
|
|
1124
|
+
"activitySubscription": Object {
|
|
1125
|
+
"allowSubscriptions": "followers",
|
|
1126
|
+
},
|
|
1127
|
+
},
|
|
1015
1128
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(3)/cids(1)@jpeg",
|
|
1016
1129
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1017
1130
|
"did": "user(2)",
|
|
@@ -1137,6 +1250,11 @@ Array [
|
|
|
1137
1250
|
"reason": Object {
|
|
1138
1251
|
"$type": "app.bsky.feed.defs#reasonRepost",
|
|
1139
1252
|
"by": Object {
|
|
1253
|
+
"associated": Object {
|
|
1254
|
+
"activitySubscription": Object {
|
|
1255
|
+
"allowSubscriptions": "followers",
|
|
1256
|
+
},
|
|
1257
|
+
},
|
|
1140
1258
|
"did": "user(4)",
|
|
1141
1259
|
"handle": "carol.test",
|
|
1142
1260
|
"labels": Array [],
|
|
@@ -1162,6 +1280,11 @@ Array [
|
|
|
1162
1280
|
"feedContext": "item-0",
|
|
1163
1281
|
"post": Object {
|
|
1164
1282
|
"author": Object {
|
|
1283
|
+
"associated": Object {
|
|
1284
|
+
"activitySubscription": Object {
|
|
1285
|
+
"allowSubscriptions": "followers",
|
|
1286
|
+
},
|
|
1287
|
+
},
|
|
1165
1288
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
1166
1289
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1167
1290
|
"did": "user(0)",
|
|
@@ -1220,6 +1343,11 @@ Array [
|
|
|
1220
1343
|
"feedContext": "item-2",
|
|
1221
1344
|
"post": Object {
|
|
1222
1345
|
"author": Object {
|
|
1346
|
+
"associated": Object {
|
|
1347
|
+
"activitySubscription": Object {
|
|
1348
|
+
"allowSubscriptions": "followers",
|
|
1349
|
+
},
|
|
1350
|
+
},
|
|
1223
1351
|
"did": "user(2)",
|
|
1224
1352
|
"handle": "carol.test",
|
|
1225
1353
|
"labels": Array [],
|
|
@@ -1246,6 +1374,11 @@ Array [
|
|
|
1246
1374
|
"record": Object {
|
|
1247
1375
|
"$type": "app.bsky.embed.record#viewRecord",
|
|
1248
1376
|
"author": Object {
|
|
1377
|
+
"associated": Object {
|
|
1378
|
+
"activitySubscription": Object {
|
|
1379
|
+
"allowSubscriptions": "followers",
|
|
1380
|
+
},
|
|
1381
|
+
},
|
|
1249
1382
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(5)/cids(1)@jpeg",
|
|
1250
1383
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1251
1384
|
"did": "user(4)",
|
|
@@ -1329,6 +1462,11 @@ Array [
|
|
|
1329
1462
|
"feedContext": "item-4",
|
|
1330
1463
|
"post": Object {
|
|
1331
1464
|
"author": Object {
|
|
1465
|
+
"associated": Object {
|
|
1466
|
+
"activitySubscription": Object {
|
|
1467
|
+
"allowSubscriptions": "followers",
|
|
1468
|
+
},
|
|
1469
|
+
},
|
|
1332
1470
|
"did": "user(2)",
|
|
1333
1471
|
"handle": "carol.test",
|
|
1334
1472
|
"labels": Array [],
|
|
@@ -1361,6 +1499,11 @@ Array [
|
|
|
1361
1499
|
"parent": Object {
|
|
1362
1500
|
"$type": "app.bsky.feed.defs#postView",
|
|
1363
1501
|
"author": Object {
|
|
1502
|
+
"associated": Object {
|
|
1503
|
+
"activitySubscription": Object {
|
|
1504
|
+
"allowSubscriptions": "followers",
|
|
1505
|
+
},
|
|
1506
|
+
},
|
|
1364
1507
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
1365
1508
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1366
1509
|
"did": "user(0)",
|
|
@@ -1400,6 +1543,11 @@ Array [
|
|
|
1400
1543
|
"root": Object {
|
|
1401
1544
|
"$type": "app.bsky.feed.defs#postView",
|
|
1402
1545
|
"author": Object {
|
|
1546
|
+
"associated": Object {
|
|
1547
|
+
"activitySubscription": Object {
|
|
1548
|
+
"allowSubscriptions": "followers",
|
|
1549
|
+
},
|
|
1550
|
+
},
|
|
1403
1551
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
1404
1552
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1405
1553
|
"did": "user(0)",
|
|
@@ -1448,6 +1596,11 @@ Array [
|
|
|
1448
1596
|
"feedContext": "item-0",
|
|
1449
1597
|
"post": Object {
|
|
1450
1598
|
"author": Object {
|
|
1599
|
+
"associated": Object {
|
|
1600
|
+
"activitySubscription": Object {
|
|
1601
|
+
"allowSubscriptions": "followers",
|
|
1602
|
+
},
|
|
1603
|
+
},
|
|
1451
1604
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
1452
1605
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1453
1606
|
"did": "user(0)",
|
|
@@ -1514,6 +1667,11 @@ Array [
|
|
|
1514
1667
|
"feedContext": "item-2",
|
|
1515
1668
|
"post": Object {
|
|
1516
1669
|
"author": Object {
|
|
1670
|
+
"associated": Object {
|
|
1671
|
+
"activitySubscription": Object {
|
|
1672
|
+
"allowSubscriptions": "followers",
|
|
1673
|
+
},
|
|
1674
|
+
},
|
|
1517
1675
|
"did": "user(2)",
|
|
1518
1676
|
"handle": "carol.test",
|
|
1519
1677
|
"labels": Array [],
|
|
@@ -1546,6 +1704,11 @@ Array [
|
|
|
1546
1704
|
"record": Object {
|
|
1547
1705
|
"$type": "app.bsky.embed.record#viewRecord",
|
|
1548
1706
|
"author": Object {
|
|
1707
|
+
"associated": Object {
|
|
1708
|
+
"activitySubscription": Object {
|
|
1709
|
+
"allowSubscriptions": "followers",
|
|
1710
|
+
},
|
|
1711
|
+
},
|
|
1549
1712
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(5)/cids(1)@jpeg",
|
|
1550
1713
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1551
1714
|
"did": "user(4)",
|
|
@@ -1640,6 +1803,11 @@ Array [
|
|
|
1640
1803
|
"feedContext": "item-4",
|
|
1641
1804
|
"post": Object {
|
|
1642
1805
|
"author": Object {
|
|
1806
|
+
"associated": Object {
|
|
1807
|
+
"activitySubscription": Object {
|
|
1808
|
+
"allowSubscriptions": "followers",
|
|
1809
|
+
},
|
|
1810
|
+
},
|
|
1643
1811
|
"did": "user(2)",
|
|
1644
1812
|
"handle": "carol.test",
|
|
1645
1813
|
"labels": Array [],
|
|
@@ -1682,6 +1850,11 @@ Array [
|
|
|
1682
1850
|
"parent": Object {
|
|
1683
1851
|
"$type": "app.bsky.feed.defs#postView",
|
|
1684
1852
|
"author": Object {
|
|
1853
|
+
"associated": Object {
|
|
1854
|
+
"activitySubscription": Object {
|
|
1855
|
+
"allowSubscriptions": "followers",
|
|
1856
|
+
},
|
|
1857
|
+
},
|
|
1685
1858
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
1686
1859
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1687
1860
|
"did": "user(0)",
|
|
@@ -1729,6 +1902,11 @@ Array [
|
|
|
1729
1902
|
"root": Object {
|
|
1730
1903
|
"$type": "app.bsky.feed.defs#postView",
|
|
1731
1904
|
"author": Object {
|
|
1905
|
+
"associated": Object {
|
|
1906
|
+
"activitySubscription": Object {
|
|
1907
|
+
"allowSubscriptions": "followers",
|
|
1908
|
+
},
|
|
1909
|
+
},
|
|
1732
1910
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(1)/cids(1)@jpeg",
|
|
1733
1911
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1734
1912
|
"did": "user(0)",
|
|
@@ -1787,6 +1965,11 @@ Object {
|
|
|
1787
1965
|
"cid": "cids(0)",
|
|
1788
1966
|
"contentMode": "app.bsky.feed.defs#contentModeVideo",
|
|
1789
1967
|
"creator": Object {
|
|
1968
|
+
"associated": Object {
|
|
1969
|
+
"activitySubscription": Object {
|
|
1970
|
+
"allowSubscriptions": "followers",
|
|
1971
|
+
},
|
|
1972
|
+
},
|
|
1790
1973
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(1)@jpeg",
|
|
1791
1974
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1792
1975
|
"description": "its me!",
|
|
@@ -1836,6 +2019,11 @@ Object {
|
|
|
1836
2019
|
"view": Object {
|
|
1837
2020
|
"cid": "cids(0)",
|
|
1838
2021
|
"creator": Object {
|
|
2022
|
+
"associated": Object {
|
|
2023
|
+
"activitySubscription": Object {
|
|
2024
|
+
"allowSubscriptions": "followers",
|
|
2025
|
+
},
|
|
2026
|
+
},
|
|
1839
2027
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(1)@jpeg",
|
|
1840
2028
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1841
2029
|
"description": "its me!",
|
|
@@ -1886,6 +2074,11 @@ Object {
|
|
|
1886
2074
|
Object {
|
|
1887
2075
|
"cid": "cids(0)",
|
|
1888
2076
|
"creator": Object {
|
|
2077
|
+
"associated": Object {
|
|
2078
|
+
"activitySubscription": Object {
|
|
2079
|
+
"allowSubscriptions": "followers",
|
|
2080
|
+
},
|
|
2081
|
+
},
|
|
1889
2082
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(1)@jpeg",
|
|
1890
2083
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1891
2084
|
"description": "its me!",
|
|
@@ -1928,6 +2121,11 @@ Object {
|
|
|
1928
2121
|
Object {
|
|
1929
2122
|
"cid": "cids(3)",
|
|
1930
2123
|
"creator": Object {
|
|
2124
|
+
"associated": Object {
|
|
2125
|
+
"activitySubscription": Object {
|
|
2126
|
+
"allowSubscriptions": "followers",
|
|
2127
|
+
},
|
|
2128
|
+
},
|
|
1931
2129
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(1)@jpeg",
|
|
1932
2130
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1933
2131
|
"description": "its me!",
|
|
@@ -1980,6 +2178,11 @@ Object {
|
|
|
1980
2178
|
Object {
|
|
1981
2179
|
"cid": "cids(0)",
|
|
1982
2180
|
"creator": Object {
|
|
2181
|
+
"associated": Object {
|
|
2182
|
+
"activitySubscription": Object {
|
|
2183
|
+
"allowSubscriptions": "followers",
|
|
2184
|
+
},
|
|
2185
|
+
},
|
|
1983
2186
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(1)@jpeg",
|
|
1984
2187
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1985
2188
|
"description": "its me!",
|
|
@@ -2024,6 +2227,11 @@ Object {
|
|
|
2024
2227
|
Object {
|
|
2025
2228
|
"cid": "cids(3)",
|
|
2026
2229
|
"creator": Object {
|
|
2230
|
+
"associated": Object {
|
|
2231
|
+
"activitySubscription": Object {
|
|
2232
|
+
"allowSubscriptions": "followers",
|
|
2233
|
+
},
|
|
2234
|
+
},
|
|
2027
2235
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(1)@jpeg",
|
|
2028
2236
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
2029
2237
|
"description": "its me!",
|
|
@@ -2066,6 +2274,11 @@ Object {
|
|
|
2066
2274
|
Object {
|
|
2067
2275
|
"cid": "cids(4)",
|
|
2068
2276
|
"creator": Object {
|
|
2277
|
+
"associated": Object {
|
|
2278
|
+
"activitySubscription": Object {
|
|
2279
|
+
"allowSubscriptions": "followers",
|
|
2280
|
+
},
|
|
2281
|
+
},
|
|
2069
2282
|
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(1)@jpeg",
|
|
2070
2283
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
2071
2284
|
"description": "its me!",
|