resources
(Object): The current resources object from your state tree.newResources
(Array|Object): The new resources to add or update.mergeResources
] (Boolean): Whether or not to merge individual resources with the existing resource in the store, or to replace it with the new data. Defaults to true
.Object
): The updated resources object.