ldc-ovoteam/resources/ts/domain/value-objects/product-format.ts
Jérémy Munsch 028f769dbc
feat(products): add create and edit product pages
- Implemented Create and Edit pages for products with forms.
- Added validation and permissions handling for product actions.
- Introduced new product model and related types for better structure.
- Enhanced sidebar registry to remove auth dependency for link resolution.
- Updated routes to handle precognitive requests for product forms.
2026-09-21 11:36:52 +02:00

50 lines
1.3 KiB
TypeScript

enum ProductFormat {
INDUSTRY_5_KG = "Industry 5kg",
INDUSTRY_10_KG = "Industry 10kg",
INDUSTRY_500_KG = "Industry 500kg",
INDUSTRY_1000_KG = "Industry 1000kg",
INDUSTRY_TANK = "Industry tank",
TRAY_300_G = "Tray 300g",
TRAY_500_G = "Tray 500g",
TRAY_8_TIMES_70_G = "Tray 8x70g",
TRAY_8_TIMES_90_G = "Tray 8x90g",
TRAY_8_TIMES_135_G = "Tray 8x135g",
TRAY_1_KG = "Tray 1kg",
TRAY_1_OMELET = "Tray 1 omelet",
TRAY_6_OMELETS = "Tray 6 omelets",
TRAY_8_OMELETS = "Tray 8 omelets",
TRAY_50_EGGS = "Tray 50 eggs",
BOTTLE_500_G = "Bottle 500g",
BOTTLE_1_KG = "Bottle 1kg",
BOTTLE_1_5_KG = "Bottle 1.5kg",
BOTTLE_2_KG = "Bottle 2kg",
BOTTLE_5_KG = "Bottle 5kg",
BOX_7_KG = "Box 7kg",
BOX_50 = "Box 50",
BOX_75 = "Box 75",
BOX_80 = "Box 80",
PLATE_5_EGGS = "Plate 5 eggs",
PLATE_8_EGGS = "Plate 8 eggs",
PLATE_4_TIMES_10_EGGS = "Plate 4x10 eggs",
PLATE_50_EGGS = "Plate 50 eggs",
POUCH_5_EGGS = "Pouch 5 eggs",
POUCH_50_EGGS = "Pouch 50 eggs",
BAG_1_KG = "Bag 1kg",
BAG_7_KG = "Bag 7kg",
BUCKET_1_KG = "Bucket 1kg",
BUCKET_5_KG = "Bucket 5kg",
BUCKET_24_EGGS = "Bucket 24 eggs",
BUCKET_75_EGGS = "Bucket 75 eggs",
BUCKET_150_EGGS = "Bucket 150 eggs",
GLASS_JAR_48_EGGS = "Glass jar 48 eggs",
}
export default ProductFormat;