From 369519720218a69785f8ebd905c24d4e037c1d5f Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 22 Nov 2021 19:21:58 +0900 Subject: [PATCH] =?UTF-8?q?types=E3=82=92=E6=88=BB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/sw/src/scripts/create-notification.ts | 2 +- packages/sw/src/scripts/notification-read.ts | 2 +- packages/sw/src/scripts/operations.ts | 2 +- packages/sw/src/sw.ts | 2 +- packages/sw/src/{scripts => }/types.ts | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename packages/sw/src/{scripts => }/types.ts (100%) 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