IF Commons GitHub

governance/model

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0002-report-site FR-001

The input of a report (0002-report-site FR-001): what the assessment, the grades and the matrix of responsibility say of one framework for one tenant at one instant, with the titles a reader needs. The report holds no logic of its own about standing or grade: it shows what it is given.

import type { ReportInput } from "./model.ts";
const input: ReportInput | undefined = undefined;

Source: commons/posture-report/src/governance/model.ts

1 of 4 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

governance.ReportInputtypeno test imports it
type ReportInput = { /** The name of the report and of the tenant it is about. */ readonly title: string; /** The … (527 characters)
type ReportInput = {
  /** The name of the report and of the tenant it is about. */
  readonly title: string;
  /** The instant the posture is of. */
  readonly generatedAt: string;
  readonly framework: { readonly id: string; readonly title: string };
  readonly assessment: Assessment;
  readonly grades: readonly ObjectiveGrade[];
  readonly responsibilities?: Matrix;
  /** The name of each requirement, by its identifier, where the framework has them. */
  readonly requirementTitles?: Readonly<Record<string, string>>;
};

What a report is made from.

governance.Sitetypeno test imports it
type Site = ReadonlyMap<string, string>;

The files of a site, by path.

ReportInputtype
type ReportInput = { /** The name of the report and of the tenant it is about. */ readonly title: string; /** The … (527 characters)
type ReportInput = {
  /** The name of the report and of the tenant it is about. */
  readonly title: string;
  /** The instant the posture is of. */
  readonly generatedAt: string;
  readonly framework: { readonly id: string; readonly title: string };
  readonly assessment: Assessment;
  readonly grades: readonly ObjectiveGrade[];
  readonly responsibilities?: Matrix;
  /** The name of each requirement, by its identifier, where the framework has them. */
  readonly requirementTitles?: Readonly<Record<string, string>>;
};

What a report is made from.

Imported by 4 tests of the run (4 passed, 0 failed): the library's results

Sitetypeno test imports it
type Site = ReadonlyMap<string, string>;

The files of a site, by path.

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