2022-09-17 18:27:08 +00:00
|
|
|
export const DI = {
|
|
|
|
config: Symbol('config'),
|
|
|
|
db: Symbol('db'),
|
|
|
|
redis: Symbol('redis'),
|
2023-04-09 08:09:27 +00:00
|
|
|
redisForPub: Symbol('redisForPub'),
|
|
|
|
redisForSub: Symbol('redisForSub'),
|
2022-09-17 18:27:08 +00:00
|
|
|
|
|
|
|
//#region Repositories
|
|
|
|
usersRepository: Symbol('usersRepository'),
|
|
|
|
notesRepository: Symbol('notesRepository'),
|
|
|
|
announcementsRepository: Symbol('announcementsRepository'),
|
|
|
|
announcementReadsRepository: Symbol('announcementReadsRepository'),
|
|
|
|
appsRepository: Symbol('appsRepository'),
|
|
|
|
noteFavoritesRepository: Symbol('noteFavoritesRepository'),
|
|
|
|
noteThreadMutingsRepository: Symbol('noteThreadMutingsRepository'),
|
|
|
|
noteReactionsRepository: Symbol('noteReactionsRepository'),
|
|
|
|
noteUnreadsRepository: Symbol('noteUnreadsRepository'),
|
|
|
|
pollsRepository: Symbol('pollsRepository'),
|
|
|
|
pollVotesRepository: Symbol('pollVotesRepository'),
|
|
|
|
userProfilesRepository: Symbol('userProfilesRepository'),
|
|
|
|
userKeypairsRepository: Symbol('userKeypairsRepository'),
|
|
|
|
userPendingsRepository: Symbol('userPendingsRepository'),
|
|
|
|
attestationChallengesRepository: Symbol('attestationChallengesRepository'),
|
|
|
|
userSecurityKeysRepository: Symbol('userSecurityKeysRepository'),
|
|
|
|
userPublickeysRepository: Symbol('userPublickeysRepository'),
|
|
|
|
userListsRepository: Symbol('userListsRepository'),
|
|
|
|
userListJoiningsRepository: Symbol('userListJoiningsRepository'),
|
|
|
|
userNotePiningsRepository: Symbol('userNotePiningsRepository'),
|
|
|
|
userIpsRepository: Symbol('userIpsRepository'),
|
|
|
|
usedUsernamesRepository: Symbol('usedUsernamesRepository'),
|
|
|
|
followingsRepository: Symbol('followingsRepository'),
|
|
|
|
followRequestsRepository: Symbol('followRequestsRepository'),
|
|
|
|
instancesRepository: Symbol('instancesRepository'),
|
|
|
|
emojisRepository: Symbol('emojisRepository'),
|
|
|
|
driveFilesRepository: Symbol('driveFilesRepository'),
|
|
|
|
driveFoldersRepository: Symbol('driveFoldersRepository'),
|
|
|
|
metasRepository: Symbol('metasRepository'),
|
|
|
|
mutingsRepository: Symbol('mutingsRepository'),
|
2023-03-07 23:56:09 +00:00
|
|
|
renoteMutingsRepository: Symbol('renoteMutingsRepository'),
|
2022-09-17 18:27:08 +00:00
|
|
|
blockingsRepository: Symbol('blockingsRepository'),
|
|
|
|
swSubscriptionsRepository: Symbol('swSubscriptionsRepository'),
|
|
|
|
hashtagsRepository: Symbol('hashtagsRepository'),
|
|
|
|
abuseUserReportsRepository: Symbol('abuseUserReportsRepository'),
|
|
|
|
registrationTicketsRepository: Symbol('registrationTicketsRepository'),
|
|
|
|
authSessionsRepository: Symbol('authSessionsRepository'),
|
|
|
|
accessTokensRepository: Symbol('accessTokensRepository'),
|
|
|
|
signinsRepository: Symbol('signinsRepository'),
|
|
|
|
pagesRepository: Symbol('pagesRepository'),
|
|
|
|
pageLikesRepository: Symbol('pageLikesRepository'),
|
|
|
|
galleryPostsRepository: Symbol('galleryPostsRepository'),
|
|
|
|
galleryLikesRepository: Symbol('galleryLikesRepository'),
|
|
|
|
moderationLogsRepository: Symbol('moderationLogsRepository'),
|
|
|
|
clipsRepository: Symbol('clipsRepository'),
|
|
|
|
clipNotesRepository: Symbol('clipNotesRepository'),
|
2023-03-16 08:24:49 +00:00
|
|
|
clipFavoritesRepository: Symbol('clipFavoritesRepository'),
|
2022-09-17 18:27:08 +00:00
|
|
|
antennasRepository: Symbol('antennasRepository'),
|
|
|
|
promoNotesRepository: Symbol('promoNotesRepository'),
|
|
|
|
promoReadsRepository: Symbol('promoReadsRepository'),
|
|
|
|
relaysRepository: Symbol('relaysRepository'),
|
|
|
|
mutedNotesRepository: Symbol('mutedNotesRepository'),
|
|
|
|
channelsRepository: Symbol('channelsRepository'),
|
|
|
|
channelFollowingsRepository: Symbol('channelFollowingsRepository'),
|
2023-03-31 02:30:27 +00:00
|
|
|
channelFavoritesRepository: Symbol('channelFavoritesRepository'),
|
2022-09-17 18:27:08 +00:00
|
|
|
registryItemsRepository: Symbol('registryItemsRepository'),
|
|
|
|
webhooksRepository: Symbol('webhooksRepository'),
|
|
|
|
adsRepository: Symbol('adsRepository'),
|
|
|
|
passwordResetRequestsRepository: Symbol('passwordResetRequestsRepository'),
|
2022-12-25 00:09:46 +00:00
|
|
|
retentionAggregationsRepository: Symbol('retentionAggregationsRepository'),
|
2023-01-12 12:02:26 +00:00
|
|
|
rolesRepository: Symbol('rolesRepository'),
|
|
|
|
roleAssignmentsRepository: Symbol('roleAssignmentsRepository'),
|
2023-01-05 04:59:48 +00:00
|
|
|
flashsRepository: Symbol('flashsRepository'),
|
|
|
|
flashLikesRepository: Symbol('flashLikesRepository'),
|
2023-04-13 04:31:54 +00:00
|
|
|
userMemosRepository: Symbol('userMemosRepository'),
|
2022-09-17 18:27:08 +00:00
|
|
|
//#endregion
|
|
|
|
};
|