Closed franzenzenhofer closed 5 years ago
First implementation is done. Please test if it works for you:
Config has a new key called availableGlobalRuleVariables
which controls the available global variable inputs and their names.
You can access the global variables/settings inside a rule via this.getGlobals()
:
const globals = this.getGlobals();
console.log(globals.variables.google_page_speed_insights_key);
works as intended
on the settings page there should be a section
Globale Variables
these global varialbes should be available in the context of the rules as varialbes