export type InputRegister = {
  firstName: string
  lastName: string
  email: string
  password: string
  phone: string
  birthday: string
  profilePicture?: string
  privacyPolicy?: boolean
}

export type InputsLogin = {
  username: string
  password: string
}
export type UserForm = {
  id: number
  email: string
  firstName: string
  lastName: string
  phone: string
  password: string
  birthday: string
  profilePicture?: string | null
  noteList: string[]
  notificationList?: string[]
}

export type User = {
  token?: string
  expirationDateTime?: string
  user: {
    id: number
    email: string
    firstName: string
    lastName: string
    phone: string
    birthday: string
    profilePicture?: string | null
    noteList: string[]
    notificationList?: string[]
  }
}

export type League = {
  id: number
  name: string
  logo: string
  description: string
  pointsPerWin: number
  pointsPerDraw: number
  pointsPerLoss: number
  matchesBetweenTeams: Date[] | null
  blockedMatchDates: Date[] | null
  active: boolean | null
  seasonIdList: number[]
  presidentId: number | null
  isPublic: boolean
  createdAt: '2023-10-08 02:12:02'
}
