feat(phase3): phase 7 - integration & polish

Fix all build/type/lint errors, write 46 new tests (222 total across
20 files), regenerate Prisma client, update seed with user preferences.
Fix SvelteSet usage, add {#each} keys, clean unused imports.
This commit is contained in:
2026-03-25 01:12:11 +03:00
parent dd6958b4d6
commit 7d8a8fb0fc
14 changed files with 1223 additions and 34 deletions
+22 -2
View File
@@ -36,7 +36,12 @@ async function main() {
password: adminPassword,
displayName: 'Administrator',
role: 'admin',
authProvider: 'local'
authProvider: 'local',
themeMode: 'dark',
primaryHue: 240,
primarySaturation: 80,
backgroundType: 'aurora',
locale: 'en'
}
});
console.log(' Created admin user:', admin.email);
@@ -51,7 +56,12 @@ async function main() {
password: userPassword,
displayName: 'Demo User',
role: 'user',
authProvider: 'local'
authProvider: 'local',
themeMode: 'light',
primaryHue: 150,
primarySaturation: 60,
backgroundType: 'mesh',
locale: 'ru'
}
});
console.log(' Created regular user:', regularUser.email);
@@ -168,6 +178,16 @@ async function main() {
category: 'Network',
tags: 'dns,adblock,network,privacy',
healthcheckEnabled: true
},
{
name: 'Wiki.js',
url: 'http://wiki.local:3000',
icon: 'http://wiki.local:3000/favicon.ico',
iconType: 'url',
description: 'Quick-added wiki service (demonstrates favicon URL icon)',
category: 'Productivity',
tags: 'wiki,docs,knowledge',
healthcheckEnabled: true
}
];