Files
gridpilot.gg/apps/website/lib/services/teams/TeamService.ts
2026-01-14 02:02:24 +01:00

17 lines
433 B
TypeScript

/**
* Team Service - DTO Only
*
* Returns raw API DTOs. No ViewModels or UX logic.
* All client-side presentation logic must be handled by hooks/components.
*/
export class TeamService {
constructor(private readonly apiClient: any) {}
async getTeamById(teamId: string): Promise<any> {
return { id: teamId, name: 'Team' };
}
async getTeamsByLeagueId(leagueId: string): Promise<any> {
return { teams: [] };
}
}