Interface ManyToManyRelationConfig

Describes how a many-to-many relation between two Fact Sheet types is modelled via an intermediary Fact Sheet. Used by lx.getAllFactSheets() to resolve indirect connections through the linking Fact Sheet.

  • relationToParent — relation name from the linking Fact Sheet to the parent type
  • relationToChild — relation name from the linking Fact Sheet to the child type
  • parentsAttributeName — key under which parent items are returned in the response node
  • childrenAttributeName — key under which child items are returned in the response node
interface ManyToManyRelationConfig {
    childrenAttributeName: string;
    parentsAttributeName: string;
    relationToChild: string;
    relationToParent: string;
}

Properties

childrenAttributeName: string
parentsAttributeName: string
relationToChild: string
relationToParent: string

Generated using TypeDoc