getPendingProjectsQuery

Function

** DEPRECATED: Please use the association methods directly. This will be removed in the next breaking version **

Related Projects are those that have the Initiative id in the typekeywords but NOT in the catalog. We use this query to show Projects which want to be associated but are not yet included in the catalog This is passed into the Gallery showing "Pending Projects"

Parameters

Parameter Type Default Notes
initiative Required IHubInitiative

Returns

Property Type Notes
filters IFilter[]

Filters that make up the query

targetEntity EntityType

What entity is this query targeting. This is used internally to ensure we query the correct API

collection Optional WellKnownCollection

An id for a well known collection that the query should use.

properties 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/initiatives/HubInitiatives.ts:362