getAssociatedInitiativesQuery
** DEPRECATED: Please use the association methods directly. This will be removed in the next breaking version **
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
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
project Required | IHubProject |
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 | WellKnownCollection |
An id for a well known collection that the query should use. |
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:149