Protected Readonly state$Static Readonly MODELStatic STREAM_Static STREAM_Static Readonly VERSIONStatic assertAsserts that all the required fields for the Model are set, and throws an error if not.
Optional _streamId: string | StreamID | CommitIDStatic assertAsserts that the relations properties of the given ModelDefinition are well formed, and throws an error if not.
Static assertAsserts that the version of the model definition is supported.
Model definition object
Version range to satisfy
Static createCreates a Model.
Interface for writing models to ceramic network
contents of the model to create
Optional metadata: ModelMetadataArgsStatic loadLoads a Model from a given StreamID
Interface for reading streams from ceramic network
StreamID to load. Must correspond to a Model
Additional options
Model stream implementation