Static
Compare two webcad toDb() outputs and return structured diff. Accepts either JSON string or plain object.
Performs direct TS-level comparison mirroring the entity-matching logic used by filterUnmodifiedEntitiesForDiff in the save flow.
Shortcut: diff current document against its original (opened) state. Requires that the document was opened from server and originalJson exists. Returns null if no baseline is available.
Compare two webcad toDb() outputs and return structured diff. Accepts either JSON string or plain object.
Performs direct TS-level comparison mirroring the entity-matching logic used by filterUnmodifiedEntitiesForDiff in the save flow.