@atproto/pds 0.4.19 → 0.4.21
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +13 -0
- package/dist/api/app/bsky/actor/index.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/index.js +0 -6
- package/dist/api/app/bsky/actor/index.js.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.js +1 -3
- package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/index.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/index.js +0 -20
- package/dist/api/app/bsky/feed/index.js.map +1 -1
- package/dist/api/app/bsky/index.d.ts.map +1 -1
- package/dist/api/app/bsky/index.js +0 -6
- package/dist/api/app/bsky/index.js.map +1 -1
- package/dist/api/app/bsky/notification/index.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/index.js +0 -6
- package/dist/api/app/bsky/notification/index.js.map +1 -1
- package/dist/api/com/atproto/index.d.ts.map +1 -1
- package/dist/api/com/atproto/index.js +0 -2
- package/dist/api/com/atproto/index.js.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/index.d.ts.map +1 -1
- package/dist/api/index.js +0 -2
- package/dist/api/index.js.map +1 -1
- package/dist/context.d.ts +3 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +30 -0
- package/dist/context.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -45
- package/dist/index.js.map +1 -1
- package/dist/pipethrough.d.ts +12 -22
- package/dist/pipethrough.d.ts.map +1 -1
- package/dist/pipethrough.js +159 -81
- package/dist/pipethrough.js.map +1 -1
- package/package.json +8 -8
- package/src/api/app/bsky/actor/index.ts +0 -6
- package/src/api/app/bsky/feed/getFeed.ts +1 -3
- package/src/api/app/bsky/feed/index.ts +0 -20
- package/src/api/app/bsky/index.ts +0 -6
- package/src/api/app/bsky/notification/index.ts +0 -7
- package/src/api/com/atproto/index.ts +0 -2
- package/src/api/com/atproto/repo/getRecord.ts +1 -1
- package/src/api/index.ts +0 -2
- package/src/context.ts +34 -1
- package/src/index.ts +27 -51
- package/src/pipethrough.ts +184 -114
- package/dist/api/app/bsky/actor/getSuggestions.d.ts +0 -4
- package/dist/api/app/bsky/actor/getSuggestions.d.ts.map +0 -1
- package/dist/api/app/bsky/actor/getSuggestions.js +0 -19
- package/dist/api/app/bsky/actor/getSuggestions.js.map +0 -1
- package/dist/api/app/bsky/actor/searchActors.d.ts +0 -4
- package/dist/api/app/bsky/actor/searchActors.d.ts.map +0 -1
- package/dist/api/app/bsky/actor/searchActors.js +0 -17
- package/dist/api/app/bsky/actor/searchActors.js.map +0 -1
- package/dist/api/app/bsky/actor/searchActorsTypeahead.d.ts +0 -4
- package/dist/api/app/bsky/actor/searchActorsTypeahead.d.ts.map +0 -1
- package/dist/api/app/bsky/actor/searchActorsTypeahead.js +0 -17
- package/dist/api/app/bsky/actor/searchActorsTypeahead.js.map +0 -1
- package/dist/api/app/bsky/feed/getActorFeeds.d.ts +0 -4
- package/dist/api/app/bsky/feed/getActorFeeds.d.ts.map +0 -1
- package/dist/api/app/bsky/feed/getActorFeeds.js +0 -17
- package/dist/api/app/bsky/feed/getActorFeeds.js.map +0 -1
- package/dist/api/app/bsky/feed/getFeedGenerator.d.ts +0 -4
- package/dist/api/app/bsky/feed/getFeedGenerator.d.ts.map +0 -1
- package/dist/api/app/bsky/feed/getFeedGenerator.js +0 -17
- package/dist/api/app/bsky/feed/getFeedGenerator.js.map +0 -1
- package/dist/api/app/bsky/feed/getFeedGenerators.d.ts +0 -4
- package/dist/api/app/bsky/feed/getFeedGenerators.d.ts.map +0 -1
- package/dist/api/app/bsky/feed/getFeedGenerators.js +0 -17
- package/dist/api/app/bsky/feed/getFeedGenerators.js.map +0 -1
- package/dist/api/app/bsky/feed/getLikes.d.ts +0 -4
- package/dist/api/app/bsky/feed/getLikes.d.ts.map +0 -1
- package/dist/api/app/bsky/feed/getLikes.js +0 -17
- package/dist/api/app/bsky/feed/getLikes.js.map +0 -1
- package/dist/api/app/bsky/feed/getListFeed.d.ts +0 -4
- package/dist/api/app/bsky/feed/getListFeed.d.ts.map +0 -1
- package/dist/api/app/bsky/feed/getListFeed.js +0 -17
- package/dist/api/app/bsky/feed/getListFeed.js.map +0 -1
- package/dist/api/app/bsky/feed/getPosts.d.ts +0 -4
- package/dist/api/app/bsky/feed/getPosts.d.ts.map +0 -1
- package/dist/api/app/bsky/feed/getPosts.js +0 -17
- package/dist/api/app/bsky/feed/getPosts.js.map +0 -1
- package/dist/api/app/bsky/feed/getRepostedBy.d.ts +0 -4
- package/dist/api/app/bsky/feed/getRepostedBy.d.ts.map +0 -1
- package/dist/api/app/bsky/feed/getRepostedBy.js +0 -17
- package/dist/api/app/bsky/feed/getRepostedBy.js.map +0 -1
- package/dist/api/app/bsky/feed/getSuggestedFeeds.d.ts +0 -4
- package/dist/api/app/bsky/feed/getSuggestedFeeds.d.ts.map +0 -1
- package/dist/api/app/bsky/feed/getSuggestedFeeds.js +0 -17
- package/dist/api/app/bsky/feed/getSuggestedFeeds.js.map +0 -1
- package/dist/api/app/bsky/feed/searchPosts.d.ts +0 -4
- package/dist/api/app/bsky/feed/searchPosts.d.ts.map +0 -1
- package/dist/api/app/bsky/feed/searchPosts.js +0 -17
- package/dist/api/app/bsky/feed/searchPosts.js.map +0 -1
- package/dist/api/app/bsky/feed/sendInteractions.d.ts +0 -4
- package/dist/api/app/bsky/feed/sendInteractions.d.ts.map +0 -1
- package/dist/api/app/bsky/feed/sendInteractions.js +0 -14
- package/dist/api/app/bsky/feed/sendInteractions.js.map +0 -1
- package/dist/api/app/bsky/graph/getBlocks.d.ts +0 -4
- package/dist/api/app/bsky/graph/getBlocks.d.ts.map +0 -1
- package/dist/api/app/bsky/graph/getBlocks.js +0 -17
- package/dist/api/app/bsky/graph/getBlocks.js.map +0 -1
- package/dist/api/app/bsky/graph/getFollowers.d.ts +0 -4
- package/dist/api/app/bsky/graph/getFollowers.d.ts.map +0 -1
- package/dist/api/app/bsky/graph/getFollowers.js +0 -17
- package/dist/api/app/bsky/graph/getFollowers.js.map +0 -1
- package/dist/api/app/bsky/graph/getFollows.d.ts +0 -4
- package/dist/api/app/bsky/graph/getFollows.d.ts.map +0 -1
- package/dist/api/app/bsky/graph/getFollows.js +0 -17
- package/dist/api/app/bsky/graph/getFollows.js.map +0 -1
- package/dist/api/app/bsky/graph/getList.d.ts +0 -4
- package/dist/api/app/bsky/graph/getList.d.ts.map +0 -1
- package/dist/api/app/bsky/graph/getList.js +0 -17
- package/dist/api/app/bsky/graph/getList.js.map +0 -1
- package/dist/api/app/bsky/graph/getListBlocks.d.ts +0 -4
- package/dist/api/app/bsky/graph/getListBlocks.d.ts.map +0 -1
- package/dist/api/app/bsky/graph/getListBlocks.js +0 -17
- package/dist/api/app/bsky/graph/getListBlocks.js.map +0 -1
- package/dist/api/app/bsky/graph/getListMutes.d.ts +0 -4
- package/dist/api/app/bsky/graph/getListMutes.d.ts.map +0 -1
- package/dist/api/app/bsky/graph/getListMutes.js +0 -17
- package/dist/api/app/bsky/graph/getListMutes.js.map +0 -1
- package/dist/api/app/bsky/graph/getLists.d.ts +0 -4
- package/dist/api/app/bsky/graph/getLists.d.ts.map +0 -1
- package/dist/api/app/bsky/graph/getLists.js +0 -17
- package/dist/api/app/bsky/graph/getLists.js.map +0 -1
- package/dist/api/app/bsky/graph/getMutes.d.ts +0 -4
- package/dist/api/app/bsky/graph/getMutes.d.ts.map +0 -1
- package/dist/api/app/bsky/graph/getMutes.js +0 -17
- package/dist/api/app/bsky/graph/getMutes.js.map +0 -1
- package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.d.ts +0 -4
- package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +0 -1
- package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.js +0 -17
- package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.js.map +0 -1
- package/dist/api/app/bsky/graph/index.d.ts +0 -4
- package/dist/api/app/bsky/graph/index.d.ts.map +0 -1
- package/dist/api/app/bsky/graph/index.js +0 -35
- package/dist/api/app/bsky/graph/index.js.map +0 -1
- package/dist/api/app/bsky/graph/muteActor.d.ts +0 -4
- package/dist/api/app/bsky/graph/muteActor.d.ts.map +0 -1
- package/dist/api/app/bsky/graph/muteActor.js +0 -14
- package/dist/api/app/bsky/graph/muteActor.js.map +0 -1
- package/dist/api/app/bsky/graph/muteActorList.d.ts +0 -4
- package/dist/api/app/bsky/graph/muteActorList.d.ts.map +0 -1
- package/dist/api/app/bsky/graph/muteActorList.js +0 -14
- package/dist/api/app/bsky/graph/muteActorList.js.map +0 -1
- package/dist/api/app/bsky/graph/unmuteActor.d.ts +0 -4
- package/dist/api/app/bsky/graph/unmuteActor.d.ts.map +0 -1
- package/dist/api/app/bsky/graph/unmuteActor.js +0 -14
- package/dist/api/app/bsky/graph/unmuteActor.js.map +0 -1
- package/dist/api/app/bsky/graph/unmuteActorList.d.ts +0 -4
- package/dist/api/app/bsky/graph/unmuteActorList.d.ts.map +0 -1
- package/dist/api/app/bsky/graph/unmuteActorList.js +0 -14
- package/dist/api/app/bsky/graph/unmuteActorList.js.map +0 -1
- package/dist/api/app/bsky/labeler/getServices.d.ts +0 -4
- package/dist/api/app/bsky/labeler/getServices.d.ts.map +0 -1
- package/dist/api/app/bsky/labeler/getServices.js +0 -14
- package/dist/api/app/bsky/labeler/getServices.js.map +0 -1
- package/dist/api/app/bsky/labeler/index.d.ts +0 -4
- package/dist/api/app/bsky/labeler/index.d.ts.map +0 -1
- package/dist/api/app/bsky/labeler/index.js +0 -11
- package/dist/api/app/bsky/labeler/index.js.map +0 -1
- package/dist/api/app/bsky/notification/getUnreadCount.d.ts +0 -4
- package/dist/api/app/bsky/notification/getUnreadCount.d.ts.map +0 -1
- package/dist/api/app/bsky/notification/getUnreadCount.js +0 -17
- package/dist/api/app/bsky/notification/getUnreadCount.js.map +0 -1
- package/dist/api/app/bsky/notification/listNotifications.d.ts +0 -4
- package/dist/api/app/bsky/notification/listNotifications.d.ts.map +0 -1
- package/dist/api/app/bsky/notification/listNotifications.js +0 -17
- package/dist/api/app/bsky/notification/listNotifications.js.map +0 -1
- package/dist/api/app/bsky/notification/updateSeen.d.ts +0 -4
- package/dist/api/app/bsky/notification/updateSeen.d.ts.map +0 -1
- package/dist/api/app/bsky/notification/updateSeen.js +0 -14
- package/dist/api/app/bsky/notification/updateSeen.js.map +0 -1
- package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.d.ts +0 -4
- package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.d.ts.map +0 -1
- package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.js +0 -18
- package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.js.map +0 -1
- package/dist/api/app/bsky/unspecced/getTaggedSuggestions.d.ts +0 -4
- package/dist/api/app/bsky/unspecced/getTaggedSuggestions.d.ts.map +0 -1
- package/dist/api/app/bsky/unspecced/getTaggedSuggestions.js +0 -18
- package/dist/api/app/bsky/unspecced/getTaggedSuggestions.js.map +0 -1
- package/dist/api/app/bsky/unspecced/index.d.ts +0 -4
- package/dist/api/app/bsky/unspecced/index.d.ts.map +0 -1
- package/dist/api/app/bsky/unspecced/index.js +0 -14
- package/dist/api/app/bsky/unspecced/index.js.map +0 -1
- package/dist/api/com/atproto/moderation/createReport.d.ts +0 -4
- package/dist/api/com/atproto/moderation/createReport.d.ts.map +0 -1
- package/dist/api/com/atproto/moderation/createReport.js +0 -14
- package/dist/api/com/atproto/moderation/createReport.js.map +0 -1
- package/dist/api/com/atproto/moderation/index.d.ts +0 -4
- package/dist/api/com/atproto/moderation/index.d.ts.map +0 -1
- package/dist/api/com/atproto/moderation/index.js +0 -11
- package/dist/api/com/atproto/moderation/index.js.map +0 -1
- package/dist/api/tools/ozone/communication/createTemplate.d.ts +0 -4
- package/dist/api/tools/ozone/communication/createTemplate.d.ts.map +0 -1
- package/dist/api/tools/ozone/communication/createTemplate.js +0 -14
- package/dist/api/tools/ozone/communication/createTemplate.js.map +0 -1
- package/dist/api/tools/ozone/communication/deleteTemplate.d.ts +0 -4
- package/dist/api/tools/ozone/communication/deleteTemplate.d.ts.map +0 -1
- package/dist/api/tools/ozone/communication/deleteTemplate.js +0 -14
- package/dist/api/tools/ozone/communication/deleteTemplate.js.map +0 -1
- package/dist/api/tools/ozone/communication/index.d.ts +0 -4
- package/dist/api/tools/ozone/communication/index.d.ts.map +0 -1
- package/dist/api/tools/ozone/communication/index.js +0 -17
- package/dist/api/tools/ozone/communication/index.js.map +0 -1
- package/dist/api/tools/ozone/communication/listTemplates.d.ts +0 -4
- package/dist/api/tools/ozone/communication/listTemplates.d.ts.map +0 -1
- package/dist/api/tools/ozone/communication/listTemplates.js +0 -14
- package/dist/api/tools/ozone/communication/listTemplates.js.map +0 -1
- package/dist/api/tools/ozone/communication/updateTemplate.d.ts +0 -4
- package/dist/api/tools/ozone/communication/updateTemplate.d.ts.map +0 -1
- package/dist/api/tools/ozone/communication/updateTemplate.js +0 -14
- package/dist/api/tools/ozone/communication/updateTemplate.js.map +0 -1
- package/dist/api/tools/ozone/index.d.ts +0 -4
- package/dist/api/tools/ozone/index.d.ts.map +0 -1
- package/dist/api/tools/ozone/index.js +0 -13
- package/dist/api/tools/ozone/index.js.map +0 -1
- package/dist/api/tools/ozone/moderation/emitEvent.d.ts +0 -4
- package/dist/api/tools/ozone/moderation/emitEvent.d.ts.map +0 -1
- package/dist/api/tools/ozone/moderation/emitEvent.js +0 -14
- package/dist/api/tools/ozone/moderation/emitEvent.js.map +0 -1
- package/dist/api/tools/ozone/moderation/getEvent.d.ts +0 -4
- package/dist/api/tools/ozone/moderation/getEvent.d.ts.map +0 -1
- package/dist/api/tools/ozone/moderation/getEvent.js +0 -14
- package/dist/api/tools/ozone/moderation/getEvent.js.map +0 -1
- package/dist/api/tools/ozone/moderation/getRecord.d.ts +0 -4
- package/dist/api/tools/ozone/moderation/getRecord.d.ts.map +0 -1
- package/dist/api/tools/ozone/moderation/getRecord.js +0 -14
- package/dist/api/tools/ozone/moderation/getRecord.js.map +0 -1
- package/dist/api/tools/ozone/moderation/getRepo.d.ts +0 -4
- package/dist/api/tools/ozone/moderation/getRepo.d.ts.map +0 -1
- package/dist/api/tools/ozone/moderation/getRepo.js +0 -14
- package/dist/api/tools/ozone/moderation/getRepo.js.map +0 -1
- package/dist/api/tools/ozone/moderation/index.d.ts +0 -4
- package/dist/api/tools/ozone/moderation/index.d.ts.map +0 -1
- package/dist/api/tools/ozone/moderation/index.js +0 -23
- package/dist/api/tools/ozone/moderation/index.js.map +0 -1
- package/dist/api/tools/ozone/moderation/queryEvents.d.ts +0 -4
- package/dist/api/tools/ozone/moderation/queryEvents.d.ts.map +0 -1
- package/dist/api/tools/ozone/moderation/queryEvents.js +0 -14
- package/dist/api/tools/ozone/moderation/queryEvents.js.map +0 -1
- package/dist/api/tools/ozone/moderation/queryStatuses.d.ts +0 -4
- package/dist/api/tools/ozone/moderation/queryStatuses.d.ts.map +0 -1
- package/dist/api/tools/ozone/moderation/queryStatuses.js +0 -14
- package/dist/api/tools/ozone/moderation/queryStatuses.js.map +0 -1
- package/dist/api/tools/ozone/moderation/searchRepos.d.ts +0 -4
- package/dist/api/tools/ozone/moderation/searchRepos.d.ts.map +0 -1
- package/dist/api/tools/ozone/moderation/searchRepos.js +0 -14
- package/dist/api/tools/ozone/moderation/searchRepos.js.map +0 -1
- package/src/api/app/bsky/actor/getSuggestions.ts +0 -17
- package/src/api/app/bsky/actor/searchActors.ts +0 -15
- package/src/api/app/bsky/actor/searchActorsTypeahead.ts +0 -15
- package/src/api/app/bsky/feed/getActorFeeds.ts +0 -15
- package/src/api/app/bsky/feed/getFeedGenerator.ts +0 -15
- package/src/api/app/bsky/feed/getFeedGenerators.ts +0 -15
- package/src/api/app/bsky/feed/getLikes.ts +0 -15
- package/src/api/app/bsky/feed/getListFeed.ts +0 -15
- package/src/api/app/bsky/feed/getPosts.ts +0 -15
- package/src/api/app/bsky/feed/getRepostedBy.ts +0 -15
- package/src/api/app/bsky/feed/getSuggestedFeeds.ts +0 -15
- package/src/api/app/bsky/feed/searchPosts.ts +0 -15
- package/src/api/app/bsky/feed/sendInteractions.ts +0 -13
- package/src/api/app/bsky/graph/getBlocks.ts +0 -15
- package/src/api/app/bsky/graph/getFollowers.ts +0 -15
- package/src/api/app/bsky/graph/getFollows.ts +0 -15
- package/src/api/app/bsky/graph/getList.ts +0 -15
- package/src/api/app/bsky/graph/getListBlocks.ts +0 -15
- package/src/api/app/bsky/graph/getListMutes.ts +0 -15
- package/src/api/app/bsky/graph/getLists.ts +0 -15
- package/src/api/app/bsky/graph/getMutes.ts +0 -15
- package/src/api/app/bsky/graph/getSuggestedFollowsByActor.ts +0 -15
- package/src/api/app/bsky/graph/index.ts +0 -31
- package/src/api/app/bsky/graph/muteActor.ts +0 -13
- package/src/api/app/bsky/graph/muteActorList.ts +0 -13
- package/src/api/app/bsky/graph/unmuteActor.ts +0 -13
- package/src/api/app/bsky/graph/unmuteActorList.ts +0 -13
- package/src/api/app/bsky/labeler/getServices.ts +0 -13
- package/src/api/app/bsky/labeler/index.ts +0 -7
- package/src/api/app/bsky/notification/getUnreadCount.ts +0 -15
- package/src/api/app/bsky/notification/listNotifications.ts +0 -15
- package/src/api/app/bsky/notification/updateSeen.ts +0 -13
- package/src/api/app/bsky/unspecced/getPopularFeedGenerators.ts +0 -16
- package/src/api/app/bsky/unspecced/getTaggedSuggestions.ts +0 -16
- package/src/api/app/bsky/unspecced/index.ts +0 -10
- package/src/api/com/atproto/moderation/createReport.ts +0 -13
- package/src/api/com/atproto/moderation/index.ts +0 -7
- package/src/api/tools/ozone/communication/createTemplate.ts +0 -13
- package/src/api/tools/ozone/communication/deleteTemplate.ts +0 -13
- package/src/api/tools/ozone/communication/index.ts +0 -13
- package/src/api/tools/ozone/communication/listTemplates.ts +0 -13
- package/src/api/tools/ozone/communication/updateTemplate.ts +0 -13
- package/src/api/tools/ozone/index.ts +0 -9
- package/src/api/tools/ozone/moderation/emitEvent.ts +0 -13
- package/src/api/tools/ozone/moderation/getEvent.ts +0 -13
- package/src/api/tools/ozone/moderation/getRecord.ts +0 -13
- package/src/api/tools/ozone/moderation/getRepo.ts +0 -13
- package/src/api/tools/ozone/moderation/index.ts +0 -19
- package/src/api/tools/ozone/moderation/queryEvents.ts +0 -13
- package/src/api/tools/ozone/moderation/queryStatuses.ts +0 -13
- package/src/api/tools/ozone/moderation/searchRepos.ts +0 -13
@@ -1,13 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
const communication_1 = __importDefault(require("./communication"));
|
7
|
-
const moderation_1 = __importDefault(require("./moderation"));
|
8
|
-
function default_1(server, ctx) {
|
9
|
-
(0, communication_1.default)(server, ctx);
|
10
|
-
(0, moderation_1.default)(server, ctx);
|
11
|
-
}
|
12
|
-
exports.default = default_1;
|
13
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/tools/ozone/index.ts"],"names":[],"mappings":";;;;;AAEA,oEAA2C;AAC3C,8DAAqC;AAErC,mBAAyB,MAAc,EAAE,GAAe;IACtD,IAAA,uBAAa,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC1B,IAAA,oBAAU,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AACzB,CAAC;AAHD,4BAGC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"emitEvent.d.ts","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/emitEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAQvD"}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const pipethrough_1 = require("../../../../pipethrough");
|
4
|
-
function default_1(server, ctx) {
|
5
|
-
server.tools.ozone.moderation.emitEvent({
|
6
|
-
auth: ctx.authVerifier.access,
|
7
|
-
handler: async ({ req, input, auth }) => {
|
8
|
-
const requester = auth.credentials.did;
|
9
|
-
return (0, pipethrough_1.pipethroughProcedure)(ctx, req, input.body, requester);
|
10
|
-
},
|
11
|
-
});
|
12
|
-
}
|
13
|
-
exports.default = default_1;
|
14
|
-
//# sourceMappingURL=emitEvent.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"emitEvent.js","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/emitEvent.ts"],"names":[],"mappings":";;AAEA,yDAA8D;AAE9D,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC;QACtC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,MAAM;QAC7B,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;YACtC,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YACtC,OAAO,IAAA,kCAAoB,EAAC,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAA;QAC9D,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AARD,4BAQC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getEvent.d.ts","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/getEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAQvD"}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const pipethrough_1 = require("../../../../pipethrough");
|
4
|
-
function default_1(server, ctx) {
|
5
|
-
server.tools.ozone.moderation.getEvent({
|
6
|
-
auth: ctx.authVerifier.access,
|
7
|
-
handler: async ({ req, auth }) => {
|
8
|
-
const requester = auth.credentials.did;
|
9
|
-
return (0, pipethrough_1.pipethrough)(ctx, req, requester);
|
10
|
-
},
|
11
|
-
});
|
12
|
-
}
|
13
|
-
exports.default = default_1;
|
14
|
-
//# sourceMappingURL=getEvent.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getEvent.js","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/getEvent.ts"],"names":[],"mappings":";;AAEA,yDAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;QACrC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,MAAM;QAC7B,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;YAC/B,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YACtC,OAAO,IAAA,yBAAW,EAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,CAAA;QACzC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AARD,4BAQC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getRecord.d.ts","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/getRecord.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAQvD"}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const pipethrough_1 = require("../../../../pipethrough");
|
4
|
-
function default_1(server, ctx) {
|
5
|
-
server.tools.ozone.moderation.getRecord({
|
6
|
-
auth: ctx.authVerifier.access,
|
7
|
-
handler: async ({ req, auth }) => {
|
8
|
-
const requester = auth.credentials.did;
|
9
|
-
return (0, pipethrough_1.pipethrough)(ctx, req, requester);
|
10
|
-
},
|
11
|
-
});
|
12
|
-
}
|
13
|
-
exports.default = default_1;
|
14
|
-
//# sourceMappingURL=getRecord.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getRecord.js","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/getRecord.ts"],"names":[],"mappings":";;AAEA,yDAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC;QACtC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,MAAM;QAC7B,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;YAC/B,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YACtC,OAAO,IAAA,yBAAW,EAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,CAAA;QACzC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AARD,4BAQC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getRepo.d.ts","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/getRepo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAQvD"}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const pipethrough_1 = require("../../../../pipethrough");
|
4
|
-
function default_1(server, ctx) {
|
5
|
-
server.tools.ozone.moderation.getRepo({
|
6
|
-
auth: ctx.authVerifier.access,
|
7
|
-
handler: async ({ req, auth }) => {
|
8
|
-
const requester = auth.credentials.did;
|
9
|
-
return (0, pipethrough_1.pipethrough)(ctx, req, requester);
|
10
|
-
},
|
11
|
-
});
|
12
|
-
}
|
13
|
-
exports.default = default_1;
|
14
|
-
//# sourceMappingURL=getRepo.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getRepo.js","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/getRepo.ts"],"names":[],"mappings":";;AAEA,yDAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC;QACpC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,MAAM;QAC7B,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;YAC/B,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YACtC,OAAO,IAAA,yBAAW,EAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,CAAA;QACzC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AARD,4BAQC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAS5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAQvD"}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
const emitEvent_1 = __importDefault(require("./emitEvent"));
|
7
|
-
const getEvent_1 = __importDefault(require("./getEvent"));
|
8
|
-
const getRecord_1 = __importDefault(require("./getRecord"));
|
9
|
-
const getRepo_1 = __importDefault(require("./getRepo"));
|
10
|
-
const queryEvents_1 = __importDefault(require("./queryEvents"));
|
11
|
-
const queryStatuses_1 = __importDefault(require("./queryStatuses"));
|
12
|
-
const searchRepos_1 = __importDefault(require("./searchRepos"));
|
13
|
-
function default_1(server, ctx) {
|
14
|
-
(0, emitEvent_1.default)(server, ctx);
|
15
|
-
(0, getEvent_1.default)(server, ctx);
|
16
|
-
(0, getRecord_1.default)(server, ctx);
|
17
|
-
(0, getRepo_1.default)(server, ctx);
|
18
|
-
(0, queryEvents_1.default)(server, ctx);
|
19
|
-
(0, queryStatuses_1.default)(server, ctx);
|
20
|
-
(0, searchRepos_1.default)(server, ctx);
|
21
|
-
}
|
22
|
-
exports.default = default_1;
|
23
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/index.ts"],"names":[],"mappings":";;;;;AAEA,4DAAmC;AACnC,0DAAiC;AACjC,4DAAmC;AACnC,wDAA+B;AAC/B,gEAAuC;AACvC,oEAA2C;AAC3C,gEAAuC;AAEvC,mBAAyB,MAAc,EAAE,GAAe;IACtD,IAAA,mBAAS,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACtB,IAAA,kBAAQ,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACrB,IAAA,mBAAS,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACtB,IAAA,iBAAO,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACpB,IAAA,qBAAW,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACxB,IAAA,uBAAa,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC1B,IAAA,qBAAW,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAC1B,CAAC;AARD,4BAQC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"queryEvents.d.ts","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/queryEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAQvD"}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const pipethrough_1 = require("../../../../pipethrough");
|
4
|
-
function default_1(server, ctx) {
|
5
|
-
server.tools.ozone.moderation.queryEvents({
|
6
|
-
auth: ctx.authVerifier.access,
|
7
|
-
handler: async ({ req, auth }) => {
|
8
|
-
const requester = auth.credentials.did;
|
9
|
-
return (0, pipethrough_1.pipethrough)(ctx, req, requester);
|
10
|
-
},
|
11
|
-
});
|
12
|
-
}
|
13
|
-
exports.default = default_1;
|
14
|
-
//# sourceMappingURL=queryEvents.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"queryEvents.js","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/queryEvents.ts"],"names":[],"mappings":";;AAEA,yDAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC;QACxC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,MAAM;QAC7B,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;YAC/B,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YACtC,OAAO,IAAA,yBAAW,EAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,CAAA;QACzC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AARD,4BAQC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"queryStatuses.d.ts","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/queryStatuses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAQvD"}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const pipethrough_1 = require("../../../../pipethrough");
|
4
|
-
function default_1(server, ctx) {
|
5
|
-
server.tools.ozone.moderation.queryStatuses({
|
6
|
-
auth: ctx.authVerifier.access,
|
7
|
-
handler: async ({ req, auth }) => {
|
8
|
-
const requester = auth.credentials.did;
|
9
|
-
return (0, pipethrough_1.pipethrough)(ctx, req, requester);
|
10
|
-
},
|
11
|
-
});
|
12
|
-
}
|
13
|
-
exports.default = default_1;
|
14
|
-
//# sourceMappingURL=queryStatuses.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"queryStatuses.js","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/queryStatuses.ts"],"names":[],"mappings":";;AAEA,yDAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC;QAC1C,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,MAAM;QAC7B,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;YAC/B,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YACtC,OAAO,IAAA,yBAAW,EAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,CAAA;QACzC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AARD,4BAQC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"searchRepos.d.ts","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/searchRepos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAQvD"}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const pipethrough_1 = require("../../../../pipethrough");
|
4
|
-
function default_1(server, ctx) {
|
5
|
-
server.tools.ozone.moderation.searchRepos({
|
6
|
-
auth: ctx.authVerifier.access,
|
7
|
-
handler: async ({ req, auth }) => {
|
8
|
-
const requester = auth.credentials.did;
|
9
|
-
return (0, pipethrough_1.pipethrough)(ctx, req, requester);
|
10
|
-
},
|
11
|
-
});
|
12
|
-
}
|
13
|
-
exports.default = default_1;
|
14
|
-
//# sourceMappingURL=searchRepos.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"searchRepos.js","sourceRoot":"","sources":["../../../../../src/api/tools/ozone/moderation/searchRepos.ts"],"names":[],"mappings":";;AAEA,yDAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC;QACxC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,MAAM;QAC7B,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;YAC/B,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YACtC,OAAO,IAAA,yBAAW,EAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,CAAA;QACzC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AARD,4BAQC"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.actor.getSuggestions({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester, undefined, {
|
13
|
-
reqHeadersToForward: ['x-bsky-topics'],
|
14
|
-
})
|
15
|
-
},
|
16
|
-
})
|
17
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.actor.searchActors({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.actor.searchActorsTypeahead({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.feed.getActorFeeds({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.feed.getFeedGenerator({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.feed.getFeedGenerators({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.feed.getLikes({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.feed.getListFeed({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.feed.getPosts({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.feed.getRepostedBy({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.feed.getSuggestedFeeds({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.feed.searchPosts({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethroughProcedure } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
server.app.bsky.feed.sendInteractions({
|
7
|
-
auth: ctx.authVerifier.access,
|
8
|
-
handler: async ({ input, auth, req }) => {
|
9
|
-
const requester = auth.credentials.did
|
10
|
-
return pipethroughProcedure(ctx, req, input.body, requester)
|
11
|
-
},
|
12
|
-
})
|
13
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.graph.getBlocks({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.graph.getFollowers({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.graph.getFollows({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.graph.getList({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.graph.getListBlocks({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.graph.getListMutes({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.graph.getLists({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Server } from '../../../../lexicon'
|
2
|
-
import AppContext from '../../../../context'
|
3
|
-
import { pipethrough } from '../../../../pipethrough'
|
4
|
-
|
5
|
-
export default function (server: Server, ctx: AppContext) {
|
6
|
-
const { bskyAppView } = ctx.cfg
|
7
|
-
if (!bskyAppView) return
|
8
|
-
server.app.bsky.graph.getMutes({
|
9
|
-
auth: ctx.authVerifier.access,
|
10
|
-
handler: async ({ req, auth }) => {
|
11
|
-
const requester = auth.credentials.did
|
12
|
-
return pipethrough(ctx, req, requester)
|
13
|
-
},
|
14
|
-
})
|
15
|
-
}
|