Arguments used to generate the metadata for Model Instance Documents

Hierarchy

  • ModelInstanceDocumentMetadataArgs

Properties

context?: StreamID

An optional string used to identify the context of the ModelInstanceDocument.

controller?: string

The DID that is allowed to author updates to this ModelInstanceDocument

deterministic?: boolean

Whether the stream should be created deterministically or not. Should only be used for ModelInstanceDocuments whose Model has an accountRelation of 'SINGLE'.

model: StreamID

The StreamID of the Model that this ModelInstanceDocument belongs to.

shouldIndex?: boolean

Whether the stream should be stored by indexers or not. When undefined, indexers could index the stream if wanted.