refactor(convex): modularize ai generation helpers and cleanup flows

This commit is contained in:
2026-04-07 09:21:40 +02:00
parent ed08b976f9
commit c10839b27e
5 changed files with 470 additions and 344 deletions

6
convex/ai_node_data.ts Normal file
View File

@@ -0,0 +1,6 @@
export function getNodeDataRecord(data: unknown): Record<string, unknown> {
if (data && typeof data === "object") {
return data as Record<string, unknown>;
}
return {};
}