feat(canvas): finalize mixer reconnect swap and related updates
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user