diff --git a/packages/sw/src/scripts/create-notification.ts b/packages/sw/src/scripts/create-notification.ts index c95d847cb1..39a47d2413 100644 --- a/packages/sw/src/scripts/create-notification.ts +++ b/packages/sw/src/scripts/create-notification.ts @@ -5,7 +5,7 @@ declare var self: ServiceWorkerGlobalScope; import { swLang } from '@/scripts/lang'; import { cli } from '@/scripts/operations'; -import { pushNotificationDataMap } from '@/scripts/types'; +import { pushNotificationDataMap } from '@/types'; import { getNoteSummary } from '@/scripts/get-note-summary'; import getUserName from '@/scripts/get-user-name'; import { I18n } from '@/scripts/i18n'; diff --git a/packages/sw/src/scripts/notification-read.ts b/packages/sw/src/scripts/notification-read.ts index f5f42875ad..8433f902b4 100644 --- a/packages/sw/src/scripts/notification-read.ts +++ b/packages/sw/src/scripts/notification-read.ts @@ -1,7 +1,7 @@ declare var self: ServiceWorkerGlobalScope; import { get } from 'idb-keyval'; -import { pushNotificationDataMap } from '@/scripts/types'; +import { pushNotificationDataMap } from '@/types'; import { api } from '@/scripts/operations'; type Accounts = { diff --git a/packages/sw/src/scripts/operations.ts b/packages/sw/src/scripts/operations.ts index f297a05a8a..02cf0d96cf 100644 --- a/packages/sw/src/scripts/operations.ts +++ b/packages/sw/src/scripts/operations.ts @@ -5,7 +5,7 @@ declare var self: ServiceWorkerGlobalScope; import * as Misskey from 'misskey-js'; -import { SwMessage, swMessageOrderType } from '@/scripts/types'; +import { SwMessage, swMessageOrderType } from '@/types'; import { acct as getAcct } from '@/filters/user'; import { getAccountFromId } from '@/scripts/get-account-from-id'; import { getUrlWithLoginId } from '@/scripts/login-id'; diff --git a/packages/sw/src/sw.ts b/packages/sw/src/sw.ts index 0a489e6263..60d916d04f 100644 --- a/packages/sw/src/sw.ts +++ b/packages/sw/src/sw.ts @@ -6,7 +6,7 @@ declare var self: ServiceWorkerGlobalScope; import { createEmptyNotification, createNotification } from '@/scripts/create-notification'; import { swLang } from '@/scripts/lang'; import { swNotificationRead } from '@/scripts/notification-read'; -import { pushNotificationDataMap } from '@/scripts/types'; +import { pushNotificationDataMap } from '@/types'; import * as swos from '@/scripts/operations'; import { acct as getAcct } from '@/filters/user'; diff --git a/packages/sw/src/scripts/types.ts b/packages/sw/src/types.ts similarity index 100% rename from packages/sw/src/scripts/types.ts rename to packages/sw/src/types.ts