export interface ProductDetails {
    data: Daum[]
    name: string
    nameAR: string
    image: string
    price: number
    variants: Variant[]
    theExtrasGroups: TheExtrasGroup[]
    discount: number
    options: Option[]
    hasVariants: number
    currency: string
    short_description: string
    short_descriptionAR: string
  }
  
  export interface Daum {
    id: number
    name: string
    data: string[]
    prices: string[]
    pricesNew: string[]
    nameAR: string
    dataAR: string[]
  }
  
  export interface Variant {
    id: number
    price: number
    options: string
    image: string
    qty: number
    enable_qty: number
    order: number
    item_id: number
    created_at: string
    updated_at: string
    deleted_at: any
    available: string
    OptionsList: string
    extras: any[]
  }
  
  export interface TheExtrasGroup {
    id: number
    name: string
    nameAR: string
    label: string
    labelAR: string
    limit: number
    item_id: number
    created_at: string
    updated_at: string
    deleted_at: any
    force_limit_selection: number
    extras: Extra[]
  }
  
  export interface Extra {
    id: number
    item_id: number
    price: number
    name: string
    nameAR: string
    created_at: string
    updated_at: string
    deleted_at: any
    extra_for_all_variants: number
    is_custome: number
    is_available: number
    modifier_id: any
    pivot: Pivot
  }
  
  export interface Pivot {
    group_id: number
    extra_id: number
  }
  
  export interface Option {
    id: number
    item_id: number
    name: string
    nameAR: string
    options: string
    optionsAR: string
    optionprices: string
    created_at: string
    updated_at: string
    deleted_at: any
  }
  