2023-07-27 07:31:52 +02:00
|
|
|
/*
|
2024-02-13 16:59:27 +01:00
|
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
2023-07-27 07:31:52 +02:00
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2022-09-17 20:27:08 +02:00
|
|
|
export const DI = {
|
|
|
|
config: Symbol('config'),
|
|
|
|
db: Symbol('db'),
|
2024-09-22 05:53:13 +02:00
|
|
|
meta: Symbol('meta'),
|
2023-05-05 01:52:14 +02:00
|
|
|
meilisearch: Symbol('meilisearch'),
|
2022-09-17 20:27:08 +02:00
|
|
|
redis: Symbol('redis'),
|
2023-04-09 10:09:27 +02:00
|
|
|
redisForPub: Symbol('redisForPub'),
|
|
|
|
redisForSub: Symbol('redisForSub'),
|
2023-10-03 13:26:11 +02:00
|
|
|
redisForTimelines: Symbol('redisForTimelines'),
|
2024-09-20 14:03:53 +02:00
|
|
|
redisForReactions: Symbol('redisForReactions'),
|
2022-09-17 20:27:08 +02:00
|
|
|
|
|
|
|
//#region Repositories
|
|
|
|
usersRepository: Symbol('usersRepository'),
|
|
|
|
notesRepository: Symbol('notesRepository'),
|
|
|
|
announcementsRepository: Symbol('announcementsRepository'),
|
|
|
|
announcementReadsRepository: Symbol('announcementReadsRepository'),
|
|
|
|
appsRepository: Symbol('appsRepository'),
|
2023-10-21 11:38:07 +02:00
|
|
|
avatarDecorationsRepository: Symbol('avatarDecorationsRepository'),
|
2024-09-30 03:27:38 +02:00
|
|
|
latestNotesRepository: Symbol('latestNotesRepository'),
|
2022-09-17 20:27:08 +02: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 03:06:12 +02:00
|
|
|
userListFavoritesRepository: Symbol('userListFavoritesRepository'),
|
2023-10-03 13:26:11 +02:00
|
|
|
userListMembershipsRepository: Symbol('userListMembershipsRepository'),
|
2022-09-17 20:27:08 +02: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 00:56:09 +01:00
|
|
|
renoteMutingsRepository: Symbol('renoteMutingsRepository'),
|
2022-09-17 20:27:08 +02:00
|
|
|
blockingsRepository: Symbol('blockingsRepository'),
|
|
|
|
swSubscriptionsRepository: Symbol('swSubscriptionsRepository'),
|
|
|
|
hashtagsRepository: Symbol('hashtagsRepository'),
|
|
|
|
abuseUserReportsRepository: Symbol('abuseUserReportsRepository'),
|
2024-06-08 08:34:19 +02:00
|
|
|
abuseReportNotificationRecipientRepository: Symbol('abuseReportNotificationRecipientRepository'),
|
2022-09-17 20:27:08 +02:00
|
|
|
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 09:24:49 +01:00
|
|
|
clipFavoritesRepository: Symbol('clipFavoritesRepository'),
|
2022-09-17 20:27:08 +02:00
|
|
|
antennasRepository: Symbol('antennasRepository'),
|
|
|
|
promoNotesRepository: Symbol('promoNotesRepository'),
|
|
|
|
promoReadsRepository: Symbol('promoReadsRepository'),
|
|
|
|
relaysRepository: Symbol('relaysRepository'),
|
|
|
|
channelsRepository: Symbol('channelsRepository'),
|
|
|
|
channelFollowingsRepository: Symbol('channelFollowingsRepository'),
|
2023-03-31 04:30:27 +02:00
|
|
|
channelFavoritesRepository: Symbol('channelFavoritesRepository'),
|
2022-09-17 20:27:08 +02:00
|
|
|
registryItemsRepository: Symbol('registryItemsRepository'),
|
|
|
|
webhooksRepository: Symbol('webhooksRepository'),
|
2024-06-08 08:34:19 +02:00
|
|
|
systemWebhooksRepository: Symbol('systemWebhooksRepository'),
|
2022-09-17 20:27:08 +02:00
|
|
|
adsRepository: Symbol('adsRepository'),
|
|
|
|
passwordResetRequestsRepository: Symbol('passwordResetRequestsRepository'),
|
2022-12-25 01:09:46 +01:00
|
|
|
retentionAggregationsRepository: Symbol('retentionAggregationsRepository'),
|
2023-01-12 13:02:26 +01:00
|
|
|
rolesRepository: Symbol('rolesRepository'),
|
|
|
|
roleAssignmentsRepository: Symbol('roleAssignmentsRepository'),
|
2023-01-05 05:59:48 +01:00
|
|
|
flashsRepository: Symbol('flashsRepository'),
|
|
|
|
flashLikesRepository: Symbol('flashLikesRepository'),
|
2023-04-13 06:31:54 +02:00
|
|
|
userMemosRepository: Symbol('userMemosRepository'),
|
2023-09-22 21:05:42 +02:00
|
|
|
noteEditRepository: Symbol('noteEditRepository'),
|
2024-01-11 10:13:39 +01:00
|
|
|
bubbleGameRecordsRepository: Symbol('bubbleGameRecordsRepository'),
|
2024-01-19 12:51:49 +01:00
|
|
|
reversiGamesRepository: Symbol('reversiGamesRepository'),
|
2022-09-17 20:27:08 +02:00
|
|
|
//#endregion
|
|
|
|
};
|