begin refactor of 4.x ui

This commit is contained in:
Stewart Allen 2024-05-19 22:31:25 -04:00
commit 25c1959e57
11 changed files with 375 additions and 278 deletions

View file

@ -733,6 +733,7 @@ function setEnableWASM(bool) {
api.event.emit("set.assembly", bool);
}
// extend API (api.conf)
api.conf = {
dbo: () => { return ls2o('ws-settings') },
get: getSettings,
@ -751,6 +752,7 @@ api.conf = {
import: settingsImport,
};
// extend API (api.settings)
api.settings = {
get: getSettings,
import: settingsImport,