This commit is contained in:
Tomas Dvorak
2025-11-03 19:54:39 +01:00
parent 087f30e82c
commit d5b4faea61
141 changed files with 78770 additions and 966 deletions
+2
View File
@@ -12,6 +12,7 @@ export interface Player {
height?: number;
weight?: number;
image_url?: string;
gender?: string;
is_active: boolean;
created_at?: string;
email?: string;
@@ -35,6 +36,7 @@ function normalize(p: any): Player {
height: p.height ?? p.Height ?? undefined,
weight: p.weight ?? p.Weight ?? undefined,
image_url: p.image_url ?? p.ImageURL ?? undefined,
gender: p.gender ?? p.Gender ?? undefined,
is_active: Boolean(p.is_active ?? p.IsActive ?? true),
created_at: p.created_at ?? p.CreatedAt ?? undefined,
email: p.email ?? p.Email ?? undefined,