effx
API reference@effx/runtimedefine

from-schema

API reference for @effx/runtime/define/from-schema

from-schema.ts overview


Exports Grouped by Category


utils

InvalidLeaf (interface)

Signature

export interface InvalidLeaf {
  /** From the argument list: `$[0].items[].at`. */
  readonly path: string
  readonly kind: string
}

invalidLeaves

Every Invalid leaf of plan, each path prefixed with path (define collects these as EFFX1301).

Signature

declare const invalidLeaves: (plan: Plan, path: string) => ReadonlyArray<InvalidLeaf>

planOfSchemaAst

The plan of ast; rejected nodes become Invalid leaves (see the module comment).

Signature

declare const planOfSchemaAst: (ast: SchemaAST.AST) => Plan

On this page