Documentation
    Preparing search index...

    Interface ComponentDocument

    One component of a node (§6a, §79).

    type is the component class's static readonly typeName — §6a's registry key, which §79 makes the serialization name too. data is whatever that type's registered serializer produced; this module treats it as opaque JSON and neither reads nor rewrites it, which is how a document carries component data for types the reading build has never heard of.

    interface ComponentDocument {
        data: JsonValue;
        type: string;
    }
    Index
    data: JsonValue

    The serializer's payload; null when the component has no state.

    type: string

    The component class's typeName (§6a).