ownerProperties features records including:
- the firstName and lastName of the owner
- the reference of the property
Definition of the smart collection
The smart collection is declared this way in aforest/owner-properties.js file.
Definition of the routes
Below is theroutes/owner-properties.js file that includes the logic for the GET and POST calls made on the smart collection.
The objects that are serialized to be returned to the UI are constructed as such: