Implement Wettkampf mode with random type-aware question selection and answer persistence

This commit is contained in:
2026-04-26 11:01:58 +02:00
parent c1b93e3ab6
commit 7b886c4355
3 changed files with 797 additions and 7 deletions
+9 -1
View File
@@ -61,4 +61,12 @@ async function batchCreateRows(tableId, rows) {
}
}
module.exports = { listRows, createRow, batchCreateRows };
async function updateRow(tableId, rowId, data) {
console.log(`[baserow] Update row ${rowId} in table ${tableId}`);
return baserowFetch(`/database/rows/table/${tableId}/${rowId}/?user_field_names=true`, {
method: 'PATCH',
body: JSON.stringify(data),
});
}
module.exports = { listRows, createRow, batchCreateRows, updateRow };