Skip to content

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.

fix(schedule): drop 2.3MB types.ts from edge bundle via import type

Sidwebworks3c628c84ce6f
diff --git a/packages/database/supabase/functions/lib/methods.ts b/packages/database/supabase/functions/lib/methods.ts
index 8a75df0647..719262525e 100644
--- a/packages/database/supabase/functions/lib/methods.ts
+++ b/packages/database/supabase/functions/lib/methods.ts
@@ -1,5 +1,5 @@
import { SupabaseClient } from "@supabase/supabase-js";
-import { Database } from "./types.ts";
+import type { Database } from "./types.ts";
export type JobMethod = NonNullable<
Awaited<ReturnType<typeof getJobMethodTreeArray>>["data"]
diff --git a/packages/database/supabase/functions/lib/scheduling/dependency-manager.ts b/packages/database/supabase/functions/lib/scheduling/dependency-manager.ts
index 1ae4d651aa..88492a094b 100644
--- a/packages/database/supabase/functions/lib/scheduling/dependency-manager.ts
+++ b/packages/database/supabase/functions/lib/scheduling/dependency-manager.ts
@@ -1,4 +1,4 @@
-import { Database } from "../types.ts";
+import type { Database } from "../types.ts";
import type {
BaseOperation,
DependencyGraph,