nearly the entire application state is saved in URL

This commit is contained in:
Joeri Exelmans 2025-11-06 18:48:37 +01:00
parent c7e661eb61
commit 49e701c7d7
7 changed files with 338 additions and 126 deletions

View file

@ -70,10 +70,12 @@ export async function checkProperty(plant: Plant<RT_Statechart, any>, property:
return [null, json];
}
else {
// @ts-ignore
return [json.map(([timestamp, satisfied]) => ({timestamp, satisfied})), null];
}
}
catch (e) {
// @ts-ignore
return [null, e.message];
}
}