import * as urlJoin from "url-join";
import { productPath } from "../../urls";

export const productRemovePath = (id: string) =>
  urlJoin(productPath(id), "remove");
export const productRemoveUrl = (id: string) =>
  productRemovePath(encodeURIComponent(id));

{'avg_line_length': 32.5, 'max_line_length': 48, 'alphanum_fraction': 0.7115384615384616, 'licenses': ['BSD-3-Clause'], 'repository_name': 'Alexander-Field/saleor', 'path': 'saleor/static/dashboard-next/products/views/ProductUpdate/urls.ts', 'size': 260, 'lang': 'TypeScript'}