From 73a405c00809d754afb30a580fbccea684a372e2 Mon Sep 17 00:00:00 2001 From: colin Date: Sat, 5 Nov 2022 23:32:26 -0700 Subject: [PATCH] define `SettingScope` --- src/helpers.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/helpers.js b/src/helpers.js index 9e92dd3..89690b1 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -16,6 +16,13 @@ module.exports = { makeTOTP, }; +const SettingScope = { + // query a setting first from the login, then the store, then globally + Login: "login", + // query a setting first from the store, then globally + Store: "store", +}; + //----------------------------------- Function definitions ----------------------------------// /**