refactor: Use ESM (#8358)
* wip * wip * fix * clean up * Update tsconfig.json * Update activitypub.ts * wip
This commit is contained in:
parent
0a882471f3
commit
d071d18dd7
737 changed files with 4135 additions and 3678 deletions
|
|
@ -1,10 +1,10 @@
|
|||
import { publishMainStream } from '@/services/stream';
|
||||
import pushSw from './push-notification';
|
||||
import { Notifications, Mutings, UserProfiles, Users } from '@/models/index';
|
||||
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'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue