17 lines
433 B
TypeScript
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: [] };
|
|
}
|
|
} |