@prismshadow/penguin-core/kernel · Low-level Kernel & Upgrade

ParseFail

interface type-only low-level
Source ↗
IMPORT import type { ParseFail } from "@prismshadow/penguin-core/kernel";

Declaration

export interface ParseFail {
  ok: false;
  /** Paths present in the document but unknown to the schema (would be discarded). */
  dropped: string[];
  /** Paths the schema requires but the document lacks. */
  missing: string[];
  /** Paths whose value does not match the schema's type. */
  invalid: string[];
}

Members (4)

ok

ok: false

dropped

dropped: string[]

Paths present in the document but unknown to the schema (would be discarded).

missing

missing: string[]

Paths the schema requires but the document lacks.

invalid

invalid: string[]

Paths whose value does not match the schema's type.

Type Cross-References

Static signature graph within @prismshadow/penguin-core/kernel
referenced by1 kernel API