Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
chore(shared): add ApprovalDecision type
Ayush Soni2a2bb59a6d54
diff --git a/apps/erp/app/modules/shared/types.ts b/apps/erp/app/modules/shared/types.tsindex b572f7d871..7f6c294a7b 100644--- a/apps/erp/app/modules/shared/types.ts+++ b/apps/erp/app/modules/shared/types.ts@@ -55,6 +55,8 @@ export type ApprovalRule = NonNullable<Awaited<ReturnType<typeof getApprovalRuleByAmount>>["data"]>;+export type ApprovalDecision = "Approved" | "Rejected";+export type ApprovalStatus = Database["public"]["Enums"]["approvalStatus"];export type BillOfMaterialNodeType =