IF Commons GitHub

re-exports

What Evidence Capture exports from elsewhere, so that its users need import nothing else.

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.

physical.BundleFindingtypeno test imports it
type BundleFinding = | { readonly kind: "item-missing"; readonly digest: string } | { readonly kind: "item-hash-mism… (1175 characters)
type BundleFinding =
  | { readonly kind: "item-missing"; readonly digest: string }
  | { readonly kind: "item-hash-mismatch"; readonly digest: string; readonly actual: string }
  | { readonly kind: "item-size-mismatch"; readonly digest: string; readonly expected: number; readonly actual: number }
  | { readonly kind: "item-extra"; readonly digest: string }
  | { readonly kind: "chain-broken"; readonly seq: number; readonly reason: string }
  | { readonly kind: "not-canonical"; readonly file: BundleFile }
  | { readonly kind: "signature-absent" }
  | { readonly kind: "signature-bad"; readonly keyid: string | undefined; readonly reason: string }
  | { readonly kind: "signer-unallowed"; readonly keyid: string | undefined; readonly why: "unknown-key" | "role" | "custody"; readonly detail: string }
  | { readonly kind: "evidence-expired"; readonly digest: string }
  | { readonly kind: "kind-unknown"; readonly file: BundleFile; readonly found: string }
  | { readonly kind: "schema-unknown"; readonly file: BundleFile; readonly found: string; readonly expected: string }
  | { readonly kind: "document-invalid"; readonly file: BundleFile; readonly message: string };

Declared in commons/grc/src/physical/bundle.ts

Every fault of a bundle, each with what it concerns.

BundleFindingtypeno test imports it
type BundleFinding = | { readonly kind: "item-missing"; readonly digest: string } | { readonly kind: "item-hash-mism… (1175 characters)
type BundleFinding =
  | { readonly kind: "item-missing"; readonly digest: string }
  | { readonly kind: "item-hash-mismatch"; readonly digest: string; readonly actual: string }
  | { readonly kind: "item-size-mismatch"; readonly digest: string; readonly expected: number; readonly actual: number }
  | { readonly kind: "item-extra"; readonly digest: string }
  | { readonly kind: "chain-broken"; readonly seq: number; readonly reason: string }
  | { readonly kind: "not-canonical"; readonly file: BundleFile }
  | { readonly kind: "signature-absent" }
  | { readonly kind: "signature-bad"; readonly keyid: string | undefined; readonly reason: string }
  | { readonly kind: "signer-unallowed"; readonly keyid: string | undefined; readonly why: "unknown-key" | "role" | "custody"; readonly detail: string }
  | { readonly kind: "evidence-expired"; readonly digest: string }
  | { readonly kind: "kind-unknown"; readonly file: BundleFile; readonly found: string }
  | { readonly kind: "schema-unknown"; readonly file: BundleFile; readonly found: string; readonly expected: string }
  | { readonly kind: "document-invalid"; readonly file: BundleFile; readonly message: string };

Declared in commons/grc/src/physical/bundle.ts

Every fault of a bundle, each with what it concerns.

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