Create a new reference to a document.
The document.
The default is DocumentModel.channelId
Optional
channelOwner: null | SHA256IdHash<Person>Convert from one representation to model representation.
the one object
The corresponding model object
Getting all the documents stored in ONE.
an array of documents.
returns iterator for DocumentInfo_1_1_0
Optional
queryOptions: QueryOptionsGetting a document with a specific id.
the id of the document.
the document.
Initialize this instance
This must be done after the one instance was initialized.
Shutdown module
This model implements the possibility of adding a document into a journal and keeping track of the list of the documents.