refactor: refactoring imports
将来ESMに移行しやすいように Related: #7658 なんかmochaが起動しなくなってるけど理由不明 すぐ直したい
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { User } from '../models/entities/user';
|
||||
import { Hashtags, Users } from '../models';
|
||||
import { hashtagChart } from './chart';
|
||||
import { genId } from '@/misc/gen-id';
|
||||
import { Hashtag } from '../models/entities/hashtag';
|
||||
import { normalizeForSearch } from '@/misc/normalize-for-search';
|
||||
import { User } from '@/models/entities/user.js';
|
||||
import { Hashtags, Users } from '@/models/index.js';
|
||||
import { hashtagChart } from '@/services/chart/index.js';
|
||||
import { genId } from '@/misc/gen-id.js';
|
||||
import { Hashtag } from '@/models/entities/hashtag.js';
|
||||
import { normalizeForSearch } from '@/misc/normalize-for-search.js';
|
||||
|
||||
export async function updateHashtags(user: { id: User['id']; host: User['host']; }, tags: string[]) {
|
||||
for (const tag of tags) {
|
||||
|
||||
Reference in New Issue
Block a user