MCPcopy
hub / github.com/labring/FastGPT / createWorkflowDiffPatcher

Function createWorkflowDiffPatcher

projects/app/src/web/core/app/diff.ts:3–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

diff.tsFile · 0.85

Calls 1

createFunction · 0.50

Tested by

no test coverage detected