ValidationResolveModifyDiff
Callable
Parameters
previousItem: Item
The previous item to remove
newItem: Item
The new item to add
params: AppearanceUpdateParameters
The appearance update parameters that apply to the diff
Returns ItemDiffResolution
- The diff resolution - a wrapper object containing the final item and a flag indicating whether or not the change was valid.
Resolves an appearance diff where an item is being modified (i.e. there was an item previously in the asset group, and the new item uses the same asset as the previous item). The function primarily validates modifications to locked items