import {Pagination} from "@/shared/types/pagination";

export interface Product {
  id: number
  name: string
  price: number
  price_usd: number
  price_discount: number
  discount_percent: number
  is_leader_of_sales: boolean
  poster: string
  poster_thumb: string
  is_favorite: boolean
  is_cart: boolean
  count: number
  power: number
  short_description?: string | TrustedHTML
  description?: string | TrustedHTML
}

export interface GetProductsResponse extends Pagination{
  data: Product[]
}