PliWould/__fixtures__/initialProducts.ts

11 lines
408 B
TypeScript

import { Product } from "@/lib/product";
import { area, length } from "enheter";
export const products = [
// Sheet goods
new Product(35, area("squareFoot", 4 * 8), { name: "Plywood" }),
new Product(45, area("squareFoot", 4 * 8), { name: "OSB" }),
new Product(45, area("squareFoot", 4 * 8), { name: "MDF" }),
// Beams and trim
new Product(45, length("foot", 1), { name: "trim" }),
];