Skip to content

Commit

Permalink
add proxy handler & remove old routes
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Apr 18, 2024
1 parent 32c97d4 commit c8d569e
Show file tree
Hide file tree
Showing 60 changed files with 163 additions and 838 deletions.
15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/actor/getSuggestions.ts

This file was deleted.

6 changes: 0 additions & 6 deletions packages/pds/src/api/app/bsky/actor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,11 @@ import AppContext from '../../../../context'
import getPreferences from './getPreferences'
import getProfile from './getProfile'
import getProfiles from './getProfiles'
import getSuggestions from './getSuggestions'
import putPreferences from './putPreferences'
import searchActors from './searchActors'
import searchActorsTypeahead from './searchActorsTypeahead'

export default function (server: Server, ctx: AppContext) {
getPreferences(server, ctx)
getProfile(server, ctx)
getProfiles(server, ctx)
getSuggestions(server, ctx)
putPreferences(server, ctx)
searchActors(server, ctx)
searchActorsTypeahead(server, ctx)
}
15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/actor/searchActors.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/actor/searchActorsTypeahead.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/feed/getActorFeeds.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/feed/getFeedGenerator.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/feed/getFeedGenerators.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/feed/getLikes.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/feed/getListFeed.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/feed/getPosts.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/feed/getRepostedBy.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/feed/getSuggestedFeeds.ts

This file was deleted.

18 changes: 0 additions & 18 deletions packages/pds/src/api/app/bsky/feed/index.ts
Original file line number Diff line number Diff line change
@@ -1,33 +1,15 @@
import { Server } from '../../../../lexicon'
import AppContext from '../../../../context'
import getActorFeeds from './getActorFeeds'
import getActorLikes from './getActorLikes'
import getAuthorFeed from './getAuthorFeed'
import getFeed from './getFeed'
import getFeedGenerator from './getFeedGenerator'
import getFeedGenerators from './getFeedGenerators'
import getLikes from './getLikes'
import getListFeed from './getListFeed'
import getPosts from './getPosts'
import getPostThread from './getPostThread'
import getRepostedBy from './getRepostedBy'
import getSuggestedFeeds from './getSuggestedFeeds'
import getTimeline from './getTimeline'
import searchPosts from './searchPosts'

export default function (server: Server, ctx: AppContext) {
getActorFeeds(server, ctx)
getActorLikes(server, ctx)
getAuthorFeed(server, ctx)
getFeed(server, ctx)
getFeedGenerator(server, ctx)
getFeedGenerators(server, ctx)
getLikes(server, ctx)
getListFeed(server, ctx)
getPosts(server, ctx)
getPostThread(server, ctx)
getRepostedBy(server, ctx)
getSuggestedFeeds(server, ctx)
getTimeline(server, ctx)
searchPosts(server, ctx)
}
15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/feed/searchPosts.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/graph/getBlocks.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/graph/getFollowers.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/graph/getFollows.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/graph/getList.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/graph/getListBlocks.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/graph/getListMutes.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/graph/getLists.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/graph/getMutes.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pds/src/api/app/bsky/graph/getSuggestedFollowsByActor.ts

This file was deleted.

0 comments on commit c8d569e

Please sign in to comment.