( currentState: WorkflowState, deployedState: WorkflowState | null )
| 26 | * Uses generateWorkflowDiffSummary internally to ensure consistent change detection. |
| 27 | */ |
| 28 | export function hasWorkflowChanged( |
| 29 | currentState: WorkflowState, |
| 30 | deployedState: WorkflowState | null |
| 31 | ): boolean { |
| 32 | return generateWorkflowDiffSummary(currentState, deployedState).hasChanges |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * Represents a single field change with old and new values |
no test coverage detected