Added setting registration status (closes #20)
This commit is contained in:
parent
b3119f5287
commit
dfcbef81ef
16 changed files with 68 additions and 19 deletions
13
module/hooks/oft.settingStatuses.mjs
Normal file
13
module/hooks/oft.settingStatuses.mjs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
This hook is used to enable any modules that attempt to disable settings
|
||||
or just want to investigate what settings are enabled to be able to get
|
||||
a ping with information about which settings where registered entirely
|
||||
and which weren't. The object that is passed to this is frozen and is
|
||||
not meant to be edited as you cannot de-register nor prevent setting
|
||||
registration from this hook. For that see the "oft.preventSetting" hook.
|
||||
|
||||
This file is meant more documentation than anything at this point in
|
||||
time.
|
||||
|
||||
Call Signature: (settings: Record<string, boolean>) => void
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue