Const
Creates an "arr" node schema and the default value.
Creates a "bin" node schema and the default value.
Creates a "con" node schema and the default value.
Creates an extension node schema.
Recursively creates a node tree from any POJO. It uses the Builder.json method to create a JSON node. It can be used similar to TypeScript's any type, where the value can be anything.
Recursively creates a node tree from any POJO. It uses the Builder.constOrJson method to create a JSON node. It can be used similar to TypeScript's any type, where the value can be anything.
This is an alias for schema.obj. It creates a "map" node schema, which is an object where a key can be any string and the value is of the same type.
Creates a "obj" node schema and the default value.
Creates a "str" node schema and the default value.
Creates a "val" node schema and the default value.
Creates a "vec" node schema and the default value.
Schema builder. Use this to create a JSON CRDT model schema and the default value.
Example: