first commit

This commit is contained in:
Bastian Wagner
2026-07-31 21:02:47 +02:00
commit 6bea4f766a
512 changed files with 64459 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
export * from './player';
export * from './teamrole';
export * from './transaction';

View File

@@ -0,0 +1,16 @@
import { Team } from '../modules/teams/model/team';
import { TeamRole } from './teamrole';
export interface Player {
firstName: string;
lastName: string;
id: number;
balance: number;
team: Team;
teamRole: TeamRole;
active: boolean;
hide: boolean;
usersPlayer?: boolean;
}

View File

@@ -0,0 +1,4 @@
export interface TeamRole {
id: number;
name: string;
}

View File

@@ -0,0 +1,9 @@
export interface Transaction {
id: number;
amount: number;
playerName?: string;
date: string;
type: string;
note: string;
isTeamWalletTransaction: boolean;
}

View File

@@ -0,0 +1,17 @@
export interface User {
createdAt: string;
deletedAt: string;
email: string;
firstName: string;
lastName: string;
id: number;
photo: string;
role: Role;
status: any;
updatedAt: string;
}
export interface Role {
id: number;
name: string;
}