(diff: GraphDiff & { workflows?: { added: any[]; removed: any[]; updated: any[] } })
| 90 | } |
| 91 | |
| 92 | export function hasDiff(diff: GraphDiff & { workflows?: { added: any[]; removed: any[]; updated: any[] } }): boolean { |
| 93 | return diff.nodes.added.length > 0 || |
| 94 | diff.nodes.removed.length > 0 || |
| 95 | diff.nodes.updated.length > 0 || |
| 96 | diff.edges.added.length > 0 || |
| 97 | diff.edges.removed.length > 0 || |
| 98 | diff.edges.updated.length > 0 || |
| 99 | (diff.workflows?.added?.length ?? 0) > 0 || |
| 100 | (diff.workflows?.removed?.length ?? 0) > 0 || |
| 101 | (diff.workflows?.updated?.length ?? 0) > 0; |
| 102 | } |
no outgoing calls
no test coverage detected