searchProjects

Function

Search for Projects, and get IHubProject results

Different from hubSearch in that this returns the IHubProjects

Parameters

Parameter Type Default Notes
query Required string | IQuery
options Required IHubSearchOptions

Returns

Property Type Notes
hasNext boolean

Can more results be fetched?

next function(params: any) : Promise<IHubSearchResponse<>>

Function that fetches the next page of results

results []

Array if results

total number

Total number of matches for the query

aggregations Optional IHubAggregation[]

Array of requested aggregations

messages Optional IMessage[]

Array of messages / warnings


Function defined in common/src/projects/HubProjects.ts:258