move away from ehemer to resolve recursive loop.

This commit is contained in:
Jordan Hewitt
2024-06-28 14:53:48 -07:00
parent 3d03f1d9e8
commit 93c0c25eb5
12 changed files with 309 additions and 160 deletions

View File

@ -1,11 +1,12 @@
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" }),
new Product(25, {l: 4, w : 8, u: "feet"}, { name: "Plywood" }),
new Product(35, {l: 4, w : 8, u: "feet"}, { name: "MDF" }),
new Product(40, {l: 4, w : 8, u: "feet"}, { name: "OSB" }),
new Product(45, {l: 4, w : 8, u: "feet"}, { name: "Sheetrock" }),
// Beams and trim
new Product(45, length("foot", 1), { name: "trim" }),
new Product(1, {l: 0.50, u : "feet"}, { name: "trim 3 inches" }),
new Product(1, {l: 0.75, u : "feet"}, { name: "trim 3 inches" }),
];