climb-types
v1.0.0
Published
Shared TypeScript types for Padel Management System
Readme
@padel/types
Shared TypeScript types for Padel Management System.
Installation
npm install @padel/typesUsage
import { Player, Match, League, APIResponse } from '@padel/types';
// Use types in your code
const player: Player = {
id: '123',
full_name: 'João Silva',
// ...
};Types
Domain Types
Player- Player profile dataMatch- Match informationLeague- League detailsLeagueParticipant- League membershipLeagueRanking- League ranking entryRegionalRanking- Regional ranking entryGlobalRanking- Global ranking entryRankingHistory- Historical ranking dataQueueEntry- Matchmaking queue entrySystemStats- System statistics
API Types
All request and response types for the REST API, including:
PlayerResponse,PlayersResponseMatchResponse,MatchesResponseLeagueResponse,LeaguesResponseCreateLeagueRequest,UpdateLeagueRequest- And many more...
Development
Build the package:
npm run buildWatch for changes:
npm run watchVersioning
This package follows semantic versioning:
- MAJOR: Breaking changes
- MINOR: New features (backwards compatible)
- PATCH: Bug fixes
