From befee62957efa026810d69c421cbbc58b173cc1a Mon Sep 17 00:00:00 2001 From: Arturas Date: Sun, 18 Dec 2022 12:55:46 +0200 Subject: [PATCH] refactor: Fixed some inconsistencies in code structure --- src/triggers/{core => combination}/and-or-trigger.mts | 0 src/triggers/combination/index.mts | 1 + src/triggers/core/index.mts | 1 - src/triggers/index.mts | 1 + 4 files changed, 2 insertions(+), 1 deletion(-) rename src/triggers/{core => combination}/and-or-trigger.mts (100%) create mode 100644 src/triggers/combination/index.mts diff --git a/src/triggers/core/and-or-trigger.mts b/src/triggers/combination/and-or-trigger.mts similarity index 100% rename from src/triggers/core/and-or-trigger.mts rename to src/triggers/combination/and-or-trigger.mts diff --git a/src/triggers/combination/index.mts b/src/triggers/combination/index.mts new file mode 100644 index 0000000..17783f9 --- /dev/null +++ b/src/triggers/combination/index.mts @@ -0,0 +1 @@ +import './and-or-trigger.mjs'; diff --git a/src/triggers/core/index.mts b/src/triggers/core/index.mts index c71c134..789390c 100644 --- a/src/triggers/core/index.mts +++ b/src/triggers/core/index.mts @@ -1,4 +1,3 @@ -import './and-or-trigger.mjs'; import './item-quantity-trigger.mjs'; import './level-gained-trigger.mjs'; import './mastery-level-trigger.mjs'; diff --git a/src/triggers/index.mts b/src/triggers/index.mts index 5293583..9de24d4 100644 --- a/src/triggers/index.mts +++ b/src/triggers/index.mts @@ -1,4 +1,5 @@ import '../option-types/option-types.mjs'; import './combat/index.mjs'; +import './combination/index.mjs'; import './core/index.mjs'; import './currency/index.mjs';