()
| 1 | import { create } from 'jsondiffpatch'; |
| 2 | |
| 3 | const createWorkflowDiffPatcher = () => |
| 4 | create({ |
| 5 | objectHash: (obj: any) => obj.id || obj.nodeId || obj._id, |
| 6 | propertyFilter: (name: string) => name !== 'selected' |
| 7 | }); |
| 8 | |
| 9 | const diffPatcher = createWorkflowDiffPatcher(); |
| 10 |