Function used for advanced document location resolution
Object with document id and document type properties
id
type
Object with documentStore property for creating listenQuery subscriptions
documentStore
Document location state, optionally as an Observable, or null/undefined if no locations are available
Function used for advanced document location resolution