get Local Changes
Retrieves a list of LocalChanges for the Resource with the given type and ID. This can be used to select resources to purge from the database.
Return
A list of LocalChange objects representing the local changes made to the resource, or an empty list if no changes.
Parameters
type
The ResourceType of the resource.
id
The resource ID.