forked from mirror/misskey
6277a5545c
* wip * wip * wip * wip * wip * wip * Update NoteCreateService.ts * wip * wip * wip * wip * Update NoteCreateService.ts * wip * Update NoteCreateService.ts * wip * Update user-notes.ts * wip * wip * wip * Update NoteCreateService.ts * wip * Update timeline.ts * Update timeline.ts * Update timeline.ts * Update timeline.ts * Update timeline.ts * wip * Update timelines.ts * Update timelines.ts * Update timelines.ts * wip * wip * wip * Update timelines.ts * Update misskey-js.api.md * Update timelines.ts * Update timelines.ts * wip * wip * wip * Update timelines.ts * wip * Update timelines.ts * wip * test * Update activitypub.ts * refactor: UserListJoining -> UserListMembership * Update NoteCreateService.ts * wip
82 lines
4.0 KiB
TypeScript
82 lines
4.0 KiB
TypeScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
export const DI = {
|
|
config: Symbol('config'),
|
|
db: Symbol('db'),
|
|
meilisearch: Symbol('meilisearch'),
|
|
redis: Symbol('redis'),
|
|
redisForPub: Symbol('redisForPub'),
|
|
redisForSub: Symbol('redisForSub'),
|
|
redisForTimelines: Symbol('redisForTimelines'),
|
|
|
|
//#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'),
|
|
userSecurityKeysRepository: Symbol('userSecurityKeysRepository'),
|
|
userPublickeysRepository: Symbol('userPublickeysRepository'),
|
|
userListsRepository: Symbol('userListsRepository'),
|
|
userListFavoritesRepository: Symbol('userListFavoritesRepository'),
|
|
userListMembershipsRepository: Symbol('userListMembershipsRepository'),
|
|
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'),
|
|
renoteMutingsRepository: Symbol('renoteMutingsRepository'),
|
|
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'),
|
|
clipFavoritesRepository: Symbol('clipFavoritesRepository'),
|
|
antennasRepository: Symbol('antennasRepository'),
|
|
promoNotesRepository: Symbol('promoNotesRepository'),
|
|
promoReadsRepository: Symbol('promoReadsRepository'),
|
|
relaysRepository: Symbol('relaysRepository'),
|
|
channelsRepository: Symbol('channelsRepository'),
|
|
channelFollowingsRepository: Symbol('channelFollowingsRepository'),
|
|
channelFavoritesRepository: Symbol('channelFavoritesRepository'),
|
|
registryItemsRepository: Symbol('registryItemsRepository'),
|
|
webhooksRepository: Symbol('webhooksRepository'),
|
|
adsRepository: Symbol('adsRepository'),
|
|
passwordResetRequestsRepository: Symbol('passwordResetRequestsRepository'),
|
|
retentionAggregationsRepository: Symbol('retentionAggregationsRepository'),
|
|
rolesRepository: Symbol('rolesRepository'),
|
|
roleAssignmentsRepository: Symbol('roleAssignmentsRepository'),
|
|
flashsRepository: Symbol('flashsRepository'),
|
|
flashLikesRepository: Symbol('flashLikesRepository'),
|
|
userMemosRepository: Symbol('userMemosRepository'),
|
|
//#endregion
|
|
};
|