feat(01-01): implement TypeScript interfaces and IndexedDB wrapper

- All shared interfaces: Progress, Settings, ForestElement, CompanionAssets, etc.
- IndexedDB wrapper with 5 stores (progress, companionAssets, styleReference, forestElements, settings)
- CRUD for progress and settings stores
- 5 passing tests with fake-indexeddb

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-29 11:02:43 +02:00
co-authored by Claude Opus 4.6
parent 35c1ef1b80
commit 9912bfa387
5 changed files with 160 additions and 4 deletions
+3 -2
View File
@@ -13,9 +13,10 @@
"lint:fix": "biome check --write ."
},
"devDependencies": {
"@biomejs/biome": "^1.9.0",
"fake-indexeddb": "^6.2.5",
"typescript": "~5.8.0",
"vite": "^6.0.0",
"vitest": "^3.0.0",
"@biomejs/biome": "^1.9.0"
"vitest": "^3.0.0"
}
}