Skip to content

refactor: import shared types from @echecs/tournament#19

Merged
mormubis merged 1 commit into
mainfrom
import-shared-types
Apr 29, 2026
Merged

refactor: import shared types from @echecs/tournament#19
mormubis merged 1 commit into
mainfrom
import-shared-types

Conversation

@mormubis
Copy link
Copy Markdown
Collaborator

Summary

  • removes local type definitions (src/types.ts) and imports Game, GameKind, Result, Player from @echecs/tournament instead
  • added as devDependency only — type-only imports, zero runtime cost
  • tournament.Player is { id: string; rating?: number }, a superset of the local { id: string } — non-breaking since rating is optional

closes #18

@mormubis mormubis merged commit 9ce2608 into main Apr 29, 2026
4 checks passed
@mormubis mormubis deleted the import-shared-types branch April 29, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

import shared types from @echecs/tournament

1 participant