PliWould/features/product/initialProducts.ts

11 lines
468 B
TypeScript
Raw Normal View History

2024-06-27 23:31:59 +02:00
import { Price, Product } from "@/lib/product";
import { area, length } from "enheter";
export default [
// Sheet goods
new Product(new Price("USD", 35), area("squareFoot", 4 * 8), {name: "Plywood"}),
new Product(new Price("USD", 45), area("squareFoot", 4 * 8), {name: "OSB"}),
new Product(new Price("USD", 45), area("squareFoot", 4 * 8), {name: "MDF"}),
// Beams and trim
new Product(new Price("USD", 1), length("foot", 1), {name: "trim"}),
]