storage API

SetSettings

Delete a global or a local component

await storageInterface.setSettings(
{
projectSettings: {
testKey: "testValueProj"
},
settings: {
testKey: "testValue"
}
}
);

Parameters

projectSettings
object - A list of properties of the current project in the form key (name) - value (new value)
Settings
object - A list of properties of global properties in the form key (name) - value (new value)

Return Value

Promise that is resolved if the process went well.