fix: rename GameStatus 'hasKey' to 'has-key'

- Update GameStatus type to use kebab-case convention
- Change all occurrences in useHero.ts
- Update UNIFIED_API.md documentation
- Maintains consistency with other status values
This commit is contained in:
2025-10-19 13:05:35 +01:00
parent 7c36f9dc14
commit 2c7816306c
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ export * from './useGame';
export * from './useBoard';
export * from './useCursor';
export type GameStatus = 'waiting' | 'started' | 'hasKey' | 'paused' | 'game-over' | 'game-won'
export type GameStatus = 'waiting' | 'started' | 'has-key' | 'paused' | 'game-over' | 'game-won'
export type GameManager = {
containerRef: RefObject<HTMLDivElement | null>;