@atproto/bsky 0.0.113 → 0.0.115
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 +33 -0
- package/bin/migration-create.ts +2 -2
- package/dist/api/app/bsky/actor/getProfile.d.ts +1 -1
- package/dist/api/app/bsky/actor/getProfile.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/getProfile.js +1 -1
- package/dist/api/app/bsky/actor/getProfile.js.map +1 -1
- package/dist/api/app/bsky/actor/getProfiles.d.ts +1 -1
- package/dist/api/app/bsky/actor/getProfiles.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/getProfiles.js +2 -2
- package/dist/api/app/bsky/actor/getProfiles.js.map +1 -1
- package/dist/api/app/bsky/actor/getSuggestions.d.ts +1 -1
- package/dist/api/app/bsky/actor/getSuggestions.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/getSuggestions.js +1 -1
- package/dist/api/app/bsky/actor/getSuggestions.js.map +1 -1
- package/dist/api/app/bsky/actor/searchActors.d.ts +1 -1
- package/dist/api/app/bsky/actor/searchActors.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/searchActors.js +1 -1
- package/dist/api/app/bsky/actor/searchActors.js.map +1 -1
- package/dist/api/app/bsky/actor/searchActorsTypeahead.d.ts +1 -1
- package/dist/api/app/bsky/actor/searchActorsTypeahead.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/searchActorsTypeahead.js +1 -1
- package/dist/api/app/bsky/actor/searchActorsTypeahead.js.map +1 -1
- package/dist/api/app/bsky/feed/getActorFeeds.d.ts +1 -1
- package/dist/api/app/bsky/feed/getActorFeeds.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getActorFeeds.js +2 -2
- package/dist/api/app/bsky/feed/getActorFeeds.js.map +1 -1
- package/dist/api/app/bsky/feed/getActorLikes.d.ts +1 -1
- package/dist/api/app/bsky/feed/getActorLikes.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getActorLikes.js +6 -6
- package/dist/api/app/bsky/feed/getActorLikes.js.map +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.d.ts +5 -5
- package/dist/api/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.js +7 -7
- package/dist/api/app/bsky/feed/getAuthorFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.d.ts +2 -2
- package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.js +5 -6
- package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getFeedGenerator.d.ts +1 -1
- package/dist/api/app/bsky/feed/getFeedGenerator.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getFeedGenerator.js.map +1 -1
- package/dist/api/app/bsky/feed/getFeedGenerators.d.ts +1 -1
- package/dist/api/app/bsky/feed/getFeedGenerators.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getFeedGenerators.js.map +1 -1
- package/dist/api/app/bsky/feed/getLikes.d.ts +1 -1
- package/dist/api/app/bsky/feed/getLikes.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getLikes.js +2 -2
- package/dist/api/app/bsky/feed/getLikes.js.map +1 -1
- package/dist/api/app/bsky/feed/getListFeed.d.ts +4 -4
- package/dist/api/app/bsky/feed/getListFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getListFeed.js +7 -7
- package/dist/api/app/bsky/feed/getListFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getPostThread.d.ts +1 -1
- package/dist/api/app/bsky/feed/getPostThread.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getPostThread.js +2 -2
- package/dist/api/app/bsky/feed/getPostThread.js.map +1 -1
- package/dist/api/app/bsky/feed/getPosts.d.ts +1 -1
- package/dist/api/app/bsky/feed/getPosts.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getPosts.js +1 -1
- package/dist/api/app/bsky/feed/getPosts.js.map +1 -1
- package/dist/api/app/bsky/feed/getQuotes.d.ts +1 -1
- package/dist/api/app/bsky/feed/getQuotes.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getQuotes.js +6 -6
- package/dist/api/app/bsky/feed/getQuotes.js.map +1 -1
- package/dist/api/app/bsky/feed/getRepostedBy.d.ts +1 -1
- package/dist/api/app/bsky/feed/getRepostedBy.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getRepostedBy.js +1 -1
- package/dist/api/app/bsky/feed/getRepostedBy.js.map +1 -1
- package/dist/api/app/bsky/feed/getSuggestedFeeds.d.ts +1 -1
- package/dist/api/app/bsky/feed/getSuggestedFeeds.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getSuggestedFeeds.js.map +1 -1
- package/dist/api/app/bsky/feed/getTimeline.d.ts +4 -4
- package/dist/api/app/bsky/feed/getTimeline.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getTimeline.js +6 -6
- package/dist/api/app/bsky/feed/getTimeline.js.map +1 -1
- package/dist/api/app/bsky/feed/searchPosts.d.ts +1 -1
- package/dist/api/app/bsky/feed/searchPosts.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/searchPosts.js +1 -1
- package/dist/api/app/bsky/feed/searchPosts.js.map +1 -1
- package/dist/api/app/bsky/graph/getActorStarterPacks.d.ts +1 -1
- package/dist/api/app/bsky/graph/getActorStarterPacks.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getActorStarterPacks.js +5 -5
- package/dist/api/app/bsky/graph/getActorStarterPacks.js.map +1 -1
- package/dist/api/app/bsky/graph/getBlocks.d.ts +1 -1
- package/dist/api/app/bsky/graph/getBlocks.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getBlocks.js.map +1 -1
- package/dist/api/app/bsky/graph/getFollowers.d.ts +1 -1
- package/dist/api/app/bsky/graph/getFollowers.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getFollowers.js +1 -1
- package/dist/api/app/bsky/graph/getFollowers.js.map +1 -1
- package/dist/api/app/bsky/graph/getFollows.d.ts +1 -1
- package/dist/api/app/bsky/graph/getFollows.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getFollows.js +1 -1
- package/dist/api/app/bsky/graph/getFollows.js.map +1 -1
- package/dist/api/app/bsky/graph/getKnownFollowers.d.ts +1 -1
- package/dist/api/app/bsky/graph/getKnownFollowers.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getKnownFollowers.js.map +1 -1
- package/dist/api/app/bsky/graph/getList.d.ts +1 -1
- package/dist/api/app/bsky/graph/getList.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getList.js +2 -2
- package/dist/api/app/bsky/graph/getList.js.map +1 -1
- package/dist/api/app/bsky/graph/getListBlocks.d.ts +1 -1
- package/dist/api/app/bsky/graph/getListBlocks.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getListBlocks.js.map +1 -1
- package/dist/api/app/bsky/graph/getListMutes.d.ts +1 -1
- package/dist/api/app/bsky/graph/getListMutes.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getListMutes.js.map +1 -1
- package/dist/api/app/bsky/graph/getLists.d.ts +1 -1
- package/dist/api/app/bsky/graph/getLists.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getLists.js.map +1 -1
- package/dist/api/app/bsky/graph/getMutes.d.ts +1 -1
- package/dist/api/app/bsky/graph/getMutes.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getMutes.js.map +1 -1
- package/dist/api/app/bsky/graph/getRelationships.d.ts +1 -1
- package/dist/api/app/bsky/graph/getRelationships.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getStarterPack.d.ts +1 -1
- package/dist/api/app/bsky/graph/getStarterPack.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getStarterPack.js.map +1 -1
- package/dist/api/app/bsky/graph/getStarterPacks.d.ts +1 -1
- package/dist/api/app/bsky/graph/getStarterPacks.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getStarterPacks.js +1 -1
- package/dist/api/app/bsky/graph/getStarterPacks.js.map +1 -1
- package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.d.ts +1 -1
- package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.js.map +1 -1
- package/dist/api/app/bsky/graph/muteActor.d.ts +1 -1
- package/dist/api/app/bsky/graph/muteActor.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/muteActorList.d.ts +1 -1
- package/dist/api/app/bsky/graph/muteActorList.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/muteThread.d.ts +1 -1
- package/dist/api/app/bsky/graph/muteThread.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/searchStarterPacks.d.ts +1 -1
- package/dist/api/app/bsky/graph/searchStarterPacks.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/searchStarterPacks.js +2 -2
- package/dist/api/app/bsky/graph/searchStarterPacks.js.map +1 -1
- package/dist/api/app/bsky/graph/unmuteActor.d.ts +1 -1
- package/dist/api/app/bsky/graph/unmuteActor.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/unmuteActorList.d.ts +1 -1
- package/dist/api/app/bsky/graph/unmuteActorList.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/unmuteThread.d.ts +1 -1
- package/dist/api/app/bsky/graph/unmuteThread.d.ts.map +1 -1
- package/dist/api/app/bsky/labeler/getServices.d.ts +1 -1
- package/dist/api/app/bsky/labeler/getServices.d.ts.map +1 -1
- package/dist/api/app/bsky/labeler/getServices.js.map +1 -1
- package/dist/api/app/bsky/notification/getUnreadCount.d.ts +1 -1
- package/dist/api/app/bsky/notification/getUnreadCount.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/getUnreadCount.js.map +1 -1
- package/dist/api/app/bsky/notification/listNotifications.d.ts +1 -1
- package/dist/api/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/listNotifications.js +1 -1
- package/dist/api/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/api/app/bsky/notification/putPreferences.d.ts +1 -1
- package/dist/api/app/bsky/notification/putPreferences.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/registerPush.d.ts +1 -1
- package/dist/api/app/bsky/notification/registerPush.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/updateSeen.d.ts +1 -1
- package/dist/api/app/bsky/notification/updateSeen.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/updateSeen.js +2 -5
- package/dist/api/app/bsky/notification/updateSeen.js.map +1 -1
- package/dist/api/app/bsky/unspecced/getConfig.d.ts +1 -1
- package/dist/api/app/bsky/unspecced/getConfig.d.ts.map +1 -1
- package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.d.ts +1 -1
- package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.d.ts.map +1 -1
- package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.js.map +1 -1
- package/dist/api/app/bsky/unspecced/getTaggedSuggestions.d.ts +1 -1
- package/dist/api/app/bsky/unspecced/getTaggedSuggestions.d.ts.map +1 -1
- package/dist/api/app/bsky/unspecced/getTrendingTopics.d.ts +1 -1
- package/dist/api/app/bsky/unspecced/getTrendingTopics.d.ts.map +1 -1
- package/dist/api/app/bsky/unspecced/getTrendingTopics.js +1 -1
- package/dist/api/app/bsky/unspecced/getTrendingTopics.js.map +1 -1
- package/dist/api/blob-dispatcher.d.ts.map +1 -1
- package/dist/api/blob-dispatcher.js +1 -1
- package/dist/api/blob-dispatcher.js.map +1 -1
- package/dist/api/blob-resolver.d.ts +3 -3
- package/dist/api/blob-resolver.d.ts.map +1 -1
- package/dist/api/blob-resolver.js +4 -4
- package/dist/api/blob-resolver.js.map +1 -1
- package/dist/api/com/atproto/admin/getAccountInfos.d.ts +1 -1
- package/dist/api/com/atproto/admin/getAccountInfos.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/getAccountInfos.js.map +1 -1
- package/dist/api/com/atproto/admin/getSubjectStatus.d.ts +1 -1
- package/dist/api/com/atproto/admin/getSubjectStatus.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/updateSubjectStatus.d.ts +1 -1
- package/dist/api/com/atproto/admin/updateSubjectStatus.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/resolveHandle.d.ts +1 -1
- package/dist/api/com/atproto/identity/resolveHandle.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/resolveHandle.js +1 -1
- package/dist/api/com/atproto/identity/resolveHandle.js.map +1 -1
- package/dist/api/com/atproto/label/queryLabels.d.ts +1 -1
- package/dist/api/com/atproto/label/queryLabels.d.ts.map +1 -1
- package/dist/api/com/atproto/label/queryLabels.js.map +1 -1
- package/dist/api/com/atproto/repo/getRecord.d.ts +1 -1
- package/dist/api/com/atproto/repo/getRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/getRecord.js +1 -1
- package/dist/api/com/atproto/repo/getRecord.js.map +1 -1
- package/dist/api/com/atproto/temp/fetchLabels.d.ts +1 -1
- package/dist/api/com/atproto/temp/fetchLabels.d.ts.map +1 -1
- package/dist/api/com/atproto/temp/fetchLabels.js.map +1 -1
- package/dist/api/health.d.ts +3 -3
- package/dist/api/health.d.ts.map +1 -1
- package/dist/api/health.js +2 -5
- package/dist/api/health.js.map +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +20 -20
- package/dist/api/index.js.map +1 -1
- package/dist/api/well-known.d.ts +3 -3
- package/dist/api/well-known.d.ts.map +1 -1
- package/dist/api/well-known.js +2 -5
- package/dist/api/well-known.js.map +1 -1
- package/dist/auth-verifier.d.ts +1 -1
- package/dist/auth-verifier.d.ts.map +1 -1
- package/dist/auth-verifier.js +3 -3
- package/dist/auth-verifier.js.map +1 -1
- package/dist/bsync.d.ts +2 -2
- package/dist/bsync.d.ts.map +1 -1
- package/dist/bsync.js +1 -1
- package/dist/bsync.js.map +1 -1
- package/dist/context.d.ts +7 -8
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +1 -2
- package/dist/context.js.map +1 -1
- package/dist/courier.d.ts +2 -2
- package/dist/courier.d.ts.map +1 -1
- package/dist/courier.js +1 -1
- package/dist/courier.js.map +1 -1
- package/dist/data-plane/bsync/index.d.ts +1 -1
- package/dist/data-plane/bsync/index.d.ts.map +1 -1
- package/dist/data-plane/bsync/index.js +6 -6
- package/dist/data-plane/bsync/index.js.map +1 -1
- package/dist/data-plane/client.d.ts.map +1 -1
- package/dist/data-plane/client.js +1 -1
- package/dist/data-plane/client.js.map +1 -1
- package/dist/data-plane/server/background.d.ts.map +1 -1
- package/dist/data-plane/server/background.js.map +1 -1
- package/dist/data-plane/server/db/database-schema.d.ts +26 -27
- package/dist/data-plane/server/db/database-schema.d.ts.map +1 -1
- package/dist/data-plane/server/db/db.d.ts +2 -2
- package/dist/data-plane/server/db/db.d.ts.map +1 -1
- package/dist/data-plane/server/db/db.js +6 -6
- package/dist/data-plane/server/db/db.js.map +1 -1
- package/dist/data-plane/server/db/util.d.ts +1 -1
- package/dist/data-plane/server/db/util.d.ts.map +1 -1
- package/dist/data-plane/server/index.d.ts +2 -2
- package/dist/data-plane/server/index.d.ts.map +1 -1
- package/dist/data-plane/server/index.js +4 -4
- package/dist/data-plane/server/index.js.map +1 -1
- package/dist/data-plane/server/indexing/index.d.ts +14 -14
- package/dist/data-plane/server/indexing/index.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/index.js +16 -16
- package/dist/data-plane/server/indexing/index.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/block.d.ts +2 -2
- package/dist/data-plane/server/indexing/plugins/block.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/block.js +2 -5
- package/dist/data-plane/server/indexing/plugins/block.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/chat-declaration.d.ts +2 -2
- package/dist/data-plane/server/indexing/plugins/chat-declaration.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/chat-declaration.js +2 -5
- package/dist/data-plane/server/indexing/plugins/chat-declaration.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/feed-generator.d.ts +2 -2
- package/dist/data-plane/server/indexing/plugins/feed-generator.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/feed-generator.js +2 -5
- package/dist/data-plane/server/indexing/plugins/feed-generator.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/follow.d.ts +2 -2
- package/dist/data-plane/server/indexing/plugins/follow.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/follow.js +2 -5
- package/dist/data-plane/server/indexing/plugins/follow.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/labeler.d.ts +2 -2
- package/dist/data-plane/server/indexing/plugins/labeler.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/labeler.js +2 -5
- package/dist/data-plane/server/indexing/plugins/labeler.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/like.d.ts +2 -2
- package/dist/data-plane/server/indexing/plugins/like.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/like.js +2 -5
- package/dist/data-plane/server/indexing/plugins/like.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/list-block.d.ts +2 -2
- package/dist/data-plane/server/indexing/plugins/list-block.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/list-block.js +2 -5
- package/dist/data-plane/server/indexing/plugins/list-block.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/list-item.d.ts +2 -2
- package/dist/data-plane/server/indexing/plugins/list-item.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/list-item.js +3 -6
- package/dist/data-plane/server/indexing/plugins/list-item.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/list.d.ts +3 -3
- package/dist/data-plane/server/indexing/plugins/list.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/list.js +2 -5
- package/dist/data-plane/server/indexing/plugins/list.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/post-gate.d.ts +3 -3
- package/dist/data-plane/server/indexing/plugins/post-gate.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/post-gate.js +2 -5
- package/dist/data-plane/server/indexing/plugins/post-gate.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/post.d.ts +3 -3
- package/dist/data-plane/server/indexing/plugins/post.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/post.js +21 -24
- package/dist/data-plane/server/indexing/plugins/post.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/profile.d.ts +3 -3
- package/dist/data-plane/server/indexing/plugins/profile.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/profile.js +2 -5
- package/dist/data-plane/server/indexing/plugins/profile.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/repost.d.ts +2 -2
- package/dist/data-plane/server/indexing/plugins/repost.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/repost.js +2 -5
- package/dist/data-plane/server/indexing/plugins/repost.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/starter-pack.d.ts +2 -2
- package/dist/data-plane/server/indexing/plugins/starter-pack.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/starter-pack.js +2 -5
- package/dist/data-plane/server/indexing/plugins/starter-pack.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/thread-gate.d.ts +3 -3
- package/dist/data-plane/server/indexing/plugins/thread-gate.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/thread-gate.js +2 -5
- package/dist/data-plane/server/indexing/plugins/thread-gate.js.map +1 -1
- package/dist/data-plane/server/indexing/processor.d.ts +2 -2
- package/dist/data-plane/server/indexing/processor.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/processor.js +1 -1
- package/dist/data-plane/server/indexing/processor.js.map +1 -1
- package/dist/data-plane/server/routes/feeds.d.ts.map +1 -1
- package/dist/data-plane/server/routes/feeds.js +1 -1
- package/dist/data-plane/server/routes/feeds.js.map +1 -1
- package/dist/data-plane/server/routes/follows.d.ts.map +1 -1
- package/dist/data-plane/server/routes/follows.js +1 -1
- package/dist/data-plane/server/routes/follows.js.map +1 -1
- package/dist/data-plane/server/routes/identity.d.ts +1 -1
- package/dist/data-plane/server/routes/identity.d.ts.map +1 -1
- package/dist/data-plane/server/routes/identity.js +1 -1
- package/dist/data-plane/server/routes/identity.js.map +1 -1
- package/dist/data-plane/server/routes/index.d.ts.map +1 -1
- package/dist/data-plane/server/routes/index.js +1 -1
- package/dist/data-plane/server/routes/index.js.map +1 -1
- package/dist/data-plane/server/routes/interactions.d.ts.map +1 -1
- package/dist/data-plane/server/routes/interactions.js +11 -11
- package/dist/data-plane/server/routes/interactions.js.map +1 -1
- package/dist/data-plane/server/routes/labels.d.ts.map +1 -1
- package/dist/data-plane/server/routes/labels.js.map +1 -1
- package/dist/data-plane/server/routes/likes.d.ts.map +1 -1
- package/dist/data-plane/server/routes/likes.js +1 -2
- package/dist/data-plane/server/routes/likes.js.map +1 -1
- package/dist/data-plane/server/routes/lists.d.ts.map +1 -1
- package/dist/data-plane/server/routes/lists.js +2 -2
- package/dist/data-plane/server/routes/lists.js.map +1 -1
- package/dist/data-plane/server/routes/mutes.d.ts.map +1 -1
- package/dist/data-plane/server/routes/mutes.js +7 -7
- package/dist/data-plane/server/routes/mutes.js.map +1 -1
- package/dist/data-plane/server/routes/notifs.js +2 -2
- package/dist/data-plane/server/routes/notifs.js.map +1 -1
- package/dist/data-plane/server/routes/posts.d.ts.map +1 -1
- package/dist/data-plane/server/routes/posts.js +1 -1
- package/dist/data-plane/server/routes/posts.js.map +1 -1
- package/dist/data-plane/server/routes/profile.d.ts.map +1 -1
- package/dist/data-plane/server/routes/profile.js +4 -4
- 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 +7 -7
- package/dist/data-plane/server/routes/records.js.map +1 -1
- package/dist/data-plane/server/routes/relationships.d.ts.map +1 -1
- package/dist/data-plane/server/routes/relationships.js +9 -9
- package/dist/data-plane/server/routes/relationships.js.map +1 -1
- package/dist/data-plane/server/routes/reposts.d.ts.map +1 -1
- package/dist/data-plane/server/routes/reposts.js +1 -2
- package/dist/data-plane/server/routes/reposts.js.map +1 -1
- package/dist/data-plane/server/routes/suggestions.d.ts.map +1 -1
- package/dist/data-plane/server/routes/suggestions.js.map +1 -1
- package/dist/data-plane/server/subscription.d.ts +3 -3
- package/dist/data-plane/server/subscription.d.ts.map +1 -1
- package/dist/data-plane/server/subscription.js +2 -2
- package/dist/data-plane/server/subscription.js.map +1 -1
- package/dist/data-plane/server/util.d.ts +1 -1
- package/dist/data-plane/server/util.d.ts.map +1 -1
- package/dist/data-plane/server/util.js +16 -5
- package/dist/data-plane/server/util.js.map +1 -1
- package/dist/error.d.ts.map +1 -1
- package/dist/error.js.map +1 -1
- package/dist/feature-gates.d.ts.map +1 -1
- package/dist/feature-gates.js.map +1 -1
- package/dist/hydration/feed.d.ts +3 -3
- package/dist/hydration/feed.d.ts.map +1 -1
- package/dist/hydration/feed.js +1 -1
- package/dist/hydration/feed.js.map +1 -1
- package/dist/hydration/graph.d.ts +4 -4
- package/dist/hydration/graph.d.ts.map +1 -1
- package/dist/hydration/graph.js.map +1 -1
- package/dist/hydration/hydrator.d.ts +4 -4
- package/dist/hydration/hydrator.d.ts.map +1 -1
- package/dist/hydration/hydrator.js +4 -4
- package/dist/hydration/hydrator.js.map +1 -1
- package/dist/hydration/label.d.ts +2 -2
- package/dist/hydration/label.d.ts.map +1 -1
- package/dist/hydration/label.js +1 -1
- package/dist/hydration/label.js.map +1 -1
- package/dist/hydration/util.d.ts.map +1 -1
- package/dist/hydration/util.js +2 -2
- package/dist/hydration/util.js.map +1 -1
- package/dist/image/index.d.ts +1 -1
- package/dist/image/index.d.ts.map +1 -1
- package/dist/image/server.d.ts +1 -1
- package/dist/image/server.d.ts.map +1 -1
- package/dist/image/server.js +3 -3
- package/dist/image/server.js.map +1 -1
- package/dist/image/sharp.d.ts.map +1 -1
- package/dist/image/sharp.js +1 -1
- package/dist/image/sharp.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +22 -22
- package/dist/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +68 -4
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +39 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +19 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js +10 -0
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/postgate.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/feed/postgate.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/postgate.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts +8 -1
- package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/threadgate.js +10 -0
- package/dist/lexicon/types/app/bsky/feed/threadgate.js.map +1 -1
- package/dist/logger.js +2 -5
- package/dist/logger.js.map +1 -1
- package/dist/redis.js +5 -5
- package/dist/redis.js.map +1 -1
- package/dist/util/http.d.ts.map +1 -1
- package/dist/util/http.js.map +1 -1
- package/dist/util/uris.d.ts.map +1 -1
- package/dist/views/index.d.ts +7 -7
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +12 -10
- package/dist/views/index.js.map +1 -1
- package/dist/views/types.d.ts +3 -3
- package/dist/views/types.d.ts.map +1 -1
- package/dist/views/util.d.ts +2 -1
- package/dist/views/util.d.ts.map +1 -1
- package/dist/views/util.js +10 -3
- package/dist/views/util.js.map +1 -1
- package/package.json +20 -17
- package/src/api/app/bsky/actor/getProfile.ts +5 -5
- package/src/api/app/bsky/actor/getProfiles.ts +6 -6
- package/src/api/app/bsky/actor/getSuggestions.ts +7 -7
- package/src/api/app/bsky/actor/searchActors.ts +6 -6
- package/src/api/app/bsky/actor/searchActorsTypeahead.ts +5 -5
- package/src/api/app/bsky/feed/getActorFeeds.ts +7 -7
- package/src/api/app/bsky/feed/getActorLikes.ts +9 -9
- package/src/api/app/bsky/feed/getAuthorFeed.ts +10 -10
- package/src/api/app/bsky/feed/getFeed.ts +15 -16
- package/src/api/app/bsky/feed/getFeedGenerator.ts +3 -3
- package/src/api/app/bsky/feed/getFeedGenerators.ts +4 -4
- package/src/api/app/bsky/feed/getLikes.ts +6 -7
- package/src/api/app/bsky/feed/getListFeed.ts +9 -9
- package/src/api/app/bsky/feed/getPostThread.ts +7 -7
- package/src/api/app/bsky/feed/getPosts.ts +6 -6
- package/src/api/app/bsky/feed/getQuotes.ts +7 -7
- package/src/api/app/bsky/feed/getRepostedBy.ts +5 -5
- package/src/api/app/bsky/feed/getSuggestedFeeds.ts +2 -2
- package/src/api/app/bsky/feed/getTimeline.ts +9 -9
- package/src/api/app/bsky/feed/searchPosts.ts +6 -6
- package/src/api/app/bsky/graph/getActorStarterPacks.ts +7 -7
- package/src/api/app/bsky/graph/getBlocks.ts +4 -4
- package/src/api/app/bsky/graph/getFollowers.ts +6 -6
- package/src/api/app/bsky/graph/getFollows.ts +6 -6
- package/src/api/app/bsky/graph/getKnownFollowers.ts +2 -2
- package/src/api/app/bsky/graph/getList.ts +10 -10
- package/src/api/app/bsky/graph/getListBlocks.ts +4 -4
- package/src/api/app/bsky/graph/getListMutes.ts +4 -4
- package/src/api/app/bsky/graph/getLists.ts +4 -4
- package/src/api/app/bsky/graph/getMutes.ts +3 -3
- package/src/api/app/bsky/graph/getRelationships.ts +1 -1
- package/src/api/app/bsky/graph/getStarterPack.ts +4 -4
- package/src/api/app/bsky/graph/getStarterPacks.ts +5 -5
- package/src/api/app/bsky/graph/getSuggestedFollowsByActor.ts +4 -4
- package/src/api/app/bsky/graph/muteActor.ts +1 -1
- package/src/api/app/bsky/graph/muteActorList.ts +1 -1
- package/src/api/app/bsky/graph/muteThread.ts +1 -1
- package/src/api/app/bsky/graph/searchStarterPacks.ts +7 -7
- package/src/api/app/bsky/graph/unmuteActor.ts +1 -1
- package/src/api/app/bsky/graph/unmuteActorList.ts +1 -1
- package/src/api/app/bsky/graph/unmuteThread.ts +1 -1
- package/src/api/app/bsky/labeler/getServices.ts +2 -2
- package/src/api/app/bsky/notification/getUnreadCount.ts +2 -2
- package/src/api/app/bsky/notification/listNotifications.ts +6 -6
- package/src/api/app/bsky/notification/putPreferences.ts +1 -1
- package/src/api/app/bsky/notification/registerPush.ts +1 -1
- package/src/api/app/bsky/notification/updateSeen.ts +3 -3
- package/src/api/app/bsky/unspecced/getConfig.ts +1 -1
- package/src/api/app/bsky/unspecced/getPopularFeedGenerators.ts +2 -2
- package/src/api/app/bsky/unspecced/getTaggedSuggestions.ts +1 -1
- package/src/api/app/bsky/unspecced/getTrendingTopics.ts +7 -7
- package/src/api/blob-dispatcher.ts +1 -2
- package/src/api/blob-resolver.ts +12 -13
- package/src/api/com/atproto/admin/getAccountInfos.ts +2 -2
- package/src/api/com/atproto/admin/getSubjectStatus.ts +1 -1
- package/src/api/com/atproto/admin/updateSubjectStatus.ts +2 -2
- package/src/api/com/atproto/identity/resolveHandle.ts +2 -2
- package/src/api/com/atproto/label/queryLabels.ts +2 -2
- package/src/api/com/atproto/repo/getRecord.ts +2 -2
- package/src/api/com/atproto/temp/fetchLabels.ts +2 -2
- package/src/api/health.ts +4 -4
- package/src/api/index.ts +21 -21
- package/src/api/well-known.ts +4 -4
- package/src/auth-verifier.ts +6 -6
- package/src/bsync.ts +3 -3
- package/src/context.ts +8 -10
- package/src/courier.ts +3 -3
- package/src/data-plane/bsync/index.ts +6 -6
- package/src/data-plane/client.ts +1 -1
- package/src/data-plane/server/background.ts +1 -1
- package/src/data-plane/server/db/database-schema.ts +26 -28
- package/src/data-plane/server/db/db.ts +6 -6
- package/src/data-plane/server/db/util.ts +2 -2
- package/src/data-plane/server/index.ts +5 -5
- package/src/data-plane/server/indexing/index.ts +21 -21
- package/src/data-plane/server/indexing/plugins/block.ts +4 -4
- package/src/data-plane/server/indexing/plugins/chat-declaration.ts +4 -4
- package/src/data-plane/server/indexing/plugins/feed-generator.ts +4 -4
- package/src/data-plane/server/indexing/plugins/follow.ts +5 -5
- package/src/data-plane/server/indexing/plugins/labeler.ts +4 -4
- package/src/data-plane/server/indexing/plugins/like.ts +5 -5
- package/src/data-plane/server/indexing/plugins/list-block.ts +4 -4
- package/src/data-plane/server/indexing/plugins/list-item.ts +5 -5
- package/src/data-plane/server/indexing/plugins/list.ts +5 -5
- package/src/data-plane/server/indexing/plugins/post-gate.ts +5 -5
- package/src/data-plane/server/indexing/plugins/post.ts +18 -18
- package/src/data-plane/server/indexing/plugins/profile.ts +5 -5
- package/src/data-plane/server/indexing/plugins/repost.ts +4 -4
- package/src/data-plane/server/indexing/plugins/starter-pack.ts +4 -4
- package/src/data-plane/server/indexing/plugins/thread-gate.ts +5 -5
- package/src/data-plane/server/indexing/processor.ts +3 -3
- package/src/data-plane/server/routes/feeds.ts +1 -1
- package/src/data-plane/server/routes/follows.ts +2 -2
- package/src/data-plane/server/routes/identity.ts +2 -2
- package/src/data-plane/server/routes/index.ts +2 -2
- package/src/data-plane/server/routes/interactions.ts +14 -12
- package/src/data-plane/server/routes/labels.ts +2 -2
- package/src/data-plane/server/routes/likes.ts +2 -3
- package/src/data-plane/server/routes/lists.ts +3 -3
- package/src/data-plane/server/routes/mutes.ts +3 -3
- package/src/data-plane/server/routes/notifs.ts +3 -3
- package/src/data-plane/server/routes/posts.ts +2 -2
- package/src/data-plane/server/routes/profile.ts +6 -6
- package/src/data-plane/server/routes/quotes.ts +1 -1
- package/src/data-plane/server/routes/records.ts +7 -7
- package/src/data-plane/server/routes/relationships.ts +10 -10
- package/src/data-plane/server/routes/reposts.ts +2 -3
- package/src/data-plane/server/routes/suggestions.ts +1 -1
- package/src/data-plane/server/subscription.ts +3 -3
- package/src/data-plane/server/util.ts +14 -3
- package/src/error.ts +1 -1
- package/src/feature-gates.ts +0 -2
- package/src/hydration/feed.ts +9 -9
- package/src/hydration/graph.ts +4 -4
- package/src/hydration/hydrator.ts +27 -27
- package/src/hydration/label.ts +4 -4
- package/src/hydration/util.ts +2 -2
- package/src/image/index.ts +1 -1
- package/src/image/server.ts +12 -13
- package/src/image/sharp.ts +2 -2
- package/src/index.ts +23 -23
- package/src/lexicon/lexicons.ts +44 -0
- package/src/lexicon/types/app/bsky/actor/defs.ts +37 -0
- package/src/lexicon/types/app/bsky/feed/postgate.ts +1 -0
- package/src/lexicon/types/app/bsky/feed/threadgate.ts +19 -0
- package/src/logger.ts +1 -1
- package/src/redis.ts +1 -1
- package/src/util/http.ts +1 -1
- package/src/util/uris.ts +1 -1
- package/src/views/index.ts +27 -22
- package/src/views/types.ts +9 -9
- package/src/views/util.ts +15 -6
- package/tests/_util.ts +4 -5
- package/tests/admin/admin-auth.test.ts +2 -2
- package/tests/admin/moderation.test.ts +1 -1
- package/tests/auth.test.ts +1 -1
- package/tests/blob-resolver.test.ts +2 -2
- package/tests/data-plane/duplicate-records.test.ts +3 -3
- package/tests/data-plane/handle-invalidation.test.ts +2 -2
- package/tests/data-plane/indexing.test.ts +8 -8
- package/tests/data-plane/subscription.test.ts +1 -1
- package/tests/data-plane/thread-mutes.test.ts +1 -1
- package/tests/entryway-auth.test.ts +5 -5
- package/tests/feed-generation.test.ts +8 -8
- package/tests/hydration/util.test.ts +1 -1
- package/tests/image/server.test.ts +2 -2
- package/tests/image/uri.test.ts +2 -2
- package/tests/label-hydration.test.ts +1 -1
- package/tests/postgates.test.ts +2 -3
- package/tests/query-labels.test.ts +1 -1
- package/tests/seed/feed-hidden-replies.ts +1 -1
- package/tests/seed/known-followers.ts +1 -1
- package/tests/seed/postgates.ts +1 -1
- package/tests/server.test.ts +2 -2
- package/tests/views/__snapshots__/threadgating.test.ts.snap +21 -0
- package/tests/views/account-deactivation.test.ts +1 -1
- package/tests/views/actor-likes.test.ts +1 -1
- package/tests/views/actor-search.test.ts +2 -2
- package/tests/views/author-feed.test.ts +10 -10
- package/tests/views/block-lists.test.ts +3 -3
- package/tests/views/blocks.test.ts +4 -4
- package/tests/views/feed-hidden-replies.test.ts +2 -3
- package/tests/views/feed-view-post.test.ts +2 -2
- package/tests/views/follows.test.ts +2 -2
- package/tests/views/known-followers.test.ts +2 -3
- package/tests/views/labeler-service.test.ts +2 -2
- package/tests/views/labels-needs-review.test.ts +2 -2
- package/tests/views/labels-takedown.test.ts +1 -1
- package/tests/views/likes.test.ts +2 -2
- package/tests/views/list-feed.test.ts +2 -2
- package/tests/views/lists.test.ts +2 -2
- package/tests/views/mute-lists.test.ts +3 -3
- package/tests/views/mutes.test.ts +2 -2
- package/tests/views/notifications.test.ts +3 -3
- package/tests/views/posts.test.ts +3 -3
- package/tests/views/profile.test.ts +3 -3
- package/tests/views/quotes.test.ts +2 -2
- package/tests/views/reposts.test.ts +2 -2
- package/tests/views/starter-packs.test.ts +3 -3
- package/tests/views/suggested-follows.test.ts +2 -2
- package/tests/views/suggestions.test.ts +2 -2
- package/tests/views/thread.test.ts +2 -2
- package/tests/views/threadgating.test.ts +111 -11
- package/tests/views/timeline.test.ts +5 -5
|
@@ -1,17 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AppBskyFeedGetFeedSkeleton, AtpAgent } from '@atproto/api'
|
|
2
|
+
import { mapDefined, noUndefinedVals } from '@atproto/common'
|
|
3
|
+
import { ResponseType, XRPCError } from '@atproto/xrpc'
|
|
2
4
|
import {
|
|
3
5
|
InvalidRequestError,
|
|
4
|
-
UpstreamFailureError,
|
|
5
6
|
ServerTimer,
|
|
7
|
+
UpstreamFailureError,
|
|
6
8
|
serverTimingHeader,
|
|
7
9
|
} from '@atproto/xrpc-server'
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
10
|
+
import { AppContext } from '../../../../context'
|
|
11
|
+
import {
|
|
12
|
+
Code,
|
|
13
|
+
getServiceEndpoint,
|
|
14
|
+
isDataplaneError,
|
|
15
|
+
unpackIdentityServices,
|
|
16
|
+
} from '../../../../data-plane'
|
|
17
|
+
import { FeedItem } from '../../../../hydration/feed'
|
|
18
|
+
import { HydrateCtx } from '../../../../hydration/hydrator'
|
|
19
|
+
import { Server } from '../../../../lexicon'
|
|
20
|
+
import { ids } from '../../../../lexicon/lexicons'
|
|
11
21
|
import { QueryParams as GetFeedParams } from '../../../../lexicon/types/app/bsky/feed/getFeed'
|
|
12
22
|
import { OutputSchema as SkeletonOutput } from '../../../../lexicon/types/app/bsky/feed/getFeedSkeleton'
|
|
13
|
-
import { Server } from '../../../../lexicon'
|
|
14
|
-
import AppContext from '../../../../context'
|
|
15
23
|
import {
|
|
16
24
|
HydrationFnInput,
|
|
17
25
|
PresentationFnInput,
|
|
@@ -19,17 +27,8 @@ import {
|
|
|
19
27
|
SkeletonFnInput,
|
|
20
28
|
createPipeline,
|
|
21
29
|
} from '../../../../pipeline'
|
|
22
|
-
import { HydrateCtx } from '../../../../hydration/hydrator'
|
|
23
|
-
import { FeedItem } from '../../../../hydration/feed'
|
|
24
30
|
import { GetIdentityByDidResponse } from '../../../../proto/bsky_pb'
|
|
25
|
-
import {
|
|
26
|
-
Code,
|
|
27
|
-
getServiceEndpoint,
|
|
28
|
-
isDataplaneError,
|
|
29
|
-
unpackIdentityServices,
|
|
30
|
-
} from '../../../../data-plane'
|
|
31
31
|
import { BSKY_USER_AGENT, resHeaders } from '../../../util'
|
|
32
|
-
import { ids } from '../../../../lexicon/lexicons'
|
|
33
32
|
|
|
34
33
|
export default function (server: Server, ctx: AppContext) {
|
|
35
34
|
const getFeed = createPipeline(
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
2
|
-
import {
|
|
3
|
-
import AppContext from '../../../../context'
|
|
4
|
-
import { GetIdentityByDidResponse } from '../../../../proto/bsky_pb'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
5
3
|
import {
|
|
6
4
|
Code,
|
|
7
5
|
getServiceEndpoint,
|
|
8
6
|
isDataplaneError,
|
|
9
7
|
unpackIdentityServices,
|
|
10
8
|
} from '../../../../data-plane'
|
|
9
|
+
import { Server } from '../../../../lexicon'
|
|
10
|
+
import { GetIdentityByDidResponse } from '../../../../proto/bsky_pb'
|
|
11
11
|
import { resHeaders } from '../../../util'
|
|
12
12
|
|
|
13
13
|
export default function (server: Server, ctx: AppContext) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { mapDefined } from '@atproto/common'
|
|
2
|
-
import {
|
|
3
|
-
import { QueryParams } from '../../../../lexicon/types/app/bsky/feed/getFeedGenerators'
|
|
4
|
-
import AppContext from '../../../../context'
|
|
5
|
-
import { createPipeline, noRules } from '../../../../pipeline'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
6
3
|
import {
|
|
7
4
|
HydrateCtx,
|
|
8
5
|
HydrationState,
|
|
9
6
|
Hydrator,
|
|
10
7
|
} from '../../../../hydration/hydrator'
|
|
8
|
+
import { Server } from '../../../../lexicon'
|
|
9
|
+
import { QueryParams } from '../../../../lexicon/types/app/bsky/feed/getFeedGenerators'
|
|
10
|
+
import { createPipeline, noRules } from '../../../../pipeline'
|
|
11
11
|
import { Views } from '../../../../views'
|
|
12
12
|
import { resHeaders } from '../../../util'
|
|
13
13
|
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { mapDefined } from '@atproto/common'
|
|
2
2
|
import { normalizeDatetimeAlways } from '@atproto/syntax'
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import AppContext from '../../../../context'
|
|
6
|
-
import { createPipeline, RulesFnInput } from '../../../../pipeline'
|
|
3
|
+
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
4
|
+
import { AppContext } from '../../../../context'
|
|
7
5
|
import {
|
|
8
6
|
HydrateCtx,
|
|
9
7
|
HydrationState,
|
|
10
8
|
Hydrator,
|
|
11
|
-
mergeStates,
|
|
12
9
|
} from '../../../../hydration/hydrator'
|
|
13
|
-
import { Views } from '../../../../views'
|
|
14
10
|
import { parseString } from '../../../../hydration/util'
|
|
11
|
+
import { Server } from '../../../../lexicon'
|
|
12
|
+
import { QueryParams } from '../../../../lexicon/types/app/bsky/feed/getLikes'
|
|
13
|
+
import { RulesFnInput, createPipeline } from '../../../../pipeline'
|
|
15
14
|
import { uriToDid as creatorFromUri } from '../../../../util/uris'
|
|
15
|
+
import { Views } from '../../../../views'
|
|
16
16
|
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
17
|
-
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
18
17
|
|
|
19
18
|
export default function (server: Server, ctx: AppContext) {
|
|
20
19
|
const getLikes = createPipeline(skeleton, hydration, noBlocks, presentation)
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { createPipeline } from '../../../../pipeline'
|
|
1
|
+
import { mapDefined } from '@atproto/common'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
3
|
+
import { DataPlaneClient } from '../../../../data-plane'
|
|
4
|
+
import { FeedItem } from '../../../../hydration/feed'
|
|
6
5
|
import {
|
|
7
6
|
HydrateCtx,
|
|
8
7
|
HydrationState,
|
|
9
8
|
Hydrator,
|
|
10
9
|
mergeStates,
|
|
11
10
|
} from '../../../../hydration/hydrator'
|
|
12
|
-
import { Views } from '../../../../views'
|
|
13
|
-
import { DataPlaneClient } from '../../../../data-plane'
|
|
14
|
-
import { mapDefined } from '@atproto/common'
|
|
15
11
|
import { parseString } from '../../../../hydration/util'
|
|
16
|
-
import {
|
|
12
|
+
import { Server } from '../../../../lexicon'
|
|
13
|
+
import { QueryParams } from '../../../../lexicon/types/app/bsky/feed/getListFeed'
|
|
14
|
+
import { createPipeline } from '../../../../pipeline'
|
|
17
15
|
import { uriToDid } from '../../../../util/uris'
|
|
16
|
+
import { Views } from '../../../../views'
|
|
17
|
+
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
18
18
|
|
|
19
19
|
export default function (server: Server, ctx: AppContext) {
|
|
20
20
|
const getListFeed = createPipeline(
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
2
|
+
import { ServerConfig } from '../../../../config'
|
|
3
|
+
import { AppContext } from '../../../../context'
|
|
4
|
+
import { Code, DataPlaneClient, isDataplaneError } from '../../../../data-plane'
|
|
5
|
+
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
2
6
|
import { Server } from '../../../../lexicon'
|
|
3
7
|
import { isNotFoundPost } from '../../../../lexicon/types/app/bsky/feed/defs'
|
|
4
8
|
import {
|
|
5
|
-
QueryParams,
|
|
6
9
|
OutputSchema,
|
|
10
|
+
QueryParams,
|
|
7
11
|
} from '../../../../lexicon/types/app/bsky/feed/getPostThread'
|
|
8
|
-
import AppContext from '../../../../context'
|
|
9
|
-
import { ATPROTO_REPO_REV, resHeaders } from '../../../util'
|
|
10
12
|
import {
|
|
11
13
|
HydrationFnInput,
|
|
12
14
|
PresentationFnInput,
|
|
@@ -14,11 +16,9 @@ import {
|
|
|
14
16
|
createPipeline,
|
|
15
17
|
noRules,
|
|
16
18
|
} from '../../../../pipeline'
|
|
17
|
-
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
18
|
-
import { Views } from '../../../../views'
|
|
19
|
-
import { DataPlaneClient, isDataplaneError, Code } from '../../../../data-plane'
|
|
20
19
|
import { postUriToThreadgateUri } from '../../../../util/uris'
|
|
21
|
-
import {
|
|
20
|
+
import { Views } from '../../../../views'
|
|
21
|
+
import { ATPROTO_REPO_REV, resHeaders } from '../../../util'
|
|
22
22
|
|
|
23
23
|
export default function (server: Server, ctx: AppContext) {
|
|
24
24
|
const getPostThread = createPipeline(
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { dedupeStrs, mapDefined } from '@atproto/common'
|
|
2
|
-
import {
|
|
3
|
-
import { QueryParams } from '../../../../lexicon/types/app/bsky/feed/getPosts'
|
|
4
|
-
import AppContext from '../../../../context'
|
|
5
|
-
import { createPipeline } from '../../../../pipeline'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
6
3
|
import {
|
|
7
4
|
HydrateCtx,
|
|
8
5
|
HydrationState,
|
|
9
6
|
Hydrator,
|
|
10
7
|
} from '../../../../hydration/hydrator'
|
|
11
|
-
import {
|
|
8
|
+
import { Server } from '../../../../lexicon'
|
|
9
|
+
import { ids } from '../../../../lexicon/lexicons'
|
|
10
|
+
import { QueryParams } from '../../../../lexicon/types/app/bsky/feed/getPosts'
|
|
11
|
+
import { createPipeline } from '../../../../pipeline'
|
|
12
12
|
import { uriToDid as creatorFromUri } from '../../../../util/uris'
|
|
13
|
+
import { Views } from '../../../../views'
|
|
13
14
|
import { resHeaders } from '../../../util'
|
|
14
|
-
import { ids } from '../../../../lexicon/lexicons'
|
|
15
15
|
|
|
16
16
|
export default function (server: Server, ctx: AppContext) {
|
|
17
17
|
const getPosts = createPipeline(skeleton, hydration, noBlocks, presentation)
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import AppContext from '../../../../context'
|
|
3
|
-
import { createPipeline } from '../../../../pipeline'
|
|
4
|
-
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
1
|
+
import { mapDefined } from '@atproto/common'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
5
3
|
import {
|
|
6
4
|
HydrateCtx,
|
|
7
5
|
HydrationState,
|
|
8
6
|
Hydrator,
|
|
9
7
|
} from '../../../../hydration/hydrator'
|
|
10
|
-
import { Views } from '../../../../views'
|
|
11
|
-
import { mapDefined } from '@atproto/common'
|
|
12
|
-
import { QueryParams } from '../../../../lexicon/types/app/bsky/feed/getQuotes'
|
|
13
8
|
import { parseString } from '../../../../hydration/util'
|
|
9
|
+
import { Server } from '../../../../lexicon'
|
|
10
|
+
import { QueryParams } from '../../../../lexicon/types/app/bsky/feed/getQuotes'
|
|
11
|
+
import { createPipeline } from '../../../../pipeline'
|
|
14
12
|
import { uriToDid } from '../../../../util/uris'
|
|
13
|
+
import { Views } from '../../../../views'
|
|
14
|
+
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
15
15
|
|
|
16
16
|
export default function (server: Server, ctx: AppContext) {
|
|
17
17
|
const getQuotes = createPipeline(
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { mapDefined } from '@atproto/common'
|
|
2
|
-
import {
|
|
3
|
-
import { QueryParams } from '../../../../lexicon/types/app/bsky/feed/getRepostedBy'
|
|
4
|
-
import AppContext from '../../../../context'
|
|
5
|
-
import { createPipeline } from '../../../../pipeline'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
6
3
|
import {
|
|
7
4
|
HydrateCtx,
|
|
8
5
|
HydrationState,
|
|
9
6
|
Hydrator,
|
|
10
7
|
} from '../../../../hydration/hydrator'
|
|
11
|
-
import { Views } from '../../../../views'
|
|
12
8
|
import { parseString } from '../../../../hydration/util'
|
|
9
|
+
import { Server } from '../../../../lexicon'
|
|
10
|
+
import { QueryParams } from '../../../../lexicon/types/app/bsky/feed/getRepostedBy'
|
|
11
|
+
import { createPipeline } from '../../../../pipeline'
|
|
13
12
|
import { uriToDid as creatorFromUri } from '../../../../util/uris'
|
|
13
|
+
import { Views } from '../../../../views'
|
|
14
14
|
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
15
15
|
|
|
16
16
|
export default function (server: Server, ctx: AppContext) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mapDefined } from '@atproto/common'
|
|
2
|
-
import {
|
|
3
|
-
import AppContext from '../../../../context'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
4
3
|
import { parseString } from '../../../../hydration/util'
|
|
4
|
+
import { Server } from '../../../../lexicon'
|
|
5
5
|
import { resHeaders } from '../../../util'
|
|
6
6
|
|
|
7
7
|
export default function (server: Server, ctx: AppContext) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import AppContext from '../../../../context'
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { createPipeline } from '../../../../pipeline'
|
|
1
|
+
import { mapDefined } from '@atproto/common'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
3
|
+
import { DataPlaneClient } from '../../../../data-plane'
|
|
4
|
+
import { FeedItem } from '../../../../hydration/feed'
|
|
6
5
|
import {
|
|
7
6
|
HydrateCtx,
|
|
8
7
|
HydrationState,
|
|
9
8
|
Hydrator,
|
|
10
9
|
} from '../../../../hydration/hydrator'
|
|
11
|
-
import { Views } from '../../../../views'
|
|
12
|
-
import { DataPlaneClient } from '../../../../data-plane'
|
|
13
10
|
import { parseString } from '../../../../hydration/util'
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
11
|
+
import { Server } from '../../../../lexicon'
|
|
12
|
+
import { QueryParams } from '../../../../lexicon/types/app/bsky/feed/getTimeline'
|
|
13
|
+
import { createPipeline } from '../../../../pipeline'
|
|
14
|
+
import { Views } from '../../../../views'
|
|
15
|
+
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
16
16
|
|
|
17
17
|
export default function (server: Server, ctx: AppContext) {
|
|
18
18
|
const getTimeline = createPipeline(
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import AppContext from '../../../../context'
|
|
2
|
-
import { Server } from '../../../../lexicon'
|
|
3
1
|
import { AtpAgent } from '@atproto/api'
|
|
4
2
|
import { mapDefined } from '@atproto/common'
|
|
3
|
+
import { AppContext } from '../../../../context'
|
|
4
|
+
import { DataPlaneClient } from '../../../../data-plane'
|
|
5
|
+
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
6
|
+
import { parseString } from '../../../../hydration/util'
|
|
7
|
+
import { Server } from '../../../../lexicon'
|
|
5
8
|
import { QueryParams } from '../../../../lexicon/types/app/bsky/feed/searchPosts'
|
|
6
9
|
import {
|
|
7
10
|
HydrationFnInput,
|
|
@@ -10,11 +13,8 @@ import {
|
|
|
10
13
|
SkeletonFnInput,
|
|
11
14
|
createPipeline,
|
|
12
15
|
} from '../../../../pipeline'
|
|
13
|
-
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
14
|
-
import { Views } from '../../../../views'
|
|
15
|
-
import { DataPlaneClient } from '../../../../data-plane'
|
|
16
|
-
import { parseString } from '../../../../hydration/util'
|
|
17
16
|
import { uriToDid as creatorFromUri } from '../../../../util/uris'
|
|
17
|
+
import { Views } from '../../../../views'
|
|
18
18
|
import { resHeaders } from '../../../util'
|
|
19
19
|
|
|
20
20
|
export default function (server: Server, ctx: AppContext) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
+
import { mapDefined } from '@atproto/common'
|
|
1
2
|
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
3
|
+
import { AppContext } from '../../../../context'
|
|
4
|
+
import { DataPlaneClient } from '../../../../data-plane'
|
|
5
|
+
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
6
|
+
import { parseString } from '../../../../hydration/util'
|
|
2
7
|
import { Server } from '../../../../lexicon'
|
|
3
8
|
import { QueryParams } from '../../../../lexicon/types/app/bsky/graph/getActorStarterPacks'
|
|
4
|
-
import AppContext from '../../../../context'
|
|
5
9
|
import {
|
|
6
|
-
createPipeline,
|
|
7
10
|
HydrationFnInput,
|
|
8
|
-
noRules,
|
|
9
11
|
PresentationFnInput,
|
|
10
12
|
SkeletonFnInput,
|
|
13
|
+
createPipeline,
|
|
14
|
+
noRules,
|
|
11
15
|
} from '../../../../pipeline'
|
|
12
|
-
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
13
16
|
import { Views } from '../../../../views'
|
|
14
17
|
import { resHeaders } from '../../../util'
|
|
15
|
-
import { DataPlaneClient } from '../../../../data-plane'
|
|
16
|
-
import { parseString } from '../../../../hydration/util'
|
|
17
|
-
import { mapDefined } from '@atproto/common'
|
|
18
18
|
|
|
19
19
|
export default function (server: Server, ctx: AppContext) {
|
|
20
20
|
const getActorStarterPacks = createPipeline(
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { mapDefined } from '@atproto/common'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
3
|
+
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
2
4
|
import { Server } from '../../../../lexicon'
|
|
3
5
|
import { QueryParams } from '../../../../lexicon/types/app/bsky/graph/getBlocks'
|
|
4
|
-
import AppContext from '../../../../context'
|
|
5
6
|
import {
|
|
6
|
-
createPipeline,
|
|
7
7
|
HydrationFnInput,
|
|
8
|
-
noRules,
|
|
9
8
|
PresentationFnInput,
|
|
10
9
|
SkeletonFnInput,
|
|
10
|
+
createPipeline,
|
|
11
|
+
noRules,
|
|
11
12
|
} from '../../../../pipeline'
|
|
12
|
-
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
13
13
|
import { Views } from '../../../../views'
|
|
14
14
|
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
15
15
|
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { mapDefined } from '@atproto/common'
|
|
2
2
|
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
3
|
+
import { AppContext } from '../../../../context'
|
|
4
|
+
import {
|
|
5
|
+
HydrateCtx,
|
|
6
|
+
Hydrator,
|
|
7
|
+
mergeStates,
|
|
8
|
+
} from '../../../../hydration/hydrator'
|
|
3
9
|
import { Server } from '../../../../lexicon'
|
|
4
10
|
import { QueryParams } from '../../../../lexicon/types/app/bsky/graph/getFollowers'
|
|
5
|
-
import AppContext from '../../../../context'
|
|
6
11
|
import {
|
|
7
12
|
HydrationFnInput,
|
|
8
13
|
PresentationFnInput,
|
|
@@ -11,11 +16,6 @@ import {
|
|
|
11
16
|
createPipeline,
|
|
12
17
|
} from '../../../../pipeline'
|
|
13
18
|
import { uriToDid as didFromUri } from '../../../../util/uris'
|
|
14
|
-
import {
|
|
15
|
-
HydrateCtx,
|
|
16
|
-
Hydrator,
|
|
17
|
-
mergeStates,
|
|
18
|
-
} from '../../../../hydration/hydrator'
|
|
19
19
|
import { Views } from '../../../../views'
|
|
20
20
|
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
21
21
|
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { mapDefined } from '@atproto/common'
|
|
2
2
|
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
3
|
+
import { AppContext } from '../../../../context'
|
|
4
|
+
import {
|
|
5
|
+
HydrateCtx,
|
|
6
|
+
Hydrator,
|
|
7
|
+
mergeStates,
|
|
8
|
+
} from '../../../../hydration/hydrator'
|
|
3
9
|
import { Server } from '../../../../lexicon'
|
|
4
10
|
import { QueryParams } from '../../../../lexicon/types/app/bsky/graph/getFollowers'
|
|
5
|
-
import AppContext from '../../../../context'
|
|
6
11
|
import {
|
|
7
12
|
HydrationFnInput,
|
|
8
13
|
PresentationFnInput,
|
|
@@ -10,11 +15,6 @@ import {
|
|
|
10
15
|
SkeletonFnInput,
|
|
11
16
|
createPipeline,
|
|
12
17
|
} from '../../../../pipeline'
|
|
13
|
-
import {
|
|
14
|
-
HydrateCtx,
|
|
15
|
-
Hydrator,
|
|
16
|
-
mergeStates,
|
|
17
|
-
} from '../../../../hydration/hydrator'
|
|
18
18
|
import { Views } from '../../../../views'
|
|
19
19
|
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
20
20
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { mapDefined } from '@atproto/common'
|
|
2
2
|
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
3
|
+
import { AppContext } from '../../../../context'
|
|
4
|
+
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
3
5
|
import { Server } from '../../../../lexicon'
|
|
4
6
|
import { QueryParams } from '../../../../lexicon/types/app/bsky/graph/getKnownFollowers'
|
|
5
|
-
import AppContext from '../../../../context'
|
|
6
7
|
import {
|
|
7
8
|
HydrationFnInput,
|
|
8
9
|
PresentationFnInput,
|
|
@@ -10,7 +11,6 @@ import {
|
|
|
10
11
|
SkeletonFnInput,
|
|
11
12
|
createPipeline,
|
|
12
13
|
} from '../../../../pipeline'
|
|
13
|
-
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
14
14
|
import { Views } from '../../../../views'
|
|
15
15
|
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
16
16
|
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { mapDefined } from '@atproto/common'
|
|
2
2
|
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
3
|
+
import { AppContext } from '../../../../context'
|
|
4
|
+
import {
|
|
5
|
+
HydrateCtx,
|
|
6
|
+
HydrationState,
|
|
7
|
+
Hydrator,
|
|
8
|
+
mergeManyStates,
|
|
9
|
+
} from '../../../../hydration/hydrator'
|
|
3
10
|
import { Server } from '../../../../lexicon'
|
|
4
11
|
import { QueryParams } from '../../../../lexicon/types/app/bsky/graph/getList'
|
|
5
|
-
import AppContext from '../../../../context'
|
|
6
12
|
import {
|
|
7
|
-
createPipeline,
|
|
8
13
|
HydrationFnInput,
|
|
9
14
|
PresentationFnInput,
|
|
10
15
|
RulesFnInput,
|
|
11
16
|
SkeletonFnInput,
|
|
17
|
+
createPipeline,
|
|
12
18
|
} from '../../../../pipeline'
|
|
13
|
-
import {
|
|
14
|
-
HydrateCtx,
|
|
15
|
-
HydrationState,
|
|
16
|
-
Hydrator,
|
|
17
|
-
mergeManyStates,
|
|
18
|
-
} from '../../../../hydration/hydrator'
|
|
19
|
-
import { Views } from '../../../../views'
|
|
20
|
-
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
21
19
|
import { ListItemInfo } from '../../../../proto/bsky_pb'
|
|
22
20
|
import { uriToDid as didFromUri } from '../../../../util/uris'
|
|
21
|
+
import { Views } from '../../../../views'
|
|
22
|
+
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
23
23
|
|
|
24
24
|
export default function (server: Server, ctx: AppContext) {
|
|
25
25
|
const getList = createPipeline(skeleton, hydration, noBlocks, presentation)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { mapDefined } from '@atproto/common'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
3
|
+
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
2
4
|
import { Server } from '../../../../lexicon'
|
|
3
5
|
import { QueryParams } from '../../../../lexicon/types/app/bsky/graph/getListBlocks'
|
|
4
|
-
import AppContext from '../../../../context'
|
|
5
6
|
import {
|
|
6
|
-
createPipeline,
|
|
7
7
|
HydrationFnInput,
|
|
8
|
-
noRules,
|
|
9
8
|
PresentationFnInput,
|
|
10
9
|
SkeletonFnInput,
|
|
10
|
+
createPipeline,
|
|
11
|
+
noRules,
|
|
11
12
|
} from '../../../../pipeline'
|
|
12
|
-
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
13
13
|
import { Views } from '../../../../views'
|
|
14
14
|
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
15
15
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { mapDefined } from '@atproto/common'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
3
|
+
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
2
4
|
import { Server } from '../../../../lexicon'
|
|
3
5
|
import { QueryParams } from '../../../../lexicon/types/app/bsky/graph/getListBlocks'
|
|
4
|
-
import AppContext from '../../../../context'
|
|
5
6
|
import {
|
|
6
|
-
createPipeline,
|
|
7
7
|
HydrationFnInput,
|
|
8
|
-
noRules,
|
|
9
8
|
PresentationFnInput,
|
|
10
9
|
SkeletonFnInput,
|
|
10
|
+
createPipeline,
|
|
11
|
+
noRules,
|
|
11
12
|
} from '../../../../pipeline'
|
|
12
|
-
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
13
13
|
import { Views } from '../../../../views'
|
|
14
14
|
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
15
15
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { mapDefined } from '@atproto/common'
|
|
2
2
|
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
3
|
+
import { AppContext } from '../../../../context'
|
|
4
|
+
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
3
5
|
import { Server } from '../../../../lexicon'
|
|
4
|
-
import { QueryParams } from '../../../../lexicon/types/app/bsky/graph/getLists'
|
|
5
6
|
import { REFERENCELIST } from '../../../../lexicon/types/app/bsky/graph/defs'
|
|
6
|
-
import
|
|
7
|
+
import { QueryParams } from '../../../../lexicon/types/app/bsky/graph/getLists'
|
|
7
8
|
import {
|
|
8
|
-
createPipeline,
|
|
9
9
|
HydrationFnInput,
|
|
10
10
|
PresentationFnInput,
|
|
11
11
|
RulesFnInput,
|
|
12
12
|
SkeletonFnInput,
|
|
13
|
+
createPipeline,
|
|
13
14
|
} from '../../../../pipeline'
|
|
14
|
-
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
15
15
|
import { Views } from '../../../../views'
|
|
16
16
|
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
17
17
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { mapDefined } from '@atproto/common'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
3
|
+
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
2
4
|
import { Server } from '../../../../lexicon'
|
|
3
5
|
import { QueryParams } from '../../../../lexicon/types/app/bsky/graph/getMutes'
|
|
4
|
-
import AppContext from '../../../../context'
|
|
5
|
-
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
6
|
-
import { Views } from '../../../../views'
|
|
7
6
|
import {
|
|
8
7
|
HydrationFnInput,
|
|
9
8
|
PresentationFnInput,
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
createPipeline,
|
|
12
11
|
noRules,
|
|
13
12
|
} from '../../../../pipeline'
|
|
13
|
+
import { Views } from '../../../../views'
|
|
14
14
|
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
15
15
|
|
|
16
16
|
export default function (server: Server, ctx: AppContext) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
3
|
+
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
2
4
|
import { Server } from '../../../../lexicon'
|
|
3
5
|
import { QueryParams } from '../../../../lexicon/types/app/bsky/graph/getStarterPack'
|
|
4
|
-
import AppContext from '../../../../context'
|
|
5
6
|
import {
|
|
6
|
-
createPipeline,
|
|
7
7
|
HydrationFnInput,
|
|
8
|
-
noRules,
|
|
9
8
|
PresentationFnInput,
|
|
10
9
|
SkeletonFnInput,
|
|
10
|
+
createPipeline,
|
|
11
|
+
noRules,
|
|
11
12
|
} from '../../../../pipeline'
|
|
12
|
-
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
13
13
|
import { Views } from '../../../../views'
|
|
14
14
|
import { resHeaders } from '../../../util'
|
|
15
15
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { dedupeStrs, mapDefined } from '@atproto/common'
|
|
2
|
-
import {
|
|
3
|
-
import { QueryParams } from '../../../../lexicon/types/app/bsky/graph/getStarterPacks'
|
|
4
|
-
import AppContext from '../../../../context'
|
|
5
|
-
import { resHeaders } from '../../../util'
|
|
6
|
-
import { createPipeline, noRules } from '../../../../pipeline'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
7
3
|
import {
|
|
8
4
|
HydrateCtx,
|
|
9
5
|
HydrationState,
|
|
10
6
|
Hydrator,
|
|
11
7
|
} from '../../../../hydration/hydrator'
|
|
8
|
+
import { Server } from '../../../../lexicon'
|
|
9
|
+
import { QueryParams } from '../../../../lexicon/types/app/bsky/graph/getStarterPacks'
|
|
10
|
+
import { createPipeline, noRules } from '../../../../pipeline'
|
|
12
11
|
import { Views } from '../../../../views'
|
|
12
|
+
import { resHeaders } from '../../../util'
|
|
13
13
|
|
|
14
14
|
export default function (server: Server, ctx: AppContext) {
|
|
15
15
|
const getStarterPacks = createPipeline(
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { AtpAgent } from '@atproto/api'
|
|
1
2
|
import { mapDefined, noUndefinedVals } from '@atproto/common'
|
|
2
|
-
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
3
|
-
import AtpAgent from '@atproto/api'
|
|
4
3
|
import { HeadersMap } from '@atproto/xrpc'
|
|
4
|
+
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
5
|
+
import { AppContext } from '../../../../context'
|
|
6
|
+
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
5
7
|
import { Server } from '../../../../lexicon'
|
|
6
8
|
import { QueryParams } from '../../../../lexicon/types/app/bsky/graph/getSuggestedFollowsByActor'
|
|
7
|
-
import AppContext from '../../../../context'
|
|
8
9
|
import {
|
|
9
10
|
HydrationFnInput,
|
|
10
11
|
PresentationFnInput,
|
|
@@ -12,7 +13,6 @@ import {
|
|
|
12
13
|
SkeletonFnInput,
|
|
13
14
|
createPipeline,
|
|
14
15
|
} from '../../../../pipeline'
|
|
15
|
-
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
16
16
|
import { Views } from '../../../../views'
|
|
17
17
|
import { resHeaders } from '../../../util'
|
|
18
18
|
|