feat(canvas): finalize mixer reconnect swap and related updates

This commit is contained in:
2026-04-11 07:42:42 +02:00
parent f3dcaf89f2
commit 028fce35c2
52 changed files with 3859 additions and 272 deletions

View File

@@ -72,6 +72,7 @@ export type CanvasSyncOpPayloadByType = {
targetNodeId: Id<"nodes">;
sourceHandle?: string;
targetHandle?: string;
edgeIdToIgnore?: Id<"edges">;
clientRequestId: string;
};
removeEdge: {
@@ -477,6 +478,10 @@ function normalizeOp(raw: unknown): CanvasSyncOp | null {
typeof payload.targetHandle === "string"
? payload.targetHandle
: undefined,
edgeIdToIgnore:
typeof payload.edgeIdToIgnore === "string"
? (payload.edgeIdToIgnore as Id<"edges">)
: undefined,
clientRequestId: payload.clientRequestId,
},
enqueuedAt,