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

Schema

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

Declaration

export interface Schema<C extends Json = Json> {
  strictParse(doc: Json | undefined, path?: string): ParseResult<C>;
  /** Serializable self-description (the snapshot equation's "interface is data"). */
  describe(): Json;
}

Members (2)

strictParse

strictParse(doc: Json | undefined, path?: string): ParseResult<C>
@paramdocJson | undefined
@parampath?string
@returnsParseResult<C>

describe

describe(): Json

Serializable self-description (the snapshot equation's "interface is data").

@returnsJson

Type Cross-References

Static signature graph within @prismshadow/penguin-core/kernel
references2 kernel types
referenced by2 kernel APIs