refactor: refactoring imports
将来ESMに移行しやすいように Related: #7658 なんかmochaが起動しなくなってるけど理由不明 すぐ直したい
This commit is contained in:
parent
31e3aaeda0
commit
b9cb6d1c10
663 changed files with 3194 additions and 3134 deletions
|
|
@ -1,13 +1,13 @@
|
|||
import { publishMainStream } from '../stream';
|
||||
import { Note } from '../../models/entities/note';
|
||||
import { User } from '../../models/entities/user';
|
||||
import { NoteUnreads, AntennaNotes, Users, Followings, ChannelFollowings } from '../../models';
|
||||
import { publishMainStream } from '@/services/stream.js';
|
||||
import { Note } from '@/models/entities/note.js';
|
||||
import { User } from '@/models/entities/user.js';
|
||||
import { NoteUnreads, AntennaNotes, Users, Followings, ChannelFollowings } from '@/models/index.js';
|
||||
import { Not, IsNull, In } from 'typeorm';
|
||||
import { Channel } from '../../models/entities/channel';
|
||||
import { checkHitAntenna } from '@/misc/check-hit-antenna';
|
||||
import { getAntennas } from '@/misc/antenna-cache';
|
||||
import { PackedNote } from '../../models/repositories/note';
|
||||
import { readNotificationByQuery } from '@/server/api/common/read-notification';
|
||||
import { Channel } from '@/models/entities/channel.js';
|
||||
import { checkHitAntenna } from '@/misc/check-hit-antenna.js';
|
||||
import { getAntennas } from '@/misc/antenna-cache.js';
|
||||
import { PackedNote } from '@/models/repositories/note.js';
|
||||
import { readNotificationByQuery } from '@/server/api/common/read-notification.js';
|
||||
|
||||
/**
|
||||
* Mark notes as read
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue