removeAssociationKeyword

Function

when a child decides it wants to "disconnect" itself from an existing association, the child removes the typeKeyword (ref||) that "references" the parent

  • removeAssociationKeyword(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/removeAssociationKeyword.ts:13