fix(convex): rename helper modules to valid convex paths

This commit is contained in:
2026-04-03 19:59:50 +02:00
parent 081bf13e04
commit d7d715fd03
10 changed files with 12 additions and 6 deletions

9
convex/ai_utils.ts Normal file
View File

@@ -0,0 +1,9 @@
type NodeCanvasRef = {
canvasId: string;
};
export function assertNodeBelongsToCanvasOrThrow(node: NodeCanvasRef, canvasId: string): void {
if (node.canvasId !== canvasId) {
throw new Error("Node does not belong to canvas");
}
}