teamsToAddUsersTo

Function

Takes array of group ids, if it is a core team, and teams status and returns array of groups

  • teamsToAddUsersTo(groupIds: string[], isCoreTeam: boolean, teamsStatus: ITeamsStatus) : string[]

Parameters

Parameter Type Default Notes
groupIds Required string[]

Array of group ids

isCoreTeam Required boolean

is this a core team?

teamsStatus Optional ITeamsStatus

status of main teams associated with site (core, content, followers)

Returns

string[]

Function defined in teams/src/utils/teams-to-add-users-to.ts:11