refactor: remove all unused imports (#9951)
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
This commit is contained in:
		 Kagami Sascha Rosylight
					Kagami Sascha Rosylight
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							4db787c4ee
						
					
				
				
					commit
					63df2c851e
				
			| @@ -1,4 +1,4 @@ | ||||
| import { Inject, Injectable } from '@nestjs/common'; | ||||
| import { Injectable } from '@nestjs/common'; | ||||
| import { bindThis } from '@/decorators.js'; | ||||
| import Channel from '../channel.js'; | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| import { Inject, Injectable } from '@nestjs/common'; | ||||
| import type { NotesRepository } from '@/models/index.js'; | ||||
| import { Injectable } from '@nestjs/common'; | ||||
| import { isUserRelated } from '@/misc/is-user-related.js'; | ||||
| import { NoteEntityService } from '@/core/entities/NoteEntityService.js'; | ||||
| import { bindThis } from '@/decorators.js'; | ||||
|   | ||||
| @@ -1,8 +1,7 @@ | ||||
| import { Inject, Injectable } from '@nestjs/common'; | ||||
| import { Injectable } from '@nestjs/common'; | ||||
| import { isUserRelated } from '@/misc/is-user-related.js'; | ||||
| import type { Packed } from '@/misc/schema.js'; | ||||
| import { NoteEntityService } from '@/core/entities/NoteEntityService.js'; | ||||
| import { UserEntityService } from '@/core/entities/UserEntityService.js'; | ||||
| import { bindThis } from '@/decorators.js'; | ||||
| import Channel from '../channel.js'; | ||||
|  | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| import { Inject, Injectable } from '@nestjs/common'; | ||||
| import { Injectable } from '@nestjs/common'; | ||||
| import { bindThis } from '@/decorators.js'; | ||||
| import Channel from '../channel.js'; | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| import { Inject, Injectable } from '@nestjs/common'; | ||||
| import type { NotesRepository } from '@/models/index.js'; | ||||
| import { Injectable } from '@nestjs/common'; | ||||
| import { checkWordMute } from '@/misc/check-word-mute.js'; | ||||
| import { isInstanceMuted } from '@/misc/is-instance-muted.js'; | ||||
| import { isUserRelated } from '@/misc/is-user-related.js'; | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| import { Inject, Injectable } from '@nestjs/common'; | ||||
| import type { NotesRepository } from '@/models/index.js'; | ||||
| import { Injectable } from '@nestjs/common'; | ||||
| import { normalizeForSearch } from '@/misc/normalize-for-search.js'; | ||||
| import { isUserRelated } from '@/misc/is-user-related.js'; | ||||
| import type { Packed } from '@/misc/schema.js'; | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| import { Inject, Injectable } from '@nestjs/common'; | ||||
| import type { NotesRepository } from '@/models/index.js'; | ||||
| import { Injectable } from '@nestjs/common'; | ||||
| import { checkWordMute } from '@/misc/check-word-mute.js'; | ||||
| import { isUserRelated } from '@/misc/is-user-related.js'; | ||||
| import { isInstanceMuted } from '@/misc/is-instance-muted.js'; | ||||
|   | ||||
| @@ -1,10 +1,8 @@ | ||||
| import { Inject, Injectable } from '@nestjs/common'; | ||||
| import type { NotesRepository } from '@/models/index.js'; | ||||
| import { Injectable } from '@nestjs/common'; | ||||
| import { checkWordMute } from '@/misc/check-word-mute.js'; | ||||
| import { isUserRelated } from '@/misc/is-user-related.js'; | ||||
| import { isInstanceMuted } from '@/misc/is-instance-muted.js'; | ||||
| import type { Packed } from '@/misc/schema.js'; | ||||
| import { DI } from '@/di-symbols.js'; | ||||
| import { MetaService } from '@/core/MetaService.js'; | ||||
| import { NoteEntityService } from '@/core/entities/NoteEntityService.js'; | ||||
| import { bindThis } from '@/decorators.js'; | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| import { Inject, Injectable } from '@nestjs/common'; | ||||
| import type { NotesRepository } from '@/models/index.js'; | ||||
| import { Injectable } from '@nestjs/common'; | ||||
| import { checkWordMute } from '@/misc/check-word-mute.js'; | ||||
| import { isUserRelated } from '@/misc/is-user-related.js'; | ||||
| import type { Packed } from '@/misc/schema.js'; | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| import { Inject, Injectable } from '@nestjs/common'; | ||||
| import type { NotesRepository } from '@/models/index.js'; | ||||
| import { Injectable } from '@nestjs/common'; | ||||
| import { isInstanceMuted, isUserFromMutedInstance } from '@/misc/is-instance-muted.js'; | ||||
| import { NoteEntityService } from '@/core/entities/NoteEntityService.js'; | ||||
| import { bindThis } from '@/decorators.js'; | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| import Xev from 'xev'; | ||||
| import { Inject, Injectable } from '@nestjs/common'; | ||||
| import { Injectable } from '@nestjs/common'; | ||||
| import { bindThis } from '@/decorators.js'; | ||||
| import Channel from '../channel.js'; | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| import Xev from 'xev'; | ||||
| import { Inject, Injectable } from '@nestjs/common'; | ||||
| import { Injectable } from '@nestjs/common'; | ||||
| import { bindThis } from '@/decorators.js'; | ||||
| import Channel from '../channel.js'; | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| import { Inject, Injectable } from '@nestjs/common'; | ||||
| import type { UserListJoiningsRepository, UserListsRepository, NotesRepository } from '@/models/index.js'; | ||||
| import type { UserListJoiningsRepository, UserListsRepository } from '@/models/index.js'; | ||||
| import type { User } from '@/models/entities/User.js'; | ||||
| import { isUserRelated } from '@/misc/is-user-related.js'; | ||||
| import type { Packed } from '@/misc/schema.js'; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user