import { ROLE } from '../enums/role'
import { COUNTRYTYPE } from './country'

export type USERTYPE = {
  readonly id: string
  name: string
  email: string
  verified: boolean | number
  user_image: string
  password?: string
  country_id: number
  country?: COUNTRYTYPE
  created_at: string
  is_subscribed: boolean | number
  role: string
  roles: any[]
}

export type USEREXTRAINFO = {
  role_id: number
  [key: string]: any
}
