diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-08-19 18:33:41 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-08-19 18:33:41 +0900 |
| commit | b9cb6d1c10729869cbb57ce50c8174ad7474db75 (patch) | |
| tree | 0d522e7e6e589aaa6b6ddfcf4e12947c6bed0501 /src/services/create-notification.ts | |
| parent | Update glossary.md (diff) | |
| download | misskey-b9cb6d1c10729869cbb57ce50c8174ad7474db75.tar.gz misskey-b9cb6d1c10729869cbb57ce50c8174ad7474db75.tar.bz2 misskey-b9cb6d1c10729869cbb57ce50c8174ad7474db75.zip | |
refactor: refactoring imports
将来ESMに移行しやすいように
Related: #7658
なんかmochaが起動しなくなってるけど理由不明
すぐ直したい
Diffstat (limited to 'src/services/create-notification.ts')
| -rw-r--r-- | src/services/create-notification.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/services/create-notification.ts b/src/services/create-notification.ts index 7d2726971f..d0ee0e0481 100644 --- a/src/services/create-notification.ts +++ b/src/services/create-notification.ts @@ -1,10 +1,10 @@ -import { publishMainStream } from './stream'; -import pushSw from './push-notification'; -import { Notifications, Mutings, UserProfiles, Users } from '../models'; -import { genId } from '@/misc/gen-id'; -import { User } from '../models/entities/user'; -import { Notification } from '../models/entities/notification'; -import { sendEmailNotification } from './send-email-notification'; +import { publishMainStream } from '@/services/stream.js'; +import pushSw from './push-notification.js'; +import { Notifications, Mutings, UserProfiles, Users } from '@/models/index.js'; +import { genId } from '@/misc/gen-id.js'; +import { User } from '@/models/entities/user.js'; +import { Notification } from '@/models/entities/notification.js'; +import { sendEmailNotification } from './send-email-notification.js'; export async function createNotification( notifieeId: User['id'], |