expandPredicates
Expand the predicates in a query without applying the well-known type expansions
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| query Required | IQuery |
Returns
| 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 | Record<stringany> |
Additional properties. Useful for groupMember queries where we need to send in the groupId to construct the url |
Function defined in packages/common/src/search/_internal/expandPredicates.ts:11