This commit is contained in:
tamaina 2021-03-23 21:41:22 +09:00
parent 8ada2d78ed
commit c424af70af
3 changed files with 10 additions and 11 deletions

View file

@ -3,11 +3,11 @@
*/
declare var self: ServiceWorkerGlobalScope;
import { getNoteSummary } from '../../misc/get-note-summary';
import getUserName from '../../misc/get-user-name';
import { swLang } from '@/sw/lang';
import { I18n } from '../../misc/i18n';
import { pushNotificationData } from '../../types';
import { getNoteSummary } from '@/misc/get-note-summary';
import getUserName from '@/misc/get-user-name';
import { swLang } from '@client/sw/lang';
import { I18n } from '@/misc/i18n';
import { pushNotificationData } from '@/types';
export async function createNotification(data: pushNotificationData) {
const n = await composeNotification(data);