IF Commons GitHub

logical/records/erga-index

Written to: 1 requirement: 0 proved, 0 partly, 0 failing, 1 with no test recorded. 0002-planning-core FR-011

The summary of a work's issues in the monorepo's form, erga/issues-index@1, made from items (0037-planning FR-039, inventory entry 2): a rendition, a pure function from items to a value that encodeIndex writes. The monorepo has the two states open and closed, so every state that is not closed is open in it, and its three severities, its motivation commenting and its flag blocker where a record says none.

import { indexOf } from "./erga-index.ts";
// indexOf("book/guide", items, "event-files", "2026-11-21T10:00:00Z")

Source: commons/planning/src/logical/records/erga-index.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.

records.indexOffunctionno test imports it
function indexOf(work: string, items: readonly Item[], source: string, updated: string): ErgaIndex

The summary of a work's issues from its items; source is the name the items' external ids were made with, and updated the time the summary is made, which the caller passes in.

indexOffunctionno test imports it
function indexOf(work: string, items: readonly Item[], source: string, updated: string): ErgaIndex

The summary of a work's issues from its items; source is the name the items' external ids were made with, and updated the time the summary is made, which the caller passes in.

Titles, headings, exports, tables, columns and requirements. Esc closes.