From d487ae8b79101ba56caab55739473a2ca9ed2bfd Mon Sep 17 00:00:00 2001 From: Hideki Ikemoto Date: Tue, 18 Oct 2022 08:17:10 +0900 Subject: [PATCH] refactor: util -> libs --- apps/{util => libs}/dom.ts | 0 apps/{util/util.ts => libs/string.ts} | 0 apps/model/blocked_sites.ts | 2 +- apps/option/banned_word.ts | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename apps/{util => libs}/dom.ts (100%) rename apps/{util/util.ts => libs/string.ts} (100%) diff --git a/apps/util/dom.ts b/apps/libs/dom.ts similarity index 100% rename from apps/util/dom.ts rename to apps/libs/dom.ts diff --git a/apps/util/util.ts b/apps/libs/string.ts similarity index 100% rename from apps/util/util.ts rename to apps/libs/string.ts diff --git a/apps/model/blocked_sites.ts b/apps/model/blocked_sites.ts index 21e35d36..3a5d5418 100644 --- a/apps/model/blocked_sites.ts +++ b/apps/model/blocked_sites.ts @@ -1,5 +1,5 @@ import BlockedSite from "./blocked_site"; -import removeProtocol from "../util/util"; +import removeProtocol from "../libs/string"; /** * @property {Array} sites diff --git a/apps/option/banned_word.ts b/apps/option/banned_word.ts index 97c34bc4..67f36cfd 100644 --- a/apps/option/banned_word.ts +++ b/apps/option/banned_word.ts @@ -1,6 +1,6 @@ import { $, ApplicationError, Logger } from "../common"; import { BannedWordRepository, BannedWord } from "../repository/banned_words"; -import { createSelectOption } from "../util/dom"; +import { createSelectOption } from "../libs/dom"; import { BannedTarget, BlockType, KeywordType } from "../repository/enums"; export default class BannedWords {