ModelInstanceDocumentStateMetadata: { context?: StreamID; controllers: NonEmptyArray<string>; model: StreamID; shouldIndex?: boolean; unique?: Uint8Array }

Represents the metadata associated with a model instance document state.

Type declaration

  • Optional context?: StreamID

    The "context" StreamID for this ModelInstanceDocument.

  • controllers: NonEmptyArray<string>

    The DIDs that is allowed to author updates to this ModelInstanceDocument.

  • model: StreamID

    The StreamID of the Model that this ModelInstanceDocument belongs to.

  • Optional shouldIndex?: boolean

    A flag indicating whether the stream should be indexed or not.

  • Optional unique?: Uint8Array

    Unique bytes