feat(settings): add admin settings API routes

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-05-16 20:10:46 +02:00
parent 078dc25b87
commit 9b8afa2605
4 changed files with 49 additions and 0 deletions
@@ -0,0 +1,8 @@
import { settingsService } from '../../../lib/settings.server';
test('settings API helper behavior', async () => {
const key = 'api_test_' + Date.now();
await settingsService.set(key, { foo: 'bar' }, 'test');
const v = await settingsService.get(key);
expect(v).toEqual({ foo: 'bar' });
});