A continuation of HomeBox the inventory and organization system built for the Home User
import { BaseAPI, route } from "../base";
import type { BarcodeProduct } from "../types/data-contracts";
export class ProductAPI extends BaseAPI {
searchFromBarcode(productEAN: string) {
return this.http.get<BarcodeProduct[]>({ url: route(`/products/search-from-barcode`, { productEAN }) });
}
}