2023-08-15 02:52:38 +09:00
|
|
|
/*
|
2024-02-12 11:37:45 +09:00
|
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
2023-08-15 02:52:38 +09:00
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2022-09-18 03:27:08 +09:00
|
|
|
export const DI = {
|
|
|
|
config: Symbol('config'),
|
|
|
|
db: Symbol('db'),
|
2023-05-05 08:52:14 +09:00
|
|
|
meilisearch: Symbol('meilisearch'),
|
2024-07-14 07:18:50 +09:00
|
|
|
elasticsearch: Symbol('elasticsearch'),
|
2022-09-18 03:27:08 +09:00
|
|
|
redis: Symbol('redis'),
|
2023-04-09 17:09:27 +09:00
|
|
|
redisForPub: Symbol('redisForPub'),
|
|
|
|
redisForSub: Symbol('redisForSub'),
|
2023-10-03 20:26:11 +09:00
|
|
|
redisForTimelines: Symbol('redisForTimelines'),
|
2022-09-18 03:27:08 +09:00
|
|
|
|
|
|
|
//#region Repositories
|
|
|
|
usersRepository: Symbol('usersRepository'),
|
|
|
|
notesRepository: Symbol('notesRepository'),
|
2023-07-28 01:17:17 +09:00
|
|
|
abuseReportResolversRepository: Symbol('abuseReportResolversRepository'),
|
2022-09-18 03:27:08 +09:00
|
|
|
announcementsRepository: Symbol('announcementsRepository'),
|
|
|
|
announcementReadsRepository: Symbol('announcementReadsRepository'),
|
|
|
|
appsRepository: Symbol('appsRepository'),
|
2023-10-21 18:38:07 +09:00
|
|
|
avatarDecorationsRepository: Symbol('avatarDecorationsRepository'),
|
2022-09-18 03:27:08 +09:00
|
|
|
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'),
|
|
|
|
userSecurityKeysRepository: Symbol('userSecurityKeysRepository'),
|
|
|
|
userPublickeysRepository: Symbol('userPublickeysRepository'),
|
|
|
|
userListsRepository: Symbol('userListsRepository'),
|
2023-05-19 10:06:12 +09:00
|
|
|
userListFavoritesRepository: Symbol('userListFavoritesRepository'),
|
2023-10-03 20:26:11 +09:00
|
|
|
userListMembershipsRepository: Symbol('userListMembershipsRepository'),
|
2022-09-18 03:27:08 +09:00
|
|
|
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-08 08:56:09 +09:00
|
|
|
renoteMutingsRepository: Symbol('renoteMutingsRepository'),
|
2022-09-18 03:27:08 +09:00
|
|
|
blockingsRepository: Symbol('blockingsRepository'),
|
|
|
|
swSubscriptionsRepository: Symbol('swSubscriptionsRepository'),
|
|
|
|
hashtagsRepository: Symbol('hashtagsRepository'),
|
2024-02-12 11:35:19 +09:00
|
|
|
indieAuthClientsRepository: Symbol('indieAuthClientsRepository'),
|
2022-09-18 03:27:08 +09:00
|
|
|
abuseUserReportsRepository: Symbol('abuseUserReportsRepository'),
|
|
|
|
registrationTicketsRepository: Symbol('registrationTicketsRepository'),
|
|
|
|
authSessionsRepository: Symbol('authSessionsRepository'),
|
|
|
|
accessTokensRepository: Symbol('accessTokensRepository'),
|
|
|
|
signinsRepository: Symbol('signinsRepository'),
|
2024-03-15 01:30:56 +09:00
|
|
|
singleSignOnServiceProviderRepository: Symbol('singleSignOnServiceProviderRepository'),
|
2022-09-18 03:27:08 +09:00
|
|
|
pagesRepository: Symbol('pagesRepository'),
|
|
|
|
pageLikesRepository: Symbol('pageLikesRepository'),
|
|
|
|
galleryPostsRepository: Symbol('galleryPostsRepository'),
|
|
|
|
galleryLikesRepository: Symbol('galleryLikesRepository'),
|
|
|
|
moderationLogsRepository: Symbol('moderationLogsRepository'),
|
|
|
|
clipsRepository: Symbol('clipsRepository'),
|
|
|
|
clipNotesRepository: Symbol('clipNotesRepository'),
|
2023-03-16 17:24:49 +09:00
|
|
|
clipFavoritesRepository: Symbol('clipFavoritesRepository'),
|
2022-09-18 03:27:08 +09:00
|
|
|
antennasRepository: Symbol('antennasRepository'),
|
|
|
|
promoNotesRepository: Symbol('promoNotesRepository'),
|
|
|
|
promoReadsRepository: Symbol('promoReadsRepository'),
|
|
|
|
relaysRepository: Symbol('relaysRepository'),
|
|
|
|
channelsRepository: Symbol('channelsRepository'),
|
|
|
|
channelFollowingsRepository: Symbol('channelFollowingsRepository'),
|
2023-03-31 11:30:27 +09:00
|
|
|
channelFavoritesRepository: Symbol('channelFavoritesRepository'),
|
2022-09-18 03:27:08 +09:00
|
|
|
registryItemsRepository: Symbol('registryItemsRepository'),
|
|
|
|
webhooksRepository: Symbol('webhooksRepository'),
|
|
|
|
adsRepository: Symbol('adsRepository'),
|
|
|
|
passwordResetRequestsRepository: Symbol('passwordResetRequestsRepository'),
|
2022-12-25 09:09:46 +09:00
|
|
|
retentionAggregationsRepository: Symbol('retentionAggregationsRepository'),
|
2023-01-12 21:02:26 +09:00
|
|
|
rolesRepository: Symbol('rolesRepository'),
|
|
|
|
roleAssignmentsRepository: Symbol('roleAssignmentsRepository'),
|
2023-01-05 13:59:48 +09:00
|
|
|
flashsRepository: Symbol('flashsRepository'),
|
|
|
|
flashLikesRepository: Symbol('flashLikesRepository'),
|
2023-04-13 13:31:54 +09:00
|
|
|
userMemosRepository: Symbol('userMemosRepository'),
|
2024-01-11 18:13:39 +09:00
|
|
|
bubbleGameRecordsRepository: Symbol('bubbleGameRecordsRepository'),
|
2024-01-19 20:51:49 +09:00
|
|
|
reversiGamesRepository: Symbol('reversiGamesRepository'),
|
2022-09-18 03:27:08 +09:00
|
|
|
//#endregion
|
|
|
|
};
|