Written to: 1 requirement: 0 proved, 0 partly, 0 failing, 1 with no test recorded. 0003-planning-reconcile FR-004
The items of a set of events: each item's events folded under a policy, with the events whose histories are not one item named. Pure; the store of events and the tests both read items so.
import { foldAll } from "./items.ts" ;
// foldAll(events, policy).items Source: commons/planning/src/logical/items.ts
0 of 2 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.
logical.foldAllfunction no test imports it function foldAll (events : readonly ItemEvent [], policy ?: Policy ): { readonly items : readonly Item []; readonly problems : readonly { readonly item : ItemId ; readonly message : string ; }[]; }The items of the events, in the order of their ids, and a sentence for each item whose events are not one history.
foldAllfunction no test imports it function foldAll (events : readonly ItemEvent [], policy ?: Policy ): { readonly items : readonly Item []; readonly problems : readonly { readonly item : ItemId ; readonly message : string ; }[]; }The items of the events, in the order of their ids, and a sentence for each item whose events are not one history.