Add Teams endpoint and endpoints with service
This commit is contained in:
15
backend_splatournament_manager/src/models/team.ts
Normal file
15
backend_splatournament_manager/src/models/team.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
export interface Team {
|
||||
id: number;
|
||||
name: string;
|
||||
tag: string;
|
||||
description: string;
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
export interface TournamentTeam {
|
||||
id: number;
|
||||
tournamentId: number;
|
||||
teamId: number;
|
||||
registeredAt: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user