refactor: Use ESM (#8358)
* wip * wip * fix * clean up * Update tsconfig.json * Update activitypub.ts * wip
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import define from '../../define';
|
||||
import deleteFollowing from '@/services/following/delete';
|
||||
import { Users, Followings, Notifications } from '@/models/index';
|
||||
import { User } from '@/models/entities/user';
|
||||
import { insertModerationLog } from '@/services/insert-moderation-log';
|
||||
import { doPostSuspend } from '@/services/suspend-user';
|
||||
import { publishUserEvent } from '@/services/stream';
|
||||
import define from '../../define.js';
|
||||
import deleteFollowing from '@/services/following/delete.js';
|
||||
import { Users, Followings, Notifications } from '@/models/index.js';
|
||||
import { User } from '@/models/entities/user.js';
|
||||
import { insertModerationLog } from '@/services/insert-moderation-log.js';
|
||||
import { doPostSuspend } from '@/services/suspend-user.js';
|
||||
import { publishUserEvent } from '@/services/stream.js';
|
||||
|
||||
export const meta = {
|
||||
tags: ['admin'],
|
||||
|
Reference in New Issue
Block a user