convertToPortalParams
Converts the common request format of contentSearch to a format specific to the Portal API
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
request Required | IContentSearchRequest |
the IContentSearchRequest instance for searching |
|
defaultPortal Optional | string | ||
defaultAuthentication Optional | UserSession |
Returns
ISearchOptions
Function defined in search/src/content/helpers/convert-request-to-portal-params.ts:34