MCPcopy Index your code
hub / github.com/simstudioai/sim / deriveDiffFlags

Function deriveDiffFlags

apps/sim/stores/workflow-diff/types.ts:93–100  ·  view source on GitHub ↗
(status: WorkflowDiffStatus)

Source from the content-addressed store, hash-verified

91 * {@link WorkflowDiffStatus} remains the single source of truth.
92 */
93export function deriveDiffFlags(status: WorkflowDiffStatus): DiffStatusFlags {
94 return {
95 status,
96 hasActiveDiff: status !== 'none',
97 isShowingDiff: status === 'showing',
98 isDiffReady: status !== 'none',
99 }
100}

Callers 4

store.tsFile · 0.90
seedStatusFunction · 0.90
store.test.tsFile · 0.90
useUndoRedoFunction · 0.90

Calls

no outgoing calls

Tested by 1

seedStatusFunction · 0.72