getTeamTemplate

Function

Get the template for a team. This should be used sparingly, usually when you need some of the default properties of the group, but in a context outside of the normal team-service functions.

Parameters

Parameter Type Default Notes
type Required HubTeamType
product Required HubProduct

basic | premium | portal

portalApiVersion Required string

portal version

Returns

Property Type Notes
config {
availableIn:
HubProduct[]
descriptionI18n:
string
groupType:
string
privPropValues:
IPrivPropValues[]
propertyName:
string
requiredPrivs:
string[]
snippetI18n:
string
titleI18n:
string
type:
HubTeamType
}

Function defined in packages/teams/src/utils/get-team-template.ts:12