Models.Document interface doesn't have 'data' property and I couldnt' find any example about it. Should I extends the interface to make my own document model and typecast it to access to the data?
TL;DR
The user wants to know how to retrieve data from a document on a Node.js Server SDK. The solution is to extend the document model and include the attributes for the collection. The Models.Document interface doesn't have a 'data' property, so the user needs to create their own document model and typecast it to access the data.