expandPortalQuery
Expand an item IQuery for portal by applying well-known filters and predicates, and then expanding all the predicates into IMatchOption objects.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
query Required | IQuery |
|
Returns
IQuery
Property | Type | Notes |
---|---|---|
IFilter[] |
Filters that make up the query |
|
EntityType |
What entity is this query targeting. This is used internally to ensure we query the correct API |
|
Optional | WellKnownCollection |
An id for a well known collection that the query should use. |
Optional | Record<stringany> |
Additional properties. Useful for groupMember queries where we need to send in the groupId to construct the url |
Function defined in common/src/search/utils.ts:406