MCPcopy
hub / github.com/simstudioai/sim / hasWorkflowChanged

Function hasWorkflowChanged

apps/sim/lib/workflows/comparison/compare.ts:28–33  ·  view source on GitHub ↗
(
  currentState: WorkflowState,
  deployedState: WorkflowState | null
)

Source from the content-addressed store, hash-verified

26 * Uses generateWorkflowDiffSummary internally to ensure consistent change detection.
27 */
28export 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

Callers 3

compare.test.tsFile · 0.90
useChangeDetectionFunction · 0.90
computeNeedsRedeploymentFunction · 0.90

Calls 1

Tested by

no test coverage detected