import { DETECT_SECTION_ID, GATE_SECTION_ID, ORDER_SECTION_ID, SHAPE_SECTION_ID, TOOL_SECTION_ID, } from "@banes-lab/web/core/ids/build.ids.ts"; import { BUILD_TAB } from "@banes-lab/web/core/ids/methodology.ids.ts"; import type { DeclaredAbsence } from "#types/coverage.types"; import { METHODOLOGY_PAGE } from "@banes-lab/web/core/ids/page.ids.ts"; const OUTSIDE_THE_WEB_MEMBER: DeclaredAbsence["reason"] = "outside-the-web-member"; const absent = function absent(section: string, reason: DeclaredAbsence["reason"]): DeclaredAbsence { return { reason, subject: { kind: "chapter", page: METHODOLOGY_PAGE, section, tab: BUILD_TAB } }; }; export const EVIDENCE_ABSENT: readonly DeclaredAbsence[] = [ absent(DETECT_SECTION_ID, OUTSIDE_THE_WEB_MEMBER), absent(GATE_SECTION_ID, OUTSIDE_THE_WEB_MEMBER), absent(ORDER_SECTION_ID, OUTSIDE_THE_WEB_MEMBER), absent(SHAPE_SECTION_ID, OUTSIDE_THE_WEB_MEMBER), absent(TOOL_SECTION_ID, OUTSIDE_THE_WEB_MEMBER), ];