This commit is contained in:
Florian Bernard
2026-08-28 14:36:49 +00:00
parent d6e186a7ed
commit 3168c4ac01
2 changed files with 13 additions and 9 deletions
@@ -1,6 +1,10 @@
export default {
async importLocalStoreCode() {
await storeValue("imported_code", "TEST123", true);
return "TEST123";
async listStorageKeys() {
const keys = [];
for (let i = 0; i < window.localStorage.length; i++) {
keys.push(window.localStorage.key(i));
}
await storeValue("storage_keys", keys, true);
return keys;
}
}
@@ -1,6 +1,6 @@
{
"gitSyncId": "6a919708c45e81bd1f22f312_d07c586e-c647-49e0-9443-9629981043ec",
"id": "Sitzplätze_Userdata_catch.importLocalStoreCode",
"gitSyncId": "6a919708c45e81bd1f22f312_09b8040f-0006-45bf-b6d0-b505240f4484",
"id": "Sitzplätze_Userdata_catch.listStorageKeys",
"pluginId": "js-plugin",
"pluginType": "JS",
"unpublishedAction": {
@@ -22,10 +22,10 @@
"key": "body"
}
],
"fullyQualifiedName": "Userdata_catch.importLocalStoreCode",
"name": "importLocalStoreCode",
"fullyQualifiedName": "Userdata_catch.listStorageKeys",
"name": "listStorageKeys",
"pageId": "Sitzplätze",
"runBehaviour": "ON_PAGE_LOAD",
"userSetOnLoad": true
"runBehaviour": "MANUAL",
"userSetOnLoad": false
}
}