ViewInstance

An interface for describing MindDrop's view instances.

View instances provide a way to persistently store data related to a particular instance of a view.

For example, topics are rendered using view instances which store the filter and layout options for each of the topic's different views.

PropertyTypeDescription
id*string The ID of the ViewInstance document.
view*stringThe ID of the registered view rendered by this view instance.
createdAt*DateThe timestamp at which the view instance was created.
updatedAt*Date The timestamp at which the view instance was last updated. Equal to the createdAt value if the view instance has not been updated.

Additionally, view instances support adding any custom data fields needed for the view.