UNPKG

histoire

Version:

A fast story book powered by Vite

7 lines (6 loc) • 339 B
/** Strongest first; used to pick the headline reason of a selection. */ export const AFFECTED_REASON_ORDER = ['structural', 'unresolved', 'setup', 'shared', 'story', 'leaf', 'independent', 'ignored']; /** Whether a change selects anything. */ export function isAffecting(change) { return change.whole || change.storyIds.length > 0; }