forked from bluesky-social/atproto
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Logical separation of app view (bluesky-social#572)
* Separate app.bsky methods out into app view * Fix websocket issue while splitting-out app view * Start organizing app-view tables out of pds * Move feed service, getTimeline, vote table into app-view * Move record processing/indexing logically out of pds and into app-view * Pull actor service functionality into app-view * Factor app-view user functionality out of pds, replace actor w/ account service * Tidy
- Loading branch information
Showing
78 changed files
with
705 additions
and
433 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,21 @@ | ||
import { Server } from '../../../lexicon' | ||
import AppContext from '../../../context' | ||
import getTimeline from './feed/getTimeline' | ||
import getAuthorFeed from './feed/getAuthorFeed' | ||
import getVotes from './feed/getVotes' | ||
import setVote from './feed/setVote' | ||
import getPostThread from './feed/getPostThread' | ||
import getProfile from './actor/getProfile' | ||
import getProfiles from './actor/getProfiles' | ||
import updateProfile from './actor/updateProfile' | ||
import getRepostedBy from './feed/getRepostedBy' | ||
import getFollowers from './graph/getFollowers' | ||
import getFollows from './graph/getFollows' | ||
import mute from './graph/mute' | ||
import unmute from './graph/unmute' | ||
import getMutes from './graph/getMutes' | ||
import getUsersSearch from './actor/search' | ||
import getUsersTypeahead from './actor/searchTypeahead' | ||
import getNotifications from './notification/list' | ||
import getNotificationCount from './notification/getCount' | ||
import getSuggestions from './actor/getSuggestions' | ||
import postNotificationsSeen from './notification/updateSeen' | ||
|
||
export default function (server: Server, ctx: AppContext) { | ||
getTimeline(server, ctx) | ||
getAuthorFeed(server, ctx) | ||
getVotes(server, ctx) | ||
setVote(server, ctx) | ||
getPostThread(server, ctx) | ||
getProfile(server, ctx) | ||
getProfiles(server, ctx) | ||
updateProfile(server, ctx) | ||
getRepostedBy(server, ctx) | ||
getFollowers(server, ctx) | ||
getFollows(server, ctx) | ||
mute(server, ctx) | ||
unmute(server, ctx) | ||
getMutes(server, ctx) | ||
getUsersSearch(server, ctx) | ||
getUsersTypeahead(server, ctx) | ||
getNotifications(server, ctx) | ||
getNotificationCount(server, ctx) | ||
getSuggestions(server, ctx) | ||
postNotificationsSeen(server, ctx) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.