Extensions.setStorageItemsSets `values` in extension storage in the given `storageArea`. The provided `values` will be merged with existing values in the storage area.
| Name | Type | Description |
|---|---|---|
id | string | ID of extension. |
storageArea | StorageArea | StorageArea to set data in. |
values | object | Values to set. |
{
"id": 1,
"method": "Extensions.setStorageItems",
"params": {
"id": "id-value",
"storageArea": "storageArea-value",
"values": {}
}
}
{
"id": 1,
"result": {}
}
const result = await send('Extensions.setStorageItems', {"id": "id-value", "storageArea": "storageArea-value", "values": {}});
console.log(result);