added other materials tab

This commit is contained in:
xCyanGrizzly
2026-02-18 21:55:39 +01:00
parent ec04e1bd0b
commit 32683ecf5e
14 changed files with 1272 additions and 7 deletions

View File

@@ -5,6 +5,7 @@ export const NAV_ITEMS = [
{ label: "Filaments", href: "/filaments", icon: "Cylinder" },
{ label: "Resins", href: "/resins", icon: "Droplets" },
{ label: "Paints", href: "/paints", icon: "Paintbrush" },
{ label: "Supplies", href: "/supplies", icon: "Gem" },
{ label: "Vendors", href: "/vendors", icon: "Building2" },
{ label: "Locations", href: "/locations", icon: "MapPin" },
{ label: "Settings", href: "/settings", icon: "Settings" },
@@ -47,6 +48,32 @@ export const PAINT_FINISHES = [
"Other",
] as const;
export const SUPPLY_CATEGORIES = [
"Glitter",
"Alcohol Ink",
"Mica Powder",
"Pigment",
"Silicone",
"Resin Additive",
"Sanding/Polishing",
"Mold",
"Other",
] as const;
export const SUPPLY_UNITS = ["g", "ml", "sheets", "pieces", "oz"] as const;
export const SUPPLY_CATEGORY_DEFAULTS: Record<string, { unit: string; totalAmount: number }> = {
"Glitter": { unit: "g", totalAmount: 50 },
"Alcohol Ink": { unit: "ml", totalAmount: 15 },
"Mica Powder": { unit: "g", totalAmount: 25 },
"Pigment": { unit: "g", totalAmount: 25 },
"Silicone": { unit: "ml", totalAmount: 500 },
"Resin Additive": { unit: "ml", totalAmount: 100 },
"Sanding/Polishing": { unit: "sheets", totalAmount: 10 },
"Mold": { unit: "pieces", totalAmount: 1 },
"Other": { unit: "g", totalAmount: 100 },
};
export const CURRENCIES = ["USD", "EUR", "GBP", "CAD", "AUD", "JPY"] as const;
export const UNITS = ["metric", "imperial"] as const;