add varying intensity to stream tags

plus improving the tag select dropdown in general
This commit is contained in:
2026-09-25 21:26:31 +02:00
parent c49fb9bb54
commit 83cc73acff
11 changed files with 338 additions and 95 deletions
+5 -2
View File
@@ -52,8 +52,11 @@ for (const file of files) {
// Prepare attributes for insertion
const fields = Object.entries(jsonData)
.filter(([key]) => key in lookup)
// Serialize value if array
.map(([key, value]) => [lookup[key], Array.isArray(value) ? JSON.stringify(value) : value]);
// Serialize value if array or object
.map(([key, value]) => [
lookup[key],
typeof value === 'object' && value !== null ? JSON.stringify(value) : value
]);
const row = existingRow.get(jsonData.id);
if (row) {