setAssociationKeyword

Function

when a child sends an "outgoing" request or accepts an "incoming" request for association, the child "references" the parent via a typeKeyword (ref||)

  • setAssociationKeyword(typeKeywords: string[], type: HubEntityType, id: string) : string[]

Parameters

Parameter Type Default Notes
typeKeywords Required string[]

the child entity's typeKeywords

type Required HubEntityType

the parent entity's type

id Required string

the parent entity's id

Returns

string[]

Function defined in common/src/associations/internal/setAssociationKeyword.ts:13