Skip to main content

NodeSerializationSchema

interface
interface NodeSerializationSchema<N = unknown, In = unknown>

Import

import { NodeSerializationSchema } from '@modular/sdk/editor';

Members1

meta
NodeSchemaMeta

The properties this node declares, and the whole of what a node schema is at run time. A node schema is not a parser. Nothing ever calls one: the composition reads these fields and the walk applies each one to the node, so the whole-object machinery an objectValue carries — a parse that builds an object, a default object, a field-wise equality, a membership predicate — would be constructed per node class and never used. Leaving it out is what keeps it out of an application that declares schemas and never calls `objectValue` itself.