From 7d4c809ef342017cbf5b1144b2428f27abea71b8 Mon Sep 17 00:00:00 2001 From: Oliver Date: Sun, 7 Dec 2025 00:28:50 -0700 Subject: [PATCH] Add a Hook documentation file to denote how we can provide system/modules a way to prevent specific settings from existing in their presence --- module/hooks/oft.preventSetting.mjs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 module/hooks/oft.preventSetting.mjs diff --git a/module/hooks/oft.preventSetting.mjs b/module/hooks/oft.preventSetting.mjs new file mode 100644 index 0000000..31026ac --- /dev/null +++ b/module/hooks/oft.preventSetting.mjs @@ -0,0 +1,11 @@ +/* +This hook is used for invasive hooks that we want to provide the +option for systems and other modules to be able to disable in case +of incompatabilities for whatever reason. This can also be used +internally within this module if we discover incompatabilites with +systems and want to disable it on our side. + +This file is more as documentation than anything at this point in time. + +Call Signature: (settingKey: string) => {} +*/