Get a query that will fetch all the initiatives which the project has chosen to connect to. If project has not defined any associations to any Initiatives, will return null. Currently, we have not implemented a means to get the list of initiatives that have "Accepted" the Project via inclusion in it's catalog.

If needed, this could be done by getting all the groups the project is shared into then cross-walking that into the catalogs of all the Associated Initiatives


Parameter Type Default Notes
project Required IHubProject


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/projects/fetch.ts:144