mirror of
https://github.com/streamwall/streamwall.git
synced 2026-04-08 06:42:04 -04:00
7 lines
188 B
TypeScript
7 lines
188 B
TypeScript
import * as jsondiffpatch from 'jsondiffpatch'
|
|
|
|
export const stateDiff = jsondiffpatch.create({
|
|
objectHash: (obj: any, idx) => obj._id || `$$index:${idx}`,
|
|
omitRemovedValues: true,
|
|
})
|