@searsuite/sear-domain-doc-schema
The dependency-free JSON protocol shared by standalone and embedded rich documents.
- interfaceNodeSchema
-
Persisted rich-document node schema shared by document runtime, commands, and OT.
property attrs?: Record<string, any>Node attributes for styles, formatting, and feature-owned metadata.
property content?: Schema[]Child rich-document nodes.
property id?: stringStable structural identity for layout, retained render nodes, and collaboration mapping.
property text?: stringOptional text content for leaf text nodes.
property type: stringDomain node type identifier.
- interfaceTextSchema
-
interface TextSchema extends NodeSchemaPersisted text-bearing rich-document node schema.
property text: stringOptional text content for leaf text nodes.
- typeSchema
-
type Schema = NodeSchema | TextSchemaPersisted rich-document schema node.
No matching API entries.