batches: extend applyPreview to support UI publication states
Created by: LawnGnome
Currently, the applyPreview
GraphQL method doesn't allow for intended, but not-yet-applied UI publication states to be taken into account when calculating the plan for each changeset spec.
We need to add an optional parameter to that method to allow for that to be passed in, and then calculate plans based on that.