This commit is contained in:
Turtle committed 2025-12-23 13:24:21 +01:00
1 parent a595b33006
commit 903111e958
7 files changed
+399 -25

No files matched your search

+4 -3
View File
@@ -39,10 +39,9 @@ test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>
showOverlay("overlay1");
//setTimeout(() => hideOverlay("overlay1"), 3000);
const couchDB = new CouchDB();
async function main() {
const couchDB = new CouchDB();
await couchDB.set("xample", {
"my_data": 1,
"more_data": "bla"
@@ -54,7 +53,9 @@ async function main() {
}
main();
createTemp();
createTemp().then((v) => {
setUserData(couchDB);
});
</script>
+16 -8
View File
@@ -55,19 +55,23 @@ async function createTemp() {
"type": "emoji"
}
],
"result": [
["YES", "YES", 5, 2],
["YES", "YES", 1, 3]
],
"result_history": [
{
"date": "2025-12-27",
"questions": [
{ "title": "1", "type": "text" },
{ "title": "2", "type": "scala" }
],
"result": [
["Gut, aber ...", 5],
["Schlecht", 1]
]
}
],
"result": [
["YES", "YES", 5, 2],
["YES", "YES", 1, 3]
],
"start_date": "2025-12-23",
"expire_date": "2025-12-27"
});
@@ -85,19 +89,23 @@ async function createTemp() {
"type": "scala"
}
],
"result": [
["Gut, aber ...", 5],
["Schlecht", 1]
],
"result_history": [
{
"date": "2025-12-27",
"questions": [
{ "title": "1", "type": "text" },
{ "title": "2", "type": "scala" }
],
"result": [
["Gut, aber ...", 5],
["Schlecht", 1]
]
}
],
"result": [
["Gut, aber ...", 5],
["Schlecht", 1]
],
"start_date": "2025-12-23",
"expire_date": "2025-12-27"
});