@atproto/bsky 0.0.113 → 0.0.114
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 +24 -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 +4 -4
- 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 +56 -2
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +32 -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 +1 -0
- package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts.map +1 -1
- 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 +8 -9
- 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 +1 -1
- package/dist/views/util.d.ts.map +1 -1
- package/dist/views/util.js +1 -1
- 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 +2 -2
- 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 +37 -0
- package/src/lexicon/types/app/bsky/actor/defs.ts +36 -0
- package/src/lexicon/types/app/bsky/feed/postgate.ts +1 -0
- package/src/lexicon/types/app/bsky/feed/threadgate.ts +1 -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 +23 -22
- package/src/views/types.ts +9 -9
- package/src/views/util.ts +4 -4
- 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/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 +3 -3
- package/tests/views/timeline.test.ts +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AppContext } from '../../../../context'
|
|
1
2
|
import { Server } from '../../../../lexicon'
|
|
2
|
-
import AppContext from '../../../../context'
|
|
3
3
|
import { MuteOperation_Type } from '../../../../proto/bsync_pb'
|
|
4
4
|
|
|
5
5
|
export default function (server: Server, ctx: AppContext) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AppContext } from '../../../../context'
|
|
1
2
|
import { Server } from '../../../../lexicon'
|
|
2
|
-
import AppContext from '../../../../context'
|
|
3
3
|
import { MuteOperation_Type } from '../../../../proto/bsync_pb'
|
|
4
4
|
|
|
5
5
|
export default function (server: Server, ctx: AppContext) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
|
2
|
-
import AppContext from '../../../../context'
|
|
3
1
|
import { mapDefined } from '@atproto/common'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
3
|
+
import { Server } from '../../../../lexicon'
|
|
4
4
|
import { resHeaders } from '../../../util'
|
|
5
5
|
|
|
6
6
|
export default function (server: Server, ctx: AppContext) {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
3
|
+
import { Hydrator } from '../../../../hydration/hydrator'
|
|
2
4
|
import { Server } from '../../../../lexicon'
|
|
3
5
|
import { QueryParams } from '../../../../lexicon/types/app/bsky/notification/getUnreadCount'
|
|
4
|
-
import AppContext from '../../../../context'
|
|
5
6
|
import {
|
|
6
7
|
HydrationFnInput,
|
|
7
8
|
PresentationFnInput,
|
|
@@ -9,7 +10,6 @@ import {
|
|
|
9
10
|
createPipeline,
|
|
10
11
|
noRules,
|
|
11
12
|
} from '../../../../pipeline'
|
|
12
|
-
import { Hydrator } from '../../../../hydration/hydrator'
|
|
13
13
|
import { Views } from '../../../../views'
|
|
14
14
|
|
|
15
15
|
export default function (server: Server, ctx: AppContext) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
2
1
|
import { mapDefined } from '@atproto/common'
|
|
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/notification/listNotifications'
|
|
5
6
|
import { isRecord as isPostRecord } from '../../../../lexicon/types/app/bsky/feed/post'
|
|
6
|
-
import
|
|
7
|
+
import { QueryParams } from '../../../../lexicon/types/app/bsky/notification/listNotifications'
|
|
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
|
-
import { Views } from '../../../../views'
|
|
16
15
|
import { Notification } from '../../../../proto/bsky_pb'
|
|
17
16
|
import { uriToDid as didFromUri } from '../../../../util/uris'
|
|
17
|
+
import { Views } from '../../../../views'
|
|
18
18
|
import { clearlyBadCursor, resHeaders } from '../../../util'
|
|
19
19
|
|
|
20
20
|
export default function (server: Server, ctx: AppContext) {
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
InvalidRequestError,
|
|
3
3
|
MethodNotImplementedError,
|
|
4
4
|
} from '@atproto/xrpc-server'
|
|
5
|
+
import { AppContext } from '../../../../context'
|
|
5
6
|
import { Server } from '../../../../lexicon'
|
|
6
|
-
import AppContext from '../../../../context'
|
|
7
7
|
import { AppPlatform } from '../../../../proto/courier_pb'
|
|
8
8
|
|
|
9
9
|
export default function (server: Server, ctx: AppContext) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import murmur from 'murmurhash'
|
|
2
1
|
import { Struct, Timestamp } from '@bufbuild/protobuf'
|
|
2
|
+
import { v3 as murmurV3 } from 'murmurhash'
|
|
3
|
+
import { AppContext } from '../../../../context'
|
|
3
4
|
import { Server } from '../../../../lexicon'
|
|
4
|
-
import AppContext from '../../../../context'
|
|
5
5
|
|
|
6
6
|
export default function (server: Server, ctx: AppContext) {
|
|
7
7
|
server.app.bsky.notification.updateSeen({
|
|
@@ -45,5 +45,5 @@ function getNotifId(viewer: string, seenAt: Date) {
|
|
|
45
45
|
const key = ['mark-read-generic', viewer, seenAt.getTime().toString()].join(
|
|
46
46
|
'::',
|
|
47
47
|
)
|
|
48
|
-
return
|
|
48
|
+
return murmurV3(key).toString(16)
|
|
49
49
|
}
|
|
@@ -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 { clearlyBadCursor, resHeaders } from '../../../util'
|
|
6
6
|
|
|
7
7
|
// THIS IS A TEMPORARY UNSPECCED ROUTE
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
+
import AtpAgent from '@atproto/api'
|
|
1
2
|
import { noUndefinedVals } from '@atproto/common'
|
|
2
|
-
import
|
|
3
|
+
import { InternalServerError } from '@atproto/xrpc-server'
|
|
4
|
+
import { AppContext } from '../../../../context'
|
|
5
|
+
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
3
6
|
import { Server } from '../../../../lexicon'
|
|
7
|
+
import { TrendingTopic } from '../../../../lexicon/types/app/bsky/unspecced/defs'
|
|
8
|
+
import { QueryParams } from '../../../../lexicon/types/app/bsky/unspecced/getTrendingTopics'
|
|
4
9
|
import {
|
|
5
|
-
createPipeline,
|
|
6
10
|
HydrationFnInput,
|
|
7
11
|
PresentationFnInput,
|
|
8
12
|
RulesFnInput,
|
|
9
13
|
SkeletonFnInput,
|
|
14
|
+
createPipeline,
|
|
10
15
|
} from '../../../../pipeline'
|
|
11
|
-
import { HydrateCtx, Hydrator } from '../../../../hydration/hydrator'
|
|
12
16
|
import { Views } from '../../../../views'
|
|
13
|
-
import { QueryParams } from '../../../../lexicon/types/app/bsky/unspecced/getTrendingTopics'
|
|
14
|
-
import AtpAgent from '@atproto/api'
|
|
15
|
-
import { TrendingTopic } from '../../../../lexicon/types/app/bsky/unspecced/defs'
|
|
16
|
-
import { InternalServerError } from '@atproto/xrpc-server'
|
|
17
17
|
|
|
18
18
|
export default function (server: Server, ctx: AppContext) {
|
|
19
19
|
const getTrendingTopics = createPipeline(
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { isUnicastIp, unicastLookup } from '@atproto-labs/fetch-node'
|
|
2
1
|
import { Agent, Dispatcher, Pool, RetryAgent } from 'undici'
|
|
3
|
-
|
|
2
|
+
import { isUnicastIp, unicastLookup } from '@atproto-labs/fetch-node'
|
|
4
3
|
import { ServerConfig } from '../config'
|
|
5
4
|
import { RETRYABLE_HTTP_STATUS_CODES } from '../util/retry'
|
|
6
5
|
|
package/src/api/blob-resolver.ts
CHANGED
|
@@ -1,23 +1,22 @@
|
|
|
1
|
+
import { Duplex, Transform, Writable } from 'node:stream'
|
|
2
|
+
import { pipeline } from 'node:stream/promises'
|
|
3
|
+
import createError, { isHttpError } from 'http-errors'
|
|
4
|
+
import { CID } from 'multiformats/cid'
|
|
5
|
+
import { Dispatcher } from 'undici'
|
|
6
|
+
import {
|
|
7
|
+
VerifyCidError,
|
|
8
|
+
VerifyCidTransform,
|
|
9
|
+
createDecoders,
|
|
10
|
+
} from '@atproto/common'
|
|
11
|
+
import { AtprotoDid, isAtprotoDid } from '@atproto/did'
|
|
1
12
|
import {
|
|
2
13
|
ACCEPT_ENCODING_COMPRESSED,
|
|
3
14
|
ACCEPT_ENCODING_UNCOMPRESSED,
|
|
4
15
|
buildProxiedContentEncoding,
|
|
5
16
|
formatAcceptHeader,
|
|
6
17
|
} from '@atproto-labs/xrpc-utils'
|
|
7
|
-
import {
|
|
8
|
-
createDecoders,
|
|
9
|
-
VerifyCidError,
|
|
10
|
-
VerifyCidTransform,
|
|
11
|
-
} from '@atproto/common'
|
|
12
|
-
import { AtprotoDid, isAtprotoDid } from '@atproto/did'
|
|
13
|
-
import createError, { isHttpError } from 'http-errors'
|
|
14
|
-
import { CID } from 'multiformats/cid'
|
|
15
|
-
import { Duplex, Transform, Writable } from 'node:stream'
|
|
16
|
-
import { pipeline } from 'node:stream/promises'
|
|
17
|
-
import { Dispatcher } from 'undici'
|
|
18
|
-
|
|
19
18
|
import { ServerConfig } from '../config'
|
|
20
|
-
import AppContext from '../context'
|
|
19
|
+
import { AppContext } from '../context'
|
|
21
20
|
import {
|
|
22
21
|
Code,
|
|
23
22
|
DataPlaneClient,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
|
2
|
-
import AppContext from '../../../../context'
|
|
3
1
|
import { mapDefined } from '@atproto/common'
|
|
4
2
|
import { INVALID_HANDLE } from '@atproto/syntax'
|
|
3
|
+
import { AppContext } from '../../../../context'
|
|
4
|
+
import { Server } from '../../../../lexicon'
|
|
5
5
|
|
|
6
6
|
export default function (server: Server, ctx: AppContext) {
|
|
7
7
|
server.com.atproto.admin.getAccountInfos({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
2
3
|
import { Server } from '../../../../lexicon'
|
|
3
|
-
import AppContext from '../../../../context'
|
|
4
4
|
import { OutputSchema } from '../../../../lexicon/types/com/atproto/admin/getSubjectStatus'
|
|
5
5
|
|
|
6
6
|
export default function (server: Server, ctx: AppContext) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Timestamp } from '@bufbuild/protobuf'
|
|
2
2
|
import { AuthRequiredError, InvalidRequestError } from '@atproto/xrpc-server'
|
|
3
|
+
import { AppContext } from '../../../../context'
|
|
3
4
|
import { Server } from '../../../../lexicon'
|
|
4
|
-
import AppContext from '../../../../context'
|
|
5
5
|
import {
|
|
6
|
-
isRepoRef,
|
|
7
6
|
isRepoBlobRef,
|
|
7
|
+
isRepoRef,
|
|
8
8
|
} from '../../../../lexicon/types/com/atproto/admin/defs'
|
|
9
9
|
import { isMain as isStrongRef } from '../../../../lexicon/types/com/atproto/repo/strongRef'
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
2
1
|
import * as ident from '@atproto/syntax'
|
|
2
|
+
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
3
|
+
import { AppContext } from '../../../../context'
|
|
3
4
|
import { Server } from '../../../../lexicon'
|
|
4
|
-
import AppContext from '../../../../context'
|
|
5
5
|
|
|
6
6
|
export default function (server: Server, ctx: AppContext) {
|
|
7
7
|
server.com.atproto.identity.resolveHandle(async ({ req, params }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
|
2
|
-
import AppContext from '../../../../context'
|
|
3
1
|
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
3
|
+
import { Server } from '../../../../lexicon'
|
|
4
4
|
|
|
5
5
|
export default function (server: Server, ctx: AppContext) {
|
|
6
6
|
server.com.atproto.label.queryLabels(async ({ params }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
2
1
|
import { AtUri } from '@atproto/syntax'
|
|
2
|
+
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
3
|
+
import { AppContext } from '../../../../context'
|
|
3
4
|
import { Server } from '../../../../lexicon'
|
|
4
|
-
import AppContext from '../../../../context'
|
|
5
5
|
|
|
6
6
|
export default function (server: Server, ctx: AppContext) {
|
|
7
7
|
server.com.atproto.repo.getRecord({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
|
2
|
-
import AppContext from '../../../../context'
|
|
3
1
|
import { InvalidRequestError } from '@atproto/xrpc-server'
|
|
2
|
+
import { AppContext } from '../../../../context'
|
|
3
|
+
import { Server } from '../../../../lexicon'
|
|
4
4
|
|
|
5
5
|
export default function (server: Server, _ctx: AppContext) {
|
|
6
6
|
server.com.atproto.temp.fetchLabels(async (_reqCtx) => {
|
package/src/api/health.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import AppContext from '../context'
|
|
1
|
+
import { Router } from 'express'
|
|
2
|
+
import { AppContext } from '../context'
|
|
3
3
|
|
|
4
|
-
export const createRouter = (ctx: AppContext):
|
|
5
|
-
const router =
|
|
4
|
+
export const createRouter = (ctx: AppContext): Router => {
|
|
5
|
+
const router = Router()
|
|
6
6
|
|
|
7
7
|
router.get('/', function (req, res) {
|
|
8
8
|
res.type('text/plain')
|
package/src/api/index.ts
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { AppContext } from '../context'
|
|
1
2
|
import { Server } from '../lexicon'
|
|
2
|
-
import
|
|
3
|
-
import
|
|
3
|
+
import getProfile from './app/bsky/actor/getProfile'
|
|
4
|
+
import getProfiles from './app/bsky/actor/getProfiles'
|
|
5
|
+
import getSuggestions from './app/bsky/actor/getSuggestions'
|
|
6
|
+
import searchActors from './app/bsky/actor/searchActors'
|
|
7
|
+
import searchActorsTypeahead from './app/bsky/actor/searchActorsTypeahead'
|
|
4
8
|
import getActorFeeds from './app/bsky/feed/getActorFeeds'
|
|
5
|
-
import
|
|
9
|
+
import getActorLikes from './app/bsky/feed/getActorLikes'
|
|
6
10
|
import getAuthorFeed from './app/bsky/feed/getAuthorFeed'
|
|
7
11
|
import getFeed from './app/bsky/feed/getFeed'
|
|
8
12
|
import getFeedGenerator from './app/bsky/feed/getFeedGenerator'
|
|
@@ -11,53 +15,49 @@ import getLikes from './app/bsky/feed/getLikes'
|
|
|
11
15
|
import getListFeed from './app/bsky/feed/getListFeed'
|
|
12
16
|
import getPostThread from './app/bsky/feed/getPostThread'
|
|
13
17
|
import getPosts from './app/bsky/feed/getPosts'
|
|
14
|
-
import searchPosts from './app/bsky/feed/searchPosts'
|
|
15
|
-
import getActorLikes from './app/bsky/feed/getActorLikes'
|
|
16
18
|
import getQuotes from './app/bsky/feed/getQuotes'
|
|
17
|
-
import getProfile from './app/bsky/actor/getProfile'
|
|
18
|
-
import getProfiles from './app/bsky/actor/getProfiles'
|
|
19
19
|
import getRepostedBy from './app/bsky/feed/getRepostedBy'
|
|
20
|
+
import getSuggestedFeeds from './app/bsky/feed/getSuggestedFeeds'
|
|
21
|
+
import getTimeline from './app/bsky/feed/getTimeline'
|
|
22
|
+
import searchPosts from './app/bsky/feed/searchPosts'
|
|
20
23
|
import getActorStarterPacks from './app/bsky/graph/getActorStarterPacks'
|
|
21
24
|
import getBlocks from './app/bsky/graph/getBlocks'
|
|
22
|
-
import getListBlocks from './app/bsky/graph/getListBlocks'
|
|
23
25
|
import getFollowers from './app/bsky/graph/getFollowers'
|
|
24
|
-
import getKnownFollowers from './app/bsky/graph/getKnownFollowers'
|
|
25
26
|
import getFollows from './app/bsky/graph/getFollows'
|
|
27
|
+
import getKnownFollowers from './app/bsky/graph/getKnownFollowers'
|
|
26
28
|
import getList from './app/bsky/graph/getList'
|
|
27
|
-
import
|
|
29
|
+
import getListBlocks from './app/bsky/graph/getListBlocks'
|
|
28
30
|
import getListMutes from './app/bsky/graph/getListMutes'
|
|
31
|
+
import getLists from './app/bsky/graph/getLists'
|
|
29
32
|
import getMutes from './app/bsky/graph/getMutes'
|
|
30
33
|
import getRelationships from './app/bsky/graph/getRelationships'
|
|
31
34
|
import getStarterPack from './app/bsky/graph/getStarterPack'
|
|
32
35
|
import getStarterPacks from './app/bsky/graph/getStarterPacks'
|
|
33
|
-
import
|
|
36
|
+
import getSuggestedFollowsByActor from './app/bsky/graph/getSuggestedFollowsByActor'
|
|
34
37
|
import muteActor from './app/bsky/graph/muteActor'
|
|
35
|
-
import unmuteActor from './app/bsky/graph/unmuteActor'
|
|
36
38
|
import muteActorList from './app/bsky/graph/muteActorList'
|
|
37
|
-
import unmuteActorList from './app/bsky/graph/unmuteActorList'
|
|
38
39
|
import muteThread from './app/bsky/graph/muteThread'
|
|
40
|
+
import searchStarterPacks from './app/bsky/graph/searchStarterPacks'
|
|
41
|
+
import unmuteActor from './app/bsky/graph/unmuteActor'
|
|
42
|
+
import unmuteActorList from './app/bsky/graph/unmuteActorList'
|
|
39
43
|
import unmuteThread from './app/bsky/graph/unmuteThread'
|
|
40
|
-
import getSuggestedFollowsByActor from './app/bsky/graph/getSuggestedFollowsByActor'
|
|
41
|
-
import getTrendingTopics from './app/bsky/unspecced/getTrendingTopics'
|
|
42
44
|
import getLabelerServices from './app/bsky/labeler/getServices'
|
|
43
|
-
import searchActors from './app/bsky/actor/searchActors'
|
|
44
|
-
import searchActorsTypeahead from './app/bsky/actor/searchActorsTypeahead'
|
|
45
|
-
import getSuggestions from './app/bsky/actor/getSuggestions'
|
|
46
45
|
import getUnreadCount from './app/bsky/notification/getUnreadCount'
|
|
47
46
|
import listNotifications from './app/bsky/notification/listNotifications'
|
|
48
|
-
import updateSeen from './app/bsky/notification/updateSeen'
|
|
49
47
|
import putPreferences from './app/bsky/notification/putPreferences'
|
|
50
48
|
import registerPush from './app/bsky/notification/registerPush'
|
|
49
|
+
import updateSeen from './app/bsky/notification/updateSeen'
|
|
51
50
|
import getConfig from './app/bsky/unspecced/getConfig'
|
|
52
51
|
import getPopularFeedGenerators from './app/bsky/unspecced/getPopularFeedGenerators'
|
|
53
52
|
import getTaggedSuggestions from './app/bsky/unspecced/getTaggedSuggestions'
|
|
53
|
+
import getTrendingTopics from './app/bsky/unspecced/getTrendingTopics'
|
|
54
|
+
import getAccountInfos from './com/atproto/admin/getAccountInfos'
|
|
54
55
|
import getSubjectStatus from './com/atproto/admin/getSubjectStatus'
|
|
55
56
|
import updateSubjectStatus from './com/atproto/admin/updateSubjectStatus'
|
|
56
|
-
import getAccountInfos from './com/atproto/admin/getAccountInfos'
|
|
57
57
|
import resolveHandle from './com/atproto/identity/resolveHandle'
|
|
58
|
+
import queryLabels from './com/atproto/label/queryLabels'
|
|
58
59
|
import getRecord from './com/atproto/repo/getRecord'
|
|
59
60
|
import fetchLabels from './com/atproto/temp/fetchLabels'
|
|
60
|
-
import queryLabels from './com/atproto/label/queryLabels'
|
|
61
61
|
|
|
62
62
|
export * as health from './health'
|
|
63
63
|
|
package/src/api/well-known.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import AppContext from '../context'
|
|
1
|
+
import { Router } from 'express'
|
|
2
|
+
import { AppContext } from '../context'
|
|
3
3
|
|
|
4
|
-
export const createRouter = (ctx: AppContext):
|
|
5
|
-
const router =
|
|
4
|
+
export const createRouter = (ctx: AppContext): Router => {
|
|
5
|
+
const router = Router()
|
|
6
6
|
|
|
7
7
|
const did = ctx.cfg.serverDid
|
|
8
8
|
if (did.startsWith('did:web:')) {
|
package/src/auth-verifier.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import crypto, { KeyObject } from 'node:crypto'
|
|
2
|
+
import express from 'express'
|
|
3
|
+
import * as jose from 'jose'
|
|
4
|
+
import KeyEncoder from 'key-encoder'
|
|
5
|
+
import * as ui8 from 'uint8arrays'
|
|
6
|
+
import { SECP256K1_JWT_ALG, parseDidKey } from '@atproto/crypto'
|
|
2
7
|
import {
|
|
3
8
|
AuthRequiredError,
|
|
9
|
+
VerifySignatureWithKeyFn,
|
|
4
10
|
cryptoVerifySignatureWithKey,
|
|
5
11
|
parseReqNsid,
|
|
6
12
|
verifyJwt as verifyServiceJwt,
|
|
7
|
-
VerifySignatureWithKeyFn,
|
|
8
13
|
} from '@atproto/xrpc-server'
|
|
9
|
-
import KeyEncoder from 'key-encoder'
|
|
10
|
-
import * as ui8 from 'uint8arrays'
|
|
11
|
-
import * as jose from 'jose'
|
|
12
|
-
import express from 'express'
|
|
13
14
|
import {
|
|
14
15
|
Code,
|
|
15
16
|
DataPlaneClient,
|
|
@@ -18,7 +19,6 @@ import {
|
|
|
18
19
|
unpackIdentityKeys,
|
|
19
20
|
} from './data-plane'
|
|
20
21
|
import { GetIdentityByDidResponse } from './proto/bsky_pb'
|
|
21
|
-
import { parseDidKey, SECP256K1_JWT_ALG } from '@atproto/crypto'
|
|
22
22
|
|
|
23
23
|
type ReqCtx = {
|
|
24
24
|
req: express.Request
|
package/src/bsync.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Service } from './proto/bsync_connect'
|
|
2
1
|
import {
|
|
3
2
|
Code,
|
|
4
3
|
ConnectError,
|
|
4
|
+
Interceptor,
|
|
5
5
|
PromiseClient,
|
|
6
6
|
createPromiseClient,
|
|
7
|
-
Interceptor,
|
|
8
7
|
} from '@connectrpc/connect'
|
|
9
8
|
import {
|
|
10
|
-
createConnectTransport,
|
|
11
9
|
ConnectTransportOptions,
|
|
10
|
+
createConnectTransport,
|
|
12
11
|
} from '@connectrpc/connect-node'
|
|
12
|
+
import { Service } from './proto/bsync_connect'
|
|
13
13
|
|
|
14
14
|
export type BsyncClient = PromiseClient<typeof Service>
|
|
15
15
|
|
package/src/context.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import express from 'express'
|
|
2
1
|
import * as plc from '@did-plc/lib'
|
|
3
|
-
import
|
|
2
|
+
import express from 'express'
|
|
3
|
+
import { Dispatcher } from 'undici'
|
|
4
4
|
import { AtpAgent } from '@atproto/api'
|
|
5
5
|
import { Keypair } from '@atproto/crypto'
|
|
6
|
-
import {
|
|
7
|
-
import { DataPlaneClient } from './data-plane/client'
|
|
8
|
-
import { Hydrator } from './hydration/hydrator'
|
|
9
|
-
import { Views } from './views'
|
|
6
|
+
import { IdResolver } from '@atproto/identity'
|
|
10
7
|
import { AuthVerifier } from './auth-verifier'
|
|
11
8
|
import { BsyncClient } from './bsync'
|
|
9
|
+
import { ServerConfig } from './config'
|
|
12
10
|
import { CourierClient } from './courier'
|
|
11
|
+
import { DataPlaneClient } from './data-plane/client'
|
|
13
12
|
import { FeatureGates } from './feature-gates'
|
|
13
|
+
import { Hydrator } from './hydration/hydrator'
|
|
14
|
+
import { httpLogger as log } from './logger'
|
|
14
15
|
import {
|
|
15
16
|
ParsedLabelers,
|
|
16
17
|
defaultLabelerHeader,
|
|
17
18
|
parseLabelerHeader,
|
|
18
19
|
} from './util'
|
|
19
|
-
import {
|
|
20
|
-
import { Dispatcher } from 'undici'
|
|
20
|
+
import { Views } from './views'
|
|
21
21
|
|
|
22
22
|
export class AppContext {
|
|
23
23
|
constructor(
|
|
@@ -112,5 +112,3 @@ export class AppContext {
|
|
|
112
112
|
return parsed
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
|
|
116
|
-
export default AppContext
|
package/src/courier.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Service } from './proto/courier_connect'
|
|
2
1
|
import {
|
|
3
2
|
Code,
|
|
4
3
|
ConnectError,
|
|
4
|
+
Interceptor,
|
|
5
5
|
PromiseClient,
|
|
6
6
|
createPromiseClient,
|
|
7
|
-
Interceptor,
|
|
8
7
|
} from '@connectrpc/connect'
|
|
9
8
|
import {
|
|
10
|
-
createConnectTransport,
|
|
11
9
|
ConnectTransportOptions,
|
|
10
|
+
createConnectTransport,
|
|
12
11
|
} from '@connectrpc/connect-node'
|
|
12
|
+
import { Service } from './proto/courier_connect'
|
|
13
13
|
|
|
14
14
|
export type CourierClient = PromiseClient<typeof Service>
|
|
15
15
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import events from 'events'
|
|
3
|
-
import
|
|
4
|
-
import express from 'express'
|
|
1
|
+
import assert from 'node:assert'
|
|
2
|
+
import events from 'node:events'
|
|
3
|
+
import http from 'node:http'
|
|
5
4
|
import { ConnectRouter } from '@connectrpc/connect'
|
|
6
5
|
import { expressConnectMiddleware } from '@connectrpc/connect-express'
|
|
6
|
+
import express from 'express'
|
|
7
7
|
import { AtUri } from '@atproto/syntax'
|
|
8
|
-
import {
|
|
8
|
+
import { ids } from '../../lexicon/lexicons'
|
|
9
9
|
import { Service } from '../../proto/bsync_connect'
|
|
10
10
|
import { MuteOperation_Type } from '../../proto/bsync_pb'
|
|
11
|
-
import {
|
|
11
|
+
import { Database } from '../server/db'
|
|
12
12
|
|
|
13
13
|
export class MockBsync {
|
|
14
14
|
constructor(public server: http.Server) {}
|
package/src/data-plane/client.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import assert from 'node:assert'
|
|
2
2
|
import { randomInt } from 'node:crypto'
|
|
3
|
-
import * as ui8 from 'uint8arrays'
|
|
4
3
|
import {
|
|
5
4
|
Code,
|
|
6
5
|
ConnectError,
|
|
@@ -9,6 +8,7 @@ import {
|
|
|
9
8
|
makeAnyClient,
|
|
10
9
|
} from '@connectrpc/connect'
|
|
11
10
|
import { createGrpcTransport } from '@connectrpc/connect-node'
|
|
11
|
+
import * as ui8 from 'uint8arrays'
|
|
12
12
|
import { getDidKeyFromMultibase } from '@atproto/identity'
|
|
13
13
|
import { Service } from '../proto/bsky_connect'
|
|
14
14
|
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import { Kysely } from 'kysely'
|
|
2
|
+
import * as actor from './tables/actor'
|
|
3
|
+
import * as actorBlock from './tables/actor-block'
|
|
4
|
+
import * as actorState from './tables/actor-state'
|
|
5
|
+
import * as actorSync from './tables/actor-sync'
|
|
6
|
+
import * as algo from './tables/algo'
|
|
7
|
+
import * as blobTakedown from './tables/blob-takedown'
|
|
8
|
+
import * as didCache from './tables/did-cache'
|
|
2
9
|
import * as duplicateRecord from './tables/duplicate-record'
|
|
3
|
-
import * as
|
|
4
|
-
import * as profileAgg from './tables/profile-agg'
|
|
5
|
-
import * as post from './tables/post'
|
|
6
|
-
import * as postEmbed from './tables/post-embed'
|
|
7
|
-
import * as postAgg from './tables/post-agg'
|
|
8
|
-
import * as repost from './tables/repost'
|
|
9
|
-
import * as threadgate from './tables/thread-gate'
|
|
10
|
-
import * as postgate from './tables/post-gate'
|
|
10
|
+
import * as feedGenerator from './tables/feed-generator'
|
|
11
11
|
import * as feedItem from './tables/feed-item'
|
|
12
12
|
import * as follow from './tables/follow'
|
|
13
|
+
import * as label from './tables/label'
|
|
14
|
+
import * as labeler from './tables/labeler'
|
|
13
15
|
import * as like from './tables/like'
|
|
14
16
|
import * as list from './tables/list'
|
|
17
|
+
import * as listBlock from './tables/list-block'
|
|
15
18
|
import * as listItem from './tables/list-item'
|
|
16
19
|
import * as listMute from './tables/list-mute'
|
|
17
|
-
import * as listBlock from './tables/list-block'
|
|
18
20
|
import * as mute from './tables/mute'
|
|
19
|
-
import * as actorBlock from './tables/actor-block'
|
|
20
|
-
import * as threadMute from './tables/thread-mute'
|
|
21
|
-
import * as feedGenerator from './tables/feed-generator'
|
|
22
|
-
import * as subscription from './tables/subscription'
|
|
23
|
-
import * as actor from './tables/actor'
|
|
24
|
-
import * as actorState from './tables/actor-state'
|
|
25
|
-
import * as actorSync from './tables/actor-sync'
|
|
26
|
-
import * as record from './tables/record'
|
|
27
21
|
import * as notification from './tables/notification'
|
|
28
22
|
import * as notificationPushToken from './tables/notification-push-token'
|
|
29
|
-
import * as
|
|
30
|
-
import * as
|
|
31
|
-
import * as
|
|
32
|
-
import * as
|
|
33
|
-
import * as
|
|
23
|
+
import * as post from './tables/post'
|
|
24
|
+
import * as postAgg from './tables/post-agg'
|
|
25
|
+
import * as postEmbed from './tables/post-embed'
|
|
26
|
+
import * as postgate from './tables/post-gate'
|
|
27
|
+
import * as profile from './tables/profile'
|
|
28
|
+
import * as profileAgg from './tables/profile-agg'
|
|
29
|
+
import * as quote from './tables/quote'
|
|
30
|
+
import * as record from './tables/record'
|
|
31
|
+
import * as repost from './tables/repost'
|
|
32
|
+
import * as starterPack from './tables/starter-pack'
|
|
33
|
+
import * as subscription from './tables/subscription'
|
|
34
34
|
import * as suggestedFeed from './tables/suggested-feed'
|
|
35
|
+
import * as suggestedFollow from './tables/suggested-follow'
|
|
35
36
|
import * as taggedSuggestion from './tables/tagged-suggestion'
|
|
36
|
-
import * as
|
|
37
|
-
import * as
|
|
38
|
-
import * as
|
|
39
|
-
import * as quote from './tables/quote'
|
|
37
|
+
import * as threadgate from './tables/thread-gate'
|
|
38
|
+
import * as threadMute from './tables/thread-mute'
|
|
39
|
+
import * as viewParam from './tables/view-param'
|
|
40
40
|
|
|
41
41
|
export type DatabaseSchemaType = duplicateRecord.PartialDB &
|
|
42
42
|
profile.PartialDB &
|
|
@@ -78,5 +78,3 @@ export type DatabaseSchemaType = duplicateRecord.PartialDB &
|
|
|
78
78
|
quote.PartialDB
|
|
79
79
|
|
|
80
80
|
export type DatabaseSchema = Kysely<DatabaseSchemaType>
|
|
81
|
-
|
|
82
|
-
export default DatabaseSchema
|